- enable crypto support on 64-bit architectures

- update license tag
This commit is contained in:
Miroslav Lichvar 2007-08-09 14:50:50 +00:00
parent 3c2aa50027
commit 4e81eb0b72
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,12 @@
--- tcpdump-3.9.7/configure.crypto 2006-09-19 21:07:56.000000000 +0200
+++ tcpdump-3.9.7/configure 2007-08-01 14:43:55.000000000 +0200
@@ -12814,7 +12814,8 @@ for dir in $Xprefix /usr/${host_alias} /
#
# Or should we just look for "libcrypto.*"?
#
- if test -d $dir/lib -a \( -f $dir/lib/libcrypto.a -o \
+ if test \( -f $dir/lib/libcrypto.a -o \
+ -f $dir/lib64/libcrypto.so -o \
-f $dir/lib/libcrypto.so -o \
-f $dir/lib/libcrypto.sl -o \
-f $dir/lib/libcrypto.dylib \); then

View File

@ -3,7 +3,7 @@ Name: tcpdump
Epoch: 14
Version: 3.9.7
Release: 2%{?dist}
License: BSD
License: BSD with advertising
URL: http://www.tcpdump.org
Group: Applications/Internet
Requires(pre): shadow-utils
@ -14,6 +14,7 @@ Source0: http://www.tcpdump.org/release/tcpdump-%{version}.tar.gz
Source1: ftp://ftp.ee.lbl.gov/tcpslice-1.2a3.tar.gz
Patch1: tcpdump-3.9.7-droproot.patch
Patch2: tcpdump-3.6.1-portnumbers.patch
Patch3: tcpdump-3.9.7-crypto.patch
Patch5: tcpslice-1.2a3-time.patch
Patch6: tcpslice-CVS.20010207-bpf.patch
@ -32,6 +33,7 @@ Install tcpdump if you need a program to monitor network traffic.
%patch1 -p1 -b .droproot
%patch2 -p1 -b .portnumbers
%patch3 -p1 -b .crypto
pushd %{tcpslice_dir}
%patch5 -p1 -b .time
@ -87,6 +89,10 @@ exit 0
%{_mandir}/man8/tcpdump.8*
%changelog
* Thu Aug 09 2007 Miroslav Lichvar <mlichvar@redhat.com> - 14:3.9.7-3
- enable crypto support on 64-bit architectures
- update license tag
* Wed Jul 25 2007 Jeremy Katz <katzj@redhat.com> - 14:3.9.7-2
- rebuild for toolchain bug