]>
Commit | Line | Data |
---|---|---|
38d05f8c | 1 | Summary: SSLv3/TLS network protocol analyzer |
50ca7bdc | 2 | Summary(pl.UTF-8): Analizator protokołu sieciowego SSLv3/TLS |
38d05f8c AM |
3 | Name: ssldump |
4 | Version: 0.9b3 | |
fd324c6e | 5 | Release: 7 |
38d05f8c | 6 | License: BSD |
cbaa17e7 | 7 | Group: Networking/Utilities |
38d05f8c AM |
8 | Source0: http://www.rtfm.com/ssldump/%{name}-%{version}.tar.gz |
9 | # Source0-md5: ac8c28fe87508d6bfb06344ec496b1dd | |
0b750ea2 | 10 | Patch0: %{name}-openssl.patch |
fd324c6e | 11 | Patch1: aes-support.patch |
38d05f8c | 12 | URL: http://www.rtfm.com/ssldump/ |
38d05f8c | 13 | BuildRequires: autoconf |
1fa37015 | 14 | BuildRequires: automake |
38d05f8c AM |
15 | BuildRequires: libpcap-devel >= 2:0.8.3 |
16 | BuildRequires: openssl-devel >= 0.9.7d | |
1fa37015 | 17 | BuildRequires: sed >= 4.0 |
38d05f8c AM |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | ssldump is an SSLv3/TLS network protocol analyzer. It identifies TCP | |
22 | connections on the chosen network interface and attempts to interpret | |
23 | them as SSLv3/TLS traffic. When it identifies SSLv3/TLS traffic, it | |
24 | decodes the records and displays them in a textual form to stdout. If | |
25 | provided with the appropriate keying material, it will also decrypt | |
26 | the connections and display the application data traffic. | |
27 | ||
a1367123 JR |
28 | %description -l pl.UTF-8 |
29 | ssldump to analizator protokołu sieciowego SSLv3/TLS. Identyfikuje | |
30 | połączenia TCP na wybranym interfejsie sieciowym i próbuje | |
31 | interpretować je jako ruch SSLv3/TLS. Po zidentyfikowaniu ruchu | |
32 | SSLv3/TLS dekoduje rekordy i wyświetla je w postaci tekstowej na | |
33 | standardowym wyjściu. W przypadku wyposarzenia we właściwe klucze | |
34 | będzie także dekodował połączenia i wyświetlał ruch danych aplikacji. | |
38d05f8c AM |
35 | |
36 | %prep | |
37 | %setup -q | |
0b750ea2 | 38 | %patch0 -p1 |
fd324c6e | 39 | %patch1 -p1 |
0b750ea2 | 40 | |
38d05f8c AM |
41 | sed -i -e 's#libpcap.a#libpcap.so#g' configure* |
42 | sed -i -e 's#net/bpf.h#pcap-bpf.h#g' base/pcap-snoop.c | |
43 | ||
44 | %build | |
45 | cp -f %{_datadir}/automake/config.* . | |
46 | %{__aclocal} | |
47 | %{__autoconf} | |
48 | %configure \ | |
49 | --with-pcap-inc=%{_includedir} \ | |
fd324c6e MB |
50 | --with-pcap-lib=%{_libdir} \ |
51 | --with-openssl-lib=%{_libdir} | |
38d05f8c AM |
52 | %{__make} |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %{__make} install \ | |
58 | BINDIR=$RPM_BUILD_ROOT%{_sbindir} \ | |
59 | MANDIR=$RPM_BUILD_ROOT%{_mandir} | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %files | |
65 | %defattr(644,root,root,755) | |
66 | %doc CREDITS README | |
67 | %attr(755,root,root) %{_sbindir}/ssldump | |
68 | %{_mandir}/man1/* |