rpms/tcpreplay/devel tcpreplay-configure-libpcap.patch, NONE, 1.1 tcpreplay.spec, 1.2, 1.3
Bojan Smojver (bojan)
fedora-extras-commits at redhat.com
Fri May 4 01:13:39 UTC 2007
Author: bojan
Update of /cvs/extras/rpms/tcpreplay/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14630
Modified Files:
tcpreplay.spec
Added Files:
tcpreplay-configure-libpcap.patch
Log Message:
Add libpcap detection patch.
tcpreplay-configure-libpcap.patch:
--- NEW FILE tcpreplay-configure-libpcap.patch ---
--- configure.orig 2007-05-02 14:58:03.000000000 +1000
+++ configure 2007-05-04 11:08:49.000000000 +1000
@@ -25659,9 +25659,9 @@
LPCAPINC="${testdir}/include/pcap.h"
LPCAPINCDIR="${testdir}/include"
if test $dynamic_link = yes; then
- if test -f "${testdir}/lib64/libpcap.a" ; then
+ if test -f "${testdir}/lib64/libpcap.so" ; then
LPCAPLIB="-L${testdir}/lib64 -lpcap"
- elif test -f "${testdir}/lib/libpcap.a" ; then
+ elif test -f "${testdir}/lib/libpcap.so" ; then
LPCAPLIB="-L${testdir}/lib -lpcap"
else
{ { echo "$as_me:$LINENO: error: Unable to find libpcap in ${testdir}" >&5
Index: tcpreplay.spec
===================================================================
RCS file: /cvs/extras/rpms/tcpreplay/devel/tcpreplay.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- tcpreplay.spec 4 May 2007 00:45:28 -0000 1.2
+++ tcpreplay.spec 4 May 2007 01:13:05 -0000 1.3
@@ -7,13 +7,14 @@
Name: tcpreplay
Version: 3.0.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Replay captured network traffic
Group: Applications/Internet
License: BSD
URL: http://tcpreplay.synfin.net/trac/
Source: http://prdownloads.sourceforge.net/tcpreplay/tcpreplay-%{version}.tar.gz
+Patch0: tcpreplay-configure-libpcap.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{pcapdep} >= 0.8.0, tcpdump
@@ -28,6 +29,7 @@
%prep
%setup -q
+%patch0 -p0 -b .libpcap
%build
%configure --enable-dynamic-link --disable-libopts-install \
@@ -60,6 +62,9 @@
%{_bindir}/*
%changelog
+* Fri May 04 2007 Bojan Smojver <bojan at rexursive com> - 3.0.1-2
+- static libraries not shipped in FC7 - fix libpcap.so detection
+
* Thu May 03 2007 Bojan Smojver <bojan at rexursive com> - 3.0.1-1
- Bump up to new release 3.0.1
- flowreplay doesn't compile, will enable when it does
More information about the fedora-extras-commits
mailing list