spec: enable hardened build
This commit is contained in:
parent
2b29285dc1
commit
6a56a2fe75
@ -1,7 +1,9 @@
|
|||||||
|
%global _hardened_build 1
|
||||||
|
|
||||||
Summary: The client program for the Telnet remote login protocol
|
Summary: The client program for the Telnet remote login protocol
|
||||||
Name: telnet
|
Name: telnet
|
||||||
Version: 0.17
|
Version: 0.17
|
||||||
Release: 56%{?dist}
|
Release: 57%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
@ -90,7 +92,7 @@ mv telnet telnet-NETKIT
|
|||||||
export CC_FLAGS="$RPM_OPT_FLAGS -fpie"
|
export CC_FLAGS="$RPM_OPT_FLAGS -fpie"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
export LD_FLAGS="$LD_FLAGS -pie"
|
export LD_FLAGS="$LD_FLAGS -z now -pie"
|
||||||
|
|
||||||
sh configure --with-c-compiler=gcc
|
sh configure --with-c-compiler=gcc
|
||||||
perl -pi -e '
|
perl -pi -e '
|
||||||
@ -147,6 +149,9 @@ install -p -m644 %SOURCE6 ${RPM_BUILD_ROOT}%{_unitdir}/telnet.socket
|
|||||||
%{_mandir}/man8/telnetd.8*
|
%{_mandir}/man8/telnetd.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 17 2013 Michal Sekletar <msekleta@redhat.com> - 1:0.17-57
|
||||||
|
- enable hardened build
|
||||||
|
|
||||||
* Mon May 06 2013 Michal Sekletar <msekleta@redhat.com> - 1:0.17-56
|
* Mon May 06 2013 Michal Sekletar <msekleta@redhat.com> - 1:0.17-56
|
||||||
- telnet-server will use systemd socket based activation instead of xinetd
|
- telnet-server will use systemd socket based activation instead of xinetd
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user