]> git.pld-linux.org Git - packages/ssldump.git/blob - ssldump.spec
26ed71bb615f779468b0029d532e0de178b80bfd
[packages/ssldump.git] / ssldump.spec
1 Summary:        SSLv3/TLS network protocol analyzer
2 Summary(pl):    Analizator protoko³u sieciowego SSLv3/TLS
3 Name:           ssldump
4 Version:        0.9b3
5 Release:        1
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
11 URL:            http://www.rtfm.com/ssldump/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libpcap-devel >= 2:0.8.3
15 BuildRequires:  openssl-devel >= 0.9.7d
16 BuildRequires:  sed >= 4.0
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 ssldump is an SSLv3/TLS network protocol analyzer. It identifies TCP
21 connections on the chosen network interface and attempts to interpret
22 them as SSLv3/TLS traffic. When it identifies SSLv3/TLS traffic, it
23 decodes the records and displays them in a textual form to stdout. If
24 provided with the appropriate keying material, it will also decrypt
25 the connections and display the application data traffic.
26
27 %description -l pl
28 ssldump to analizator protoko³u sieciowego SSLv3/TLS. Identyfikuje
29 po³±czenia TCP na wybranym interfejsie sieciowym i próbuje
30 interpretowaæ je jako ruch SSLv3/TLS. Po zidentyfikowaniu ruchu
31 SSLv3/TLS dekoduje rekordy i wy¶wietla je w postaci tekstowej na
32 standardowym wyj¶ciu. W przypadku wyposarzenia we w³a¶ciwe klucze
33 bêdzie tak¿e dekodowa³ po³±czenia i wy¶wietla³ ruch danych aplikacji.
34
35 %prep
36 %setup -q
37 sed -i -e 's#libpcap.a#libpcap.so#g' configure*
38 sed -i -e 's#net/bpf.h#pcap-bpf.h#g' base/pcap-snoop.c
39
40 %build
41 cp -f %{_datadir}/automake/config.* .
42 %{__aclocal}
43 %{__autoconf}
44 %configure \
45         --with-pcap-inc=%{_includedir} \
46         --with-pcap-lib=%{_libdir}
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         BINDIR=$RPM_BUILD_ROOT%{_sbindir} \
54         MANDIR=$RPM_BUILD_ROOT%{_mandir}
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc CREDITS README
62 %attr(755,root,root) %{_sbindir}/ssldump
63 %{_mandir}/man1/*
This page took 0.054089 seconds and 3 git commands to generate.