Enable override of hardened build settings
This commit is contained in:
parent
dbcb52c7bc
commit
c50c737f7d
@ -11,8 +11,8 @@
|
||||
%global spooldir %{_localstatedir}/spool
|
||||
%global maildir %{_sysconfdir}/mail
|
||||
|
||||
# hardened build
|
||||
%global _hardened_build 1
|
||||
# hardened build if not overrided
|
||||
%{!?_hardened_build:%global _hardened_build 1}
|
||||
|
||||
%if %{?_hardened_build:%{_hardened_build}}%{!?_hardened_build:0}
|
||||
%global relro -Xlinker -z -Xlinker relro -Xlinker -z -Xlinker now
|
||||
@ -21,7 +21,7 @@
|
||||
Summary: A widely used Mail Transport Agent (MTA)
|
||||
Name: sendmail
|
||||
Version: 8.14.5
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
License: Sendmail
|
||||
Group: System Environment/Daemons
|
||||
URL: http://www.sendmail.org/
|
||||
@ -696,6 +696,9 @@ exit 0
|
||||
%{_initrddir}/sendmail
|
||||
|
||||
%changelog
|
||||
* Tue Aug 30 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 8.14.5-8
|
||||
- Enable override of hardened build settings
|
||||
|
||||
* Tue Aug 30 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 8.14.5-7
|
||||
- Hardened build with full relro
|
||||
- Provided SysV initscript in sysvinit subpackage for backward compatibility
|
||||
|
Loading…
Reference in New Issue
Block a user