[sendmail] Enable override of hardened build settings
Jaroslav Škarvada
jskarvad at fedoraproject.org
Tue Aug 30 15:04:47 UTC 2011
commit c50c737f7d2f321fb0c2b36ee26c4a0e14208762
Author: Jaroslav Škarvada <jskarvad at redhat.com>
Date: Tue Aug 30 17:04:33 2011 +0200
Enable override of hardened build settings
sendmail.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/sendmail.spec b/sendmail.spec
index 61670e3..5f0903c 100644
--- a/sendmail.spec
+++ b/sendmail.spec
@@ -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 at redhat.com> - 8.14.5-8
+- Enable override of hardened build settings
+
* Tue Aug 30 2011 Jaroslav Škarvada <jskarvad at redhat.com> - 8.14.5-7
- Hardened build with full relro
- Provided SysV initscript in sysvinit subpackage for backward compatibility
More information about the scm-commits
mailing list