[pkg-remote-commits] [arctica-greeter] 04/12: debian/rules: Add get-orig-source target. Use NEWS file as upstream changelog. Enable all hardening flags.

Mike Gabriel sunweaver at debian.org
Wed Nov 29 14:51:56 UTC 2017


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

sunweaver pushed a commit to branch master
in repository arctica-greeter.

commit 506a510a7f767e4bbadd254c5d7f7f6443cbfcad
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Nov 29 15:47:06 2017 +0100

    debian/rules: Add get-orig-source target. Use NEWS file as upstream changelog. Enable all hardening flags.
---
 debian/rules | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 9801911..d144601 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,11 @@
-#!/usr/bin/make -f 
+#!/usr/bin/make -f
 
 LDFLAGS+=-Wl,--as-needed
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
 %:
 	dh $@ --with autoreconf --fail-missing
 
@@ -41,3 +45,9 @@ override_dh_auto_clean:
 	rm -f debian/theme-debian-logo.png
 
 override_dh_auto_test:
+
+override_dh_installchangelogs:
+	dh_installchangelogs NEWS
+
+get-orig-source:
+	uscan --noconf --force-download --rename --download-current-version --destdir=..

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-remote/arctica-greeter.git



More information about the pkg-remote-commits mailing list