lemonldap-ng/debian
2012-02-28 22:48:20 +00:00
..
po Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
source Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
changelog Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
changelog.Debian Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
compat Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
control Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
copyright Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
distributions Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
lemonldap-ng-doc.doc-base Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
lemonldap-ng-doc.docs Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
lemonldap-ng.dirs Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
lemonldap-ng.docs Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-conf-perl.config Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-conf-perl.dirs Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-conf-perl.docs Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-conf-perl.install Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-conf-perl.postinst Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-conf-perl.templates Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-handler-perl.cron.d Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-handler-perl.dirs Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-handler-perl.docs Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-handler-perl.examples Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-handler-perl.install Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-handler-perl.links Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-handler-perl.postinst Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-handler-perl.postrm Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-manager-perl.dirs Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-manager-perl.docs Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-manager-perl.examples Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-manager-perl.install Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-manager-perl.links Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-manager-perl.postrm Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-manager-perl.preinst Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-portal-perl.cron.d Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-portal-perl.dirs Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-portal-perl.docs Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-portal-perl.examples Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-portal-perl.install Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-portal-perl.links Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-portal-perl.postinst Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-portal-perl.postrm Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
liblemonldap-ng-portal-perl.preinst Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
migrating.sql Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
README.Debian Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
rules Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00
watch Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00

lemonldap-ng for Debian
-----------------------

Topics:
 1 - Manager installation
 2 - Portal installation
 3 - Area protection
 4 - Configuration storage
 5 - Build packages
 6 - Update the repository

I - LEMONLDAP::NG MANAGER INSTALLATION
----------------------------------------
Package: liblemonldap-ng-manager-perl

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).


II - LEMONLDAP::NG PORTAL INSTALLATION
--------------------------------------
Package: liblemonldap-ng-portal-perl

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
/usr/share/lemonldap-ng/portal/index.pl

liblemonldap-ng-portal-perl installs files named portal-apache.conf and
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.


III - LEMONLDAP::NG AREA PROTECTION
----------------------------------
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
in /etc/lemonldap-ng/ to know how to use it.

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.


IV - LEMONLDAP::NG CONFIGURATION FILES
---------------------------------------
Package: liblemonldap-ng-conf-perl

Note that configuration files are now grouped in
/etc/lemonldap-ng/lemonldap-ng.ini

V - Build DEB packages
-----------------------

Untar the archive and launch:
$ make debian-packages

Packages are in /tmp

VI - Update DEB repository
--------------------------

The DEB repository is hosted on http://lemonldap-ng.org/deb

Copy all generated files (*.deb, *.dsc, *.changes, ...):
$ scp *.deb *.dsc *.changes *.debian.tar.gz *.orig.tar.gz lemonldapng@lemonldap-ng.org:incoming/

Then connect on the server and launch reprepro:
$ ssh lemonldapng@lemonldap-ng.org
lemonldapng@lemonldap-ng.org$ cd deb/
lemonldapng@lemonldap-ng.org$ reprepro -Vb . include squeeze ../incoming/lemonldap-ng_VERSION_i386.changes

See also reprepro configuration file: 'distributions'