diff options
author | Stuart Herbert <stuart@gentoo.org> | 2004-08-15 10:00:35 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2004-08-15 10:00:35 +0000 |
commit | c3abb8bfcc05f3dc06dc4e1f75dcabaa76ea54ce (patch) | |
tree | b212b876b0f6657eba0a57230d1c148ca70a09a6 /www-apps/gallery | |
parent | Initial ebuild. Thanks to Stefan Briesenick <sbriesen@gmx.de> in bug #52288 (diff) | |
download | historical-c3abb8bfcc05f3dc06dc4e1f75dcabaa76ea54ce.tar.gz historical-c3abb8bfcc05f3dc06dc4e1f75dcabaa76ea54ce.tar.bz2 historical-c3abb8bfcc05f3dc06dc4e1f75dcabaa76ea54ce.zip |
Moved from app-misc/gallery to www-apps/gallery.
Diffstat (limited to 'www-apps/gallery')
-rw-r--r-- | www-apps/gallery/ChangeLog | 138 | ||||
-rw-r--r-- | www-apps/gallery/Manifest | 14 | ||||
-rw-r--r-- | www-apps/gallery/files/digest-gallery-1.4.1_p1 | 1 | ||||
-rw-r--r-- | www-apps/gallery/files/digest-gallery-1.4.2 | 1 | ||||
-rw-r--r-- | www-apps/gallery/files/digest-gallery-1.4.3 | 1 | ||||
-rw-r--r-- | www-apps/gallery/files/digest-gallery-1.4.3_p1 | 1 | ||||
-rw-r--r-- | www-apps/gallery/files/digest-gallery-1.4.3_p2 | 1 | ||||
-rw-r--r-- | www-apps/gallery/files/digest-gallery-1.4.4 | 1 | ||||
-rw-r--r-- | www-apps/gallery/gallery-1.4.1_p1.ebuild | 66 | ||||
-rw-r--r-- | www-apps/gallery/gallery-1.4.2.ebuild | 64 | ||||
-rw-r--r-- | www-apps/gallery/gallery-1.4.3.ebuild | 64 | ||||
-rw-r--r-- | www-apps/gallery/gallery-1.4.3_p1.ebuild | 64 | ||||
-rw-r--r-- | www-apps/gallery/gallery-1.4.3_p2.ebuild | 65 | ||||
-rw-r--r-- | www-apps/gallery/gallery-1.4.4.ebuild | 65 | ||||
-rw-r--r-- | www-apps/gallery/metadata.xml | 9 |
15 files changed, 555 insertions, 0 deletions
diff --git a/www-apps/gallery/ChangeLog b/www-apps/gallery/ChangeLog new file mode 100644 index 000000000000..fcfaa41c034a --- /dev/null +++ b/www-apps/gallery/ChangeLog @@ -0,0 +1,138 @@ +# ChangeLog for app-misc/gallery +# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/ChangeLog,v 1.1 2004/08/15 10:00:35 stuart Exp $ + +*gallery-1.4.3_p2 (15 Aug 2004) + + 15 Aug 2004; Stuart Herbert <stuart@gentoo.org> +metadata.xml, + +gallery-1.4.1_p1.ebuild, +gallery-1.4.2.ebuild, +gallery-1.4.3.ebuild, + +gallery-1.4.3_p1.ebuild, +gallery-1.4.3_p2.ebuild, +gallery-1.4.4.ebuild: + Moved from app-misc/gallery to www-apps/gallery. + +*gallery-1.4.4 (29 Jul 2004) + + 29 Jul 2004; Scott W Taylor <swtaylor@gentoo.org> +gallery-1.4.4.ebuild: + version bump + + 15 Jul 2004; Rob Holland <tigger@ereet.co.uk> gallery-1.4.3_p2.ebuild: + Added configure.sh to einfo to ease upgrades. Closes #53973. Thanks to + david.grant@telus.net and slestak@cavtel.net. + + 14 Jun 2004; Luca Barbato <lu_zero@gentoo.org> gallery-1.4.3_p2.ebuild: + Marked ppc + + 14 Jun 2004; <tester@gentoo.org> gallery-1.4.3_p2.ebuild: + Marked as stable on x86 + + 09 Jun 2004; Guy Martin <gmsoft@gentoo.org> gallery-1.4.3_p2.ebuild: + Marked stable on hppa. + + 08 Jun 2004; Jason Wever <weeve@gentoo.org> gallery-1.4.3_p2.ebuild: + Marked stable on sparc wrt bug #52798. + + 09 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> gallery-1.4.3_p2.ebuild: + Stable on alpha. + +*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) + + 06 May 2004; Scott W Taylor <swtaylor@gentoo.org> +gallery-1.4.3_p1.ebuild: + version bump + + 04 May 2004; Bryan Østergaard <kloeri@gentoo.org> gallery-1.4.1_p1.ebuild, + gallery-1.4.2.ebuild: + Stable on alpha. + + 21 Apr 2004; Martin Holzer <mholzer@gentoo.org> gallery-1.4.1_p1.ebuild, + gallery-1.4.2.ebuild, gallery-1.4.3.ebuild: + adding IUSE + +*gallery-1.4.3 (21 Apr 2004) + + 21 Apr 2004; Martin Holzer <mholzer@gentoo.org> gallery-1.4.3.ebuild: + Version bumped. Closes 48421 + + 23 Feb 2004; Michael Sterrett <mr_bones_@gentoo.org> + gallery-1.4.1_p1.ebuild, gallery-1.4.2.ebuild: + move webapp-detect into pkg_setup(); mips and amd64 need deps first + +*gallery-1.4.2 (12 Feb 2004) + + 12 Feb 2004; Martin Holzer <mholzer@gentoo.org> gallery-1.4.2.ebuild: + Version bumped. + +*gallery-1.4.1_p1 (25 Jan 2004) + + 25 Jan 2004; Martin Holzer <mholzer@gentoo.org> gallery-1.4.1_p1.ebuild: + Version bumped. Security fix. + + 15 Dec 2003; Stuart Herbert <stuart@gentoo.org> gallery-1.4.1.ebuild: + Fix for bug #32636 + + 14 Dec 2003; <spider@gentoo.org> gallery-1.4.1.ebuild: + QA: fixing chown user.group user:group, bug #35127 + + 14 Dec 2003; Guy Martin <gmsoft@gentoo.org> gallery-1.4.1.ebuild: + Marked stable on hppa. + + 05 Dec 2003; Martin Holzer <mholzer@gentoo.org> gallery-1.4.1.ebuild: + x86 stable + +*gallery-1.4.1 (27 Nov 2003) + + 27 Nov 2003; Martin Holzer <mholzer@gentoo.org> gallery-1.4.1.ebuild: + Version bumped. + +*gallery-1.4.1_rc4 (24 Nov 2003) + + 24 Nov 2003; Martin Holzer <mholzer@gentoo.org> gallery-1.4.1_rc4.ebuild, + gallery-1.4_p2.ebuild: + changing chown. Closes #34015 + +*gallery-1.4_p2 (13 Oct 2003) + + 13 Oct 2003; Martin Holzer <mholzer@gentoo.org> gallery-1.4_p2.ebuild: + Version bumped. Security one. + + 22 Sep 2003; Martin Holzer <mholzer@gentoo.org> gallery-1.4_p1.ebuild: + Marked stable on all arch. + + 16 Sep 2003; Martin Holzer <mholzer@gentoo.org> gallery-1.4_p1.ebuild: + Adding locales and html docs. + +*gallery-1.4_p1 (14 Sep 2003) + + 14 Sep 2003; Martin Holzer <mholzer@gentoo.org> gallery-1.4_p1.ebuild: + Version bumped. + +*gallery-1.3.4_p1 (02 Sep 2003) + + 02 Sep 2003; Daniel Ahlberg <aliz@gentoo.org> gallery-1.3.4_p1.ebuild : + Security update. + + 12 Aug 2003; Martin Holzer <mholzer@gentoo.org> gallery-1.3.4.ebuild: + Added remote class and marked x86 stable + +*gallery-1.3.4 (22 Jul 2003) + + 22 Jul 2003; Martin Holzer <mholzer@gentoo.org> gallery-1.3.3.ebuild, + gallery-1.3.4.ebuild: + Version bumped. + +*gallery-1.3.3 (28 Jan 2003) + + 06 Mar 2003; Martin Holzer <mholzer@gentoo.org> gallery-1.3.3.ebuild : + Fixed type in ebuild. Closes #16980. + + 28 Jan 2003; Martin Holzer <mholzer@gentoo.org> gallery-1.3.3.ebuild + files/digest-gallery-1.3.3 ChangeLog : + Version bumped. Submitted in #13993. + +*gallery-1.3.1 (14 Nov 2002) + + 14 Nov 2002; Donny Davies <woodchip@gentoo.org> : + Initial import, from victor.pont@uab.es (Victor Pont) #7551. diff --git a/www-apps/gallery/Manifest b/www-apps/gallery/Manifest new file mode 100644 index 000000000000..049702b0aeb6 --- /dev/null +++ b/www-apps/gallery/Manifest @@ -0,0 +1,14 @@ +MD5 ebb7be3df3a3c8d49f7c061bfb767ea7 ChangeLog 4079 +MD5 a634f343806b8f29e65d7dc37f55c151 gallery-1.4.1_p1.ebuild 1782 +MD5 af8bfec3bb8d80efd8bd338725e68a51 gallery-1.4.2.ebuild 1737 +MD5 9a2718e33c5a1117f12ace30d666f97a gallery-1.4.3.ebuild 1738 +MD5 0db9f0201bc0dea57d882671c72ef1f7 gallery-1.4.3_p1.ebuild 1741 +MD5 c3751d7c11ee91b539624a1728f38424 gallery-1.4.3_p2.ebuild 1763 +MD5 c339473e0ff43da76eb2f2607c441921 metadata.xml 280 +MD5 c2edfb65e8ce3dddc52d8b82a447497a gallery-1.4.4.ebuild 1762 +MD5 d4812c8c0c1fad4c00cda3e8ad7bbe8a files/digest-gallery-1.4.1_p1 69 +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 +MD5 763f3e84ab504c5f79b9bc2feaae0083 files/digest-gallery-1.4.4 66 diff --git a/www-apps/gallery/files/digest-gallery-1.4.1_p1 b/www-apps/gallery/files/digest-gallery-1.4.1_p1 new file mode 100644 index 000000000000..aae39072b2e1 --- /dev/null +++ b/www-apps/gallery/files/digest-gallery-1.4.1_p1 @@ -0,0 +1 @@ +MD5 be41eceb5a5d3c545c72a35c3a4876c2 gallery-1.4.1-pl1.tar.gz 928899 diff --git a/www-apps/gallery/files/digest-gallery-1.4.2 b/www-apps/gallery/files/digest-gallery-1.4.2 new file mode 100644 index 000000000000..b0941319d3ee --- /dev/null +++ b/www-apps/gallery/files/digest-gallery-1.4.2 @@ -0,0 +1 @@ +MD5 37bb6dcc5c6c41097fac411c13335ea1 gallery-1.4.2.tar.gz 1075429 diff --git a/www-apps/gallery/files/digest-gallery-1.4.3 b/www-apps/gallery/files/digest-gallery-1.4.3 new file mode 100644 index 000000000000..e944059ca50d --- /dev/null +++ b/www-apps/gallery/files/digest-gallery-1.4.3 @@ -0,0 +1 @@ +MD5 d9fc69721e289f7fde2bc7b00b27be29 gallery-1.4.3.tar.gz 1671766 diff --git a/www-apps/gallery/files/digest-gallery-1.4.3_p1 b/www-apps/gallery/files/digest-gallery-1.4.3_p1 new file mode 100644 index 000000000000..0dd68aa98e22 --- /dev/null +++ b/www-apps/gallery/files/digest-gallery-1.4.3_p1 @@ -0,0 +1 @@ +MD5 c7c8a7a5efff40fc441c490333b19e36 gallery-1.4.3-pl1.tar.gz 1690002 diff --git a/www-apps/gallery/files/digest-gallery-1.4.3_p2 b/www-apps/gallery/files/digest-gallery-1.4.3_p2 new file mode 100644 index 000000000000..6f79e75d66f3 --- /dev/null +++ b/www-apps/gallery/files/digest-gallery-1.4.3_p2 @@ -0,0 +1 @@ +MD5 5b23288c571fe1ec86510ac1ca87e444 gallery-1.4.3-pl2.tar.gz 1699443 diff --git a/www-apps/gallery/files/digest-gallery-1.4.4 b/www-apps/gallery/files/digest-gallery-1.4.4 new file mode 100644 index 000000000000..1ef0136e3c31 --- /dev/null +++ b/www-apps/gallery/files/digest-gallery-1.4.4 @@ -0,0 +1 @@ +MD5 fe21d5c2c48699666f20a6108805c44c gallery-1.4.4.tar.gz 1756042 diff --git a/www-apps/gallery/gallery-1.4.1_p1.ebuild b/www-apps/gallery/gallery-1.4.1_p1.ebuild new file mode 100644 index 000000000000..c587437c022a --- /dev/null +++ b/www-apps/gallery/gallery-1.4.1_p1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/gallery-1.4.1_p1.ebuild,v 1.1 2004/08/15 10:00:35 stuart 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="" +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 -R apache:apache ${DST_PATH} + 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://www.yourhost.com/gallery/setup/" + einfo "and follow the instructions." + einfo "--------------------------------------------" + einfo "For upgrades, just run" + einfo "# cd ${destdir}" + einfo "# sh ./secure.sh" + einfo +} diff --git a/www-apps/gallery/gallery-1.4.2.ebuild b/www-apps/gallery/gallery-1.4.2.ebuild new file mode 100644 index 000000000000..3f598184c26f --- /dev/null +++ b/www-apps/gallery/gallery-1.4.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/gallery-1.4.2.ebuild,v 1.1 2004/08/15 10:00:35 stuart 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="" +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 +} diff --git a/www-apps/gallery/gallery-1.4.3.ebuild b/www-apps/gallery/gallery-1.4.3.ebuild new file mode 100644 index 000000000000..74d3429159a6 --- /dev/null +++ b/www-apps/gallery/gallery-1.4.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/gallery-1.4.3.ebuild,v 1.1 2004/08/15 10:00:35 stuart 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="" +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 +} diff --git a/www-apps/gallery/gallery-1.4.3_p1.ebuild b/www-apps/gallery/gallery-1.4.3_p1.ebuild new file mode 100644 index 000000000000..705947f201fc --- /dev/null +++ b/www-apps/gallery/gallery-1.4.3_p1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/gallery-1.4.3_p1.ebuild,v 1.1 2004/08/15 10:00:35 stuart 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="" +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 +} diff --git a/www-apps/gallery/gallery-1.4.3_p2.ebuild b/www-apps/gallery/gallery-1.4.3_p2.ebuild new file mode 100644 index 000000000000..1748ceadd3ee --- /dev/null +++ b/www-apps/gallery/gallery-1.4.3_p2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/gallery-1.4.3_p2.ebuild,v 1.1 2004/08/15 10:00:35 stuart 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="" +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 ./configure.sh" + einfo "# sh ./secure.sh" + einfo +} diff --git a/www-apps/gallery/gallery-1.4.4.ebuild b/www-apps/gallery/gallery-1.4.4.ebuild new file mode 100644 index 000000000000..2734b90eaa46 --- /dev/null +++ b/www-apps/gallery/gallery-1.4.4.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/gallery-1.4.4.ebuild,v 1.1 2004/08/15 10:00:35 stuart 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="" +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 ./configure.sh" + einfo "# sh ./secure.sh" + einfo +} diff --git a/www-apps/gallery/metadata.xml b/www-apps/gallery/metadata.xml new file mode 100644 index 000000000000..13bc126c7d91 --- /dev/null +++ b/www-apps/gallery/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>web-apps</herd> +<maintainer> +<email>web-apps@gentoo.org</email> +<name>Gentoo Web Application Packages Maintainers</name> +</maintainer> +</pkgmetadata> |