File ssldump.spec of Package ssldump

# spec file for package ssldump (Version 0.9b3)
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# Please submit bugfixes or comments via

# norootforbuild

Name:           ssldump
BuildRequires:  libpcap-devel openssl-devel
Version:        0.9b3
Release:        145
Summary:        SSLv3/TLS Network Protocol Analyzer
License:        BSD 3-Clause
Group:          Productivity/Networking/Diagnostic
Autoreqprov:    on
Source:         ssldump-%{version}.tar.gz
Patch:          ssldump-0.9b3-libpcap.diff
Patch1:         random_return.patch
Patch2:         ssldump-0.9b3-aes.patch
Patch3:         implicit_def.patch
Patch4:         ssldump-0.9b3-newssl.patch
Patch5:         ssldump-cvs-06-19-2006.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

ssldump is an SSLv3/TLS network protocol analyzer. It identifies TCP
connections on the chosen network interface and attempts to interpret
them as SSLv3/TLS traffic. When it identifies SSLv3/TLS traffic, it
decodes the records and outputs them in a textual form to stdout. If
provided with the appropriate keying material, it also decrypts the
connections and displays the application data traffic.

    Eric Rescorla <>

%setup -n ssldump-%{version}
%patch2 -p 1
%patch5 -p 1

libtoolize --force
export CFLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing"
./configure --mandir=%{_mandir} \
	    --prefix=%{_prefix} \
	    --libdir=%{_libdir} \

make BINDIR=$RPM_BUILD_ROOT/%{_prefix}/sbin MANDIR=$RPM_BUILD_ROOT/%{_mandir} install


%doc %{_mandir}/man?/*.gz

* Thu Jul 26 2007 -
- changed libpcap to libpcap-devel in BuildRequires
* Tue Jun 05 2007 -
- add ssldump-cvs-06-19-2006.diff
- re-work patch for new ssl version
* Wed Jan 25 2006 -
- converted neededforbuild to BuildRequires
* Fri Oct 14 2005 -
- include openssl/md5.h in ssldecode.c
* Wed Jul 06 2005 -
- #include <string.h> when using related functions
* Thu Feb 17 2005 -
- Bugfix Bugzilla ID#50952 - ssldump has no support for AES cipher-suites
* Fri Apr 23 2004 -
- use -fno-strict-aliasing to compile
- fixed two functions which does not return anything matching
  their prototypes
* Thu Feb 12 2004 -
- adapt to change in libpcap: include moved to pcap_bpf.h
* Mon Nov 03 2003 -
- make it build on biarch platforms
* Fri Oct 31 2003 -
- new package (v0.9b3)