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
|
DOCUMENTROOT=$(LMPREFIX)/htdocs
|
||||||
PORTALDIR=$(DOCUMENTROOT)/portal
|
PORTALDIR=$(DOCUMENTROOT)/portal
|
||||||
PORTALSITEDIR=$(PORTALDIR)
|
PORTALSITEDIR=$(PORTALDIR)
|
||||||
PORTALSTATICDIR=$(PORTALSITEDIR)/static
|
PORTALSTATICDIR=$(PORTALSITEDIR)/htdocs/static
|
||||||
PORTALRELATIVESTATICDIR=/static
|
PORTALRELATIVESTATICDIR=/static
|
||||||
PORTALTEMPLATESDIR=$(PORTALSITEDIR)/templates
|
PORTALTEMPLATESDIR=$(PORTALSITEDIR)/templates
|
||||||
|
|
||||||
MANAGERDIR=$(DOCUMENTROOT)/manager
|
MANAGERDIR=$(DOCUMENTROOT)/manager
|
||||||
MANAGERSITEDIR=$(MANAGERDIR)
|
MANAGERSITEDIR=$(MANAGERDIR)
|
||||||
MANAGERSTATICDIR=$(MANAGERSITEDIR)/static
|
MANAGERSTATICDIR=$(MANAGERSITEDIR)/htdocs/static
|
||||||
MANAGERRELATIVESTATICDIR=/static
|
MANAGERRELATIVESTATICDIR=/static
|
||||||
MANAGERTEMPLATESDIR=$(MANAGERSITEDIR)/templates
|
MANAGERTEMPLATESDIR=$(MANAGERSITEDIR)/templates
|
||||||
DOCDIR=$(DOCUMENTROOT)
|
DOCDIR=$(DOCUMENTROOT)
|
||||||
|
@ -665,13 +665,13 @@ install_portal_site: install_conf_dir
|
||||||
>$(RPORTALTEMPLATESDIR)/$$f; \
|
>$(RPORTALTEMPLATESDIR)/$$f; \
|
||||||
done; cd -
|
done; cd -
|
||||||
cd $(SRCPORTALDIR)/site/templates; for l in `find * -type l`; do \
|
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`; \
|
target=`readlink $$l`; \
|
||||||
cd $(RPORTALTEMPLATESDIR); \
|
cd $(RPORTALTEMPLATESDIR); \
|
||||||
ln -s $$target $$l; \
|
ln -s $$target $$l; \
|
||||||
cd -; \
|
cd -; \
|
||||||
done
|
done
|
||||||
@if test "$(USEEXTERNALLIBS)" = "yes"; then \
|
if test "$(USEEXTERNALLIBS)" = "yes"; then \
|
||||||
rm -rvf $(PORTALEXTERNALLIBS); \
|
rm -rvf $(PORTALEXTERNALLIBS); \
|
||||||
elif test "$(USEDEBIANLIBS)" = "yes"; then \
|
elif test "$(USEDEBIANLIBS)" = "yes"; then \
|
||||||
rm -rvf $(PORTALLIBSTOREMOVEFORDEBIAN); \
|
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
|
.bowerrc
|
||||||
bower.json
|
bower.json
|
||||||
Changes
|
Changes
|
||||||
eg/manager-server.cgi
|
eg/manager.cgi
|
||||||
eg/manager-server.fcgi
|
eg/manager.fcgi
|
||||||
eg/manager-server.psgi
|
eg/manager.psgi
|
||||||
KINEMATIC.md
|
KINEMATIC.md
|
||||||
lib/Lemonldap/NG/Manager.pm
|
lib/Lemonldap/NG/Manager.pm
|
||||||
lib/Lemonldap/NG/Manager/Attributes.pm
|
lib/Lemonldap/NG/Manager/Attributes.pm
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
.bowerrc
|
.bowerrc
|
||||||
bower.json
|
bower.json
|
||||||
Changes
|
Changes
|
||||||
|
eg/index.cgi
|
||||||
eg/index.fcgi
|
eg/index.fcgi
|
||||||
|
eg/index.psgi
|
||||||
example/soapconfigtest.pl
|
example/soapconfigtest.pl
|
||||||
example/soaperrortest.pl
|
example/soaperrortest.pl
|
||||||
example/soaptest.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