Commit df1154f7 authored by Xavier Guimard's avatar Xavier Guimard

Debian : Switch to dpkg-source 3.0 (quilt) format

parent aa986aa3
......@@ -4,7 +4,7 @@ Priority: extra
Maintainer: Xavier Guimard <x.guimard@free.fr>
DM-Upload-Allowed: yes
Build-Depends: debhelper (>= 7), po-debconf
Build-Depends-Indep:libapache-session-perl, libnet-ldap-perl, libdbi-perl,
Build-Depends-Indep:libapache-session-perl, libnet-ldap-perl (>=1:0.38), libdbi-perl,
libwww-perl, libcache-cache-perl, libcrypt-rijndael-perl, libxml-libxslt-perl,
libio-string-perl, libregexp-assemble-perl, liburi-perl, libstring-random-perl,
libmime-lite-perl, libsoap-lite-perl, libconfig-inifiles-perl,
......@@ -73,7 +73,7 @@ Description: Lemonldap::NG manager part
Package: liblemonldap-ng-portal-perl
Architecture: all
Depends: ${misc:Depends}, libapache-session-perl, libnet-ldap-perl,
Depends: ${misc:Depends}, libapache-session-perl, libnet-ldap-perl (>=1:0.38),
liblemonldap-ng-conf-perl (= ${binary:Version}), libhtml-template-perl,
libjs-jquery, liblemonldap-ng-handler-perl (= ${binary:Version}),
libxml-libxml-perl, libxml-libxslt-perl, libstring-random-perl,
......
......@@ -5,8 +5,6 @@ set -e
. /usr/share/debconf/confmodule
LAEXAMPLEPORTALFILE=/usr/share/doc/liblemonldap-ng-portal-perl/examples/AuthLA/index.pl
LAPORTALFILE=/var/lib/lemonldap-ng/liberty-alliance-sp-portal/index.pl
EXAMPLEPORTALFILE=/usr/share/doc/liblemonldap-ng-portal-perl/examples/index_skin.pl
PORTALFILE=/var/lib/lemonldap-ng/portal/index.pl
SESSIONSDIR=/var/lib/lemonldap-ng/sessions
......@@ -16,10 +14,8 @@ WSDLFILE=/var/lib/lemonldap-ng/portal/portal.wsdl
if [ "$1" == "configure" ]
then
[ -e $LAPORTALFILE ] || cp $LAEXAMPLEPORTALFILE $LAPORTALFILE
[ -e $PORTALFILE ] || cp $EXAMPLEPORTALFILE $PORTALFILE
chmod +x $PORTALFILE
chmod +x $LAPORTALFILE
chmod 770 $SESSIONSDIR
chmod 770 $SESSIONSDIR/lock
chown -R www-data:www-data $SESSIONSDIR
......
......@@ -82,8 +82,7 @@ install: build
$(CURDIR)/debian/tmp$(LMSHAREDIR)manager-skins/default/*.tpl \
$(CURDIR)/debian/tmp$(LMSHAREDIR)portal-skins/pastel/*.tpl
# postinst provides initial portal, manager and sessions-explorer
rm -f debian/tmp/var/lib/lemonldap-ng/portal/index.pl \
debian/tmp/var/lib/lemonldap-ng/liberty-alliance-sp-portal/index.pl
rm -f debian/tmp/var/lib/lemonldap-ng/portal/index.pl
# Build architecture-independent files here.
binary-indep: build install
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment