[postgis] 02/04: Add lintian override for hardening-no-fortify-functions.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat Sep 26 13:02:44 UTC 2015


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

sebastic pushed a commit to branch experimental
in repository postgis.

commit 0504596b72cd750aeec3dd4958a8e600099ed695
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Sep 26 11:52:42 2015 +0200

    Add lintian override for hardening-no-fortify-functions.
---
 debian/postgresql-9.4-postgis-2.2.lintian-overrides | 14 ++++++++++++++
 debian/rules                                        |  1 +
 2 files changed, 15 insertions(+)

diff --git a/debian/postgresql-9.4-postgis-2.2.lintian-overrides b/debian/postgresql-9.4-postgis-2.2.lintian-overrides
new file mode 100644
index 0000000..6ef4417
--- /dev/null
+++ b/debian/postgresql-9.4-postgis-2.2.lintian-overrides
@@ -0,0 +1,14 @@
+# Build uses -D_FORTIFY_SOURCE=2, but hardening-check reports:
+#  Fortify Source functions: no, only unprotected functions found!
+#         unprotected: strncpy
+#         unprotected: sprintf
+#         unprotected: memset
+#         unprotected: getcwd
+#         unprotected: memcpy
+#         unprotected: fprintf
+#         unprotected: strcat
+#         unprotected: fgets
+#         unprotected: strcpy
+#         unprotected: printf
+postgresql-9.4-postgis-2.2: hardening-no-fortify-functions usr/lib/postgresql/*/lib/address_standardizer-*.so
+
diff --git a/debian/rules b/debian/rules
index f6f8bdf..3df9956 100755
--- a/debian/rules
+++ b/debian/rules
@@ -324,6 +324,7 @@ binary-common:
 	dh_installexamples
 	dh_installman
 	dh_link
+	dh_lintian
 	dh_strip
 	dh_compress
 	dh_fixperms

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/postgis.git



More information about the Pkg-grass-devel mailing list