From 193e28564693f8a8632097268db32cd55e8b8af2 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Fri, 7 Sep 2007 14:41:57 +0000 Subject: Added gallery-2.2.3 to the tree in response to sec bug #191587. Package-Manager: portage-2.1.2.12 --- www-apps/gallery/ChangeLog | 7 ++- www-apps/gallery/Manifest | 24 ++++++--- www-apps/gallery/files/digest-gallery-2.2.3 | 3 ++ www-apps/gallery/gallery-2.2.3.ebuild | 84 +++++++++++++++++++++++++++++ 4 files changed, 109 insertions(+), 9 deletions(-) create mode 100644 www-apps/gallery/files/digest-gallery-2.2.3 create mode 100644 www-apps/gallery/gallery-2.2.3.ebuild (limited to 'www-apps') diff --git a/www-apps/gallery/ChangeLog b/www-apps/gallery/ChangeLog index ef4707882076..2ff36beff655 100644 --- a/www-apps/gallery/ChangeLog +++ b/www-apps/gallery/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-apps/gallery # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/ChangeLog,v 1.115 2007/07/29 17:27:25 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/ChangeLog,v 1.116 2007/09/07 14:41:56 wrobel Exp $ + +*gallery-2.2.3 (07 Sep 2007) + + 07 Sep 2007; +gallery-2.2.3.ebuild: + Added gallery-2.2.3 to the tree in response to sec bug #191587. 29 Jul 2007; Christian Heim gallery-1.5.3.ebuild, gallery-1.5.5.ebuild: diff --git a/www-apps/gallery/Manifest b/www-apps/gallery/Manifest index 05c02bf09034..b349552e6c54 100644 --- a/www-apps/gallery/Manifest +++ b/www-apps/gallery/Manifest @@ -14,6 +14,7 @@ DIST gallery-1.5.5.tar.gz 2377249 RMD160 7886146913a6f9f81c28a4f42ca9071a4083146 DIST gallery-2.1.2-full.tar.gz 8061300 RMD160 46ed198fb5f7d5968d7216b4f73d6d3b8182deac SHA1 799cf275147b31dd865c5582b674672398559326 SHA256 84aa2a164cc684c0923d4da6f9b418975d823690c399baf1dd41477f3ec428f2 DIST gallery-2.2.1-full.tar.gz 11849887 RMD160 1635343ba0d134dbeb9be87087d5ec9d7ed6ac9d SHA1 0a4156739eec05bdeb9ed68402d14b586643528f SHA256 eea17a716cb29406ed32549ee59899ad97bbcc57401aaaf476e5d04eb7b341ff DIST gallery-2.2.2-full.tar.gz 11900129 RMD160 955a08dfa3f6f458872b707ea4c1d546036bcbee SHA1 34cb143b162c2287b83dd2844bc1debfce5221d3 SHA256 521b4d77e6ad21591229c8bd2769a9889052835cbcbe720e0b9abd2820431ac2 +DIST gallery-2.2.3-full.tar.gz 11901089 RMD160 1ae6474c48a7374540ff3f3b46d4d6c5cb34cb24 SHA1 d2624a89fa6d3b97c0b4c644fe1071b918e4d29e SHA256 ce7d9c1c4497954e1828047be25b31c3a271b5c86c0c97bbc652b3746aa1b364 EBUILD gallery-1.5.3.ebuild 1020 RMD160 c8a93aeba43583030ee793280b4c50aa2940ead8 SHA1 48df4b199906115abe9258e187f9ea9f554bb1f5 SHA256 707c351dcb97d90eb465e673736339ed6ce9c8e1b251cafc26341e584fe5dee1 MD5 74ef4dbf04f800d480512c138428d6a3 gallery-1.5.3.ebuild 1020 RMD160 c8a93aeba43583030ee793280b4c50aa2940ead8 gallery-1.5.3.ebuild 1020 @@ -34,10 +35,14 @@ EBUILD gallery-2.2.2.ebuild 2223 RMD160 e07ff3972c84af35d46f8bd4a12e03a55a36506e MD5 99472f9b6730e70119212f2c815afd5b gallery-2.2.2.ebuild 2223 RMD160 e07ff3972c84af35d46f8bd4a12e03a55a36506e gallery-2.2.2.ebuild 2223 SHA256 07e0eb9dd56f752f6b9535e48f312ef7b04df1581e0d9279eccc5809e22c6be7 gallery-2.2.2.ebuild 2223 -MISC ChangeLog 18814 RMD160 223589412d4f84d841e6cca1886ddcd3aea86346 SHA1 311308d485e76cc5e4f20bedcb179f120af92b41 SHA256 fe970925cc866bf56cd857643f3c95f082d77ef6bbe96d5c951b2f6910c91edf -MD5 6dafcde323ee3dbcd392f14f4d16dc96 ChangeLog 18814 -RMD160 223589412d4f84d841e6cca1886ddcd3aea86346 ChangeLog 18814 -SHA256 fe970925cc866bf56cd857643f3c95f082d77ef6bbe96d5c951b2f6910c91edf ChangeLog 18814 +EBUILD gallery-2.2.3.ebuild 2223 RMD160 d94a8807c2cda913d1c5bb01d1f28716d77ae429 SHA1 95cd3a4924d1c51559aee0666ddf116edd832a4c SHA256 6a754c52344baf4852c5f3a2aeabc10b98d819d0bac2918f7fc56ae35b58f73b +MD5 8d22a9dbe1200f656f3bc0432f06a54f gallery-2.2.3.ebuild 2223 +RMD160 d94a8807c2cda913d1c5bb01d1f28716d77ae429 gallery-2.2.3.ebuild 2223 +SHA256 6a754c52344baf4852c5f3a2aeabc10b98d819d0bac2918f7fc56ae35b58f73b gallery-2.2.3.ebuild 2223 +MISC ChangeLog 18969 RMD160 075eb3f31f80150fa9da514224ed71970da2f01c SHA1 c8d0bd71dd41f7b76f65b71e46fddb541b0f8d72 SHA256 ced4ad38da65bf35a0691b940a629c7ccea6473262a286579df2cb0496794fb1 +MD5 55694503cfdf5281b6c949a8f2afae73 ChangeLog 18969 +RMD160 075eb3f31f80150fa9da514224ed71970da2f01c ChangeLog 18969 +SHA256 ced4ad38da65bf35a0691b940a629c7ccea6473262a286579df2cb0496794fb1 ChangeLog 18969 MISC metadata.xml 280 RMD160 c449ad35e8af3f158d8f8305f8a02ff98a420970 SHA1 9be68166586fe2133dc7cc5347b8edddd34e4926 SHA256 fd37fa0f441b1b68ef8dc4bffbb0a51f0414aa7c370b48369453af5f4bff177a MD5 c339473e0ff43da76eb2f2607c441921 metadata.xml 280 RMD160 c449ad35e8af3f158d8f8305f8a02ff98a420970 metadata.xml 280 @@ -57,10 +62,13 @@ SHA256 82f53846f25f34c25bddc962cb17f36b034ea15add9fd01fe122a1231f177c22 files/di MD5 ba34cf41712452d26d3d0f5a6dddb2ca files/digest-gallery-2.2.2 262 RMD160 d71a5e33eb8a0be0f241de70023eabafccf9b095 files/digest-gallery-2.2.2 262 SHA256 2182326489927dc39eb02e410ddd7949adec61bfd773a4c0d92f3a483ec5e78e files/digest-gallery-2.2.2 262 +MD5 7f42c2eca24fe8fe7f4a93d3634d266c files/digest-gallery-2.2.3 262 +RMD160 86235ee2717afea17163666fa9f57eed3679c8f3 files/digest-gallery-2.2.3 262 +SHA256 cb2e9220381a6c8fdcf566cefbdc6e77c61331d241d15e3dd7fdf7bb7fd5258d files/digest-gallery-2.2.3 262 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.5 (GNU/Linux) +Version: GnuPG v1.4.7 (GNU/Linux) -iD8DBQFGrM4KyuNVb5qfaOYRAgOhAJoCWI/TAT1q6vPqfnxTZl6QiPi1gACg0T+0 -9YF0OdqT3T2vhSOcwR/h7bg= -=RrSy +iD4DBQFG4WM8EEcxCpcDQ74RAg5WAKCMxGv/U9t+g8KDAX/KV3XBPnvvFwCXUQk9 ++WdEB8fNguGsDf0rmC0sEw== +=dOZK -----END PGP SIGNATURE----- diff --git a/www-apps/gallery/files/digest-gallery-2.2.3 b/www-apps/gallery/files/digest-gallery-2.2.3 new file mode 100644 index 000000000000..a0c95ec702c4 --- /dev/null +++ b/www-apps/gallery/files/digest-gallery-2.2.3 @@ -0,0 +1,3 @@ +MD5 df5c1a6ecbf0b498417ceffc66fe5f3b gallery-2.2.3-full.tar.gz 11901089 +RMD160 1ae6474c48a7374540ff3f3b46d4d6c5cb34cb24 gallery-2.2.3-full.tar.gz 11901089 +SHA256 ce7d9c1c4497954e1828047be25b31c3a271b5c86c0c97bbc652b3746aa1b364 gallery-2.2.3-full.tar.gz 11901089 diff --git a/www-apps/gallery/gallery-2.2.3.ebuild b/www-apps/gallery/gallery-2.2.3.ebuild new file mode 100644 index 000000000000..bf7b4959efd4 --- /dev/null +++ b/www-apps/gallery/gallery-2.2.3.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/gallery-2.2.3.ebuild,v 1.1 2007/09/07 14:41:56 wrobel Exp $ + +inherit webapp eutils depend.php + +DESCRIPTION="Web based (PHP Script) photo album viewer/creator" +HOMEPAGE="http://gallery.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="dcraw ffmpeg gd imagemagick mysql netpbm postgres unzip zip" + +RDEPEND=" + media-libs/jpeg + dcraw? ( >=media-gfx/dcraw-8.03 ) + ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20051216 ) + gd? ( >=media-libs/gd-2 ) + imagemagick? ( >=media-gfx/imagemagick-5.4.9.1-r1 ) + netpbm? ( >=media-libs/netpbm-9.12 >=media-gfx/jhead-2.2 ) + unzip? ( app-arch/unzip ) + zip? ( app-arch/zip ) +" + +S=${WORKDIR}/${PN}2 + +need_php + +pkg_setup() { + webapp_pkg_setup + + local php_flags="pcre session" + local DIE= + + use mysql && php_flags="${php_flags} mysql" + use postgres && php_flags="${php_flags} postgres" + + if ! PHPCHECKNODIE="yes" require_php_with_use ${php_flags}; then + DIE="yes" + fi + if use gd; then + if ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external ; then + DIE="yes" + fi + fi + + if [[ ${DIE} == "yes" ]]; then + eerror + eerror "${PHP_PKG} needs to be re-installed with all of the following" + eerror "USE flags enabled:" + eerror + eerror "${php_flags}" + eerror + if use gd; then + eerror "as well as any of the following USE flags enabled:" + eerror + eerror "gd gd-external" + eerror + fi + die "Re-install ${PHP_PKG}" + fi +} + +src_install() { + webapp_src_preinst + + cp -R * ${D}/${MY_HTDOCSDIR} + dohtml README.html + + webapp_postinst_txt en ${FILESDIR}/postinstall-en2.txt + webapp_src_install +} + +pkg_postinst() { + elog "You are strongly encouraged to back up your database" + elog "and the g2data directory, as upgrading to 2.2 will make" + elog "irreversible changes to both." + elog + elog "g2data dir: cp -Rf /path/to/g2data/ /path/to/backup" + elog "mysql: mysqldump --opt -u username -h hostname -p database > /path/to/backup.sql" + elog "postgres: pg_dump -h hostname --format=t database > /path/to/backup.sql" + webapp_pkg_postinst +} -- cgit v1.2.3-65-gdbad