summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2003-12-22 02:16:18 +0000
committerMasatomo Nakano <nakano@gentoo.org>2003-12-22 02:16:18 +0000
commit798eb1b774ae498e49d126c9a6eaa7b3250f9c8b (patch)
tree148cf72b62bab098d949bab878ccfed2ee65b14e
parentupstream version bump, should address bug 28609 (diff)
downloadgentoo-2-798eb1b774ae498e49d126c9a6eaa7b3250f9c8b.tar.gz
gentoo-2-798eb1b774ae498e49d126c9a6eaa7b3250f9c8b.tar.bz2
gentoo-2-798eb1b774ae498e49d126c9a6eaa7b3250f9c8b.zip
Version bump.
-rw-r--r--dev-db/phppgadmin/ChangeLog7
-rw-r--r--dev-db/phppgadmin/Manifest4
-rw-r--r--dev-db/phppgadmin/files/digest-phppgadmin-3.2.11
-rw-r--r--dev-db/phppgadmin/phppgadmin-3.2.1.ebuild70
4 files changed, 80 insertions, 2 deletions
diff --git a/dev-db/phppgadmin/ChangeLog b/dev-db/phppgadmin/ChangeLog
index 454251656cfe..694fee2b1054 100644
--- a/dev-db/phppgadmin/ChangeLog
+++ b/dev-db/phppgadmin/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/phppgadmin
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/phppgadmin/ChangeLog,v 1.14 2003/12/15 20:16:35 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/phppgadmin/ChangeLog,v 1.15 2003/12/22 02:16:17 nakano Exp $
+
+*phppgadmin-3.2 (22 Dec 2003)
+
+ 22 Dec 2003; Masatomo Nakano <nakano@gentoo.org> phppgadmin-3.2.ebuild:
+ Version bump.
15 Dec 2003; Stuart Herbert <stuart@gentoo.org> phppgadmin-3.1.ebuild:
Fix for bug #32636
diff --git a/dev-db/phppgadmin/Manifest b/dev-db/phppgadmin/Manifest
index c6113b52d43d..954960ec1922 100644
--- a/dev-db/phppgadmin/Manifest
+++ b/dev-db/phppgadmin/Manifest
@@ -1,4 +1,6 @@
-MD5 1c004479cf882f731afd31452af9f66f phppgadmin-3.1.ebuild 1670
+MD5 3fb4326725e2bce9852304c241eac760 phppgadmin-3.2.1.ebuild 1672
MD5 4a1321520df2a63687de7db06d98f3bb ChangeLog 2017
MD5 f8d3d207746da2a3cd14dcaab8daab76 metadata.xml 163
+MD5 1c004479cf882f731afd31452af9f66f phppgadmin-3.1.ebuild 1670
+MD5 cbf8255c8be6d969d97dca3589e1dd82 files/digest-phppgadmin-3.2.1 69
MD5 5803d15365a21bbc93276df7349f0fa7 files/digest-phppgadmin-3.1 67
diff --git a/dev-db/phppgadmin/files/digest-phppgadmin-3.2.1 b/dev-db/phppgadmin/files/digest-phppgadmin-3.2.1
new file mode 100644
index 000000000000..b5ce080e24bf
--- /dev/null
+++ b/dev-db/phppgadmin/files/digest-phppgadmin-3.2.1
@@ -0,0 +1 @@
+MD5 d4ff4fd3be278fb06a37097f7be4baa4 phpPgAdmin-3.2.1.tar.bz2 332780
diff --git a/dev-db/phppgadmin/phppgadmin-3.2.1.ebuild b/dev-db/phppgadmin/phppgadmin-3.2.1.ebuild
new file mode 100644
index 000000000000..e2bda0c78f9d
--- /dev/null
+++ b/dev-db/phppgadmin/phppgadmin-3.2.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/phppgadmin/phppgadmin-3.2.1.ebuild,v 1.1 2003/12/22 02:16:17 nakano Exp $
+
+inherit eutils
+inherit webapp-apache
+
+IUSE=""
+
+# This package insists on uppercase letters
+MY_PN=phpPgAdmin
+MY_P=${MY_PN}-${PV}
+S="${WORKDIR}/${MY_PN}"
+
+DESCRIPTION="Web-based administration for Postgres database in php"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+RESTRICT="nomirror"
+HOMEPAGE="http://phppgadmin.sourceforge.net/"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+SLOT="0"
+
+DEPEND=">=dev-db/postgresql-7.0.0
+ >=dev-php/mod_php-4.1"
+
+webapp-detect || NO_WEBSERVER=1
+
+pkg_setup() {
+ echo "${NO_WEBSERVER}"
+ webapp-pkg_setup "${NO_WEBSERVER}"
+ einfo "Installing into ${D}${HTTPD_ROOT}."
+}
+
+src_compile() {
+ mv libraries/lib.inc.php ${T}/lib.inc.php
+ mv login.php ${T}/login.php
+ sed -e "s|conf/config.inc.php|/etc/phppgadmin/config.inc.php|g" \
+ ${T}/login.php > login.php
+ sed -e "s|conf/config.inc.php|/etc/phppgadmin/config.inc.php|g" \
+ ${T}/lib.inc.php > libraries/lib.inc.php
+}
+
+src_install() {
+ webapp-mkdirs
+
+ for doc in DEVELOPERS FAQ HISTORY INSTALL TODO TRANSLATORS \
+ CREDITS BUGS
+ do
+ dodoc $doc
+ rm -f $doc
+ done
+ rm -f LICENSE
+
+ dodir /etc/phppgadmin
+ mv conf/* sql/* ${D}/etc/phppgadmin/
+ rm -fr config/ sql/
+
+ dodir ${HTTPD_ROOT}/phppgadmin
+ cp -ar * ${D}${HTTPD_ROOT}/phppgadmin/
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Make sure you edit ${ROOT}/etc/phppgadmin/config.inc.php"
+ einfo
+ einfo "To use the reports-database, you have to manually execute"
+ einfo "psql -f /etc/phppgadmin/reports-pgsql.sql"
+ einfo
+}