Commit 7d963dc2 authored by Yadd's avatar Yadd

Update Debian files (work done by the Debian Perl Group)

parent 775efc03
This diff is collapsed.
lemonldap-ng (1.2.2-2) unstable; urgency=low
Since 1.2.2, LemonLDAP::NG uses 'Demo' authentication backend by default
and the manager is protected by default by LemonLDAP::NG. So for an
unconfigured installation, you have to use dwho account to access to the
manager (password dwho)
-- Xavier Guimard <x.guimard@free.fr> Thu, 29 Nov 2012 06:22:45 +0100
lemonldap-ng for Debian FIRST CONFIGURATION STEPS
-----------------------
Topics: 1 - Change default DNS domain
1 - Manager installation -----------------------------
2 - Portal installation
3 - Area protection
4 - Configuration storage
5 - Build packages
6 - Update the repository
I - LEMONLDAP::NG MANAGER INSTALLATION By default, DNS domain is example.com. You can change using dpkg-reconfigure or
---------------------------------------- with a quick sed command. For example, we change it to ow2.org:
Package: liblemonldap-ng-manager-perl
liblemonldap-ng-manager-perl installs files named manager-apache.conf and sed -i 's/example\.com/ow2.org/g' /etc/lemonldap-ng/* \
manager-apache2.conf in /etc/lemonldap-ng/. Include it in apache configuration /var/lib/lemonldap-ng/conf/lmConf-1 /var/lib/lemonldap-ng/test/index.pl
and configure it (virtual host has to be adapt).
2 - Enable LL::NG sites in Apache
---------------------------------
II - LEMONLDAP::NG PORTAL INSTALLATION Enable the components you've installed:
--------------------------------------
Package: liblemonldap-ng-portal-perl
WARNING : since version 0.9.3, login form template has change. You have to a2ensite handler-apache2.conf
change your /var/lib/lemonldap-ng/portal/index.pl file using a2ensite portal-apache2.conf
/usr/share/lemonldap-ng/portal/index.pl a2ensite manager-apache2.conf
liblemonldap-ng-portal-perl installs files named portal-apache.conf and and enable mod_perl if not already loaded:
portal-apache2.conf in /etc/lemonldap-ng/. Include it in apache configuration
and configure it (virtual host has to be adapt). You can also customize
/var/lib/lemonldap-ng/portal/index.pl to adapt it to your site. This file is
protected against upgrade.
a2enmod perl
III - LEMONLDAP::NG AREA PROTECTION Then restart Apache:
----------------------------------
Package: liblemonldap-ng-handler-perl
liblemonldap-ng-handler-perl installs a file named MyHandler.pm in apache2ctl configtest
/var/lib/lemonldap-ng/handler/. See handler-apache.conf or handler-apache2.conf apache2ctl restart
in /etc/lemonldap-ng/ to know how to use it.
You can also copy /usr/share/doc/lemonldap-ng/examples/test.pl into 3 - Check your DNS
/var/lib/lemonldap-ng/index.pl to see how to use Lemonldap::NG with a Perl or ------------------
PHP application.
Be sure that your browser can join (adapt it with your domain):
- auth.example.com : the authentication portal
- manager.example.com: the configuration interface
IV - LEMONLDAP::NG CONFIGURATION FILES 4 - Connect to the manager
--------------------------------------- --------------------------
Package: liblemonldap-ng-conf-perl
Note that configuration files are now grouped in
/etc/lemonldap-ng/lemonldap-ng.ini
V - Build DEB packages
-----------------------
Note: official packages build is now hosted on https://github.com/guimard/LemonLDAP--NG-Debian-packaging
Untar the archive and launch:
$ make debian-packages
Packages are in /tmp
Sign packages: Go to http://manager.example.com/, you'll be redirected to the portal. Then
$ dpkg-sig -p --sign builder /tmp/*.deb enjoy!
VI - Update DEB repository 5 - Default accounts
-------------------------- --------------------
The DEB repository is hosted on http://lemonldap-ng.org/deb By default, LemonLDAP::NG use "Demo" authentication backend, so you can use the
following accounts:
Copy all deb files: Login Password Role
$ scp *.deb lemonldapng@lemonldap-ng.org:incoming/ rtyler rtyler user
msmith msmith user
dwho dwho administrator
Then connect on the server and launch reprepro: 6 - See more
$ ssh lemonldapng@lemonldap-ng.org ------------
lemonldapng@lemonldap-ng.org$ cd deb/
lemonldapng@lemonldap-ng.org$ reprepro --ask-passphrase -Vb . includedeb squeeze ../incoming/*1.2.2*deb
See also reprepro configuration file: 'distributions' http://lemonldap-ng.org/
Source: lemonldap-ng Source: lemonldap-ng
Maintainer: Xavier Guimard <x.guimard@free.fr> Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Xavier Guimard <x.guimard@free.fr>
Section: perl Section: perl
Priority: optional Priority: optional
Build-Depends: debhelper (>= 8), Build-Depends: debhelper (>= 8),
...@@ -23,9 +24,9 @@ Build-Depends-Indep: libapache-session-perl, ...@@ -23,9 +24,9 @@ Build-Depends-Indep: libapache-session-perl,
liburi-perl, liburi-perl,
libwww-perl, libwww-perl,
libxml-libxslt-perl, libxml-libxslt-perl,
libxml-simple-perl libxml-simple-perl,
perl
Standards-Version: 3.9.4 Standards-Version: 3.9.4
DM-Upload-Allowed: yes
Homepage: http://lemonldap-ng.org/ Homepage: http://lemonldap-ng.org/
Package: lemonldap-ng Package: lemonldap-ng
...@@ -59,7 +60,9 @@ Depends: ${misc:Depends}, ...@@ -59,7 +60,9 @@ Depends: ${misc:Depends},
liburi-perl, liburi-perl,
libwww-perl libwww-perl
Recommends: libapache-session-browseable-perl Recommends: libapache-session-browseable-perl
Suggests: liblemonldap-ng-portal-perl, Suggests: libcache-memcached-perl,
libdigest-hmac-perl,
liblemonldap-ng-portal-perl,
libsoap-lite-perl libsoap-lite-perl
Description: Lemonldap::NG Apache module part Description: Lemonldap::NG Apache module part
Lemonldap::NG is a complete Web-SSO system that can run with reverse-proxies Lemonldap::NG is a complete Web-SSO system that can run with reverse-proxies
...@@ -126,10 +129,11 @@ Recommends: libapache-session-browseable-perl, ...@@ -126,10 +129,11 @@ Recommends: libapache-session-browseable-perl,
libconvert-pem-perl, libconvert-pem-perl,
libemail-date-format-perl, libemail-date-format-perl,
libnet-ldap-perl, libnet-ldap-perl,
libnet-openid-consumer-perl | libnet-openid-server-perl | liblasso-perl (>=2.3.0) | libnet-twitter-perl libnet-openid-consumer-perl | libnet-openid-server-perl | liblasso-perl (>= 2.3.0) | libnet-twitter-perl | libauthcas-perl
Suggests: libauthen-captcha-perl, Suggests: libauthcas-perl,
libauthen-captcha-perl,
libauthen-sasl-perl, libauthen-sasl-perl,
liblasso-perl (>=2.3.0), liblasso-perl (>= 2.3.0),
liblemonldap-ng-handler-perl (= ${binary:Version}), liblemonldap-ng-handler-perl (= ${binary:Version}),
libnet-openid-consumer-perl, libnet-openid-consumer-perl,
libnet-openid-server-perl, libnet-openid-server-perl,
......
...@@ -7,56 +7,118 @@ Files: tree.js ...@@ -7,56 +7,118 @@ Files: tree.js
Copyright: 2008, Peter Panov <panov@elcat.kg>, IKEEN Group http://www.ikeen.com Copyright: 2008, Peter Panov <panov@elcat.kg>, IKEEN Group http://www.ikeen.com
License: BSD-3-Clause License: BSD-3-Clause
Files: jquery.cookie.js
Copyright: 2006 Klaus Hartl (stilbuero.de)
License: GPL-2+
Files: jquery.base64.js Files: jquery.base64.js
Copyright: Muhammad Hussein Fattahizadeh < muhammad [AT] semnanweb [DOT] com > Copyright: Muhammad Hussein Fattahizadeh <muhammad@semnanweb.com>
License: GPL-2 License: GPL-2+
Files: jquery.elastic.source.js
Copyright: Jan Jarfalk - http://www.unwrongest.com
License: MIT
Files: jquery*.js
Copyright: 2010, The jQuery project and the jQuery UI team
Licence: GPL-2+
Files: lemonldap-ng-portal/examples/skins/common/apps/*.png Files: lemonldap-ng-portal/examples/skins/common/apps/*.png
Copyright: 2006-2007 Everaldo Coelho, Crystal Project Copyright: 2006-2007 Everaldo Coelho, Crystal Project
License: GPL-2 License: LGPL-3
Files: *.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>
License: GPL-2+
Files: debian/*
Copyright: 2004-2012, Xavier Guimard <x.guimard@free.fr>
License: Artistic or GPL-1+
Files: * Files: *
Copyright: 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Xavier Guimard <x.guimard@free.fr>, Clement Oudot <clem.oudot@gmail.com>, Thomas Chemineau <thomas.chemineau@gmail.com> Copyright: 2004-2012, Xavier Guimard <x.guimard@free.fr>
License: Artistic or GPL-2 2004-2012, Clement Oudot <clem.oudot@gmail.com>
2004-2012, Thomas Chemineau <thomas.chemineau@gmail.com>
License: Artistic or GPL-1+
License: Artistic License: Artistic
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the Artistic License, which comes with Perl. it under the terms of the Artistic License, which comes with Perl.
On Debian GNU/Linux systems, the complete text of the Artistic License .
can be found in `/usr/share/common-licenses/Artistic' On Debian systems, the complete text of the Artistic License can be
found in `/usr/share/common-licenses/Artistic'.
License: GPL-2
This program is free software; you can redistribute it and/or modify License: GPL-1+
it under the terms of the GNU General Public License as published by This program is free software; you can redistribute it and/or modify
the Free Software Foundation; either version 1, or (at your option) it under the terms of the GNU General Public License as published by
any later version. the Free Software Foundation; either version 1, or (at your option)
On Debian GNU/Linux systems, the complete text of the GNU General any later version.
Public License can be found in `/usr/share/common-licenses/GPL-2' .
On Debian systems, the complete text of version 1 of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-1'.
License: GPL-2+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
.
On Debian systems, the complete text of version 2 of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-2'
License: LGPL-3
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; version 3.
.
On Debian systems, the full text of the GNU Lesser General Public License
version 3 can be found in the file `/usr/share/common-licenses/LGPL-3'.
License: BSD-3-Clause License: BSD-3-Clause
Copyright (c) The Regents of the University of California. Copyright (c) The Regents of the University of California.
All rights reserved. All rights reserved.
Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions modification, are permitted provided that the following conditions
are met: are met:
1. Redistributions of source code must retain the above copyright 1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer. notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright 2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution. documentation and/or other materials provided with the distribution.
3. Neither the name of the University nor the names of its contributors 3. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software may be used to endorse or promote products derived from this software
without specific prior written permission. without specific prior written permission.
. .
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE. SUCH DAMAGE.
License: MIT
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
/usr/share/doc/lemonldap-ng/examples
Document: lemonldap-ng-doc Document: lemonldap-ng-doc
Title: Lemonldap::NG documentation Title: Lemonldap::NG documentation
Author: Xavier Guimard Author: Clément Oudot
Abstract: Those HTML documents contains all Lemonldap::NG documentation Abstract: Those HTML documents contains all Lemonldap::NG documentation
imported from http://lemonldap-ng.org imported from http://lemonldap-ng.org
Section: Web Development Section: Web Development
......
debian/README.Debian
doc/* doc/*
README
debian/README.Debian debian/README.Debian
README
/etc/lemonldap-ng
/usr/share/lemonldap-ng/bin
/var/lib/lemonldap-ng/conf /var/lib/lemonldap-ng/conf
/var/lib/lemonldap-ng/sessions
/var/lib/lemonldap-ng/sessions/lock /var/lib/lemonldap-ng/sessions/lock
/usr/share
/var/lib/lemonldap-ng/handler
/var/lib/lemonldap-ng/sessions
/var/lib/lemonldap-ng/sessions/lock /var/lib/lemonldap-ng/sessions/lock
debian/README.Debian debian/README.Debian
README
/etc/lemonldap-ng
/usr/share/lemonldap-ng/bin
/usr/share/lemonldap-ng/manager
/usr/share/lemonldap-ng/manager-skins
/var/lib/lemonldap-ng/manager
debian/README.Debian debian/README.Debian
README
/etc/lemonldap-ng /var/lib/lemonldap-ng/portal/captcha_output
/usr/share/lemonldap-ng/bin
/usr/share/lemonldap-ng/portal
/usr/share/lemonldap-ng/portal-skins
/var/lib/lemonldap-ng/portal
/var/lib/lemonldap-ng/sessions
/var/lib/lemonldap-ng/sessions/lock /var/lib/lemonldap-ng/sessions/lock
/var/lib/lemonldap-ng/notifications /var/lib/lemonldap-ng/notifications
debian/README.Debian debian/README.Debian
README
...@@ -36,7 +36,6 @@ override_dh_auto_install: ...@@ -36,7 +36,6 @@ override_dh_auto_install:
test -n "$$LOCALBUILD" || ./scripts/minifierjs $$(find debian/tmp/ -name '*.js') test -n "$$LOCALBUILD" || ./scripts/minifierjs $$(find debian/tmp/ -name '*.js')
test -n "$$LOCALBUILD" || ./scripts/minifiercss $$(find debian/tmp/ -name '*.css') test -n "$$LOCALBUILD" || ./scripts/minifiercss $$(find debian/tmp/ -name '*.css')
# Move perl scripts in /usr/share, links are created by *.postinst scripts
mkdir debian/tmp/usr/share/lemonldap-ng/manager debian/tmp/usr/share/lemonldap-ng/portal mkdir debian/tmp/usr/share/lemonldap-ng/manager debian/tmp/usr/share/lemonldap-ng/portal
mv debian/tmp/var/lib/lemonldap-ng/portal/*.pl debian/tmp/usr/share/lemonldap-ng/portal/ mv debian/tmp/var/lib/lemonldap-ng/portal/*.pl debian/tmp/usr/share/lemonldap-ng/portal/
mv debian/tmp/var/lib/lemonldap-ng/manager/*pl debian/tmp/usr/share/lemonldap-ng/manager/ mv debian/tmp/var/lib/lemonldap-ng/manager/*pl debian/tmp/usr/share/lemonldap-ng/manager/
......
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