LEMONLDAP::NG : Debian installation in progress...
This commit is contained in:
parent
6dc275710c
commit
f4aa93f57f
|
@ -1,3 +1,2 @@
|
|||
debian/tmp/usr/share/perl5/Lemonldap/NG/Handler*
|
||||
debian/tmp/usr/share/man/man3/Lemonldap::NG::Handler*
|
||||
debian/tmp/var/lib/lemonldap-ng/handler/MyHandler.pm
|
||||
|
|
|
@ -5,10 +5,13 @@ set -e
|
|||
|
||||
. /usr/share/debconf/confmodule
|
||||
|
||||
EXAMPLEHANDLERFILE=/usr/share/doc/liblemonldap-ng-handler-perl/examples/MyHandleri-Debian.pm
|
||||
HANDLERFILE=/var/lib/lemonldap-ng/handler/MyHandler.pm
|
||||
SESSIONSDIR=/var/lib/lemonldap-ng/sessions
|
||||
|
||||
if [ "$1" == "configure" ]
|
||||
then
|
||||
cp $EXAMPLEHANDLERFILE $HANDLERFILE
|
||||
chmod 770 $SESSIONSDIR
|
||||
chmod 770 $SESSIONSDIR/lock
|
||||
chown -R www-data:www-data $SESSIONSDIR
|
||||
|
|
|
@ -78,10 +78,10 @@ install: build
|
|||
$(DEB_TMP_LM_ROOT)manager/scripts/lmConfigEditor \
|
||||
$(DEB_TMP_LM_ROOT)portal/scripts/purgeCentralCache
|
||||
|
||||
perl -000 -i -pe 's/(configStorage\s*=>\s*){[^}]+}/$$1\$$Lemonldap::NG::Conf::configStorage/; s#^use#\nrequire "/usr/share/lemonldap-ng/configStorage.pm";\nuse#m;' \
|
||||
$(DEB_TMP_LM_CONF_ROOT)MyHandler.pm \
|
||||
$(DEB_TMP_LM_ROOT)manager/*.pl \
|
||||
$(DEB_TMP_LM_ROOT)portal/*.pl \
|
||||
perl -000 -i -pe 's/(configStorage\s*=>\s*){[^}]+}/$$1\$$Lemonldap::NG::Conf::configStorage/s; s#^use#\nrequire "/usr/share/lemonldap-ng/configStorage.pm";\nuse#m;' \
|
||||
$(DEB_TMP_LM_ROOT)handler/MyHandler-Debian.pm \
|
||||
$(DEB_TMP_LM_ROOT)manager/*Debian.pl \
|
||||
$(DEB_TMP_LM_ROOT)portal/*Debian.pl \
|
||||
$(DEB_TMP_LM_ROOT)liberty-alliance-sp-portal/index-Debian.pl
|
||||
|
||||
# apply.conf is in /etc/lemonldap-ng/
|
||||
|
|
Loading…
Reference in New Issue
Block a user