[apcupsd/f18] make executables hardened (#955341)

Michal Hlavinka mhlavink at fedoraproject.org
Thu Jul 11 15:06:58 UTC 2013


commit 96a33428f369e3427f90ba0cacb4f955c12b88d8
Author: Michal Hlavinka <mhlavink at redhat.com>
Date:   Thu Jul 11 17:06:45 2013 +0200

    make executables hardened (#955341)

 apcupsd.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/apcupsd.spec b/apcupsd.spec
index 185e173..faf17ee 100644
--- a/apcupsd.spec
+++ b/apcupsd.spec
@@ -1,6 +1,6 @@
 Name:         apcupsd
 Version:      3.14.10
-Release:      7%{?dist}
+Release:      8%{?dist}
 Summary:      APC UPS Power Control Daemon for Linux
 
 Group:        System Environment/Daemons
@@ -76,6 +76,7 @@ printf 'install:\n\techo skipped\n' >platforms/redhat/Makefile
 install -p -m 0666 %{SOURCE3} .
 
 %build
+%global _hardened_build 1
 cp -p /usr/lib/rpm/config.{guess,sub} autoconf/
 export CPPFLAGS="$CPPFLAGS -DNETSNMP_NO_LEGACY_DEFINITIONS"
 %configure \
@@ -184,6 +185,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Jul 11 2013 Michal Hlavinka <mhlavink at redhat.com> - 3.14.10-8
+- make executables hardened (#955341)
+
 * Tue Oct 30 2012 Michal Hlavinka <mhlavink at redhat.com> - 3.14.10-7
 - fix configuration for httpd 2.4 (#871361)
 


More information about the scm-commits mailing list