From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 45F77138334 for ; Thu, 5 Dec 2019 16:55:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 430DDE08CA; Thu, 5 Dec 2019 16:55:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1776BE08CA for ; Thu, 5 Dec 2019 16:55:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9276834D817 for ; Thu, 5 Dec 2019 16:55:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B1C5E778 for ; Thu, 5 Dec 2019 16:55:39 +0000 (UTC) From: "Jorge Manuel B. S. Vicetto" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jorge Manuel B. S. Vicetto" Message-ID: <1575564890.d1f05440273176500cd8e206e05c6cf1bf15ba1b.jmbsvicetto@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/phpldapadmin/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-nds/phpldapadmin/Manifest net-nds/phpldapadmin/phpldapadmin-1.2.5.ebuild X-VCS-Directories: net-nds/phpldapadmin/ X-VCS-Committer: jmbsvicetto X-VCS-Committer-Name: Jorge Manuel B. S. Vicetto X-VCS-Revision: d1f05440273176500cd8e206e05c6cf1bf15ba1b X-VCS-Branch: master Date: Thu, 5 Dec 2019 16:55:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 967115ed-d216-4a42-99dd-2d11a2f1304f X-Archives-Hash: 8b06b957b92436eeeaf048f0644cf1cf commit: d1f05440273176500cd8e206e05c6cf1bf15ba1b Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) gentoo org> AuthorDate: Thu Dec 5 16:54:36 2019 +0000 Commit: Jorge Manuel B. S. Vicetto gentoo org> CommitDate: Thu Dec 5 16:54:50 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1f05440 net-nds/phpldapadmin: Bump to 1.2.5 release. Security release. This release fixes (CVE-2017-11107). Bug: https://bugs.gentoo.org/636078 Closes: https://bugs.gentoo.org/561900 CLoses: https://bugs.gentoo.org/688056 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) gentoo.org> net-nds/phpldapadmin/Manifest | 1 + net-nds/phpldapadmin/phpldapadmin-1.2.5.ebuild | 51 ++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/net-nds/phpldapadmin/Manifest b/net-nds/phpldapadmin/Manifest index 39e8fd1be3b..65fe4ee9905 100644 --- a/net-nds/phpldapadmin/Manifest +++ b/net-nds/phpldapadmin/Manifest @@ -1 +1,2 @@ DIST phpldapadmin-1.2.3.tgz 1115707 BLAKE2B 85f11713134f7af65a40cb2cab619590bdea9dfc23d2bfdec0b0837772f166f5b8cd61125b753167726abf109a5e5ac8607dc75a750299c61f895638c2d3b98a SHA512 58a57ca577586685ebd0d7fde7e299b8945d1693018c7803e19239b79f4b9d72a4d207d53c9f284268e32398108038efafcdb434e634619bfe87db3524d267b6 +DIST phpldapadmin-1.2.5.tar.gz 1117335 BLAKE2B 00d82434dbdadf1f90f5f356ad644d7cfa078cc0696d7cf64e36bc49baf2a5f29bd62fbcd265d9771e713bdd19d4e5708e77e1229199b6712874f982f9b067b0 SHA512 53cf5a8fb3ae3e5fc3c2ab6d23fb9cf731f1d39e122db6531e87461610f13e4bc1c9e8d4fcf7abd2ee5697022a068a9e23d8e039ba79a12929faeb6265920701 diff --git a/net-nds/phpldapadmin/phpldapadmin-1.2.5.ebuild b/net-nds/phpldapadmin/phpldapadmin-1.2.5.ebuild new file mode 100644 index 00000000000..d2eb59891db --- /dev/null +++ b/net-nds/phpldapadmin/phpldapadmin-1.2.5.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit webapp + +MY_PN="phpLDAPadmin" +DESCRIPTION="phpLDAPadmin is a web-based tool for managing all aspects of your LDAP server" +HOMEPAGE="http://phpldapadmin.sourceforge.net" +SRC_URI="https://github.com/leenooks/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND=" + >=dev-lang/php-5.5[hash(+),ldap,session,xml,nls] + virtual/httpd-php +" +S="${WORKDIR}/${MY_PN}-${PV}" + +# http://phpldapadmin.git.sourceforge.net/git/gitweb.cgi?p=phpldapadmin/phpldapadmin;a=commit;h=7dc8d57d6952fe681cb9e8818df7f103220457bd +PATCHES=( + "${FILESDIR}/${PN}-1.2.1.1-fix-magic-quotes.patch" +) + +need_httpd_cgi + +src_prepare() { + mv config/config.php.example config/config.php + default +} + +src_install() { + webapp_src_preinst + + dodoc INSTALL.md + + # 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 +}