Package: nagios-nrpe Version: 2.13-3.1 Severity: wishlist Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu trusty ubuntu-patch
Dear Maintainer, In Ubuntu, the attached patch was applied to enable hardening support. Thanks for considering it. -- System Information: Debian Release: wheezy/sid APT prefers trusty-updates APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.11.0-12-generic (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -u nagios-nrpe-2.13/debian/changelog nagios-nrpe-2.13/debian/changelog diff -u nagios-nrpe-2.13/debian/control nagios-nrpe-2.13/debian/control --- nagios-nrpe-2.13/debian/control +++ nagios-nrpe-2.13/debian/control @@ -3,7 +3,7 @@ Priority: optional Maintainer: Debian Nagios Maintainer Group <pkg-nagios-de...@lists.alioth.debian.org> Uploaders: sean finney <sean...@debian.org>, Jason Thomas <ja...@debian.org>, Alexander Wirt <formo...@debian.org> -Build-Depends: debhelper (>= 9), openssl, dpatch (>= 2.0.32~), libssl-dev, libwrap0-dev, autotools-dev (>= 20100122.1) +Build-Depends: debhelper (>= 9), openssl, dpatch (>= 2.0.32~), libssl-dev, libwrap0-dev, autotools-dev (>= 20100122.1), hardening-includes Standards-Version: 3.9.3 Package: nagios-nrpe-server diff -u nagios-nrpe-2.13/debian/rules nagios-nrpe-2.13/debian/rules --- nagios-nrpe-2.13/debian/rules +++ nagios-nrpe-2.13/debian/rules @@ -6,11 +6,16 @@ # Include dpatch stuff. include /usr/share/dpatch/dpatch.make +include /usr/share/hardening-includes/hardening.make +CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(HARDENING_CFLAGS) +CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) $(HARDENING_CFLAGS) +LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) $(HARDENING_LDFLAGS) + %: dh $@ --with dpatch,autotools_dev override_dh_auto_configure: - ./configure \ + CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure \ --prefix=/usr \ --enable-ssl \ --with-ssl-lib=/usr/lib/$(DEB_HOST_MULTIARCH) \