[pkg-horde] [COMMIT reg forwards--sid--3--patch-2] Fix lintian warnings

Lionel Elie Mamane lmamane at costa.debian.org
Mon Apr 17 09:30:03 UTC 2006


A  {arch}/forwards/forwards--sid/forwards--sid--3/pkg-horde-hackers at lists.alioth.debian.org--2006/patch-log/patch-2
M  debian/dirs
M  debian/rules

--- /dev/null
+++ {arch}/forwards/forwards--sid/forwards--sid--3/pkg-horde-hackers at lists.alioth.debian.org--2006/patch-log/patch-2
@@ -0,0 +1,12 @@
+Revision: forwards--sid--3--patch-2
+Archive: pkg-horde-hackers at lists.alioth.debian.org--2006
+Creator: Gregory Colpart <reg at evolix.fr>
+Date: Mon Apr 17 11:25:54 CEST 2006
+Standard-date: 2006-04-17 09:25:54 GMT
+Modified-files: debian/dirs debian/rules
+New-patches: pkg-horde-hackers at lists.alioth.debian.org--2006/forwards--sid--3--patch-2
+Summary: Fix lintian warnings
+Keywords: 
+
+- Remove exec rights on .php files (lintian wrnings)
+- Fix #357377 with duplicate CREDITS file and add lintian override


--- orig/debian/dirs
+++ mod/debian/dirs
@@ -1,2 +1,3 @@
 usr/share/horde3/forwards
 etc/horde/forwards3
+usr/share/lintian/overrides


--- orig/debian/rules
+++ mod/debian/rules
@@ -4,7 +4,7 @@
 #export DH_VERBOSE=1
 
 # List all Files and directories here that should not be copied 
-COPY_EXCLUDE=^(configure-stamp|build-stamp|config|debian|CHANGES|INSTALL|RELEASE_NOTES|TODO|LICENSE|po|README)$
+COPY_EXCLUDE=^(configure-stamp|build-stamp|config|debian|docs|LICENSE|po|README)$
 
 configure: configure-stamp
 configure-stamp:
@@ -41,6 +41,14 @@
 	touch debian/sork-forwards-h3/etc/horde/forwards3/conf.php
 	dh_link etc/horde/forwards3 usr/share/horde3/forwards/config
 
+    #### CREDITS file accessible to help viewer ####
+    mkdir -m 755 debian/sork-forwards-h3/usr/share/horde3/forwards/docs
+    cp -a docs/CREDITS debian/sork-forwards-h3/usr/share/horde3/forwards/docs
+    install -m 644 debian/source.lintian-override debian/sork-forwards-h3/usr/share/lintian/overrides/sork-forwards-h3
+
+    #### no exec right for .php files (lintian warnings) ####
+    find ./ -name "*.php" -exec chmod -x '{}' \;
+
 	#### create htaccess  to restrict acess by web ####
 	echo "Deny from all" > debian/sork-forwards-h3/etc/horde/forwards3/.htaccess
 




More information about the pkg-horde-hackers mailing list