[COPY] --- T2-COPYRIGHT-BEGIN --- [COPY] t2/package/*/phpldapadmin/phpldapadmin.desc [COPY] Copyright (C) 2004 - 2025 The T2 SDE Project [COPY] SPDX-License-Identifier: GPL-2.0 [COPY] --- T2-COPYRIGHT-END --- [I] Web-based LDAP administration tool [T] phpLDAPadmin is a web-based LDAP administration tool for managing your [T] LDAP server. With it you can browse your LDAP tree, view LDAP schema, [T] perform searches, create, delete, copy and edit LDAP entries. You can [T] even copy entries between servers. [U] https://phpldapadmin.sourceforge.net/ [A] David Smith [M] The T2 Project [C] extra/tool [L] GPL [S] Stable [V] 2.3.4 [D] 5e921b173035420558ddc22e50b2f3aa5224a0534dd95a1396b4230e phpldapadmin-2.3.4.tar.gz https://github.com/leenooks/phpLDAPadmin/archive/2.3.4/ # use the apache prefix . $base/package/*/apache/apache.conf phpldapadmin_main() { local x="phpLDAPadmin" mkdir -vp $datadir/$x mkdir -vp $sysconfdir/$x mv -vf config/config.php.example $sysconfdir/$x/config.php-dist ln -svnf $sysconfdir/$x/config.php $datadir/$x/ tar -cof - * | tar -C $datadir/$x -xvf - cat <<- EOT > $sysconfdir/$x.conf-dist Alias /$x $datadir/$x DirectoryIndex index.php EOT } runmake=0 hook_add postmake 5 'phpldapadmin_main' createdoc=0