2007-04-15 19:26:34 +02:00
|
|
|
lemonldap-ng for Debian
|
|
|
|
-----------------------
|
|
|
|
|
2007-05-01 16:53:26 +02:00
|
|
|
Topics:
|
2007-06-13 14:04:02 +02:00
|
|
|
1 - Manager installation
|
2007-05-01 16:53:26 +02:00
|
|
|
2 - Portal installation
|
2007-06-13 14:04:02 +02:00
|
|
|
3 - Area protection
|
|
|
|
4 - Configuration storage
|
2012-02-28 23:39:07 +01:00
|
|
|
5 - Build packages
|
|
|
|
6 - Update the repository
|
2007-05-01 16:53:26 +02:00
|
|
|
|
2007-06-13 14:04:02 +02:00
|
|
|
I - LEMONLDAP::NG MANAGER INSTALLATION
|
|
|
|
----------------------------------------
|
|
|
|
Package: liblemonldap-ng-manager-perl
|
2007-05-01 16:53:26 +02:00
|
|
|
|
2007-06-13 14:04:02 +02:00
|
|
|
liblemonldap-ng-manager-perl installs files named manager-apache.conf and
|
|
|
|
manager-apache2.conf in /etc/lemonldap-ng/. Include it in apache configuration
|
|
|
|
and configure it (virtual host has to be adapt).
|
2007-05-01 16:53:26 +02:00
|
|
|
|
|
|
|
|
|
|
|
II - LEMONLDAP::NG PORTAL INSTALLATION
|
|
|
|
--------------------------------------
|
|
|
|
Package: liblemonldap-ng-portal-perl
|
|
|
|
|
2008-09-21 11:50:32 +02:00
|
|
|
WARNING : since version 0.9.3, login form template has change. You have to
|
|
|
|
change your /var/lib/lemonldap-ng/portal/index.pl file using
|
2010-12-05 09:19:00 +01:00
|
|
|
/usr/share/lemonldap-ng/portal/index.pl
|
2008-09-21 11:50:32 +02:00
|
|
|
|
2007-05-01 16:53:26 +02:00
|
|
|
liblemonldap-ng-portal-perl installs files named portal-apache.conf and
|
|
|
|
portal-apache2.conf in /etc/lemonldap-ng/. Include it in apache configuration
|
2007-06-13 14:04:02 +02:00
|
|
|
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.
|
2007-05-01 16:53:26 +02:00
|
|
|
|
|
|
|
|
2007-06-13 14:04:02 +02:00
|
|
|
III - LEMONLDAP::NG AREA PROTECTION
|
2007-05-01 16:53:26 +02:00
|
|
|
----------------------------------
|
|
|
|
Package: liblemonldap-ng-handler-perl
|
|
|
|
|
|
|
|
liblemonldap-ng-handler-perl installs a file named MyHandler.pm in
|
|
|
|
/var/lib/lemonldap-ng/handler/. See handler-apache.conf or handler-apache2.conf
|
2007-06-13 14:04:02 +02:00
|
|
|
in /etc/lemonldap-ng/ to know how to use it.
|
|
|
|
|
2008-02-08 16:33:32 +01:00
|
|
|
You can also copy /usr/share/doc/lemonldap-ng/examples/test.pl into
|
|
|
|
/var/lib/lemonldap-ng/index.pl to see how to use Lemonldap::NG with a Perl or
|
|
|
|
PHP application.
|
|
|
|
|
2007-06-13 14:04:02 +02:00
|
|
|
|
2010-12-01 06:41:51 +01:00
|
|
|
IV - LEMONLDAP::NG CONFIGURATION FILES
|
2007-06-13 14:04:02 +02:00
|
|
|
---------------------------------------
|
|
|
|
Package: liblemonldap-ng-conf-perl
|
|
|
|
|
2010-12-01 06:41:51 +01:00
|
|
|
Note that configuration files are now grouped in
|
|
|
|
/etc/lemonldap-ng/lemonldap-ng.ini
|
2007-05-01 16:53:26 +02:00
|
|
|
|
2012-02-28 23:39:07 +01:00
|
|
|
V - Build DEB packages
|
|
|
|
-----------------------
|
|
|
|
|
2012-06-18 10:37:55 +02:00
|
|
|
Note: official packages build is now hosted on https://github.com/guimard/LemonLDAP--NG-Debian-packaging
|
|
|
|
|
2012-02-28 23:39:07 +01:00
|
|
|
Untar the archive and launch:
|
|
|
|
$ make debian-packages
|
|
|
|
|
|
|
|
Packages are in /tmp
|
|
|
|
|
2012-06-18 11:47:27 +02:00
|
|
|
Sign packages:
|
|
|
|
$ dpkg-sig -p --sign builder /tmp/*.deb
|
|
|
|
|
2012-02-28 23:39:07 +01:00
|
|
|
VI - Update DEB repository
|
|
|
|
--------------------------
|
|
|
|
|
|
|
|
The DEB repository is hosted on http://lemonldap-ng.org/deb
|
|
|
|
|
2012-09-17 18:22:46 +02:00
|
|
|
Copy all deb files:
|
|
|
|
$ scp *.deb lemonldapng@lemonldap-ng.org:incoming/
|
2012-02-28 23:39:07 +01:00
|
|
|
|
|
|
|
Then connect on the server and launch reprepro:
|
|
|
|
$ ssh lemonldapng@lemonldap-ng.org
|
|
|
|
lemonldapng@lemonldap-ng.org$ cd deb/
|
2012-09-17 18:22:46 +02:00
|
|
|
lemonldapng@lemonldap-ng.org$ reprepro --ask-passphrase -Vb . includedeb squeeze ../incoming/*1.2.2*deb
|
2012-02-28 23:39:07 +01:00
|
|
|
|
|
|
|
See also reprepro configuration file: 'distributions'
|
|
|
|
|