[vtun/f18] rebuild with PIE (#955286)

Gabriel L. Somlo somlo at fedoraproject.org
Thu May 2 01:33:35 UTC 2013


commit 979982f5d5ea85c2059abd8856dc4c8451457415
Author: Gabriel L. Somlo <somlo at cmu.edu>
Date:   Wed May 1 21:33:33 2013 -0400

    rebuild with PIE (#955286)

 vtun.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/vtun.spec b/vtun.spec
index ba51fc2..a66c301 100644
--- a/vtun.spec
+++ b/vtun.spec
@@ -1,6 +1,6 @@
 Name: vtun
 Version: 3.0.3
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: Virtual tunnel over TCP/IP networks
 License: GPLv2+
 Group: System Environment/Daemons
@@ -15,6 +15,9 @@ Requires(preun): systemd-units
 Requires(postun): systemd-units
 BuildRequires: zlib-devel lzo-devel openssl-devel bison flex systemd-units
 
+#enable PIE/PIC:
+%global _hardened_build 1
+
 %description
 VTun provides a method for creating Virtual Tunnels over TCP/IP networks
 and allows one to shape, compress, and encrypt traffic in those tunnels.
@@ -61,6 +64,9 @@ make install DESTDIR=%{buildroot} INSTALL_OWNER= INSTALL="/usr/bin/install -p"
 %{_mandir}/man8/vtund.8*
 
 %changelog
+* Wed May 01 2013 Gabriel Somlo <somlo at cmu.edu> 3.0.3-3
+- rebuild with PIE (#955286)
+
 * Sun Sep 16 2012 Gabriel Somlo <somlo at cmu.edu> 3.0.3-2
 - avoid stripping too early to preserve debuginfo (#857716)
 


More information about the scm-commits mailing list