Commit 917f7df4 authored by Xavier Guimard's avatar Xavier Guimard

Backport some Debian packaging tips

git-svn-id: svn://svn.forge.objectweb.org/svnroot/lemonldap/branches/lemonldap-ng_version_1_4-bugfixes@3936 1dbb9719-a921-0410-b57f-c3a383c2c641
parent 426d915c
lemonldap-ng (1.4.5-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
......
......@@ -3,7 +3,7 @@ Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Xavier Guimard <x.guimard@free.fr>
Section: perl
Priority: optional
Build-Depends: debhelper (>= 8),
Build-Depends: debhelper (>= 9),
po-debconf
Build-Depends-Indep: libapache-session-perl,
libauthcas-perl,
......@@ -41,8 +41,8 @@ Build-Depends-Indep: libapache-session-perl,
libxml-simple-perl,
omegat,
perl
Standards-Version: 3.9.5
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/lemonldap-ng.git
Standards-Version: 3.9.6
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/lemonldap-ng.git
Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/lemonldap-ng.git
Homepage: http://lemonldap-ng.org/
......@@ -125,12 +125,20 @@ Description: Lemonldap::NG Apache handler part
associating a regular expression and a rule. Regular expression is applied on
the requested URL and the rule calculates if the user is authorized.
.
This package installs the Apache module part (handler) used to protect web
Lemonldap::NG::Handler is the Apache module part (handler) used to protect web
areas.
Package: liblemonldap-ng-conf-perl
Depends: ${misc:Depends},
liblemonldap-ng-common-perl
Architecture: all
Section: oldlibs
Description: transitional dummy package
This is a transitional dummy package. It can safely be removed.
Package: liblemonldap-ng-common-perl
Conflicts: liblemonldap-ng-conf-perl
Provides: liblemonldap-ng-conf-perl
Replaces: liblemonldap-ng-conf-perl (<< 1.3.3~)
Breaks: liblemonldap-ng-conf-perl (<< 1.3.3~)
Architecture: all
Depends: ${misc:Depends},
${perl:Depends},
......@@ -164,7 +172,8 @@ Description: Lemonldap::NG common files
associating a regular expression and a rule. Regular expression is applied on
the requested URL and the rule calculates if the user is authorized.
.
This package installs common files used by other Lemonldap::NG modules.
Lemonldap::NG::Common contains common files used by other Lemonldap::NG
modules.
Package: liblemonldap-ng-manager-perl
Architecture: all
......@@ -197,7 +206,7 @@ Description: Lemonldap::NG manager part
associating a regular expression and a rule. Regular expression is applied on
the requested URL and the rule calculates if the user is authorized.
.
This package installs the administration interface (manager).
Lemonldap::NG::Manager provides the administration interface.
Package: liblemonldap-ng-portal-perl
Architecture: all
......@@ -244,5 +253,5 @@ Description: Lemonldap::NG authentication portal part
associating a regular expression and a rule. Regular expression is applied on
the requested URL and the rule calculates if the user is authorized.
.
This package installs the authentication portal.
Lemonldap::NG::Portal provides the authentication portal.
......@@ -4,8 +4,8 @@ Upstream-Contact: Xavier Guimard <x.guimard@free.fr>
Source: http://forge.objectweb.org/project/showfiles.php?group_id=274
Files: *
Copyright: 2006-2013, Xavier Guimard <x.guimard@free.fr>
2006-2013, Clement Oudot <clem.oudot@gmail.com>
Copyright: 2006-2015, Xavier Guimard <x.guimard@free.fr>
2006-2015, Clement Oudot <clem.oudot@gmail.com>
2004-2011, Thomas Chemineau <thomas.chemineau@gmail.com>
2012-2013, François-Xavier Deltombe <fxdeltombe@gmail.com>
2012-2013, Sandro Cazzaniga <cazzaniga.sandro@gmail.com>
......@@ -17,7 +17,7 @@ Copyright: 2004-2012, Xavier Guimard <x.guimard@free.fr>
2004-2012, Thomas Chemineau <thomas.chemineau@gmail.com>
License: GPL-2+
Files: lemonldap-ng-portal/example/skins/common/portal.js
Files: lemonldap-ng-portal/example/skins/common/js/portal.js
Copyright: 2004-2012, Xavier Guimard <x.guimard@free.fr>
2004-2012, Clement Oudot <clem.oudot@gmail.com>
2004-2012, Thomas Chemineau <thomas.chemineau@gmail.com>
......@@ -84,7 +84,7 @@ Copyright: 2008 Paul Bakaus (ui.jquery.com)
David Bolter
Rich Caloggero
Chi Cheng (cloudream@gmail.com)
Colin Clark (http://colin.atrc.utoronto.ca/)
Colin Clark (http://web.archive.org/web/20090715225605/http://colin.atrc.utoronto.ca/)
Michelle D'Souza
Aaron Eisenberger (aaronchi@gmail.com)
Ariel Flesler
......@@ -143,15 +143,14 @@ Copyright: 2004, Entr'ouvert <http://www.entrouvert.com/>
2004, Florent Monnier
License: GPL-2+
Files: lemonldap-ng-portal/example/skins/bootstrap/*/bootstrap*
lemonldap-ng-portal/example/skins/bootstrap/fonts/*
Files: lemonldap-ng-portal/example/skins/bootstrap/*
Copyright: 2013, Twitter Inc.
License: Apache-2.0
Comment: version 3.0.3 of bootstrap is released under Apache-2 license
earlier versions will be released under MIT license
Files: debian/*
Copyright: 2004-2013, Xavier Guimard <x.guimard@free.fr>
Copyright: 2004-2015, Xavier Guimard <x.guimard@free.fr>
License: GPL-2+
License: Apache-2.0
......
......@@ -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
......
......@@ -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
......
# If file storage is used for sessions, user passord may be stored in this
# directory, so it must not be readable by all but must be writable by www-data
liblemonldap-ng-portal-perl: non-standard-dir-perm var/lib/lemonldap-ng/captcha/ 0770 != 0755
liblemonldap-ng-portal-perl: non-standard-dir-perm var/lib/lemonldap-ng/captcha/data/ 0770 != 0755
liblemonldap-ng-portal-perl: non-standard-dir-perm var/lib/lemonldap-ng/notifications/ 0770 != 0755
liblemonldap-ng-portal-perl: non-standard-dir-perm var/lib/lemonldap-ng/portal/captcha_output/ 0770 != 0755
liblemonldap-ng-portal-perl: non-standard-dir-perm var/lib/lemonldap-ng/sessions/lock/ 0770 != 0755
liblemonldap-ng-portal-perl: non-standard-dir-perm var/lib/lemonldap-ng/sessions/ 0770 != 0755
liblemonldap-ng-portal-perl: non-standard-dir-perm var/lib/lemonldap-ng/psessions/lock/ 0770 != 0755
......
# Dutch translation of lemonldap-ng debconf templates.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the lemonldap-ng package.
# Frans Spiesschaert <Frans.Spiesschaert@yucom.be>, 2014.
#
msgid ""
msgstr ""
"Project-Id-Version: lemonldap-ng\n"
"Report-Msgid-Bugs-To: lemonldap-ng@packages.debian.org\n"
"POT-Creation-Date: 2010-12-04 23:10+0100\n"
"PO-Revision-Date: 2014-10-09 15:09+0200\n"
"Last-Translator: Frans Spiesschaert <Frans.Spiesschaert@yucom.be>\n"
"Language-Team: Debian Dutch l10n Team <debian-l10n-dutch@lists.debian.org>\n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. Type: string
#. Description
#: ../liblemonldap-ng-common-perl.templates:1001
msgid "LDAP server:"
msgstr "LDAP-server:"
#. Type: string
#. Description
#: ../liblemonldap-ng-common-perl.templates:1001
msgid ""
"Set here name or IP address of the LDAP server that has to be used by "
"Lemonldap::NG. You can modify this value later using the Lemonldap::NG "
"manager."
msgstr ""
"Vul hier de naam of het IP-adres in van de LDAP-server die gebruikt moet "
"worden door Lemonldap::NG. U kunt deze waarde later wijzigen met behulp van "
"de Lemonldap::NG manager."
#. Type: string
#. Description
#: ../liblemonldap-ng-common-perl.templates:2001
msgid "Lemonldap::NG DNS domain:"
msgstr "DNS-domein van Lemonldap::NG:"
#. Type: string
#. Description
#: ../liblemonldap-ng-common-perl.templates:2001
msgid ""
"Set here the main domain protected by Lemonldap::NG. You can modify this "
"value later using the Lemonldap::NG manager."
msgstr ""
"Vul hier het hoofddomein in dat door Lemonldap::NG beschermd wordt. U kunt "
"deze waarde later wijzigen met behulp van de Lemonldap::NG manager."
#. Type: string
#. Description
#: ../liblemonldap-ng-common-perl.templates:3001
msgid "Lemonldap::NG portal:"
msgstr "Webportaal van Lemonldap::NG:"
#. Type: string
#. Description
#: ../liblemonldap-ng-common-perl.templates:3001
msgid ""
"Set here the Lemonldap::NG portal URL. You can modify this value later using "
"the Lemonldap::NG manager."
msgstr ""
"Vul hier de URL in van het portaal van Lemonldap::NG. U kunt deze waarde "
"later wijzigen met behulp van de Lemonldap::NG manager."
#. Type: string
#. Description
#: ../liblemonldap-ng-common-perl.templates:4001
msgid "LDAP server port:"
msgstr "Poort van de LDAP-server:"
#. Type: string
#. Description
#: ../liblemonldap-ng-common-perl.templates:4001
msgid ""
"Set here the port used by the LDAP server. You can modify this value later "
"using the Lemonldap::NG manager."
msgstr ""
"Vul hier de poort in die door de LDAP-server gebruikt wordt. U kunt deze "
"waarde later wijzigen met behulp van de Lemonldap::NG manager."
#. Type: string
#. Description
#: ../liblemonldap-ng-common-perl.templates:5001
msgid "LDAP search base:"
msgstr "Zoekbasis van LDAP:"
#. Type: string
#. Description
#: ../liblemonldap-ng-common-perl.templates:5001
msgid ""
"Set here the search base to use in LDAP queries. You can modify this value "
"later using the Lemonldap::NG manager."
msgstr ""
"Vul hier de zoekbasis in die gebruikt moet worden bij LDAP-opzoekingen. U "
"kunt deze waarde later wijzigen met behulp van de Lemonldap::NG manager."
#. Type: string
#. Description
#: ../liblemonldap-ng-common-perl.templates:6001
msgid "LDAP account:"
msgstr "LDAP-account:"
#. Type: string
#. Description
#: ../liblemonldap-ng-common-perl.templates:6001
msgid ""
"Set here the account that Lemonldap::NG has to use for its LDAP requests. "
"Leaving it blank causes Lemonldap::NG to use anonymous connections. You can "
"modify this value later using the Lemonldap::NG manager."
msgstr ""
"Vul hier het account in dat Lemonldap::NG moet gebruiken bij zijn "
"opzoekingen in LDAP. Indien u dit leeg laat, zal Lemonldap::NG gebruik maken "
"van anonieme verbindingen. U kunt deze waarde later wijzigen met behulp van "
"de Lemonldap::NG manager."
#. Type: string
#. Description
#: ../liblemonldap-ng-common-perl.templates:7001
msgid "LDAP password:"
msgstr "LDAP-wachtwoord:"
#. Type: string
#. Description
#: ../liblemonldap-ng-common-perl.templates:7001
msgid ""
"Set here the password for the Lemonldap::NG LDAP account. You can modify "
"this value later using the Lemonldap::NG manager."
msgstr ""
"Vul hier het wachtwoord in voor het LDAP-account van Lemonldap::NG. U kunt "
"deze waarde later wijzigen met behulp van de Lemonldap::NG manager."
#. Type: boolean
#. Description
#: ../liblemonldap-ng-common-perl.templates:8001
msgid ""
"Lemonldap::NG configuration files have changed, try to migrate your files?"
msgstr ""
"De configuratiebestanden van Lemonldap::NG zijn veranderd. Proberen uw "
"bestanden om te zetten?"
---
Archive: OW2
Bug-Database: https://jira.ow2.org/browse/LEMONLDAP/
Bug-Submit: https://jira.ow2.org/browse/LEMONLDAP/
Changelog: https://jira.ow2.org/browse/LEMONLDAP/
Contact: lemonldap-ng-users@ow2.org
Name: LemonLDAP::NG
Repository: svn://svn.forge.objectweb.org/svnroot/lemonldap
Repository-Browse: http://websvn.ow2.org/listing.php?repname=lemonldap
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