Commit f5275506 authored by Xavier Guimard's avatar Xavier Guimard

LEMONLDAP::NG : Debian default portal is now issued from index_skin.pl

                Update versions
parent 241c22ec
......@@ -10,6 +10,12 @@ EXAMPLECONFDIR=$(EXAMPLEDIR)conf/
EXAMPLELASPDIR=$(EXAMPLEDIR)liberty-alliance-sp-portal/
EXAMPLELASPDIRBUILD=$(EXAMPLELASPDIR)
EXAMPLELANG=en
EXAMPLEPORTALDIRBUILD=$(EXAMPLEDIRBUILD)portal/
EXAMPLEHANDLERDIRBUILD=$(EXAMPLEDIRBUILD)handler/
EXAMPLEMANAGERDIRBUILD=$(EXAMPLEDIRBUILD)manager/
EXAMPLEPORTALDIR=$(EXAMPLEDIR)portal/
EXAMPLEHANDLERDIR=$(EXAMPLEDIR)handler/
EXAMPLEMANAGERDIR=$(EXAMPLEDIR)manager/
all: handler manager portal
......@@ -85,15 +91,15 @@ manager_clean:
example: all
mkdir -p ${EXAMPLEDIRBUILD}/portal ${EXAMPLEDIRBUILD}/manager ${EXAMPLEDIRBUILD}/handler ${EXAMPLEDIRBUILD}/conf
chmod 1777 ${EXAMPLEDIRBUILD}/conf
cp -a ${HANDLERDIR}/example/* ${EXAMPLEDIRBUILD}/handler
cp -a ${PORTALDIR}/example/* ${EXAMPLEDIRBUILD}/portal
cp -a ${HANDLERDIR}/example/* ${EXAMPLEHANDLERDIRBUILD}
cp -a ${PORTALDIR}/example/* ${EXAMPLEPORTALDIRBUILD}
#perl -l -e '$$a="${EXAMPLELASPDIRBUILD}";$$a=~s#/$$##;print $$a;'
#perl -l -e '$$ARGV[0]=~s#/$$##;print $$ARGV[0];' ${EXAMPLELASPDIRBUILD}
mv ${EXAMPLEDIRBUILD}/portal/AuthLA $$(echo ${EXAMPLELASPDIRBUILD}|sed -e 's/\/$$//')
cp -a ${MANAGERDIR}/example/* ${EXAMPLEDIRBUILD}/manager
cp -a ${MANAGERDIR}/example/* ${EXAMPLEMANAGERDIRBUILD}
cp -a _example/* ${EXAMPLEDIRBUILD}
find ${EXAMPLELASPDIRBUILD} -type f -exec perl -i -pe 's#__DIR__/?#'${EXAMPLELASPDIR}'#g;s#__CONFDIR__/?#'${EXAMPLECONFDIR}'#g;' {} \;
find ${EXAMPLEDIRBUILD} -type f -exec perl -i -pe 's#__DIR__/?#'${EXAMPLEDIR}'#g;s#__CONFDIR__/?#'${EXAMPLECONFDIR}'#g;' {} \;
find ${EXAMPLELASPDIRBUILD} -type f -exec perl -i -pe 's#__DIR__/?#'${EXAMPLELASPDIR}'#g;s#__CONFDIR__/?#'${EXAMPLECONFDIR}'#g;s#__SKINDIR__/?#'${EXAMPLEPORTALDIR}'skins/#g;' {} \;
find ${EXAMPLEDIRBUILD} -type f -exec perl -i -pe 's#__DIR__/?#'${EXAMPLEDIR}'#g;s#__CONFDIR__/?#'${EXAMPLECONFDIR}'#g;s#__SKINDIR__/?#'${EXAMPLEPORTALDIR}'skins/#g;' {} \;
@echo
@echo "Example is ready."
@echo
......
......@@ -2,6 +2,7 @@ debian/tmp/usr/share/perl5/Lemonldap/NG/Portal*
debian/tmp/usr/share/perl5/auto/Lemonldap/NG/Portal
debian/tmp/usr/share/man/man3/Lemonldap::NG::Portal*
debian/portal-apache*.conf /etc/lemonldap-ng
debian/tmp/var/lib/lemonldap-ng/portal/skins
debian/tmp/var/lib/lemonldap-ng/portal/scripts/purgeCentralCache /usr/share/lemonldap-ng/bin
debian/tmp/var/lib/lemonldap-ng/liberty-alliance-sp-portal/error403.pl
debian/tmp/var/lib/lemonldap-ng/liberty-alliance-sp-portal/idps.xml
......
......@@ -5,7 +5,7 @@
LAEXAMPLEPORTALFILE=/usr/share/doc/liblemonldap-ng-portal-perl/examples/liberty-alliance-sp-portal/index.pl
LAPORTALFILE=/var/lib/lemonldap-ng/liberty-alliance-sp-portal/index.pl
EXAMPLEPORTALFILE=/usr/share/doc/liblemonldap-ng-portal-perl/examples/index.pl
EXAMPLEPORTALFILE=/usr/share/doc/liblemonldap-ng-portal-perl/examples/index_skin.pl
PORTALFILE=/var/lib/lemonldap-ng/portal/index.pl
CLEANERFILE=/usr/share/lemonldap-ng/bin/purgeCentralCache
SESSIONSDIR=/var/lib/lemonldap-ng/sessions
......
......@@ -51,11 +51,11 @@ install: build
$(MAKE) test
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr
$(MAKE) example \
EXAMPLEDIRBUILD=debian/tmp/var/lib/lemonldap-ng \
EXAMPLEDIRBUILD=debian/tmp/var/lib/lemonldap-ng/ \
EXAMPLEDIR=/var/lib/lemonldap-ng/ \
EXAMPLECONFDIR=/var/lib/lemonldap-ng/conf \
EXAMPLELASPDIRBUILD=debian/tmp/var/lib/lemonldap-ng/liberty-alliance-sp-portal \
EXAMPLELASPDIR=/var/lib/lemonldap-ng/liberty-alliance-sp-portal
EXAMPLECONFDIR=/var/lib/lemonldap-ng/conf/ \
EXAMPLELASPDIRBUILD=debian/tmp/var/lib/lemonldap-ng/liberty-alliance-sp-portal/ \
EXAMPLELASPDIR=/var/lib/lemonldap-ng/liberty-alliance-sp-portal/
cp debian/tmp/var/lib/lemonldap-ng/handler/MyHandler.pm debian/tmp/var/lib/lemonldap-ng/handler/MyHandler-Debian.pm
mv debian/tmp/var/lib/lemonldap-ng/index.pl debian/tmp/var/lib/lemonldap-ng/test.pl
mv debian/tmp/var/lib/lemonldap-ng/handler/lmH-apache.conf debian/tmp/var/lib/lemonldap-ng/apache-protected-area.conf
......
......@@ -32,8 +32,7 @@ Revision history for Perl extension Lemonldap::NG::Manager.
0.65 Sun May 6 16:15:49 2007
- SOAP: HTTP basic authentication and little bug correction in
'sessions'
mode
'sessions' mode
- More tests in conf
0.64 Sun Apr 29 16:18:31 2007
......
Revision history for Perl extension Lemonldap::NG::Portal.
0.83 Sat May 24 17:24:23 2008
- Integration in Handler status system
0.82 Mon Apr 7 15:01:02 2008
- 2 Net::LDAP password policy controls in the portal:
* account locked
......
......@@ -2,7 +2,7 @@ package Lemonldap::NG::Portal;
print STDERR
"See Lemonldap::NG::Portal(3) to know which Lemonldap::NG::Portal::* module to use.";
our $VERSION = "0.82";
our $VERSION = "0.83";
1;
......
......@@ -34,7 +34,7 @@ use UNIVERSAL qw( isa can VERSION );
*EXPORT_TAGS = *Lemonldap::NG::Portal::SharedConf::EXPORT_TAGS;
*EXPORT = *Lemonldap::NG::Portal::SharedConf::EXPORT;
our $VERSION = '0.3';
our $VERSION = '0.31';
our @ISA = qw(Lemonldap::NG::Portal::SharedConf) ;
#===============================================================================
......
......@@ -3,7 +3,7 @@ package Lemonldap::NG::Portal::CDA;
use strict;
use Lemonldap::NG::Portal::SharedConf qw(:all);
our $VERSION = '0.01';
our $VERSION = '0.02';
our @ISA = ('Lemonldap::NG::Portal::SharedConf');
*EXPORT_OK = *Lemonldap::NG::Portal::SharedConf::EXPORT_OK;
......
......@@ -13,7 +13,7 @@ use CGI::Cookie;
require POSIX;
use Lemonldap::NG::Portal::_i18n;
our $VERSION = '0.78';
our $VERSION = '0.83';
our @ISA = qw(CGI Exporter);
......
package Lemonldap::NG::Portal::_i18n;
use AutoLoader qw(AUTOLOAD);
our $VERSION = '0.1';
our $VERSION = '0.11';
sub error {
my($error,$lang) = @_;
......
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