* fix qemu for m68k by just using tcg-interpreter, too
[t2sde.git] / package / php / phpldapadmin / phpldapadmin.conf
blob06060ac241f0c80dd84e1dde030e0affda691c4c
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/phpldapadmin/phpldapadmin.conf
3 # Copyright (C) 2004 - 2022 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 # use the apache prefix
13 . $base/package/*/apache/apache.conf
15 phpldapadmin_main() {
16         local x="phpLDAPadmin"
18         mkdir -vp $datadir/$x
19         mkdir -vp $sysconfdir/$x
20         
21         mv -vf config/config.php.example $sysconfdir/$x/config.php-dist
22         ln -svnf $sysconfdir/$x/config.php $datadir/$x/
24         tar -cof - * | tar -C $datadir/$x -xvf -
26         cat <<- EOT > $sysconfdir/$x.conf-dist
27                 Alias /$x $datadir/$x
28                 <Directory $datadir/$x>
29                         DirectoryIndex index.php
30                 </Directory>
31         EOT
34 makeopt=
35 makeinstopt=
36 hook_add postmake 5 'phpldapadmin_main'
37 createdoc=0