This is an automated email from the git hooks/post-receive script.

xguimard-guest pushed a commit to branch master
in repository lemonldap-ng.

commit 653e65e6bd216dfcb22656202fbc410b709f767d
Author: Xavier Guimard <x.guim...@free.fr>
Date:   Sat Mar 5 14:30:52 2016 +0100

    Add javascript patch to use javascript-common
---
 debian/patches/javascript-path.patch | 45 ++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/debian/patches/javascript-path.patch 
b/debian/patches/javascript-path.patch
new file mode 100644
index 0000000..f2e9e67
--- /dev/null
+++ b/debian/patches/javascript-path.patch
@@ -0,0 +1,45 @@
+Description: preserve javascript-common path
+Author: Xavier Guimard <x.guim...@free.fr>
+Forwarded: 
http://websvn.ow2.org/comp.php?repname=lemonldap&compare[]=%2F@4708&compare[]=%2F@4709
+Last-Update: 2016-03-05
+
+--- a/_example/etc/manager-apache2.X.conf
++++ b/_example/etc/manager-apache2.X.conf
+@@ -27,7 +27,7 @@
+     # RewriteCond "%{REQUEST_FILENAME}" "!\.html$"
+ 
+     # REST URLs
+-    RewriteCond "%{REQUEST_FILENAME}" "!^/(?:static|doc|fr-doc|lib).*"
++    RewriteCond "%{REQUEST_FILENAME}" 
"!^/(?:static|doc|fr-doc|lib|javascript|favicon).*"
+     RewriteRule "^/(.+)$" "/psgi/manager-server.fcgi/$1" [PT]
+ 
+     Alias /psgi/ __MANAGERPSGIDIR__/
+--- a/_example/etc/manager-nginx.conf
++++ b/_example/etc/manager-nginx.conf
+@@ -24,9 +24,9 @@
+ 
+   # DEBIAN
+   # If install was made with USEDEBIANLIBS (official releases), uncomment this
+-  #location /javascript/ {
+-  #  alias /usr/share/javascript/;
+-  #}
++  location /javascript/ {
++    alias /usr/share/javascript/;
++  }
+ 
+   location /doc/ {
+     alias __DEFDOCDIR__;
+--- a/_example/etc/portal-nginx.conf
++++ b/_example/etc/portal-nginx.conf
+@@ -24,6 +24,11 @@
+     #add_header Strict-Transport-Security "15768000";
+   }
+ 
++  # Javascript-common path
++  location /javascript/ {
++    alias /usr/share/javascript/;
++  }
++
+   # SOAP functions for sessions management (disabled by default)
+   location /index/adminSessions {
+     deny all;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/lemonldap-ng.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to