[SCM] SUMO packaging. Simulation of Urban MObility. branch, master, updated. debian/0.15.0_dfsg-2-5-gac68147

Anton Gladky gladky.anton at gmail.com
Wed Jul 18 19:06:46 UTC 2012


The following commit has been merged in the master branch:
commit 6ae81905e6b7754d0ed3845dbc15f472451cd071
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Wed Jul 18 20:34:47 2012 +0200

    Use compat level 9. Apply hardening of buildflags.

diff --git a/debian/compat b/debian/compat
index 45a4fb7..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-8
+9
diff --git a/debian/control b/debian/control
index bc2bf37..b92986a 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Homepage: http://sumo.sourceforge.net/
 Standards-Version: 3.9.3
 Vcs-Git: git://git.debian.org/git/debian-science/packages/sumo.git
 Vcs-Browser: http://git.debian.org/?p=debian-science/packages/sumo.git
-Build-Depends: debhelper (>= 8), libxerces-c2-dev, 
+Build-Depends: debhelper (>= 9), libxerces-c2-dev, dpkg-dev (>= 1.16.1~),
  libgdal-dev, libproj-dev, libfox-1.6-dev, 
  libxrandr-dev, libbz2-dev, libcups2-dev, help2man
 Build-Depends-Indep: doxygen, python
diff --git a/debian/rules b/debian/rules
index 2f2cf3b..1163162 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,10 +3,14 @@
 %:
 	dh $@ --parallel
 
-export CFLAGS := -Wall $(shell dpkg-buildflags --get CFLAGS)
-export CXXFLAGS := -Wall $(shell dpkg-buildflags --get CXXFLAGS)
-export CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
-export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+
+export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+include /usr/share/dpkg/buildflags.mk
 
 override_dh_auto_configure:
 	dh_auto_configure -- --prefix=/usr

-- 
SUMO packaging. Simulation of Urban MObility.



More information about the debian-science-commits mailing list