]> git.pld-linux.org Git - packages/ssldump.git/blob - ssldump.spec
65ef3670ce6c716c2bb95b12477cc8b8d104ef26
[packages/ssldump.git] / ssldump.spec
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:        6
6 Epoch:          0
7 License:        BSD
8 Group:          Networking/Utilities
9 Source0:        http://www.rtfm.com/ssldump/%{name}-%{version}.tar.gz
10 # Source0-md5:  ac8c28fe87508d6bfb06344ec496b1dd
11 Patch0:         %{name}-openssl.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
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/*
This page took 0.025324 seconds and 2 git commands to generate.