]> git.proxmox.com Git - mirror_smartmontools-debian.git/commitdiff
Do not build-depends on hardening-wrapper, instead use the new buildflags.mk file
authorGiuseppe Iuculano <iuculano@debian.org>
Fri, 17 Oct 2014 13:38:00 +0000 (15:38 +0200)
committerGiuseppe Iuculano <iuculano@debian.org>
Fri, 17 Oct 2014 13:54:28 +0000 (15:54 +0200)
debian/control
debian/rules

index 6dfa2ae4c76457a9b8b79d7eb5ea70c7de39225b..91b3a683bccf3e81290719dea12deb1150f9f422 100644 (file)
@@ -3,7 +3,7 @@ Section: utils
 Priority: optional
 Maintainer: Giuseppe Iuculano <iuculano@debian.org>
 Uploaders: Florian Maier <contact@marsmenschen.com>
-Build-Depends: debhelper (>= 7), libcam-dev [kfreebsd-any], freebsd-glue [kfreebsd-any], automake1.11, autoconf, libcap-ng-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386 !sparc !avr32], libselinux1-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libusb2-dev [kfreebsd-i386 kfreebsd-amd64], hardening-wrapper , dh-systemd (>= 1.13)
+Build-Depends: debhelper (>= 7), libcam-dev [kfreebsd-any], freebsd-glue [kfreebsd-any], automake1.11, autoconf, libcap-ng-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386 !sparc !avr32], libselinux1-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libusb2-dev [kfreebsd-i386 kfreebsd-amd64], dh-systemd (>= 1.13)
 Standards-Version: 3.9.5
 Vcs-Git: git://anonscm.debian.org/collab-maint/smartmontools.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/smartmontools.git
index 123eddf548feae0b9bc693fa8b74bd6e6a771a43..184d645e2f667b00e3b9e6e21cc891491feef5c5 100755 (executable)
@@ -5,7 +5,9 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-export DEB_BUILD_HARDENING=1
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
 
 DEB_BUILD_ARCH_OS  ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
 DEB_BUILD_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU)