[apertium] 01/01: Hardening support and make script apertium-createmodes.awk executable

Kartik Mistry kartik at moszumanska.debian.org
Thu Dec 28 12:33:56 UTC 2017


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

kartik pushed a commit to branch master
in repository apertium.

commit 21c9220c4965cad7ac3ba649ed224dde500d442b
Author: Kartik Mistry <kartik.mistry at gmail.com>
Date:   Thu Dec 28 18:03:50 2017 +0530

    Hardening support and make script apertium-createmodes.awk executable
---
 debian/changelog | 11 +++++++----
 debian/control   |  1 +
 debian/rules     |  5 +++++
 3 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 48de4fb..3a3dc8e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,12 +6,15 @@ apertium (3.4.2~r68466-3) unstable; urgency=low
   [ Kartik Mistry ]
   * debian/control:
     + Updated Standards-Version to 4.1.2.0
-    + Set Section to libs for libapertium package
+    + Set Section to libs for libapertium package.
   * Set debian/compat to 11:
-    + Removed autoconf, autotools-dev, dh-autoreconf from Build-Depends
-    + Build-Depends on debhelper (>= 11)
+    + Removed autoconf, autotools-dev, dh-autoreconf from Build-Depends.
+    + Build-Depends on debhelper (>= 11).
+  * Added Hardening support.
+  * debian/rules:
+    * Make apertium-createmodes.awk script executable.
 
- -- Kartik Mistry <kartik at debian.org>  Thu, 28 Dec 2017 17:04:50 +0530
+ -- Kartik Mistry <kartik at debian.org>  Thu, 28 Dec 2017 18:03:12 +0530
 
 apertium (3.4.2~r68466-2) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index 76e01e2..c8dffa5 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Uploaders: Tino Didriksen <tino at didriksen.cc>,
            Kartik Mistry <kartik at debian.org>
 Build-Depends: debhelper (>= 11),
                dh-exec (>= 0.3),
+               dpkg-dev (>= 1.16.1.1),
                flex (>= 2.5.33),
                libpcre3-dev,
                libxml2-dev,
diff --git a/debian/rules b/debian/rules
index 1adddc7..5a7db31 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,10 @@
 #export DH_VERBOSE=1
 export DH_OPTIONS
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
 %:
 	dh $@ --fail-missing --with autoreconf
 
@@ -12,4 +16,5 @@ override_dh_auto_configure:
 
 override_dh_auto_install:
 	dh_auto_install
+	chmod +x $(CURDIR)/debian/tmp/usr/share/apertium/apertium-createmodes.awk
 	find $(CURDIR) -type f -name '*.la' -exec rm -f '{}' \;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/apertium.git



More information about the debian-science-commits mailing list