]> git.pld-linux.org Git - packages/sslsplit.git/blame - sslsplit.spec
- rebuild with openssl 3.0.0, rel 2
[packages/sslsplit.git] / sslsplit.spec
CommitLineData
4d44774e 1Summary: Transparent and scalable SSL/TLS interception
23cf3446 2Summary(pl.UTF-8): Przezroczyste i skalowalne przechwytywanie SSL/TLS
4d44774e 3Name: sslsplit
23cf3446 4Version: 0.5.5
8f590134 5Release: 2
4d44774e 6License: BSD
4d44774e 7Group: Applications/System
23cf3446
JB
8# see also https://github.com/droe/sslsplit/releases
9#Source0: https://github.com/droe/sslsplit/archive/%{version}/%{name}-%{version}.tar.gz
10Source0: https://mirror.roe.ch/rel/sslsplit/%{name}-%{version}.tar.bz2
11# Source0-md5: c9628996a930bd18ce8e635dbedf0362
8f590134 12Patch0: openssl3.patch
23cf3446 13URL: https://www.roe.ch/SSLsplit
4d44774e 14BuildRequires: check-devel
23cf3446
JB
15BuildRequires: libevent-devel >= 2
16BuildRequires: libnet-devel >= 1:1.1
17BuildRequires: libpcap-devel
4d44774e 18BuildRequires: openssl-devel
23cf3446
JB
19BuildRequires: pkgconfig
20BuildRequires: zlib-devel
4d44774e
AM
21Requires: iproute2
22Requires: iptables
56dcb5e9 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
4d44774e
AM
24
25%description
26SSLsplit is a tool for man-in-the-middle attacks against SSL/TLS
27encrypted network connections. Connections are transparently
28intercepted through a network address translation engine and
29redirected to SSLsplit. SSLsplit terminates SSL/TLS and initiates a
30new SSL/TLS connection to the original destination address, while
31logging all data transmitted. SSLsplit is intended to be useful for
32network forensics and penetration testing.
33
34It uses Linux netfilter REDIRECT and TPROXY.
35
23cf3446
JB
36%description -l pl.UTF-8
37SSLsplit to narzędzie do ataków MITM przeciw połączeniom sieciowym
38szyfrowanym SSL/TLS. Połączenia są w sposób przezroczysty
39przechwytywane przez silnik tłumaczenia adresów sieciowych i
40przekierowywane do narzędzia SSLsplit. SSLsplit przerywa SSL/TLS i
41rozpoczyna nowe połączenie SSL/TLS do oryginalnego adresu docelowego,
42logując całe przesyłane dane. SSLsplit jest przeznaczony do śledzenia
43sieci oraz testów penetracyjnych.
44
45Narzędzie wykorzystuje funkcjonalność REDIRECT i TPROXY z linuksowego
46netfiltra.
47
4d44774e
AM
48%prep
49%setup -q
8f590134 50%patch0 -p1
4d44774e
AM
51
52%build
53%{__make} \
54 CC="%{__cc}" \
8f590134 55 CFLAGS="%{rpmcflags} %{rpmcppflags}" \
23cf3446
JB
56 DEBUG_CFLAGS="%{rpmcflags} %{rpmcppflags}" \
57 PKG_LDFLAGS="%{rpmldflags}"
4d44774e
AM
58
59%install
60rm -rf $RPM_BUILD_ROOT
4d44774e 61
23cf3446
JB
62%{__make} install \
63 DESTDIR=$RPM_BUILD_ROOT \
64 PREFIX=%{_prefix} \
65 SYSCONFDIR=%{_sysconfdir}
66
67%{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/sslsplit/sslsplit.conf{.sample,}
4d44774e
AM
68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%files
73%defattr(644,root,root,755)
23cf3446 74%doc AUTHORS.md NEWS.md LICENSE LICENSE.third README.md SECURITY.md
56dcb5e9 75%attr(755,root,root) %{_bindir}/sslsplit
23cf3446
JB
76%dir %{_sysconfdir}/sslsplit
77%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sslsplit/sslsplit.conf
4d44774e 78%{_mandir}/man1/sslsplit.1*
23cf3446 79%{_mandir}/man5/sslsplit.conf.5*
This page took 0.239958 seconds and 4 git commands to generate.