rpms/tcpreplay/devel .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 tcpreplay.spec, 1.1, 1.2 tcpreplay-Makefile.in-destdir.patch, 1.1, NONE
Bojan Smojver (bojan)
fedora-extras-commits at redhat.com
Fri May 4 00:46:04 UTC 2007
Author: bojan
Update of /cvs/extras/rpms/tcpreplay/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5165
Modified Files:
.cvsignore sources tcpreplay.spec
Removed Files:
tcpreplay-Makefile.in-destdir.patch
Log Message:
New upstream version, 3.0.1.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/tcpreplay/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 17 Apr 2007 22:14:17 -0000 1.2
+++ .cvsignore 4 May 2007 00:45:28 -0000 1.3
@@ -1 +1 @@
-tcpreplay-2.3.5.tar.gz
+tcpreplay-3.0.1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/tcpreplay/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 17 Apr 2007 22:14:17 -0000 1.2
+++ sources 4 May 2007 00:45:28 -0000 1.3
@@ -1 +1 @@
-fff1c5a382bc869caabfb20f4b3b3dad tcpreplay-2.3.5.tar.gz
+70544d4320a4fc6e596d9033cf824a86 tcpreplay-3.0.1.tar.gz
Index: tcpreplay.spec
===================================================================
RCS file: /cvs/extras/rpms/tcpreplay/devel/tcpreplay.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- tcpreplay.spec 17 Apr 2007 22:14:17 -0000 1.1
+++ tcpreplay.spec 4 May 2007 00:45:28 -0000 1.2
@@ -6,59 +6,64 @@
%endif
Name: tcpreplay
-Version: 2.3.5
-Release: 4%{?dist}
+Version: 3.0.1
+Release: 1%{?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-Makefile.in-destdir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: libnet-devel >= 1.1, %{pcapdep} >= 0.5, tcpdump
+BuildRequires: %{pcapdep} >= 0.8.0, tcpdump
Requires: /usr/sbin/tcpdump
%description
-Tcpreplay is a tool to replay captured network traffic. Currently, tcpreplay
-supports pcap (tcpdump) and snoop capture formats. Also included, is tcpprep
+Tcpreplay is a tool to replay captured network traffic. Currently, tcpreplay
+supports pcap (tcpdump) and snoop capture formats. Also included, is tcpprep
a tool to pre-process capture files to allow increased performance under
certain conditions as well as capinfo which provides basic information about
capture files.
%prep
%setup -q
-%patch0 -p0 -b .destdir
%build
-%configure
+%configure --enable-dynamic-link --disable-libopts-install \
+ --enable-64bits
+
# make sure we use proper CFLAGS
-%{__sed} -ie 's/^CFLAGS.*/CFLAGS=${RPM_OPT_FLAGS}/' Makefile
+%{__sed} -i \
+ -e 's/^CFLAGS.*/CFLAGS=${RPM_OPT_FLAGS} -std=gnu99/' \
+ $(find . -name Makefile)
+
# remove unneeded docs
-%{__rm} -f Docs/INSTALL Docs/WARNINGS Docs/*.dvi Docs/*.tex Docs/*.lyx \
- Docs/*.fig Docs/*.pl Docs/*.pdf Docs/*.ps Docs/*.eps Docs/*.aux \
- Docs/*.log Docs/Makefile
-# fix source file permissions
-%{__chmod} -x *.c
+%{__rm} -f docs/INSTALL docs/Makefile*
+
+# fix wrong permissions
+%{__chmod} -x src/*.c src/common/*.c
+
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
-%{__make} install DESTDIR=%{buildroot}
+%{__make} %{?_smp_mflags} DESTDIR=%{buildroot} install
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, -)
-%doc Docs/*
+%doc README docs/*
%doc %{_mandir}/man1/*
-%doc %{_mandir}/man8/*
%{_bindir}/*
-%{_sbindir}/*
%changelog
+* 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
+
* Tue Apr 17 2007 Bojan Smojver <bojan at rexursive com> - 2.3.5-4
- Remove Makefile from docs
--- tcpreplay-Makefile.in-destdir.patch DELETED ---
More information about the fedora-extras-commits
mailing list