* Update Perl and Debian dependencies, and debian/rules for the new manager

* Add pod skeleton for Manager.pm
 * correct pod for IssuerDB*
environments/ppa-mbqj77/deployments/1
Xavier Guimard 16 years ago
parent 5b2363b959
commit dcd4905342
  1. 15
      build/lemonldap-ng/debian/control
  2. 2
      build/lemonldap-ng/debian/liblemonldap-ng-manager-perl.examples
  3. 4
      build/lemonldap-ng/debian/liblemonldap-ng-manager-perl.postinst
  4. 9
      build/lemonldap-ng/debian/rules
  5. 6
      modules/lemonldap-ng-manager/META.yml
  6. 4
      modules/lemonldap-ng-manager/Makefile.PL
  7. 0
      modules/lemonldap-ng-manager/example/sessions.pl
  8. 46
      modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager.pm
  9. 0
      modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Sessions.pm
  10. 3
      modules/lemonldap-ng-portal/Makefile.PL
  11. 8
      modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/IssuerDBNull.pm
  12. 9
      modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/IssuerDBSAML.pm
  13. 0
      modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Menu.pm
  14. 3
      modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm

@ -5,10 +5,10 @@ Maintainer: Xavier Guimard <x.guimard@free.fr>
DM-Upload-Allowed: yes
Build-Depends: debhelper (>= 7), po-debconf
Build-Depends-Indep:libapache-session-perl, libnet-ldap-perl, libdbi-perl,
libwww-perl, libcache-cache-perl, libxml-simple-perl, libcgi-session-perl,
libcrypt-rijndael-perl, libxml-libxslt-perl, libio-string-perl,
libregexp-assemble-perl, liburi-perl, libstring-random-perl, libmime-lite-perl,
libsoap-lite-perl
libwww-perl, libcache-cache-perl, libcgi-session-perl, libcrypt-rijndael-perl,
libxml-libxslt-perl, libio-string-perl, libregexp-assemble-perl, liburi-perl,
libstring-random-perl, libmime-lite-perl, libsoap-lite-perl,
libconfig-inifiles-perl
Standards-Version: 3.8.3
Homepage: http://lemonldap.ow2.org/
@ -50,7 +50,7 @@ Description: Lemonldap::NG Apache module part
Package: liblemonldap-ng-conf-perl
Architecture: all
Depends: ${misc:Depends}, libdbi-perl, debconf, libcache-cache-perl,
libregexp-assemble-perl, libcrypt-rijndael-perl
libregexp-assemble-perl, libcrypt-rijndael-perl, libconfig-inifiles-perl
Recommends: libsoap-lite-perl
Description: Lemonldap::NG common files
Lemonldap::NG is a complete Web-SSO system that can run with reverse-proxies
@ -60,9 +60,10 @@ Description: Lemonldap::NG common files
Package: liblemonldap-ng-manager-perl
Architecture: all
Depends: ${misc:Depends}, libxml-simple-perl, libjs-jquery,
Depends: ${misc:Depends}, libjs-jquery, libhtml-template-perl,
liblemonldap-ng-conf-perl (= ${binary:Version}),
liblemonldap-ng-handler-perl (= ${binary:Version})
liblemonldap-ng-handler-perl (= ${binary:Version}),
libxml-libxml-perl, libxml-libxslt-perl
Recommends: libcache-cache-perl, libapache-session-perl, libsoap-lite-perl
Description: Lemonldap::NG manager part
Lemonldap::NG is a complete Web-SSO system that can run with reverse-proxies

@ -1 +1 @@
debian/tmp/examples/manager/*
debian/tmp/examples/manager/*.pl

@ -5,16 +5,12 @@ set -e
. /usr/share/debconf/confmodule
EXAMPLEMANAGERFILE=/usr/share/doc/liblemonldap-ng-manager-perl/examples/index.pl
MANAGERFILE=/var/lib/lemonldap-ng/manager/index.pl
EXAMPLESESSIONSFILE=/usr/share/doc/liblemonldap-ng-manager-perl/examples/sessions.pl
SESSIONSFILE=/var/lib/lemonldap-ng/manager/sessions.pl
if [ "$1" == "configure" ]
then
[ -e $SESSIONSFILE ] || cp $EXAMPLESESSIONSFILE $SESSIONSFILE
chmod +x $SESSIONSFILE
[ -e $MANAGERFILE ] || cp $EXAMPLEMANAGERFILE $MANAGERFILE
chmod +x $MANAGERFILE
chgrp www-data /etc/lemonldap-ng/apply.conf
chmod 640 /etc/lemonldap-ng/apply.conf

@ -73,14 +73,13 @@ install: build
# Since Lenny, jquery.js is provided by libjs-jquery
rm -f $(CURDIR)/debian/tmp$(LMSHAREDIR)*-skins/*/jquery.js
perl -i -pe 's#(["'"'"'])[\w-\./]*jquery.js#$$1/javascript/jquery/jquery.js#' \
perl -i -pe 's#(["'"'"']).*?jquery.js#$$1/javascript/jquery/jquery.js#' \
$(CURDIR)/debian/tmp/examples/manager/*.pl \
$(CURDIR)/debian/tmp$(LMSHAREDIR)portal-skins/pastel/header.tpl
$(CURDIR)/debian/tmp$(LMSHAREDIR)manager-skins/default/*.tpl \
$(CURDIR)/debian/tmp$(LMSHAREDIR)portal-skins/pastel/*.tpl
# postinst provides initial portal, manager and sessions-explorer
rm -f debian/tmp/var/lib/lemonldap-ng/portal/index.pl \
debian/tmp/var/lib/lemonldap-ng/liberty-alliance-sp-portal/index.pl \
debian/tmp/var/lib/lemonldap-ng/manager/index.pl \
debian/tmp/var/lib/lemonldap-ng/manager/sessions.pl
debian/tmp/var/lib/lemonldap-ng/liberty-alliance-sp-portal/index.pl
# Build architecture-independent files here.
binary-indep: build install

@ -1,6 +1,6 @@
--- #YAML:1.0
name: Lemonldap-NG-Manager
version: 0.92
version: 0.93
abstract: Perl extension for managing Lemonldap::NG Web-SSO
author:
- Xavier Guimard <x.guimard@free.fr>
@ -12,11 +12,13 @@ build_requires:
IO::String: 0
requires:
CGI: 3.08
HTML::Template: 0
IO::String: 0
Lemonldap::NG::Common: 0.93
Lemonldap::NG::Handler: 0.91
LWP::UserAgent: 0
XML::Simple: 0
XML::LibXML: 0
XML::LibXSLT: 0
no_index:
directory:
- t

@ -9,10 +9,12 @@ WriteMakefile(
BUILD_REQUIRES => { 'IO::String' => 0, },
PREREQ_PM => {
'CGI' => 3.08,
'HTML::Template' => 0,
'Lemonldap::NG::Common' => 0.93,
'Lemonldap::NG::Handler' => 0.91,
'LWP::UserAgent' => 0,
'XML::Simple' => 0,
'XML::LibXML' => 0,
'XML::LibXSLT' => 0,
}, # e.g., Module::Name => 1.1
(
$] >= 5.005

@ -4,7 +4,7 @@ use strict;
use Lemonldap::NG::Handler::CGI qw(:globalStorage :locationRules);
use Lemonldap::NG::Manager::Help; #inherits
our $VERSION = '0.1';
our $VERSION = '0.93';
our @ISA = qw(
Lemonldap::NG::Handler::CGI
Lemonldap::NG::Manager::Downloader
@ -77,3 +77,47 @@ sub menu {
}
1;
__END__
=head1 NAME
Lemonldap::NG::Manager - Perl extension for managing Lemonldap::NG Web-SSO
system.
=head1 SYNOPSIS
See example/Index.pl
=head1 DESCRIPTION
Lemonldap::NG::Manager provides a web interface to manage Lemonldap::NG Web-SSO
system.
=head1 SEE ALSO
L<Lemonldap::NG::Handler>, L<Lemonldap::NG::Portal>, L<CGI>,
http://wiki.lemonldap.objectweb.org/xwiki/bin/view/NG/Presentation
=head1 AUTHOR
Xavier Guimard, E<lt>x.guimard@free.frE<gt>
=head1 BUG REPORT
Use OW2 system to report bug or ask for features:
L<http://forge.objectweb.org/tracker/?group_id=274>
=head1 DOWNLOAD
Lemonldap::NG is available at
L<http://forge.objectweb.org/project/showfiles.php?group_id=274>
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2006-2009 by Xavier Guimard
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.8 or,
at your option, any later version of Perl 5 you may have available.
=cut

@ -21,10 +21,9 @@ WriteMakefile(
'HTML::Template' => 0,
'Lemonldap::NG::Common' => 0.93,
'Lemonldap::NG::Handler' => 0.91,
'String::Random' => 0,
'XML::LibXML' => 0,
'XML::LibXSLT' => 0,
'String::Random' => 0,
'HTML::Template' => 0,
},
(
$] >= 5.005

@ -44,11 +44,7 @@ __END__
=head1 NAME
Lemonldap::NG::Portal::IssuerDBNull
=head1 SYNOPSIS
use Lemonldap::NG::Portal::IssuerDBNull;
Lemonldap::NG::Portal::IssuerDBNull - Fake IssuerDB for Lemonldap::NG
=head1 DESCRIPTION
@ -60,7 +56,7 @@ L<Lemonldap::NG::Portal>
=head1 AUTHOR
Clement Oudot
Clément Oudot, E<lt>coudot@linagora.comE<gt>
=head1 COPYRIGHT AND LICENSE

@ -55,7 +55,7 @@ __END__
=head1 NAME
Lemonldap::NG::Portal::IssuerDBSAML
Lemonldap::NG::Portal::IssuerDBSAML - SAML IssuerDB for Lemonldap::NG
=head1 SYNOPSIS
@ -64,7 +64,7 @@ Lemonldap::NG::Portal::IssuerDBSAML
=head1 DESCRIPTION
TODO
SAML IssuerDB for Lemonldap::NG
=head1 SEE ALSO
@ -72,15 +72,14 @@ L<Lemonldap::NG::Portal>
=head1 AUTHOR
Xavier Guimard, E<lt>x.guimard@free.frE<gt>
Clément Oudot, E<lt>coudot@linagora.comE<gt>
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2009 by Xavier Guimard
Copyright (C) 2009 by Clément Oudot
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.10.0 or,
at your option, any later version of Perl 5 you may have available.
=cut

@ -1371,7 +1371,8 @@ L<http://forge.objectweb.org/project/showfiles.php?group_id=274>
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2005-2007 by Xavier Guimard E<lt>x.guimard@free.frE<gt>
Copyright (C) 2005-2009 by Xavier Guimard E<lt>x.guimard@free.frE<gt> and
Clement Oudot, E<lt>coudot@linagora.comE<gt>
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.4 or,

Loading…
Cancel
Save