[SCM] Debian packaging for Shibboleth IdP 2.x branch, master, updated. debian/2.1.5-1-10-gc3a1f39

Russ Allbery rra at stanford.edu
Fri Nov 18 00:22:59 UTC 2011


The following commit has been merged in the master branch:
commit bbb576ae4614cda60743b501699071db3bc66be0
Author: Russ Allbery <rra at stanford.edu>
Date:   Thu Nov 17 15:43:55 2011 -0800

    Fix permissions on configuration and webapp files

diff --git a/debian/rules b/debian/rules
index 4daffeb..09447ae 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,6 @@
 #!/usr/bin/make -f
-#export DH_VERBOSE=1
+
+ROOT = debian/$(shell dh_listpackages)
 
 %:
 	dh $@
@@ -29,3 +30,8 @@ override_dh_install:
 		debian/shibboleth-idp2/etc/shibboleth-idp/web.xml
 	ln -s /etc/shibboleth-idp/web.xml \
 		debian/shibboleth-idp2/usr/share/shibboleth-idp/WEB-INF/web.xml
+
+override_dh_fixperms:
+	chmod -R a-x,a+X $(ROOT)/etc/shibboleth-idp \
+	    $(ROOT)/usr/share/shibboleth-idp
+	dh_fixperms

-- 
Debian packaging for Shibboleth IdP 2.x



More information about the Pkg-shibboleth-devel mailing list