Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 0804904f9c0b5f07635ce242d7103850 > files > 2

ssldump-0.9-0.beta3.2mdk.src.rpm

%define name	ssldump
%define version 0.9
%define realversion 0.9b3
%define release 0.beta3.2mdk


Name:		%{name}
Summary:	SSLv3/TLS network protocol analyzer
Version:	%{version}
Release:	%{release}
URL:		http://www.rtfm.com/ssldump/
Source0:	%{name}-%{realversion}.tar.bz2
Patch0:		ssldump_wrong_includes.patch.bz2

License:	BSD style
Group:		Monitoring

Requires:	openssl

BuildRequires:	openssl-devel, libpcap-devel
BuildRoot:	%{_tmppath}/%{name}-buildroot


%description
Ssldump is a SSLv3/TLS network protocol analyzer. It identifies TCP
connections on the chosen network interface and attempts to interpret
them as SSLv3/TLS traffic, it decodes the records and displays them in
a textual form to stdout. If provided with the appropriate keying
material, it will also decrypt the connections and display the
application data traffic.

This product includes software developed by Eric Rescorla for RTFM,
Inc.


%prep
rm -Rf $RPM_BUILD_ROOT

%setup -n %name-%realversion

%patch0 -p1

%build
%configure
%make


%install
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
install ssldump $RPM_BUILD_ROOT%{_sbindir}/ssldump
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
install --mode=0644 ssldump.1 $RPM_BUILD_ROOT%{_mandir}/man1/ssldump.1


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-, root, root, 0755)
%doc ChangeLog COPYRIGHT CREDITS README
%{_mandir}/man1/ssldump.1*
%{_sbindir}/ssldump


%changelog
* Fri Jul 02 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.9-0.beta3.2mdk
- patch0: use right include

* Mon Feb 17 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.9-0.beta3.1mdk
- from RĂ©mi Denis-Courmont <rdenis@simphalempin.com> 
	- spec file created for Mandrake