]> git.pld-linux.org Git - packages/ssldump.git/blob - ssldump.spec
4356e9be50e5f98944ede0bb183fb268a908f5d5
[packages/ssldump.git] / ssldump.spec
1 #
2 Summary:        SSLv3/TLS network protocol analyzer
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:  automake
13 BuildRequires:  autoconf
14 BuildRequires:  libpcap-devel >= 2:0.8.3
15 BuildRequires:  openssl-devel >= 0.9.7d
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 ssldump is an SSLv3/TLS network protocol analyzer. It identifies TCP
20 connections on the chosen network interface and attempts to interpret
21 them as SSLv3/TLS traffic. When it identifies SSLv3/TLS traffic, it
22 decodes the records and displays them in a textual form to stdout. If
23 provided with the appropriate keying material, it will also decrypt
24 the connections and display the application data traffic.
25
26
27 %prep
28 %setup -q
29 sed -i -e 's#libpcap.a#libpcap.so#g' configure*
30 sed -i -e 's#net/bpf.h#pcap-bpf.h#g' base/pcap-snoop.c
31
32 %build
33 cp -f %{_datadir}/automake/config.* .
34 %{__aclocal}
35 %{__autoconf}
36 %configure \
37         --with-pcap-inc=%{_includedir} \
38         --with-pcap-lib=%{_libdir}
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install \
45         BINDIR=$RPM_BUILD_ROOT%{_sbindir} \
46         MANDIR=$RPM_BUILD_ROOT%{_mandir}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc CREDITS README
54 %attr(755,root,root) %{_sbindir}/ssldump
55 %{_mandir}/man1/*
This page took 0.034825 seconds and 3 git commands to generate.