diff options
author | Martin Holzer <mholzer@gentoo.org> | 2004-03-03 14:53:30 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2004-03-03 14:53:30 +0000 |
commit | d2fcfac4c15794b838d80126d4e155ca5a8175a3 (patch) | |
tree | bdc76745de5971821d03f8b169563c882f27c605 /dev-db | |
parent | Bump (Manifest recommit) (diff) | |
download | gentoo-2-d2fcfac4c15794b838d80126d4e155ca5a8175a3.tar.gz gentoo-2-d2fcfac4c15794b838d80126d4e155ca5a8175a3.tar.bz2 gentoo-2-d2fcfac4c15794b838d80126d4e155ca5a8175a3.zip |
Version bumped.
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/phppgadmin/ChangeLog | 7 | ||||
-rw-r--r-- | dev-db/phppgadmin/Manifest | 2 | ||||
-rw-r--r-- | dev-db/phppgadmin/files/digest-phppgadmin-3.3 | 1 | ||||
-rw-r--r-- | dev-db/phppgadmin/phppgadmin-3.3.ebuild | 70 |
4 files changed, 79 insertions, 1 deletions
diff --git a/dev-db/phppgadmin/ChangeLog b/dev-db/phppgadmin/ChangeLog index 8e0be00b9b10..5c167b6e20e5 100644 --- a/dev-db/phppgadmin/ChangeLog +++ b/dev-db/phppgadmin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/phppgadmin # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/phppgadmin/ChangeLog,v 1.17 2004/03/03 10:57:51 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/phppgadmin/ChangeLog,v 1.18 2004/03/03 14:53:29 mholzer Exp $ + +*phppgadmin-3.3 (03 Mar 2004) + + 03 Mar 2004; Martin Holzer <mholzer@gentoo.org> phppgadmin-3.3.ebuild: + Version bumped. 03 Mar 2004; Martin Holzer <mholzer@gentoo.org> phppgadmin-3.1.ebuild, phppgadmin-3.2.1.ebuild: diff --git a/dev-db/phppgadmin/Manifest b/dev-db/phppgadmin/Manifest index dd174de7ce64..85373d1c3dd5 100644 --- a/dev-db/phppgadmin/Manifest +++ b/dev-db/phppgadmin/Manifest @@ -2,5 +2,7 @@ MD5 6884ce05fe58c2a826ab68ff49877ee6 ChangeLog 2311 MD5 f8d3d207746da2a3cd14dcaab8daab76 metadata.xml 163 MD5 62a5e1ff09ca72db23011c21a4d3c45e phppgadmin-3.1.ebuild 1683 MD5 16b65f61d30913ecaaa317a4942f30a9 phppgadmin-3.2.1.ebuild 1687 +MD5 16b65f61d30913ecaaa317a4942f30a9 phppgadmin-3.3.ebuild 1687 MD5 5803d15365a21bbc93276df7349f0fa7 files/digest-phppgadmin-3.1 67 MD5 cbf8255c8be6d969d97dca3589e1dd82 files/digest-phppgadmin-3.2.1 69 +MD5 7e5bb58cd820dbfbe5175fa75a927ec7 files/digest-phppgadmin-3.3 67 diff --git a/dev-db/phppgadmin/files/digest-phppgadmin-3.3 b/dev-db/phppgadmin/files/digest-phppgadmin-3.3 new file mode 100644 index 000000000000..ff36883a39b7 --- /dev/null +++ b/dev-db/phppgadmin/files/digest-phppgadmin-3.3 @@ -0,0 +1 @@ +MD5 e2ffa67aa3377577ef31871f5e69e93a phpPgAdmin-3.3.tar.bz2 345254 diff --git a/dev-db/phppgadmin/phppgadmin-3.3.ebuild b/dev-db/phppgadmin/phppgadmin-3.3.ebuild new file mode 100644 index 000000000000..36d84b892eb1 --- /dev/null +++ b/dev-db/phppgadmin/phppgadmin-3.3.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/phppgadmin/phppgadmin-3.3.ebuild,v 1.1 2004/03/03 14:53:29 mholzer 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" + +pkg_setup() { + webapp-detect || NO_WEBSERVER=1 + webapp-pkg_setup "${NO_WEBSERVER}" + einfo "Installing into ${ROOT}${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|include('./conf|include('conf|g" \ + -e "s|conf/config.inc.php|/etc/phppgadmin/config.inc.php|g" \ + ${T}/lib.inc.php > libraries/lib.inc.php +} + +src_install() { + webapp-detect || NO_WEBSERVER=1 + 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 +} |