Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/phpldapadmin/
Date: Mon, 29 Aug 2022 18:39:59
Message-Id: 1661798349.0cc413c8e931c7565843a2edb218dfe8c5d017e9.asturm@gentoo
1 commit: 0cc413c8e931c7565843a2edb218dfe8c5d017e9
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 28 22:10:16 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 29 18:39:09 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cc413c8
7
8 net-nds/phpldapadmin: drop vulnerable 1.2.5, EAPI-6--
9
10 Bug: https://bugs.gentoo.org/760537
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 net-nds/phpldapadmin/Manifest | 1 -
14 net-nds/phpldapadmin/phpldapadmin-1.2.5.ebuild | 51 --------------------------
15 2 files changed, 52 deletions(-)
16
17 diff --git a/net-nds/phpldapadmin/Manifest b/net-nds/phpldapadmin/Manifest
18 index 8b2add41578d..8a9d4ecfcc2b 100644
19 --- a/net-nds/phpldapadmin/Manifest
20 +++ b/net-nds/phpldapadmin/Manifest
21 @@ -1,2 +1 @@
22 -DIST phpldapadmin-1.2.5.tar.gz 1117335 BLAKE2B 00d82434dbdadf1f90f5f356ad644d7cfa078cc0696d7cf64e36bc49baf2a5f29bd62fbcd265d9771e713bdd19d4e5708e77e1229199b6712874f982f9b067b0 SHA512 53cf5a8fb3ae3e5fc3c2ab6d23fb9cf731f1d39e122db6531e87461610f13e4bc1c9e8d4fcf7abd2ee5697022a068a9e23d8e039ba79a12929faeb6265920701
23 DIST phpldapadmin-1.2.6.3.tar.gz 1130061 BLAKE2B d1183a89db659eeadbf33632edabb1f24d855eea3f37d36128b5a4262a4979f1fa1f963b2d1e43c4d07c988899a7c4cfb72a6f88e13ee5a830654686eaecf183 SHA512 66aeb81c812830968df5d3a2f0ccdd479fe5d7ed3bb729c0fb9991d3efa20263a493b38bfe48c99ad2c93c2ee549f51f53e064fb1381bc7e126ca2ad2bfc3167
24
25 diff --git a/net-nds/phpldapadmin/phpldapadmin-1.2.5.ebuild b/net-nds/phpldapadmin/phpldapadmin-1.2.5.ebuild
26 deleted file mode 100644
27 index d2eb59891db2..000000000000
28 --- a/net-nds/phpldapadmin/phpldapadmin-1.2.5.ebuild
29 +++ /dev/null
30 @@ -1,51 +0,0 @@
31 -# Copyright 1999-2019 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -inherit webapp
37 -
38 -MY_PN="phpLDAPadmin"
39 -DESCRIPTION="phpLDAPadmin is a web-based tool for managing all aspects of your LDAP server"
40 -HOMEPAGE="http://phpldapadmin.sourceforge.net"
41 -SRC_URI="https://github.com/leenooks/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 -
43 -LICENSE="GPL-2"
44 -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
45 -IUSE=""
46 -
47 -RDEPEND="
48 - >=dev-lang/php-5.5[hash(+),ldap,session,xml,nls]
49 - virtual/httpd-php
50 -"
51 -S="${WORKDIR}/${MY_PN}-${PV}"
52 -
53 -# http://phpldapadmin.git.sourceforge.net/git/gitweb.cgi?p=phpldapadmin/phpldapadmin;a=commit;h=7dc8d57d6952fe681cb9e8818df7f103220457bd
54 -PATCHES=(
55 - "${FILESDIR}/${PN}-1.2.1.1-fix-magic-quotes.patch"
56 -)
57 -
58 -need_httpd_cgi
59 -
60 -src_prepare() {
61 - mv config/config.php.example config/config.php
62 - default
63 -}
64 -
65 -src_install() {
66 - webapp_src_preinst
67 -
68 - dodoc INSTALL.md
69 -
70 - # Restrict config file access - bug 280836
71 - chown root:apache "config/config.php"
72 - chmod 640 "config/config.php"
73 -
74 - insinto "${MY_HTDOCSDIR}"
75 - doins -r *
76 -
77 - webapp_configfile "${MY_HTDOCSDIR}/config/config.php"
78 - webapp_postinst_txt en "${FILESDIR}"/postinstall2-en.txt
79 -
80 - webapp_src_install
81 -}