diff options
author | Masatomo Nakano <nakano@gentoo.org> | 2003-10-05 19:46:16 +0000 |
---|---|---|
committer | Masatomo Nakano <nakano@gentoo.org> | 2003-10-05 19:46:16 +0000 |
commit | 4cfe0fb24313a94b712f450f6e61859c286b0069 (patch) | |
tree | a34e47209944cf324f55891f0805319074412fa0 /dev-db | |
parent | Version bump. (diff) | |
download | historical-4cfe0fb24313a94b712f450f6e61859c286b0069.tar.gz historical-4cfe0fb24313a94b712f450f6e61859c286b0069.tar.bz2 historical-4cfe0fb24313a94b712f450f6e61859c286b0069.zip |
Version bump.
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/phppgadmin/Manifest | 4 | ||||
-rw-r--r-- | dev-db/phppgadmin/files/digest-phppgadmin-3.1 | 1 | ||||
-rw-r--r-- | dev-db/phppgadmin/phppgadmin-3.1.ebuild | 67 |
3 files changed, 70 insertions, 2 deletions
diff --git a/dev-db/phppgadmin/Manifest b/dev-db/phppgadmin/Manifest index f49a385b2a59..213bf71cb9c1 100644 --- a/dev-db/phppgadmin/Manifest +++ b/dev-db/phppgadmin/Manifest @@ -5,9 +5,9 @@ MD5 db1528ece5f3e516cce9bc0015ed92fe phppgadmin-3.0.0.ebuild 830 MD5 e54784f92bde3c49c5ab0cc4d6349116 phppgadmin-2.4.2.ebuild 1004 MD5 93b6eb332eb5b846b18f058c4f7a6f7d phppgadmin-3.0.0-r4.ebuild 932 MD5 abdaa95f0860c491494d5d48a95b0a3f phppgadmin-3.0.0-r1.ebuild 909 -MD5 01e07b777197145aef38f15612f9941b ChangeLog 1583 +MD5 d1dbe444057a1b5229cf7f912e636460 ChangeLog 1828 MD5 f8d3d207746da2a3cd14dcaab8daab76 metadata.xml 163 -MD5 0a3f6150de79f93793716f9d5b235fd7 phppgadmin-3.1.ebuild 1668 +MD5 297ff0992c14fb882f4b4cda80630429 phppgadmin-3.1.ebuild 1636 MD5 4318c584c4e9e5f9ed0f93613d36f112 files/digest-phppgadmin-2.4.2 68 MD5 1b8a922fb44cbec3327e8edc591d59bb files/digest-phppgadmin-3.0.0 75 MD5 1b8a922fb44cbec3327e8edc591d59bb files/digest-phppgadmin-3.0.0-r1 75 diff --git a/dev-db/phppgadmin/files/digest-phppgadmin-3.1 b/dev-db/phppgadmin/files/digest-phppgadmin-3.1 new file mode 100644 index 000000000000..ab766ba69bb6 --- /dev/null +++ b/dev-db/phppgadmin/files/digest-phppgadmin-3.1 @@ -0,0 +1 @@ +MD5 b5c9added710f7831584196b8d3e4460 phpPgAdmin-3.1.tar.bz2 302089 diff --git a/dev-db/phppgadmin/phppgadmin-3.1.ebuild b/dev-db/phppgadmin/phppgadmin-3.1.ebuild new file mode 100644 index 000000000000..ed8ac1072700 --- /dev/null +++ b/dev-db/phppgadmin/phppgadmin-3.1.ebuild @@ -0,0 +1,67 @@ +# 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.1.ebuild,v 1.1 2003/10/05 19:46:12 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" +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() { + 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 +} |