summaryrefslogtreecommitdiff
path: root/net-nds/phpldapadmin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-11 13:07:07 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-11 13:07:07 +0000
commiteb72a69c0109ff53b8c18b2f6c3b160489376e2e (patch)
tree6b1a11b63d1fa5f16537a183ee1800b8f0682d1b /net-nds/phpldapadmin
parentafa7f3d7b9d6af29760049c9711a24821c77c8ec (diff)
gentoo auto-resync : 11:01:2024 - 13:07:07
Diffstat (limited to 'net-nds/phpldapadmin')
-rw-r--r--net-nds/phpldapadmin/Manifest2
-rw-r--r--net-nds/phpldapadmin/phpldapadmin-1.2.6.7.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/net-nds/phpldapadmin/Manifest b/net-nds/phpldapadmin/Manifest
index 24e05387f2a1..830f38538385 100644
--- a/net-nds/phpldapadmin/Manifest
+++ b/net-nds/phpldapadmin/Manifest
@@ -2,5 +2,7 @@ AUX phpldapadmin-1.2.1.1-fix-magic-quotes.patch 829 BLAKE2B 833f2d7b8934b9547ce2
AUX phpldapadmin-1.2.6.4-getDN-htmlspecialchars.patch 1193 BLAKE2B b2dd9d435cbe60b76da6824d6ab4e432ab5ba55388a01baa49f8b5b5d83e837b9866245f168cf83cc7f81c0c759a55756d422a8299f30bcc7fb648b68e840796 SHA512 2b96b8c84085e39e76fcaa3ca19ddfd71bc967c4c07c8d7d6f504e7657b9b87c5f4c411d516c999efa17a80969161438ba2d46500c8886d080599110e4aaffa8
AUX postinstall2-en.txt 131 BLAKE2B 7ace4170aa9f57f1eb89319f11cee249be8bbec50dad798c0be22616d31a01a3cfeb6057485c8656318c0330c3d9b4ffb1d343978742618edfc6bbf9789807e8 SHA512 f465adc204ef40675848e39e37bab3f2eb5054549e3b787953793ece683df84a52373d23383601b3c53c6b98bf8f1de83c6d83be117be9c00da7058763709d6b
DIST phpldapadmin-1.2.6.6.tar.gz 1132820 BLAKE2B e153d9ac3e844a1a08235c43a096a7418a2d67128bc216fe09f7a00c4f4bdf39e7646842d0c0189c5c42beb3a7823959c7d5fa21b8721f96d0204f87e9b16aad SHA512 398bb6c36a3c9b64016bebc6debeaf8048c4b6b9ebdc7a2bfa8acfa4d4458990a0a59d4e32a2abef772baba667dd495309eff2d68e39847f25a50ad79a06984d
+DIST phpldapadmin-1.2.6.7.tar.gz 1133418 BLAKE2B f1f19c52694f1c6299b2f52fef73702ae330cfc1276bacbfeeb70989505e33548e9bb01d0cd2814cdcea363da4ed54210c6c38642defd752b63511410d7248dd SHA512 4a0ea1cb5bfeeb6a6a242b29137cdd26c014788d771ce9cf5dcef771756b38575a2fd3e04d00cd3ff5181bf8891037bc347d4f933c67958376d2246fa72752c7
EBUILD phpldapadmin-1.2.6.6.ebuild 1441 BLAKE2B f8dd2c8a90a8f163b317a0db67a23ec20e00ebdd915bb31ac5220d7e4e606ae073a6fb59cbf78d552fad207e2ea2ed9919b8cd53f88c760f069903ac5500fc43 SHA512 63d0e1c62613d9572bf7101f5cdd19cef2ba6aba74f82e613d09c9a3c2abf57bd49bbbbc02fc0da8e576cee0388c119296241d1b2c3ae971e3d61b3707ca055f
+EBUILD phpldapadmin-1.2.6.7.ebuild 1441 BLAKE2B 962c835c09b07e39299010f94c6b1a74ccf8032f7be559ff93d8a05ebb7ac7dff5356cf66cd5b316994bd559b332a4825abaa52cbcf4e3ce50d14ee60bc2391b SHA512 5c08b66961c76867e6a542f0ddbd75df8486bd4a511ad8747c8431e534b4902bb05d678bb3b699dd3e1f4ee742af1c9f36815bd614029056301228ab6c1b5e16
MISC metadata.xml 406 BLAKE2B 599ce88acc4b4c960294bf812aa42aad0bb7ad6654b6e161764b8a0a5706ec9f27a511c371b15d7523fd41b050dae507909593efaa73343e7c7f1ab261a8a129 SHA512 e28b13ac828e9b1299901a8084dee3b45f82aea5cdea88891074ac935f323951ce98dac0b94f820059340c1201444fc51ee4958a001faa82179c1fcb46e47b00
diff --git a/net-nds/phpldapadmin/phpldapadmin-1.2.6.7.ebuild b/net-nds/phpldapadmin/phpldapadmin-1.2.6.7.ebuild
new file mode 100644
index 000000000000..c8007c7d88d4
--- /dev/null
+++ b/net-nds/phpldapadmin/phpldapadmin-1.2.6.7.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit webapp
+
+MY_PN="phpLDAPadmin"
+DESCRIPTION="phpLDAPadmin is a web-based tool for managing all aspects of your LDAP server"
+HOMEPAGE="https://github.com/leenooks/phpLDAPadmin"
+SRC_URI="https://github.com/leenooks/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+RDEPEND="
+ >=dev-lang/php-8.0[hash(+),ldap,session,xml,nls]
+ dev-libs/openssl
+ virtual/httpd-php
+"
+BDEPEND="
+ media-libs/libpng
+"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.2.1.1-fix-magic-quotes.patch"
+ "${FILESDIR}/${PN}-1.2.6.4-getDN-htmlspecialchars.patch"
+)
+
+need_httpd_cgi
+
+src_prepare() {
+ mv config/config.php.example config/config.php || die
+ default
+ # fix QA notice about broken IDAT window length
+ pngfix --out=network.png htdocs/images/default/network.png; [[ $? -lt 16 ]] || die
+ pngfix --out=document.png htdocs/images/default/document.png; [[ $? -lt 16 ]] || die
+ mv -f network.png document.png htdocs/images/default/ || die
+}
+
+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
+}