summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2004-08-04 16:32:00 +0000
committerMartin Holzer <mholzer@gentoo.org>2004-08-04 16:32:00 +0000
commitf71a40505f82a51b8358110d7ea740dad21baa31 (patch)
treee8d529b2e78a5e88846e3790e4bb69b3dcc46d20 /net-nds/phpldapadmin
parentmanifest is wrong? (sejo didnt use repoman?) (Manifest recommit) (diff)
downloadgentoo-2-f71a40505f82a51b8358110d7ea740dad21baa31.tar.gz
gentoo-2-f71a40505f82a51b8358110d7ea740dad21baa31.tar.bz2
gentoo-2-f71a40505f82a51b8358110d7ea740dad21baa31.zip
adding webapp.eclass based.
Diffstat (limited to 'net-nds/phpldapadmin')
-rw-r--r--net-nds/phpldapadmin/ChangeLog8
-rw-r--r--net-nds/phpldapadmin/Manifest5
-rw-r--r--net-nds/phpldapadmin/files/digest-phpldapadmin-0.9.3-r11
-rw-r--r--net-nds/phpldapadmin/files/postinstall-en.txt6
-rw-r--r--net-nds/phpldapadmin/phpldapadmin-0.9.3-r1.ebuild41
5 files changed, 59 insertions, 2 deletions
diff --git a/net-nds/phpldapadmin/ChangeLog b/net-nds/phpldapadmin/ChangeLog
index 427aad100022..59787ee77c79 100644
--- a/net-nds/phpldapadmin/ChangeLog
+++ b/net-nds/phpldapadmin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-nds/phpldapadmin
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/phpldapadmin/ChangeLog,v 1.7 2004/06/25 00:23:31 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/phpldapadmin/ChangeLog,v 1.8 2004/08/04 16:32:00 mholzer Exp $
+
+*phpldapadmin-0.9.3-r1 (04 Aug 2004)
+
+ 04 Aug 2004; Martin Holzer <mholzer@gentoo.org>
+ phpldapadmin-0.9.3-r1.ebuild, files/postinstall-en.txt:
+ adding webapp.eclass based.
20 Apr 2004; Don Seiler <rizzo@gentoo.org>; phpldapadmin-0.9.3.ebuild:
Moved webapp-detect to pkg_setup() function to fix Bug #48359
diff --git a/net-nds/phpldapadmin/Manifest b/net-nds/phpldapadmin/Manifest
index a8841fbe6255..f2b1979518fb 100644
--- a/net-nds/phpldapadmin/Manifest
+++ b/net-nds/phpldapadmin/Manifest
@@ -1,4 +1,7 @@
-MD5 840037f39bc23a8d531977b59c2bb18e phpldapadmin-0.9.3.ebuild 1361
MD5 cf2ab22eefed5d2e9d9363cf8d3e883c ChangeLog 1001
MD5 2b9f3758019e1a5695a4e4d3e3152383 metadata.xml 275
+MD5 840037f39bc23a8d531977b59c2bb18e phpldapadmin-0.9.3.ebuild 1361
+MD5 25923553727cf0198669df29aed35ab4 phpldapadmin-0.9.3-r1.ebuild 1028
MD5 c9e6d258869de2000613c894755b019e files/digest-phpldapadmin-0.9.3 70
+MD5 4a3de5c22fb420c075cca598a6101e1b files/postinstall-en.txt 186
+MD5 c9e6d258869de2000613c894755b019e files/digest-phpldapadmin-0.9.3-r1 70
diff --git a/net-nds/phpldapadmin/files/digest-phpldapadmin-0.9.3-r1 b/net-nds/phpldapadmin/files/digest-phpldapadmin-0.9.3-r1
new file mode 100644
index 000000000000..173369050557
--- /dev/null
+++ b/net-nds/phpldapadmin/files/digest-phpldapadmin-0.9.3-r1
@@ -0,0 +1 @@
+MD5 f51c805ff9d2bbfb5af44247c9de0577 phpldapadmin-0.9.3.tar.gz 231903
diff --git a/net-nds/phpldapadmin/files/postinstall-en.txt b/net-nds/phpldapadmin/files/postinstall-en.txt
new file mode 100644
index 000000000000..501f0b354f5c
--- /dev/null
+++ b/net-nds/phpldapadmin/files/postinstall-en.txt
@@ -0,0 +1,6 @@
+phpLDAPadmin is installed. You will need to
+configure it by creating/editing the config.php at
+
+${HTTPD_ROOT}/phpldapadmin/config.php
+
+There is a config.php.example for your reference.
diff --git a/net-nds/phpldapadmin/phpldapadmin-0.9.3-r1.ebuild b/net-nds/phpldapadmin/phpldapadmin-0.9.3-r1.ebuild
new file mode 100644
index 000000000000..5899a606fece
--- /dev/null
+++ b/net-nds/phpldapadmin/phpldapadmin-0.9.3-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nds/phpldapadmin/phpldapadmin-0.9.3-r1.ebuild,v 1.1 2004/08/04 16:32:00 mholzer Exp $
+
+inherit webapp
+
+DESCRIPTION="phpLDAPadmin is a web-based tool for managing all aspects of your LDAP server."
+HOMEPAGE="http://phpldapadmin.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+IUSE=""
+
+DEPEND="virtual/php"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ mv config.php.example config.php
+}
+
+src_install() {
+ webapp_src_preinst
+
+ local docs="INSTALL LICENSE VERSION doc/CREDITS doc/ChangeLog doc/INSTALL-de.txt doc/INSTALL-es.txt doc/INSTALL-fr.txt doc/ROADMAP"
+
+ dodoc ${docs}
+ for doc in ${docs} INSTALL; do
+ rm -f ${doc}
+ done
+
+ einfo "Installing main files"
+ cp -r . ${D}${MY_HTDOCSDIR}
+
+ webapp_configfile ${MY_HTDOCSDIR}/config.php
+
+ webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
+
+ webapp_src_install
+}