spec: enable hardened build

rpm-checksec revealed that ospfd is not compiled as PIE. We enable
hardened build in specfile, this should not break anything and it should
take care of enabling security related compiler options.
This commit is contained in:
Michal Sekletar 2013-07-30 16:46:43 +02:00
parent 30871293d5
commit 9de1505d36

View File

@ -3,9 +3,11 @@
%define vty_group quaggavt
%define vty_gid 85
%global _hardened_build 1
Name: quagga
Version: 0.99.22.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Routing daemon
License: GPLv2+
Group: System Environment/Daemons
@ -223,6 +225,9 @@ fi
%{_includedir}/quagga/ospfd/*.h
%changelog
* Tue Jul 30 2013 Michal Sekletar <msekleta@redhat.com> - 0.99.22.2-1
- enabled hardened build
* Tue Jul 30 2013 Michal Sekletar <msekleta@redhat.com> - 0.99.22.2-1
- update to 0.99.22.2