[mcstrans] Make mcstrans PIE and fully relro

Daniel J Walsh dwalsh at fedoraproject.org
Wed Oct 16 18:50:37 UTC 2013


commit 0765f6c30cdbaabaae901571ed76d78e998722d6
Author: Dan Walsh <dwalsh at redhat.com>
Date:   Wed Oct 16 14:50:34 2013 -0400

    Make mcstrans PIE and fully relro
    
    Resolves: #983268

 mcstrans.spec |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/mcstrans.spec b/mcstrans.spec
index 217264c..800f27f 100644
--- a/mcstrans.spec
+++ b/mcstrans.spec
@@ -1,7 +1,7 @@
 Summary: SELinux Translation Daemon
 Name: mcstrans
 Version: 0.3.4
-Release: 1%{?dist}
+Release: 3%{?dist}
 License: GPL+
 Group: System Environment/Daemons
 Source: http://fedora.redhat.com/projects/%{name}-%{version}.tgz
@@ -36,7 +36,7 @@ from internal representations to user defined representation.
 
 %build
 make clean
-make LIBDIR="%{_libdir}" CFLAGS="-g %{optflags}" LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now" CFLAGS="%{optflags} -fPIE" LDFLAGS="-pie -Wl,-z,relro" %{?_smp_mflags}
+make LIBDIR="%{_libdir}" LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now" CFLAGS="%{optflags} -fPIE" %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
@@ -94,6 +94,13 @@ fi
 %{_usr}/share/mcstrans/util/*
 
 %changelog
+* Thu Sep 12 2013 Dan Walsh <dwalsh at redhat.com> - 0.3.4-3
+- Make mcstrans PIE and fully relro 
+Resolves: #983268
+
+* Tue Oct 15 2013 Dan Walsh <dwalsh at redhat.com> - 0.3.4-2
+- Add RELRO support for long running services
+
 * Thu Sep 12 2013 Dan Walsh <dwalsh at redhat.com> - 0.3.4-1
 - Update to latest version/applying patches
 - Move binary to /usr/sbin rather then /sbin


More information about the scm-commits mailing list