]> git.pld-linux.org Git - packages/ssldump.git/blame - ssldump.spec
- initial pld release
[packages/ssldump.git] / ssldump.spec
CommitLineData
38d05f8c
AM
1#
2Summary: SSLv3/TLS network protocol analyzer
3Name: ssldump
4Version: 0.9b3
5Release: 1
6Epoch: 0
7License: BSD
8Group: Applications/Networking
9Source0: http://www.rtfm.com/ssldump/%{name}-%{version}.tar.gz
10# Source0-md5: ac8c28fe87508d6bfb06344ec496b1dd
11URL: http://www.rtfm.com/ssldump/
12BuildRequires: automake
13BuildRequires: autoconf
14BuildRequires: libpcap-devel >= 2:0.8.3
15BuildRequires: openssl-devel >= 0.9.7d
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19ssldump is an SSLv3/TLS network protocol analyzer. It identifies TCP
20connections on the chosen network interface and attempts to interpret
21them as SSLv3/TLS traffic. When it identifies SSLv3/TLS traffic, it
22decodes the records and displays them in a textual form to stdout. If
23provided with the appropriate keying material, it will also decrypt
24the connections and display the application data traffic.
25
26
27%prep
28%setup -q
29sed -i -e 's#libpcap.a#libpcap.so#g' configure*
30sed -i -e 's#net/bpf.h#pcap-bpf.h#g' base/pcap-snoop.c
31
32%build
33cp -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
42rm -rf $RPM_BUILD_ROOT
43
44%{__make} install \
45 BINDIR=$RPM_BUILD_ROOT%{_sbindir} \
46 MANDIR=$RPM_BUILD_ROOT%{_mandir}
47
48%clean
49rm -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.088592 seconds and 4 git commands to generate.