Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Maxime Besson
lemonldap-ng
Commits
7d963dc2
Commit
7d963dc2
authored
Nov 30, 2012
by
Yadd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Debian files (work done by the Debian Perl Group)
parent
775efc03
Changes
19
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
184 additions
and
814 deletions
+184
-814
COPYING
COPYING
+21
-674
debian/NEWS
debian/NEWS
+8
-0
debian/README.Debian
debian/README.Debian
+38
-63
debian/control
debian/control
+11
-7
debian/copyright
debian/copyright
+104
-42
debian/lemonldap-ng-doc.dirs
debian/lemonldap-ng-doc.dirs
+0
-1
debian/lemonldap-ng-doc.doc-base
debian/lemonldap-ng-doc.doc-base
+1
-1
debian/lemonldap-ng-doc.docs
debian/lemonldap-ng-doc.docs
+0
-2
debian/lemonldap-ng.docs
debian/lemonldap-ng.docs
+0
-1
debian/lemonldap-ng.links
debian/lemonldap-ng.links
+0
-0
debian/liblemonldap-ng-conf-perl.dirs
debian/liblemonldap-ng-conf-perl.dirs
+0
-3
debian/liblemonldap-ng-conf-perl.docs
debian/liblemonldap-ng-conf-perl.docs
+0
-2
debian/liblemonldap-ng-handler-perl.dirs
debian/liblemonldap-ng-handler-perl.dirs
+0
-3
debian/liblemonldap-ng-handler-perl.docs
debian/liblemonldap-ng-handler-perl.docs
+0
-1
debian/liblemonldap-ng-manager-perl.dirs
debian/liblemonldap-ng-manager-perl.dirs
+0
-5
debian/liblemonldap-ng-manager-perl.docs
debian/liblemonldap-ng-manager-perl.docs
+0
-1
debian/liblemonldap-ng-portal-perl.dirs
debian/liblemonldap-ng-portal-perl.dirs
+1
-6
debian/liblemonldap-ng-portal-perl.docs
debian/liblemonldap-ng-portal-perl.docs
+0
-1
debian/rules
debian/rules
+0
-1
No files found.
COPYING
View file @
7d963dc2
This diff is collapsed.
Click to expand it.
debian/NEWS
0 → 100644
View file @
7d963dc2
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
debian/README.Debian
View file @
7d963dc2
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/
debian/control
View file @
7d963dc2
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,
...
...
debian/copyright
View file @
7d963dc2
...
@@ -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.
debian/lemonldap-ng-doc.dirs
deleted
100644 → 0
View file @
775efc03
/usr/share/doc/lemonldap-ng/examples
debian/lemonldap-ng-doc.doc-base
View file @
7d963dc2
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/lemonldap-ng-doc.docs
View file @
7d963dc2
debian/README.Debian
doc/*
doc/*
README
debian/lemonldap-ng.docs
View file @
7d963dc2
debian/README.Debian
debian/README.Debian
README
debian/lemonldap-ng
-doc
.links
→
debian/lemonldap-ng.links
View file @
7d963dc2
File moved
debian/liblemonldap-ng-conf-perl.dirs
View file @
7d963dc2
/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
debian/liblemonldap-ng-conf-perl.docs
deleted
100644 → 0
View file @
775efc03
debian/README.Debian
README
debian/liblemonldap-ng-handler-perl.dirs
View file @
7d963dc2
/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/liblemonldap-ng-handler-perl.docs
View file @
7d963dc2
debian/README.Debian
debian/README.Debian
README
debian/liblemonldap-ng-manager-perl.dirs
deleted
100644 → 0
View file @
775efc03
/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/liblemonldap-ng-manager-perl.docs
View file @
7d963dc2
debian/README.Debian
debian/README.Debian
README
debian/liblemonldap-ng-portal-perl.dirs
View file @
7d963dc2
/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/liblemonldap-ng-portal-perl.docs
View file @
7d963dc2
debian/README.Debian
debian/README.Debian
README
debian/rules
View file @
7d963dc2
...
@@ -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/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment