summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-11-20 18:48:53 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-11-20 18:48:53 +0000
commitb9f46a5aaa7bb55a8e7a6cb33b6396768da01359 (patch)
tree7451934a20d9b7d867d316501a3d36ae56948a78 /app-misc
parentVersion bumped (diff)
downloadhistorical-b9f46a5aaa7bb55a8e7a6cb33b6396768da01359.tar.gz
historical-b9f46a5aaa7bb55a8e7a6cb33b6396768da01359.tar.bz2
historical-b9f46a5aaa7bb55a8e7a6cb33b6396768da01359.zip
Version bumped
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/gallery/Manifest4
-rw-r--r--app-misc/gallery/files/digest-gallery-1.4.1_rc41
-rw-r--r--app-misc/gallery/gallery-1.4.1_rc4.ebuild69
-rw-r--r--app-misc/gallery/gallery-1.4_p2.ebuild3
4 files changed, 74 insertions, 3 deletions
diff --git a/app-misc/gallery/Manifest b/app-misc/gallery/Manifest
index 5064d7ad05f3..faef38889286 100644
--- a/app-misc/gallery/Manifest
+++ b/app-misc/gallery/Manifest
@@ -1,5 +1,5 @@
MD5 42ac445bfd7408902426a9c3af0b43ac ChangeLog 1514
-MD5 bd61284c79d2b9eb5aa7bb84e453d5bb gallery-1.4_p2.ebuild 2411
-MD5 2625f400fd607f6ad00e126dff0e7049 gallery-1.4.1_rc4.ebuild 1771
+MD5 908a8793959f39c3dfe31ec42297e5a1 gallery-1.4_p2.ebuild 2431
+MD5 01cbf72aa650d33b1161cc73fdf201eb gallery-1.4.1_rc4.ebuild 1909
MD5 a9b8e52b9d14c6b3a74d3b71cb0dc038 files/digest-gallery-1.4_p2 68
MD5 32c98a33a09366f4f5eeaf54cce66a2b files/digest-gallery-1.4.1_rc4 69
diff --git a/app-misc/gallery/files/digest-gallery-1.4.1_rc4 b/app-misc/gallery/files/digest-gallery-1.4.1_rc4
new file mode 100644
index 000000000000..b40d882ab063
--- /dev/null
+++ b/app-misc/gallery/files/digest-gallery-1.4.1_rc4
@@ -0,0 +1 @@
+MD5 9eae52e96d0a30d82856e993ad1a51e0 gallery-1.4.1-RC4.tar.gz 932161
diff --git a/app-misc/gallery/gallery-1.4.1_rc4.ebuild b/app-misc/gallery/gallery-1.4.1_rc4.ebuild
new file mode 100644
index 000000000000..60033b44426a
--- /dev/null
+++ b/app-misc/gallery/gallery-1.4.1_rc4.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2003 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.1_rc4.ebuild,v 1.1 2003/11/20 18:48:48 mholzer Exp $
+
+inherit webapp-apache
+
+MY_P=${P/_rc/-RC}
+
+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 mips 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}"
+#DST_PATH="/home/httpd/htdocs/gallery"
+
+webapp-detect || NO_WEBSERVER=1
+
+HTTPD_USER="apache"
+HTTPD_GROUP="apache"
+
+pkg_setup() {
+ webapp-pkg_setup "${NO_WEBSERVER}"
+ einfo "Installing into ${ROOT}${HTTPD_ROOT}."
+}
+
+src_install() {
+ local DocumentRoot=${HTTPD_ROOT}
+ local destdir=${DocumentRoot}/${PN}
+ dodir ${destdir}
+ dodoc AUTHORS ChangeLog README LICENSE.txt UPGRADING
+ rm -rf AUTHORS ChangeLog README LICENSE.txt UPGRADING
+
+ 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/app-misc/gallery/gallery-1.4_p2.ebuild b/app-misc/gallery/gallery-1.4_p2.ebuild
index f0577bbd062d..a1c5b1c9755c 100644
--- a/app-misc/gallery/gallery-1.4_p2.ebuild
+++ b/app-misc/gallery/gallery-1.4_p2.ebuild
@@ -1,12 +1,13 @@
# Copyright 1999-2003 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_p2.ebuild,v 1.1 2003/10/12 18:59:14 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gallery/gallery-1.4_p2.ebuild,v 1.2 2003/11/20 18:48:48 mholzer Exp $
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=""