summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-10-12 18:59:19 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-10-12 18:59:19 +0000
commit4e17bffa48c3c9128b803553c5c97dec8d8deeab (patch)
treec331940e3f416eb5f695e0fb447f7f40c0c35e81 /app-misc/gallery
parentVersion bumped. Security one. (diff)
downloadgentoo-2-4e17bffa48c3c9128b803553c5c97dec8d8deeab.tar.gz
gentoo-2-4e17bffa48c3c9128b803553c5c97dec8d8deeab.tar.bz2
gentoo-2-4e17bffa48c3c9128b803553c5c97dec8d8deeab.zip
Version bumped. Security one.
Diffstat (limited to 'app-misc/gallery')
-rw-r--r--app-misc/gallery/ChangeLog7
-rw-r--r--app-misc/gallery/Manifest4
-rw-r--r--app-misc/gallery/files/digest-gallery-1.4_p21
-rw-r--r--app-misc/gallery/gallery-1.4_p2.ebuild103
4 files changed, 112 insertions, 3 deletions
diff --git a/app-misc/gallery/ChangeLog b/app-misc/gallery/ChangeLog
index 9f34907684a9..05de6b3c7fbf 100644
--- a/app-misc/gallery/ChangeLog
+++ b/app-misc/gallery/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/gallery
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gallery/ChangeLog,v 1.12 2003/09/21 11:41:27 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gallery/ChangeLog,v 1.13 2003/10/12 18:59:14 mholzer Exp $
+
+*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.
diff --git a/app-misc/gallery/Manifest b/app-misc/gallery/Manifest
index c93eafdf5f60..eeb8da07b7da 100644
--- a/app-misc/gallery/Manifest
+++ b/app-misc/gallery/Manifest
@@ -1,5 +1,5 @@
-MD5 777ceaad6ca799a4b07d36550ac56f70 ChangeLog 1377
-MD5 ee1ecf4af612227a0760aefe9be989ca gallery-1.4_p2.ebuild 2411
+MD5 42ac445bfd7408902426a9c3af0b43ac ChangeLog 1514
+MD5 bd61284c79d2b9eb5aa7bb84e453d5bb gallery-1.4_p2.ebuild 2411
MD5 ee1ecf4af612227a0760aefe9be989ca gallery-1.4_p1.ebuild 2411
MD5 a9b8e52b9d14c6b3a74d3b71cb0dc038 files/digest-gallery-1.4_p2 68
MD5 510469e367abf29fb94b65aaba7e0c0a files/digest-gallery-1.4_p1 68
diff --git a/app-misc/gallery/files/digest-gallery-1.4_p2 b/app-misc/gallery/files/digest-gallery-1.4_p2
new file mode 100644
index 000000000000..d804b104fbac
--- /dev/null
+++ b/app-misc/gallery/files/digest-gallery-1.4_p2
@@ -0,0 +1 @@
+MD5 f55dd81a9ca69efc6ee9d806df2f7e1e gallery-1.4-pl2.tar.gz 2045796
diff --git a/app-misc/gallery/gallery-1.4_p2.ebuild b/app-misc/gallery/gallery-1.4_p2.ebuild
new file mode 100644
index 000000000000..f0577bbd062d
--- /dev/null
+++ b/app-misc/gallery/gallery-1.4_p2.ebuild
@@ -0,0 +1,103 @@
+# 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 $
+
+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"
+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"
+
+src_install() {
+ insinto ${DST_PATH}
+ doins *.{php,sh}
+
+ insinto ${DST_PATH}/classes
+ doins classes/*.php
+
+ insinto ${DST_PATH}/classes/database/mysql
+ doins classes/database/mysql/*.php
+
+ insinto ${DST_PATH}/classes/gallery
+ doins classes/gallery/*.php
+
+ insinto ${DST_PATH}/classes/nuke5
+ doins classes/nuke5/*.php
+
+ insinto ${DST_PATH}/classes/postnuke
+ doins classes/postnuke/*.php
+
+ insinto ${DST_PATH}/classes/postnuke0.7.1
+ doins classes/postnuke0.7.1/*.php
+
+ insinto ${DST_PATH}/classes/remote
+ doins classes/remote/*.php
+
+ insinto ${DST_PATH}/css
+ doins css/*.default
+
+ insinto ${DST_PATH}/errors
+ doins errors/*.php
+
+ insinto ${DST_PATH}/html
+ doins html/*.inc
+
+ insinto ${DST_PATH}/html_wrap
+ doins html_wrap/*.default
+
+ insinto ${DST_PATH}/images
+ doins images/*.{jpg,gif,png}
+
+ insinto ${DST_PATH}/java
+ doins java/*.jar
+
+ insinto ${DST_PATH}/js
+ doins js/*.js
+
+ insinto ${DST_PATH}/layout
+ doins layout/*.inc
+
+ insinto ${DST_PATH}/platform
+ doins platform/*.php
+
+ insinto ${DST_PATH}/setup
+ doins setup/*.{php,inc,template,txt} setup/.htaccess
+
+ # install locales
+ for d in locale/*
+ do
+ insinto ${DST_PATH}/$d/LC_MESSAGES
+ doins $d/LC_MESSAGES/*
+ done
+
+ dodoc AUTHORS ChangeLog README LICENSE.txt UPGRADING
+ dohtml docs/*
+}
+
+pkg_postinst() {
+ chown -R apache.apache ${DST_PATH}
+ chown root.root ${DST_PATH}/secure.sh ${DST_PATH}/configure.sh
+ chmod 700 ${DST_PATH}/secure.sh ${DST_PATH}/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 ${DST_PATH}"
+ einfo "# sh ./secure.sh"
+ einfo
+}