diff options
author | Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> | 2012-01-05 00:36:39 +0000 |
---|---|---|
committer | Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> | 2012-01-05 00:36:39 +0000 |
commit | 3ad1c95b163ab4a148430d3aaddcbad1092fccf3 (patch) | |
tree | 82831350d721a449a58834f1d3230bfc80d19802 /net-nds/phpldapadmin | |
parent | install everything in /usr/bin per upstreams default settings. Also add modul... (diff) | |
download | gentoo-2-3ad1c95b163ab4a148430d3aaddcbad1092fccf3.tar.gz gentoo-2-3ad1c95b163ab4a148430d3aaddcbad1092fccf3.tar.bz2 gentoo-2-3ad1c95b163ab4a148430d3aaddcbad1092fccf3.zip |
[net-nds/phpldapadmin] 1.2.2 version bump - fixes bug #395513.
(Portage version: 2.2.0_alpha83/cvs/Linux x86_64)
Diffstat (limited to 'net-nds/phpldapadmin')
-rw-r--r-- | net-nds/phpldapadmin/ChangeLog | 10 | ||||
-rw-r--r-- | net-nds/phpldapadmin/phpldapadmin-1.2.2.ebuild | 44 |
2 files changed, 52 insertions, 2 deletions
diff --git a/net-nds/phpldapadmin/ChangeLog b/net-nds/phpldapadmin/ChangeLog index 253242e6e39f..af94d636f859 100644 --- a/net-nds/phpldapadmin/ChangeLog +++ b/net-nds/phpldapadmin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-nds/phpldapadmin -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/phpldapadmin/ChangeLog,v 1.54 2011/10/25 18:18:43 jmbsvicetto Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-nds/phpldapadmin/ChangeLog,v 1.55 2012/01/05 00:36:39 jmbsvicetto Exp $ + +*phpldapadmin-1.2.2 (05 Jan 2012) + + 05 Jan 2012; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + +phpldapadmin-1.2.2.ebuild: + [net-nds/phpldapadmin] 1.2.2 version bump - fixes bug #395513. *phpldapadmin-1.2.1.1-r1 (25 Oct 2011) diff --git a/net-nds/phpldapadmin/phpldapadmin-1.2.2.ebuild b/net-nds/phpldapadmin/phpldapadmin-1.2.2.ebuild new file mode 100644 index 000000000000..4da390de7ddc --- /dev/null +++ b/net-nds/phpldapadmin/phpldapadmin-1.2.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-nds/phpldapadmin/phpldapadmin-1.2.2.ebuild,v 1.1 2012/01/05 00:36:39 jmbsvicetto Exp $ + +EAPI="2" + +inherit webapp depend.php + +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}.tgz" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="dev-lang/php[hash,ldap,session,xml,nls] + || ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )" + +need_httpd_cgi +need_php_httpd + +src_prepare() { + mv config/config.php.example config/config.php + epatch "${FILESDIR}/${PN}-1.2.1.1-fix-magic-quotes.patch" +} + +src_install() { + webapp_src_preinst + + dodoc INSTALL + + # Restrict config file access - bug 280836 + chown root:apache "config/config.php" + chmod 640 "config/config.php" + + insinto "${MY_HTDOCSDIR}" + doins -r * + + webapp_configfile "${MY_HTDOCSDIR}/config/config.php" + webapp_postinst_txt en "${FILESDIR}"/postinstall2-en.txt + + webapp_src_install +} |