]>
Commit | Line | Data |
---|---|---|
1 | Summary: SSLv3/TLS network protocol analyzer | |
2 | Summary(pl.UTF-8): Analizator protokołu sieciowego SSLv3/TLS | |
3 | Name: ssldump | |
4 | Version: 0.9b3 | |
5 | Release: 7 | |
6 | License: BSD | |
7 | Group: Networking/Utilities | |
8 | Source0: http://www.rtfm.com/ssldump/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: ac8c28fe87508d6bfb06344ec496b1dd | |
10 | Patch0: %{name}-openssl.patch | |
11 | Patch1: aes-support.patch | |
12 | URL: http://www.rtfm.com/ssldump/ | |
13 | BuildRequires: autoconf | |
14 | BuildRequires: automake | |
15 | BuildRequires: libpcap-devel >= 2:0.8.3 | |
16 | BuildRequires: openssl-devel >= 0.9.7d | |
17 | BuildRequires: sed >= 4.0 | |
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 | ||
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. | |
35 | ||
36 | %prep | |
37 | %setup -q | |
38 | %patch0 -p1 | |
39 | %patch1 -p1 | |
40 | ||
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} \ | |
50 | --with-pcap-lib=%{_libdir} \ | |
51 | --with-openssl-lib=%{_libdir} | |
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/* |