summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2005-08-22 22:02:52 +0000
committerRenat Lumpau <rl03@gentoo.org>2005-08-22 22:02:52 +0000
commit55295e58355c5f649bf0c9abc41fad709a12c422 (patch)
tree632f9ffe2912f10b9a5b7fdbdea57327d35f9d82 /www-apps/coppermine/coppermine-1.3.4.ebuild
parentStable on x86. (diff)
downloadgentoo-2-55295e58355c5f649bf0c9abc41fad709a12c422.tar.gz
gentoo-2-55295e58355c5f649bf0c9abc41fad709a12c422.tar.bz2
gentoo-2-55295e58355c5f649bf0c9abc41fad709a12c422.zip
Version bump wrt security bug #103357.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'www-apps/coppermine/coppermine-1.3.4.ebuild')
-rw-r--r--www-apps/coppermine/coppermine-1.3.4.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/www-apps/coppermine/coppermine-1.3.4.ebuild b/www-apps/coppermine/coppermine-1.3.4.ebuild
new file mode 100644
index 000000000000..bd06215589a8
--- /dev/null
+++ b/www-apps/coppermine/coppermine-1.3.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/coppermine/coppermine-1.3.4.ebuild,v 1.1 2005/08/22 22:02:52 rl03 Exp $
+
+inherit webapp versionator
+
+DESCRIPTION="Feature rich web picture gallery script written in PHP using GD or ImageMagick lib with a MySQL backend."
+HOMEPAGE="http://coppermine.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/cpg${PV}.zip"
+
+LICENSE="GPL-2"
+KEYWORDS="~sparc ~x86"
+IUSE="imagemagick"
+
+DEPEND="app-arch/zip"
+
+RDEPEND=">=net-www/apache-1.3.24-r1
+ virtual/httpd-php
+ dev-db/mysql
+ imagemagick? ( media-gfx/imagemagick )"
+
+S=${WORKDIR}/cpg$(delete_all_version_separators)
+
+src_install() {
+ webapp_src_preinst
+
+ local docs="CHANGELOG COPYING"
+ dodoc ${docs}
+
+ einfo "Installing main files"
+ cp -r * ${D}${MY_HTDOCSDIR}
+ einfo "Done"
+
+ # owned files
+ dodir ${MY_HTDOCSDIR}/albums
+ webapp_serverowned ${MY_HTDOCSDIR}/albums
+ webapp_serverowned ${MY_HTDOCSDIR}/albums/userpics
+ webapp_serverowned ${MY_HTDOCSDIR}/albums/edit
+ webapp_serverowned ${MY_HTDOCSDIR}/include
+
+ dohtml docs/*
+ webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
+
+ webapp_src_install
+}