]>
Commit | Line | Data |
---|---|---|
38d05f8c | 1 | Summary: SSLv3/TLS network protocol analyzer |
a1367123 | 2 | Summary(pl.UTF-8): Analizator protokołu sieciowego SSLv3/TLS |
38d05f8c AM |
3 | Name: ssldump |
4 | Version: 0.9b3 | |
4f2a63ee | 5 | Release: 2 |
38d05f8c AM |
6 | Epoch: 0 |
7 | License: BSD | |
8 | Group: Applications/Networking | |
9 | Source0: http://www.rtfm.com/ssldump/%{name}-%{version}.tar.gz | |
10 | # Source0-md5: ac8c28fe87508d6bfb06344ec496b1dd | |
0b750ea2 | 11 | Patch0: %{name}-openssl.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 |
39 | ||
38d05f8c AM |
40 | sed -i -e 's#libpcap.a#libpcap.so#g' configure* |
41 | sed -i -e 's#net/bpf.h#pcap-bpf.h#g' base/pcap-snoop.c | |
42 | ||
43 | %build | |
44 | cp -f %{_datadir}/automake/config.* . | |
45 | %{__aclocal} | |
46 | %{__autoconf} | |
47 | %configure \ | |
48 | --with-pcap-inc=%{_includedir} \ | |
49 | --with-pcap-lib=%{_libdir} | |
50 | %{__make} | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %{__make} install \ | |
56 | BINDIR=$RPM_BUILD_ROOT%{_sbindir} \ | |
57 | MANDIR=$RPM_BUILD_ROOT%{_mandir} | |
58 | ||
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
64 | %doc CREDITS README | |
65 | %attr(755,root,root) %{_sbindir}/ssldump | |
66 | %{_mandir}/man1/* |