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