Backport changes from Debian packaging

This commit is contained in:
Xavier Guimard 2015-10-12 11:13:01 +00:00
parent 0a22014c8e
commit 0b462fd20b
4 changed files with 26 additions and 7 deletions

17
debian/NEWS vendored
View File

@ -1,3 +1,20 @@
lemonldap-ng (1.4.6-1) unstable; urgency=medium
Handler files "My::Package" are no longer installed by default as a module
"Lemonldap::NG::Handler" generic is now available. It is therefore
necessary either to modify Apache configuration files to use
"Lemonldap::NG::Handler" or create your own Perl modules using the provided
examples files.
-- Xavier Guimard <x.guimard@free.fr> Mon, 29 Dec 2014 17:10:00 +0100
lemonldap-ng (1.2.2-3) unstable; urgency=low
Examples files (Apache configuration and default handler files) are now not
installed in /var/lib/lemonldap-ng/handler but available as examples files
-- Xavier Guimard <x.guimard@free.fr> Wed, 05 Dec 2012 06:27:45 +0100
lemonldap-ng (1.2.2-2) unstable; urgency=low
Since 1.2.2, LemonLDAP::NG uses 'Demo' authentication backend by default

2
debian/compat vendored
View File

@ -1 +1 @@
8
9

View File

@ -17,8 +17,10 @@ db_input medium liblemonldap-ng-common-perl/managerPassword || true
db_input medium liblemonldap-ng-common-perl/portal || true
if [ -n "$2" ] && dpkg --compare-versions "$2" lt 1.0; then
db_input high liblemonldap-ng-common-perl/migrate || true
if [ "$2" != "" ]; then
if dpkg --compare-versions "$2" lt 1.0; then
db_input high liblemonldap-ng-common-perl/migrate || true
fi
fi
db_go || true

View File

@ -20,12 +20,12 @@ then
# Run migration script to convert menu format if old version is 0.9.*
if [ "$2" != "" ]; then
if dpkg --compare-versions $2 lt 1.0; then
if dpkg --compare-versions "$2" lt 1.0; then
if [ -e $CONFDIR/storage.conf -o -e $CONFDIR/apply.conf -o -e $CONFDIR/apps-list.xml ] ; then
db_get liblemonldap-ng-common-perl/migrate
if [ "$RET" ]; then
$MIGRATION 2>&1 > /dev/null || :
fi
#if [ "$RET" ]; then
# $MIGRATION 2>&1 > /dev/null || :
#fi
fi
fi
fi