commit 20c74b3244b095304d32cb18c7d98cdc7a5a1de6
Author: Paul Wouters <pwouters(a)redhat.com>
Date: Tue Sep 30 16:24:17 2014 -0400
- Initial package for epel7
.gitignore | 1 +
sources | 2 +-
sslsplit.spec | 40 ++++++----------------------------------
3 files changed, 8 insertions(+), 35 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 182aa21..ac833dd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/sslsplit-0.4.5.tar.bz2
/0.4.5.tar.gz
/0.4.8.tar.gz
+/sslsplit-0.4.8.tar.bz2
diff --git a/sources b/sources
index 419ee24..1d8f7c9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8849a1635e612e6eb69b33d77a8414a9 0.4.8.tar.gz
+69599e796973e7c9a55f16b83b9626e7 sslsplit-0.4.8.tar.bz2
diff --git a/sslsplit.spec b/sslsplit.spec
index 1fe16b0..7d6bc6b 100644
--- a/sslsplit.spec
+++ b/sslsplit.spec
@@ -1,10 +1,11 @@
+%global _hardened_build 1
Summary: Transparent and scalable SSL/TLS interception
Name: sslsplit
Version: 0.4.8
Release: 3%{?dist}
License: BSD
Url:
http://www.roe.ch/SSLsplit
-Source:
https://github.com/droe/%{name}/archive/%{version}.tar.gz
+Source:
http://mirror.roe.ch/rel/%{name}/%{name}-%{version}.tar.bz2
Group: Applications/System
Buildrequires: libevent-devel, openssl-devel, check-devel
Requires: iptables, iproute
@@ -21,12 +22,11 @@ It uses Linux netfilter REDIRECT and TPROXY
%prep
%setup -q
-# disable the ecc test - ECC is not allowed in Fedora and stripped from openssl
-sed -i "s/rsa dsa ec/rsa dsa /" extra/pki/GNUmakefile
%build
# work around some odd build system option passing
-export CFLAGS="%{optflags}"
+export CFLAGS="%{optflags} -fPIE -pie"
+export LDFLAGS="$LDFLAGS -Wl,-z,relro,-z,now -pie"
export DEBUG_CFLAGS="%{optflags}"
make %{?_smp_mflags}
@@ -45,33 +45,5 @@ cp -a %{name}.1 %{buildroot}%{_mandir}/man1/
%{_mandir}/*/*
%changelog
-* Mon Aug 18 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.4.8-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
-
-* Sun Jun 08 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.4.8-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
-
-* Wed Jan 29 2014 Patrick Uiterwijk <puiterwijk(a)redhat.com> - 0.4.8-1
-- Rebase to upstream 0.4.8
-
-* Sun Aug 04 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.4.5-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
-
-* Wed Feb 13 2013 Patrick Uiterwijk <puiterwijk(a)gmail.com> - 0.4.5-1
-- Rebase to upstream 0.4.5
-- Switched to usage of Github download links
-
-* Mon Jul 30 2012 Paul Wouters <pwouters(a)redhat.com> - 0.4.4-4
-- Disable make test, as it requires a network connection
-
-* Sat Jul 28 2012 Paul Wouters <pwouters(a)redhat.com> - 0.4.4-3
-- Fix permission of binary to 755
-
-* Fri Jul 27 2012 Paul Wouters <pwouters(a)redhat.com> - 0.4.4-2
-- Fix missing buildrequire for check-devel
-- Run make check
-- No need to compress man pages
-- No mixing of macro styles
-
-* Mon May 28 2012 Paul Wouters <pwouters(a)redhat.com> - 0.4.4-1
-- Initial package
+* Tue Sep 30 2014 Paul Wouters <pwouters(a)redhat.com> - 0.4.8-3
+- Initial package for epel7