]> git.pld-linux.org Git - packages/sslsplit.git/blob - sslsplit.spec
2fae2bd5255c76ec482e826889c5c1a4535e2c81
[packages/sslsplit.git] / sslsplit.spec
1 Summary:        Transparent and scalable SSL/TLS interception
2 Name:           sslsplit
3 Version:        0.5.3
4 Release:        1
5 License:        BSD
6 Source0:        https://github.com/droe/sslsplit/archive/%{version}.tar.gz
7 # Source0-md5:  1406437512f8392558aaf311007a0d35
8 Group:          Applications/System
9 URL:            http://www.roe.ch/SSLsplit
10 BuildRequires:  check-devel
11 BuildRequires:  libevent-devel
12 BuildRequires:  openssl-devel
13 Requires:       iproute2
14 Requires:       iptables
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 SSLsplit is a tool for man-in-the-middle attacks against SSL/TLS
19 encrypted network connections. Connections are transparently
20 intercepted through a network address translation engine and
21 redirected to SSLsplit. SSLsplit terminates SSL/TLS and initiates a
22 new SSL/TLS connection to the original destination address, while
23 logging all data transmitted. SSLsplit is intended to be useful for
24 network forensics and penetration testing.
25
26 It uses Linux netfilter REDIRECT and TPROXY.
27
28 %prep
29 %setup -q
30
31 %build
32 %{__make} \
33         CC="%{__cc}" \
34         DEBUG_CFLAGS="%{rpmcflags} %{rpmcppflags}"
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
39
40 install -p %{name} $RPM_BUILD_ROOT%{_bindir}
41 cp -p %{name}.1  $RPM_BUILD_ROOT%{_mandir}/man1
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc README.md NEWS.md
49 %attr(755,root,root) %{_bindir}/sslsplit
50 %{_mandir}/man1/sslsplit.1*
This page took 0.061233 seconds and 2 git commands to generate.