summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott W Taylor <swtaylor@gentoo.org>2004-06-05 02:11:40 +0000
committerScott W Taylor <swtaylor@gentoo.org>2004-06-05 02:11:40 +0000
commit99562e99b02ba54102118ac255ddf09d0610720c (patch)
treefd2ffd5138361dfadc056c07d867bb6582dcecb7 /app-misc/gallery
parentFinalize n32 fixes. Add ALT_HEADERS variable (Manifest recommit) (diff)
downloadgentoo-2-99562e99b02ba54102118ac255ddf09d0610720c.tar.gz
gentoo-2-99562e99b02ba54102118ac255ddf09d0610720c.tar.bz2
gentoo-2-99562e99b02ba54102118ac255ddf09d0610720c.zip
1.4.3-pl2 is a security release
Diffstat (limited to 'app-misc/gallery')
-rw-r--r--app-misc/gallery/ChangeLog7
-rw-r--r--app-misc/gallery/Manifest10
-rw-r--r--app-misc/gallery/files/digest-gallery-1.4.3_p21
-rw-r--r--app-misc/gallery/gallery-1.4.3_p2.ebuild64
4 files changed, 77 insertions, 5 deletions
diff --git a/app-misc/gallery/ChangeLog b/app-misc/gallery/ChangeLog
index 901ddd9e7273..3f6a4c52acb6 100644
--- a/app-misc/gallery/ChangeLog
+++ b/app-misc/gallery/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/gallery
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gallery/ChangeLog,v 1.27 2004/05/06 15:14:01 swtaylor Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gallery/ChangeLog,v 1.28 2004/06/05 02:11:40 swtaylor Exp $
+
+*gallery-1.4.3_p2 (04 Jun 2004)
+
+ 04 Jun 2004; Scott W Taylor <swtaylor@gentoo.org> +gallery-1.4.3_p2.ebuild:
+ 1.4.3-pl2 is a security release
*gallery-1.4.3_p1 (06 May 2004)
diff --git a/app-misc/gallery/Manifest b/app-misc/gallery/Manifest
index f9adac97d8b3..3a79b63f6a8e 100644
--- a/app-misc/gallery/Manifest
+++ b/app-misc/gallery/Manifest
@@ -1,10 +1,12 @@
-MD5 07a113dff3d4e2114424ec225d96d83a gallery-1.4.2.ebuild 1751
+MD5 c7a182fff24093734b7d62077e409380 ChangeLog 3290
MD5 aca4d456a463373437baa283a95367b3 gallery-1.4.1_p1.ebuild 1796
-MD5 19ad08beab3f3497f4a5f6a4a00abbbf gallery-1.4.3_p1.ebuild 1757
+MD5 07a113dff3d4e2114424ec225d96d83a gallery-1.4.2.ebuild 1751
MD5 1955f4f33f1cf3c2a104fdab5a825e83 gallery-1.4.3.ebuild 1753
-MD5 29979644ee03cef6513d0b9a31bf67e5 ChangeLog 3144
+MD5 19ad08beab3f3497f4a5f6a4a00abbbf gallery-1.4.3_p1.ebuild 1757
MD5 c339473e0ff43da76eb2f2607c441921 metadata.xml 280
+MD5 19ad08beab3f3497f4a5f6a4a00abbbf gallery-1.4.3_p2.ebuild 1757
MD5 d4812c8c0c1fad4c00cda3e8ad7bbe8a files/digest-gallery-1.4.1_p1 69
-MD5 78950371f06d5607461f8f3feb91ecc7 files/digest-gallery-1.4.3_p1 70
MD5 44bf6fed00843f0654d7cfcb988beb36 files/digest-gallery-1.4.2 66
MD5 4aa62ed7c1c8cd620528145cfc3a09c2 files/digest-gallery-1.4.3 66
+MD5 78950371f06d5607461f8f3feb91ecc7 files/digest-gallery-1.4.3_p1 70
+MD5 0b10bc559288d96d6521d6e48339e3b1 files/digest-gallery-1.4.3_p2 70
diff --git a/app-misc/gallery/files/digest-gallery-1.4.3_p2 b/app-misc/gallery/files/digest-gallery-1.4.3_p2
new file mode 100644
index 000000000000..6f79e75d66f3
--- /dev/null
+++ b/app-misc/gallery/files/digest-gallery-1.4.3_p2
@@ -0,0 +1 @@
+MD5 5b23288c571fe1ec86510ac1ca87e444 gallery-1.4.3-pl2.tar.gz 1699443
diff --git a/app-misc/gallery/gallery-1.4.3_p2.ebuild b/app-misc/gallery/gallery-1.4.3_p2.ebuild
new file mode 100644
index 000000000000..dc9ac14c2835
--- /dev/null
+++ b/app-misc/gallery/gallery-1.4.3_p2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gallery/gallery-1.4.3_p2.ebuild,v 1.1 2004/06/05 02:11:40 swtaylor Exp $
+
+inherit webapp-apache
+
+MY_P=${P/_p/-pl}
+DESCRIPTION="Web based (PHP Script) photo album viewer/creator."
+HOMEPAGE="http://gallery.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+RESTRICT="nomirror"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="apache2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64"
+DEPEND=">=net-www/apache-1.3.24-r1
+ >=dev-php/mod_php-4.1.2-r5
+ >=media-gfx/jhead-1.6
+ >=media-libs/netpbm-9.12
+ >=media-gfx/imagemagick-5.4.9.1-r1"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ webapp-detect || NO_WEBSERVER=1
+ webapp-pkg_setup "${NO_WEBSERVER}"
+ einfo "Installing into ${ROOT}${HTTPD_ROOT}."
+}
+
+src_install() {
+ webapp-mkdirs
+
+ local DocumentRoot=${HTTPD_ROOT}
+ local destdir=${DocumentRoot}/${PN}
+ dodir ${destdir}
+ dodoc AUTHORS ChangeLog README LICENSE.txt
+ rm -rf ChangeLog
+
+ cp -r . ${D}/${HTTPD_ROOT}/${PN}
+ cd ${D}/${HTTPD_ROOT}
+ chown -R ${HTTPD_USER}:${HTTPD_GROUP} ${PN}
+ # Fix permissions
+ find ${D}${destdir} -type d | xargs chmod 755
+ find ${D}${destdir} -type f | xargs chmod 644
+
+ #dohtml docs/*
+}
+
+pkg_postinst() {
+ local DocumentRoot=${HTTPD_ROOT}
+ local destdir=${DocumentRoot}/${PN}
+ chown root:root ${destdir}/secure.sh ${destdir}/configure.sh
+ chmod 700 ${destdir}/secure.sh ${destdir}/configure.sh
+
+ einfo
+ einfo "For new installations point your browser to "
+ einfo "http://localhost/gallery/setup/"
+ einfo "and follow the instructions."
+ einfo "--------------------------------------------"
+ einfo "For upgrades, just run"
+ einfo "# cd ${destdir}"
+ einfo "# sh ./secure.sh"
+ einfo
+}