Make mcstrans PIE and fully relro

Resolves: #983268
This commit is contained in:
Dan Walsh 2013-10-16 14:50:34 -04:00
parent c4a27c8221
commit 0765f6c30c
1 changed files with 9 additions and 2 deletions

View File

@ -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@redhat.com> - 0.3.4-3
- Make mcstrans PIE and fully relro
Resolves: #983268
* Tue Oct 15 2013 Dan Walsh <dwalsh@redhat.com> - 0.3.4-2
- Add RELRO support for long running services
* Thu Sep 12 2013 Dan Walsh <dwalsh@redhat.com> - 0.3.4-1
- Update to latest version/applying patches
- Move binary to /usr/sbin rather then /sbin