884183: support for full relro.

This commit is contained in:
Avesh Agarwal 2012-12-10 16:33:16 -05:00
parent 487ae9248e
commit 167536753a

View File

@ -1,7 +1,7 @@
Summary: An SSL-encrypting socket wrapper Summary: An SSL-encrypting socket wrapper
Name: stunnel Name: stunnel
Version: 4.54 Version: 4.54
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2 License: GPLv2
Group: Applications/Internet Group: Applications/Internet
URL: http://stunnel.mirt.net/ URL: http://stunnel.mirt.net/
@ -39,7 +39,7 @@ if pkg-config openssl ; then
fi fi
%configure --disable-fips --enable-ipv6 \ %configure --disable-fips --enable-ipv6 \
CPPFLAGS="-UPIDFILE -DPIDFILE='\"%{_localstatedir}/run/stunnel.pid\"'" CPPFLAGS="-UPIDFILE -DPIDFILE='\"%{_localstatedir}/run/stunnel.pid\"'"
make LDADD="-pie -Wl,-z,defs,-z,relro" make LDADD="-pie -Wl,-z,defs,-z,relro,-z,now"
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -79,6 +79,9 @@ rm -rf $RPM_BUILD_ROOT
%exclude %{_sysconfdir}/stunnel/* %exclude %{_sysconfdir}/stunnel/*
%changelog %changelog
*Mon Dec 10 2012 Avesh Agarwal <avagarwa@redhat.com> - 4.54-2
- 884183: support for full relro.
*Tue Oct 16 2012 Avesh Agarwal <avagarwa@redhat.com> - 4.54-1 *Tue Oct 16 2012 Avesh Agarwal <avagarwa@redhat.com> - 4.54-1
- New upstream realease 4.54 - New upstream realease 4.54
- Updated local patches - Updated local patches