[Pkg-privacy-commits] [pt-websocket] 01/01: Override hardening-related Lintian warnings

Nicolas Braud-Santoni nicolas at braud-santoni.eu
Thu Jan 11 14:28:37 UTC 2018


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

nicoo-guest pushed a commit to branch master
in repository pt-websocket.

commit a819f55fc55d37cd4bd2137efb9b693b61bea15b
Author: Nicolas Braud-Santoni <nicolas at braud-santoni.eu>
Date:   Thu Jan 11 15:15:22 2018 +0100

    Override hardening-related Lintian warnings
---
 debian/changelog                      | 5 ++++-
 debian/pt-websocket.lintian-overrides | 6 ++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 6b47198..291d13c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,7 +3,10 @@ pt-websocket (0.2-5) unstable; urgency=medium
   * Team upload.
 
   * debian/watch: Fix URL
-  * Remove unused Lintian override
+  * Lintian
+    * Remove unused override
+    * Override hardening-related warnings
+      These do not make sense for Go binaries.
   * Switch to debhelper 10
   * Declare compliance with policy version 4.1.2
     * debian/copyright: Use HTTPS URI for the file format
diff --git a/debian/pt-websocket.lintian-overrides b/debian/pt-websocket.lintian-overrides
index 2616845..11e9f0b 100644
--- a/debian/pt-websocket.lintian-overrides
+++ b/debian/pt-websocket.lintian-overrides
@@ -1,2 +1,8 @@
 # these don't exist yet.
 no-upstream-changelog
+
+# Golang binaries cannot be hardened in the way lintian expects
+pt-websocket binary: hardening-no-fortify-functions
+pt-websocket binary: hardening-no-relro
+pt-websocket binary: hardening-no-bindnow
+pt-websocket binary: hardening-no-pie

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/pt-websocket.git



More information about the Pkg-privacy-commits mailing list