Build with pie/full RELRO

Resolves: #1055742
This commit is contained in:
Jan Synacek 2014-01-21 09:22:31 +01:00
parent fbf0c95569
commit da0891976a

View File

@ -3,7 +3,7 @@
Summary: Network monitoring tools including ping Summary: Network monitoring tools including ping
Name: iputils Name: iputils
Version: 20121221 Version: 20121221
Release: 6%{?dist} Release: 7%{?dist}
# some parts are under the original BSD (ping.c) # some parts are under the original BSD (ping.c)
# some are under GPLv2+ (tracepath.c) # some are under GPLv2+ (tracepath.c)
License: BSD and GPLv2+ License: BSD and GPLv2+
@ -81,7 +81,7 @@ export LDFLAGS="-pie -Wl,-z,relro,-z,now"
make %{?_smp_mflags} arping clockdiff ping ping6 rdisc tracepath tracepath6 \ make %{?_smp_mflags} arping clockdiff ping ping6 rdisc tracepath tracepath6 \
ninfod ninfod
gcc -Wall $RPM_OPT_FLAGS ifenslave.c -o ifenslave gcc -Wall $RPM_OPT_FLAGS $CFLAGS $LDFLAGS ifenslave.c -o ifenslave
make -C doc man make -C doc man
%install %install
@ -177,6 +177,9 @@ mv -f RELNOTES.tmp RELNOTES
%attr(644,root,root) %{_mandir}/man8/ninfod.8.gz %attr(644,root,root) %{_mandir}/man8/ninfod.8.gz
%changelog %changelog
* Tue Jan 21 2014 Jan Synáček <jsynacek@redhat.com> - 20121221-7
- Build with pie/full RELRO (#1055742)
* Sun Jan 19 2014 Ville Skyttä <ville.skytta@iki.fi> - 20121221-6 * Sun Jan 19 2014 Ville Skyttä <ville.skytta@iki.fi> - 20121221-6
- Don't order services after syslog.target. - Don't order services after syslog.target.