summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@gentoo.org>2008-01-17 08:33:35 +0000
committerGunnar Wrobel <wrobel@gentoo.org>2008-01-17 08:33:35 +0000
commitc87ab4221ab165dd11945ec2eb44162f0940e45c (patch)
tree63c3ef78ab90c73f8338618113355672c7eb8f5e /www-apps
parentstable x86, security bug 201726 (diff)
downloadhistorical-c87ab4221ab165dd11945ec2eb44162f0940e45c.tar.gz
historical-c87ab4221ab165dd11945ec2eb44162f0940e45c.tar.bz2
historical-c87ab4221ab165dd11945ec2eb44162f0940e45c.zip
Added gallery-2.2.4 in response to sec issue #203217.
Package-Manager: portage-2.1.4_rc7
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/gallery/ChangeLog9
-rw-r--r--www-apps/gallery/Manifest26
-rw-r--r--www-apps/gallery/files/digest-gallery-2.2.43
-rw-r--r--www-apps/gallery/gallery-2.2.4.ebuild84
4 files changed, 116 insertions, 6 deletions
diff --git a/www-apps/gallery/ChangeLog b/www-apps/gallery/ChangeLog
index fb8687bdf407..f4880693e035 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.124 2007/09/15 12:28:30 drac Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/ChangeLog,v 1.125 2008/01/17 08:33:34 wrobel Exp $
+
+*gallery-2.2.4 (17 Jan 2008)
+
+ 17 Jan 2008; Gunnar Wrobel <wrobel@gentoo.org> +gallery-2.2.4.ebuild:
+ Added gallery-2.2.4 in response to sec issue #203217.
15 Sep 2007; Samuli Suominen <drac@gentoo.org> gallery-2.2.3.ebuild:
Change USE dcraw to raw.
diff --git a/www-apps/gallery/Manifest b/www-apps/gallery/Manifest
index 374772c865ac..23a2f845c043 100644
--- a/www-apps/gallery/Manifest
+++ b/www-apps/gallery/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX postinstall-en.txt 430 RMD160 bfac0f557ce318745a713cf7a4b90c4473ee97a5 SHA1 c1abf75f41ca3dea22c029e3e3f6604c02e71d08 SHA256 e2e63ec31b83e97fec9ecc7163f84beda4744150fa179ce39f0c26ed7ec54f3b
MD5 d86a2cffa618ecf7fe9a2b001be69523 files/postinstall-en.txt 430
RMD160 bfac0f557ce318745a713cf7a4b90c4473ee97a5 files/postinstall-en.txt 430
@@ -9,6 +12,7 @@ SHA256 ae1b0727e11518abf12616cd11cb82e6648a026769d9e4854ba6afb6d972c30b files/po
DIST gallery-1.5.3.tar.gz 2353018 RMD160 7f8e698bc3d145f1776dfa9dba3d213580f1061d SHA1 0e01ec98d1a45790c695ba96732145b99bc89926 SHA256 816d53da5f1fe4373b3e217143af86681c6d18e4b4dde0f1c6c8d8f5d2138481
DIST gallery-1.5.5.tar.gz 2377249 RMD160 7886146913a6f9f81c28a4f42ca9071a40831464 SHA1 7e31a90a8204b83de2cf888e772d520741ea80c9 SHA256 56d9e9f2c29ccae57c044f38a165dd6c804a150ea9eb643f5a95336b00f825f7
DIST gallery-2.2.3-full.tar.gz 11901089 RMD160 1ae6474c48a7374540ff3f3b46d4d6c5cb34cb24 SHA1 d2624a89fa6d3b97c0b4c644fe1071b918e4d29e SHA256 ce7d9c1c4497954e1828047be25b31c3a271b5c86c0c97bbc652b3746aa1b364
+DIST gallery-2.2.4-full.tar.gz 11906720 RMD160 ba2cb946999660a55154e5f3dc9478e134589c59 SHA1 6b065dcb248e6d75d07099110cca21158abb1b8e SHA256 bc7eb368b26d31e65d9a11439483186a799bc9d21dfa33c48591e4cb0ca7f9a4
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
@@ -21,10 +25,14 @@ EBUILD gallery-2.2.3.ebuild 2210 RMD160 ffa66eef67f4f34fcb2b284b8197a644c070c496
MD5 bada5eb5860c93fc4a732669256bd959 gallery-2.2.3.ebuild 2210
RMD160 ffa66eef67f4f34fcb2b284b8197a644c070c496 gallery-2.2.3.ebuild 2210
SHA256 524b63cd3b2dc5a1ec8bc7e8431a21528d91c95c68e0dcb70f6b639ffc42cc32 gallery-2.2.3.ebuild 2210
-MISC ChangeLog 19879 RMD160 0e350a7c54424f9fb0d21825edd599cbbf81a1b3 SHA1 93bdfbb10324abaed9365f546f776e8a43276e53 SHA256 93fce55aac4df41812622cbd1c0e4215dce1a06a0b22add075a396d1a3f6731c
-MD5 58c3575990af4f4443b67ac95d5393d4 ChangeLog 19879
-RMD160 0e350a7c54424f9fb0d21825edd599cbbf81a1b3 ChangeLog 19879
-SHA256 93fce55aac4df41812622cbd1c0e4215dce1a06a0b22add075a396d1a3f6731c ChangeLog 19879
+EBUILD gallery-2.2.4.ebuild 2223 RMD160 97e69d740454da7ed08c96bcd548ef864abd5937 SHA1 fae9d0063c2e4fcf7d96575267410fd3f1d0f9ac SHA256 ada867bbbc72c7279e5fb5f24ec10d46963a58c222782c89ed1cc85169e62e7b
+MD5 c244cdccf7310b888776b47cc6929635 gallery-2.2.4.ebuild 2223
+RMD160 97e69d740454da7ed08c96bcd548ef864abd5937 gallery-2.2.4.ebuild 2223
+SHA256 ada867bbbc72c7279e5fb5f24ec10d46963a58c222782c89ed1cc85169e62e7b gallery-2.2.4.ebuild 2223
+MISC ChangeLog 20040 RMD160 f984839735172fd2240118fd231bb912fa77f645 SHA1 2e825e599b9b20a07ffaab77ce9be4d6e61ed430 SHA256 4cf488f223488ed7bd3a59238602bb1d531932bf01071643de12b593c672bf52
+MD5 bd4cc64a5bff5802664fd5918fcbd8ed ChangeLog 20040
+RMD160 f984839735172fd2240118fd231bb912fa77f645 ChangeLog 20040
+SHA256 4cf488f223488ed7bd3a59238602bb1d531932bf01071643de12b593c672bf52 ChangeLog 20040
MISC metadata.xml 280 RMD160 c449ad35e8af3f158d8f8305f8a02ff98a420970 SHA1 9be68166586fe2133dc7cc5347b8edddd34e4926 SHA256 fd37fa0f441b1b68ef8dc4bffbb0a51f0414aa7c370b48369453af5f4bff177a
MD5 c339473e0ff43da76eb2f2607c441921 metadata.xml 280
RMD160 c449ad35e8af3f158d8f8305f8a02ff98a420970 metadata.xml 280
@@ -38,3 +46,13 @@ SHA256 59a57cf7de6afafa00e8d04e52f43bfb2fa242e39f66ab324887631f1f586ebe files/di
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
+MD5 0791f58e8bb13858f43729ca6269512d files/digest-gallery-2.2.4 262
+RMD160 c9f27e3a69de05e62c5c8f8d3ff21cfa53cc0161 files/digest-gallery-2.2.4 262
+SHA256 d0b9614d8b1194c88ccb4e0e41947b719f789465302cc92e4f121fa7cbef1b6c files/digest-gallery-2.2.4 262
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.7 (GNU/Linux)
+
+iD8DBQFHjxLlEEcxCpcDQ74RAh02AKCSKuPK43n5hJWQExmt4cY3FHy/vQCeNp15
+TGIYZYdxjXfCHsCpcV7ftmU=
+=2ApN
+-----END PGP SIGNATURE-----
diff --git a/www-apps/gallery/files/digest-gallery-2.2.4 b/www-apps/gallery/files/digest-gallery-2.2.4
new file mode 100644
index 000000000000..64091a0ab471
--- /dev/null
+++ b/www-apps/gallery/files/digest-gallery-2.2.4
@@ -0,0 +1,3 @@
+MD5 35b43fe4d5450ca00613539377e073ea gallery-2.2.4-full.tar.gz 11906720
+RMD160 ba2cb946999660a55154e5f3dc9478e134589c59 gallery-2.2.4-full.tar.gz 11906720
+SHA256 bc7eb368b26d31e65d9a11439483186a799bc9d21dfa33c48591e4cb0ca7f9a4 gallery-2.2.4-full.tar.gz 11906720
diff --git a/www-apps/gallery/gallery-2.2.4.ebuild b/www-apps/gallery/gallery-2.2.4.ebuild
new file mode 100644
index 000000000000..bdf1659ed19a
--- /dev/null
+++ b/www-apps/gallery/gallery-2.2.4.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/gallery-2.2.4.ebuild,v 1.1 2008/01/17 08:33:34 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="ffmpeg gd imagemagick mysql netpbm postgres raw unzip zip"
+
+RDEPEND="
+ media-libs/jpeg
+ raw? ( >=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
+}