From 0765f6c30cdbaabaae901571ed76d78e998722d6 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Wed, 16 Oct 2013 14:50:34 -0400 Subject: [PATCH] Make mcstrans PIE and fully relro Resolves: #983268 --- mcstrans.spec | 11 +++++++++-- 1 file 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 - 0.3.4-3 +- Make mcstrans PIE and fully relro +Resolves: #983268 + +* Tue Oct 15 2013 Dan Walsh - 0.3.4-2 +- Add RELRO support for long running services + * Thu Sep 12 2013 Dan Walsh - 0.3.4-1 - Update to latest version/applying patches - Move binary to /usr/sbin rather then /sbin