diff options
Diffstat (limited to 'net-nds')
-rw-r--r-- | net-nds/phpldapadmin/ChangeLog | 9 | ||||
-rw-r--r-- | net-nds/phpldapadmin/Manifest | 3 | ||||
-rw-r--r-- | net-nds/phpldapadmin/metadata.xml | 11 | ||||
-rw-r--r-- | net-nds/phpldapadmin/phpldapadmin-0.9.1.ebuild | 48 |
4 files changed, 71 insertions, 0 deletions
diff --git a/net-nds/phpldapadmin/ChangeLog b/net-nds/phpldapadmin/ChangeLog new file mode 100644 index 000000000000..340bbff2ea3f --- /dev/null +++ b/net-nds/phpldapadmin/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for net-nds/phpldapadmin +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-nds/phpldapadmin/ChangeLog,v 1.1 2003/11/13 21:05:34 rizzo Exp $ + +*phpldapadmin-0.9.1 (13 Nov 2003) + + 13 Nov 2003; Don Seiler <rizzo@gentoo.org>; phpldapadmin-0.9.1.ebuild: + Initial add. Thanks to Evan McNabb for ideas + diff --git a/net-nds/phpldapadmin/Manifest b/net-nds/phpldapadmin/Manifest new file mode 100644 index 000000000000..bbf10904c426 --- /dev/null +++ b/net-nds/phpldapadmin/Manifest @@ -0,0 +1,3 @@ +MD5 efcebb8370fec207a2a0d01f91a0a2a2 ChangeLog 378 +MD5 71ad722560b794fcde4fcf64846b62d2 metadata.xml 432 +MD5 6de073e60652dc7a1fbd9eb2595ff01a phpldapadmin-0.9.1.ebuild 1354 diff --git a/net-nds/phpldapadmin/metadata.xml b/net-nds/phpldapadmin/metadata.xml new file mode 100644 index 000000000000..d10970202775 --- /dev/null +++ b/net-nds/phpldapadmin/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>rizzo@gentoo.org</email> + <name>Don Seiler</name> +<!-- <description>Description of the maintainership</description> --> +</maintainer> +<longdescription>phpLDAPadmin is a web-based tool for managing all aspects of your LDAP server.</longdescription> +</pkgmetadata> diff --git a/net-nds/phpldapadmin/phpldapadmin-0.9.1.ebuild b/net-nds/phpldapadmin/phpldapadmin-0.9.1.ebuild new file mode 100644 index 000000000000..2a03b529a391 --- /dev/null +++ b/net-nds/phpldapadmin/phpldapadmin-0.9.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# Maintainer: Don Seiler <rizzo@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-nds/phpldapadmin/phpldapadmin-0.9.1.ebuild,v 1.1 2003/11/13 21:05:34 rizzo Exp $ + +S="${WORKDIR}/${PN}" +DESCRIPTION="phpLDAPadmin is a web-based tool for managing all aspects of your LDAP server." +HOMEPAGE="http://phpldapadmin.sourceforge.net" +SRC_URI="mirror://sourceforge/phpldapadmin/${PN}-${PV}.tar.gz" +RESTRICT="nomirror" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha" + +DEPEND="virtual/php" + +inherit webapp-apache +webapp-detect || NO_WEBSERVER=1 + +pkg_setup() { + # Check for "ldap" in USE vars for mod_php + webapp-check-php ldap + + webapp-pkg_setup "${NO_WEBSERVER}" + einfo "Installing for ${WEBAPP_SERVER}" +} + +src_install() { + dodir "${HTTPD_ROOT}/phpldapadmin" + cp -a * "${D}/${HTTPD_ROOT}/phpldapadmin" + dodoc INSTALL LICENSE VERSION + + chown -R "${HTTPD_USER}.${HTTPD_GROUP}" "${D}/${HTTPD_ROOT}/phpldapadmin" + chmod 0775 "${D}/${HTTPD_ROOT}/phpldapadmin" +} + +pkg_postinst() { + einfo + einfo "phpLDAPadmin is installed. You will need to" + einfo "configure it by creating/editing the config.php" + einfo "at:" + einfo + einfo "${HTTPD_ROOT}/phpldapadmin/config.php" + einfo + einfo "There is a config.php.example for your reference." + einfo +} |