Update examples (#595)
This commit is contained in:
parent
7c4cb5d072
commit
4964b5a5d5
8
Makefile
8
Makefile
|
@ -51,13 +51,13 @@ DATADIR=$(LMPREFIX)/data
|
|||
DOCUMENTROOT=$(LMPREFIX)/htdocs
|
||||
PORTALDIR=$(DOCUMENTROOT)/portal
|
||||
PORTALSITEDIR=$(PORTALDIR)
|
||||
PORTALSTATICDIR=$(PORTALSITEDIR)/static
|
||||
PORTALSTATICDIR=$(PORTALSITEDIR)/htdocs/static
|
||||
PORTALRELATIVESTATICDIR=/static
|
||||
PORTALTEMPLATESDIR=$(PORTALSITEDIR)/templates
|
||||
|
||||
MANAGERDIR=$(DOCUMENTROOT)/manager
|
||||
MANAGERSITEDIR=$(MANAGERDIR)
|
||||
MANAGERSTATICDIR=$(MANAGERSITEDIR)/static
|
||||
MANAGERSTATICDIR=$(MANAGERSITEDIR)/htdocs/static
|
||||
MANAGERRELATIVESTATICDIR=/static
|
||||
MANAGERTEMPLATESDIR=$(MANAGERSITEDIR)/templates
|
||||
DOCDIR=$(DOCUMENTROOT)
|
||||
|
@ -665,13 +665,13 @@ install_portal_site: install_conf_dir
|
|||
>$(RPORTALTEMPLATESDIR)/$$f; \
|
||||
done; cd -
|
||||
cd $(SRCPORTALDIR)/site/templates; for l in `find * -type l`; do \
|
||||
echo lien à faire $$l `readlink $$l`; \
|
||||
echo link to do $$l `readlink $$l`; \
|
||||
target=`readlink $$l`; \
|
||||
cd $(RPORTALTEMPLATESDIR); \
|
||||
ln -s $$target $$l; \
|
||||
cd -; \
|
||||
done
|
||||
@if test "$(USEEXTERNALLIBS)" = "yes"; then \
|
||||
if test "$(USEEXTERNALLIBS)" = "yes"; then \
|
||||
rm -rvf $(PORTALEXTERNALLIBS); \
|
||||
elif test "$(USEDEBIANLIBS)" = "yes"; then \
|
||||
rm -rvf $(PORTALLIBSTOREMOVEFORDEBIAN); \
|
||||
|
|
|
@ -1 +1 @@
|
|||
debian/tmp/usr/share/lemonldap-ng/manager/manager.*
|
||||
lemonldap-ng-manager/eg/*
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
lemonldap-ng-portal/eg/*
|
|
@ -1,9 +1,9 @@
|
|||
.bowerrc
|
||||
bower.json
|
||||
Changes
|
||||
eg/manager-server.cgi
|
||||
eg/manager-server.fcgi
|
||||
eg/manager-server.psgi
|
||||
eg/manager.cgi
|
||||
eg/manager.fcgi
|
||||
eg/manager.psgi
|
||||
KINEMATIC.md
|
||||
lib/Lemonldap/NG/Manager.pm
|
||||
lib/Lemonldap/NG/Manager/Attributes.pm
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
.bowerrc
|
||||
bower.json
|
||||
Changes
|
||||
eg/index.cgi
|
||||
eg/index.fcgi
|
||||
eg/index.psgi
|
||||
example/soapconfigtest.pl
|
||||
example/soaperrortest.pl
|
||||
example/soaptest.pl
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env perl
|
||||
|
||||
use Plack::Handler::CGI;
|
||||
use Lemonldap::NG::Portal::Main;
|
||||
|
||||
Plack::Handler::CGI->new->run( Lemonldap::NG::Portal->run( {} ) );
|
||||
|
|
@ -1 +0,0 @@
|
|||
../site/htdocs/index.fcgi
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env perl
|
||||
|
||||
use Plack::Handler::FCGI;
|
||||
use Lemonldap::NG::Portal::Main;
|
||||
|
||||
# Roll your own
|
||||
my $server = Plack::Handler::FCGI->new();
|
||||
$server->run( Lemonldap::NG::Portal::Main->run( {} ) );
|
|
@ -0,0 +1,3 @@
|
|||
use Lemonldap::NG::Portal::Main;
|
||||
|
||||
Lemonldap::NG::Portal::Main->run({});
|
Loading…
Reference in New Issue