From e5e8eac8b5711758d985681e595abc00e1e9b77a Mon Sep 17 00:00:00 2001 From: "Gabriel L. Somlo" Date: Wed, 1 May 2013 21:33:07 -0400 Subject: [PATCH 1/3] rebuild with PIE (#955286) --- vtun.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vtun.spec b/vtun.spec index 91a05ae..a66c301 100644 --- a/vtun.spec +++ b/vtun.spec @@ -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,8 +64,8 @@ make install DESTDIR=%{buildroot} INSTALL_OWNER= INSTALL="/usr/bin/install -p" %{_mandir}/man8/vtund.8* %changelog -* Fri Feb 15 2013 Fedora Release Engineering - 3.0.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild +* Wed May 01 2013 Gabriel Somlo 3.0.3-3 +- rebuild with PIE (#955286) * Sun Sep 16 2012 Gabriel Somlo 3.0.3-2 - avoid stripping too early to preserve debuginfo (#857716) From 7a33c3d8533e1719232534d7ae4103f4eacb2c51 Mon Sep 17 00:00:00 2001 From: "Gabriel L. Somlo" Date: Wed, 1 May 2013 21:47:05 -0400 Subject: [PATCH 2/3] rebuild with PIE (#955286) --- vtun.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vtun.spec b/vtun.spec index a66c301..64c276f 100644 --- a/vtun.spec +++ b/vtun.spec @@ -1,6 +1,6 @@ Name: vtun Version: 3.0.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Virtual tunnel over TCP/IP networks License: GPLv2+ Group: System Environment/Daemons @@ -64,9 +64,12 @@ make install DESTDIR=%{buildroot} INSTALL_OWNER= INSTALL="/usr/bin/install -p" %{_mandir}/man8/vtund.8* %changelog -* Wed May 01 2013 Gabriel Somlo 3.0.3-3 +* Wed May 01 2013 Gabriel Somlo 3.0.3-4 - rebuild with PIE (#955286) +* Fri Feb 15 2013 Fedora Release Engineering +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Sun Sep 16 2012 Gabriel Somlo 3.0.3-2 - avoid stripping too early to preserve debuginfo (#857716) From dac28fa7af2717e02e1cf38982475619592d5e64 Mon Sep 17 00:00:00 2001 From: "Gabriel L. Somlo" Date: Mon, 13 May 2013 10:35:22 -0400 Subject: [PATCH 3/3] added autoconf step to support aarch64 (#926708) --- vtun.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/vtun.spec b/vtun.spec index 64c276f..bf5be37 100644 --- a/vtun.spec +++ b/vtun.spec @@ -1,6 +1,6 @@ Name: vtun Version: 3.0.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Virtual tunnel over TCP/IP networks License: GPLv2+ Group: System Environment/Daemons @@ -13,7 +13,7 @@ Patch0: vtun-nostrip.patch Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units -BuildRequires: zlib-devel lzo-devel openssl-devel bison flex systemd-units +BuildRequires: zlib-devel lzo-devel openssl-devel bison flex systemd-units autoconf #enable PIE/PIC: %global _hardened_build 1 @@ -33,6 +33,7 @@ require modification to any kernel parts. %patch0 -p1 %build +%{__autoconf} %configure make %{?_smp_mflags} @@ -64,6 +65,9 @@ make install DESTDIR=%{buildroot} INSTALL_OWNER= INSTALL="/usr/bin/install -p" %{_mandir}/man8/vtund.8* %changelog +* Mon May 13 2013 Gabriel Somlo 2.0.5-5 +- added autoconf step to support aarch64 (#926708) + * Wed May 01 2013 Gabriel Somlo 3.0.3-4 - rebuild with PIE (#955286)