From db6f29e4279979312d513e66e691d3004160607c Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Fri, 15 Feb 2008 10:18:40 +0000 Subject: Added coppermine-1.4.16 to the tree (sec issue #208349). (Portage version: 2.1.4_rc7) --- www-apps/coppermine/ChangeLog | 8 +++- www-apps/coppermine/coppermine-1.4.14.ebuild | 56 ---------------------------- www-apps/coppermine/coppermine-1.4.16.ebuild | 55 +++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 57 deletions(-) delete mode 100644 www-apps/coppermine/coppermine-1.4.14.ebuild create mode 100644 www-apps/coppermine/coppermine-1.4.16.ebuild (limited to 'www-apps/coppermine') diff --git a/www-apps/coppermine/ChangeLog b/www-apps/coppermine/ChangeLog index 7a34b5932b94..b111fc4f624c 100644 --- a/www-apps/coppermine/ChangeLog +++ b/www-apps/coppermine/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-apps/coppermine # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/coppermine/ChangeLog,v 1.21 2008/02/05 15:16:37 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/coppermine/ChangeLog,v 1.22 2008/02/15 10:18:40 wrobel Exp $ + +*coppermine-1.4.16 (15 Feb 2008) + + 15 Feb 2008; Gunnar Wrobel -coppermine-1.4.14.ebuild, + +coppermine-1.4.16.ebuild: + Added coppermine-1.4.16 to the tree (sec issue #208349). 05 Feb 2008; Benedikt Böhm coppermine-1.4.14.ebuild: fix depend.apache usage wrt #208584 diff --git a/www-apps/coppermine/coppermine-1.4.14.ebuild b/www-apps/coppermine/coppermine-1.4.14.ebuild deleted file mode 100644 index 81bfbb9bd41f..000000000000 --- a/www-apps/coppermine/coppermine-1.4.14.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/coppermine/coppermine-1.4.14.ebuild,v 1.2 2008/02/05 15:16:37 hollow Exp $ - -inherit webapp versionator depend.php depend.apache - -MY_PV=$(delete_all_version_separators) -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${MY_PV}.zip" - -LICENSE="GPL-2" -KEYWORDS="~sparc ~x86 ~amd64" -IUSE="imagemagick" - -DEPEND="app-arch/unzip" - -RDEPEND="virtual/httpd-php - imagemagick? ( media-gfx/imagemagick )" - -need_apache2 - -S=${WORKDIR}/cpg$(delete_all_version_separators) - -pkg_setup() { - webapp_pkg_setup - if ! PHPCHECKNODIE="yes" require_php_with_use mysql ; then - eerror - eerror "${PHP_PKG} needs to be re-installed with mysql USE-flag" - eerror - die "Re-install ${PHP_PKG}" - fi -} - -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 -} diff --git a/www-apps/coppermine/coppermine-1.4.16.ebuild b/www-apps/coppermine/coppermine-1.4.16.ebuild new file mode 100644 index 000000000000..1022595e0838 --- /dev/null +++ b/www-apps/coppermine/coppermine-1.4.16.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/coppermine/coppermine-1.4.16.ebuild,v 1.1 2008/02/15 10:18:40 wrobel Exp $ + +inherit webapp versionator depend.php + +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 ~amd64" +IUSE="imagemagick" + +DEPEND="app-arch/unzip" + +RDEPEND="virtual/httpd-cgi + imagemagick? ( media-gfx/imagemagick )" + +S=${WORKDIR}/cpg$(delete_all_version_separators) + +need_php + +pkg_setup() { + webapp_pkg_setup + if ! PHPCHECKNODIE="yes" require_php_with_use mysql ; then + eerror + eerror "${PHP_PKG} needs to be re-installed with mysql USE-flag" + eerror + die "Re-install ${PHP_PKG}" + fi +} + +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 +} -- cgit v1.2.3-65-gdbad