[Pkg-php-commits] [php/debian-sid] Add some more lintian-overrides (the embedded file library is unfortunatelly a custom one)

Ondřej Surý ondrej at sury.org
Wed May 4 15:15:54 UTC 2011


---
 debian/php5-sapi.lintian-overrides |   12 ++++++++++++
 debian/rules                       |    3 ++-
 2 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/debian/php5-sapi.lintian-overrides b/debian/php5-sapi.lintian-overrides
index 8dca405..224b5d6 100644
--- a/debian/php5-sapi.lintian-overrides
+++ b/debian/php5-sapi.lintian-overrides
@@ -4,3 +4,15 @@
 @sapi@: spelling-error-in-binary * ment meant
 # Not a spelling mistake, tz code for Tahiti
 @sapi@: spelling-error-in-binary * taht that
+libapache2-mod-php5: embedded-library usr/lib/apache2/modules/libphp5.so: file
+libapache2-mod-php5filter: embedded-library usr/lib/apache2/modules/libphp5filter.so: file
+php5-cgi: embedded-library usr/bin/php5-cgi: file
+php5-cgi: embedded-library usr/lib/cgi-bin/php5: file
+php5-cli: embedded-library usr/bin/php5: file
+php5-fpm: embedded-library usr/sbin/php5-fpm: file
+libapache2-mod-php5: embedded-library ./usr/lib/apache2/modules/libphp5.so: file
+libapache2-mod-php5filter: embedded-library ./usr/lib/apache2/modules/libphp5filter.so: file
+php5-cgi: embedded-library ./usr/bin/php5-cgi: file
+php5-cgi: embedded-library ./usr/lib/cgi-bin/php5: file
+php5-cli: embedded-library ./usr/bin/php5: file
+php5-fpm: embedded-library ./usr/sbin/php5-fpm: file
diff --git a/debian/rules b/debian/rules
index 53e02c4..96f6cd8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -574,7 +574,8 @@ install: build
 	for sapi in php5-cli php5-fpm php5-cgi libapache2-mod-php5 libapache2-mod-php5filter; do \
 		mkdir -p $(CURDIR)/debian/"$$sapi"/usr/share/lintian/overrides/; \
 		sed "s/@sapi@/$$sapi/g;s, at extdir@,$$ext,g" \
-		    < $(CURDIR)/debian/php5-sapi.lintian-overrides \
+		    < $(CURDIR)/debian/php5-sapi.lintian-overrides | \
+		grep -E "^$${sapi}: " \
 		    >> $(CURDIR)/debian/"$$sapi"/usr/share/lintian/overrides/"$$sapi"; \
 	done
 
-- 
1.7.1





More information about the Pkg-php-commits mailing list