public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/tcpreplay] epel9: Update to 4.6.0
@ 2026-07-28  2:34 Bojan Smojver
  0 siblings, 0 replies; 2+ messages in thread
From: Bojan Smojver @ 2026-07-28  2:34 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/tcpreplay
            Branch : epel9
            Commit : f3eb93c687ef79f431e5deda861b8293ee877af7
            Author : Bojan Smojver <bojan@rexursive.com>
            Date   : 2026-07-28T12:33:11+10:00
            Stats  : +25/-52 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/tcpreplay/c/f3eb93c687ef79f431e5deda861b8293ee877af7?branch=epel9

            Log:
            Update to 4.6.0

Add -devel and -static for headers, pkgconfig file and static library

---
diff --git a/tcpreplay-4.5.1-configure_ac.patch b/tcpreplay-4.5.1-configure_ac.patch
deleted file mode 100644
index 06d2a84..0000000
--- a/tcpreplay-4.5.1-configure_ac.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- tcpreplay-4.5.1/configure.ac.org	2025-01-26 10:21:46.751142871 +1100
-+++ tcpreplay-4.5.1/configure.ac	2025-01-26 10:43:21.592419510 +1100
-@@ -1498,25 +1498,6 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
- ])
- 
- have_tx_ring=no
--dnl Check for older Linux TX_RING support
--AC_MSG_CHECKING(for TX_RING socket sending support)
--AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
--#include <sys/socket.h>
--#include <netpacket/packet.h>
--#include <net/ethernet.h>     /* the L2 protocols */
--#include <netinet/in.h>       /* htons */
--#include <linux/if_packet.h>
--]], [[
--    int test;
--    test = TP_STATUS_WRONG_FORMAT
--]])],[
--    AC_DEFINE([HAVE_TX_RING], [1],
--            [Do we have Linux TX_RING socket support?])
--    AC_MSG_RESULT(yes)
--    have_tx_ring=yes
--],[
--    AC_MSG_RESULT(no)
--])
- 
- AC_CHECK_HEADERS([bpf/libbpf.h])
- AC_CHECK_HEADERS([bpf/bpf.h])

diff --git a/tcpreplay-4.5.2-txring_h.patch b/tcpreplay-4.5.2-txring_h.patch
deleted file mode 100644
index a3b7e9f..0000000
--- a/tcpreplay-4.5.2-txring_h.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- tcpreplay-4.5.1/src/common/txring.h.org	2024-01-01 05:39:02.000000000 +1100
-+++ tcpreplay-4.5.1/src/common/txring.h	2025-01-26 10:24:02.811796480 +1100
-@@ -38,9 +38,9 @@
-
- #ifdef HAVE_TX_RING
- 
--#if __GLIBC__ >= 2 && __GLIBC_MINOR >= 1
--#include <net/ethernet.h> /* the L2 protocols */
-+#if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
- #include <netpacket/packet.h>
-+#include <net/ethernet.h> /* the L2 protocols */
- #else
- #include <asm/types.h>
- #include <linux/if_ether.h> /* The L2 protocols */

diff --git a/tcpreplay.spec b/tcpreplay.spec
index 82f4c86..b38202a 100644
--- a/tcpreplay.spec
+++ b/tcpreplay.spec
@@ -17,12 +17,9 @@ Summary:        Replay captured network traffic
 License:        GPL-3.0-only
 URL:            http://tcpreplay.appneta.com/
 Source:         https://github.com/appneta/tcpreplay/releases/download/v%{version}/tcpreplay-%{version}.tar.xz
-Patch0:         tcpreplay-4.5.2-txring_h.patch
-Patch1:         tcpreplay-4.5.1-configure_ac.patch
 
 BuildRequires:  make
 BuildRequires:  gcc
-BuildRequires:  automake autoconf libtool
 BuildRequires:  %{pcapdep} >= 0.8.0, tcpdump
 %if ! 0%{?rhel}
 BuildRequires:  libdnet-devel
@@ -36,20 +33,30 @@ 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.
 
+%package devel
+Summary:        Development files for %{name}
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+Header files and pkgconfig data for building applications against
+libtcpreplay, the replay engine %{name} %{version} now installs as
+a standalone library.
+
+%package static
+Summary:        Static library for %{name}
+Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
+
+%description static
+The static (%{_libdir}/libtcpreplay.a) build of libtcpreplay.
+
 %prep
 %autosetup -p1
 
 %build
-autoreconf -vif
 %configure --enable-local-libopts \
            --disable-libopts-install \
            --disable-maintainer-mode
 
-# make sure we use proper CFLAGS
-%{__sed} -i \
-         -e 's/^CFLAGS.*/CFLAGS=${RPM_OPT_FLAGS} -std=gnu99 -D_U_="__attribute__((unused))" -Wno-format-contains-nul/' \
-         $(find . -name Makefile)
-
 # remove unneeded docs
 %{__rm} -f docs/INSTALL docs/Makefile*
 
@@ -67,9 +74,17 @@ autoreconf -vif
 %doc %{_mandir}/man1/*
 %{_bindir}/*
 
+%files devel
+%{_includedir}/%{name}/
+%{_libdir}/pkgconfig/libtcpreplay.pc
+
+%files static
+%{_libdir}/libtcpreplay.a
+
 %changelog
-* Tue Jul 28 2026 Bojan Smojver <bojan@rexursive com> - 4.6.0-1
+* Tue Jul 28 2026 Bojan Smojver <bojan@rexursive.com> - 4.6.0-1
 - Update to 4.6.0
+- Add -devel and -static for headers, pkgconfig file and static library
 
 * Fri Jul 24 2026 Bojan Smojver <bojan@rexursive com> - 4.5.5-1
 - Update to 4.5.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [rpms/tcpreplay] epel9: Update to 4.6.0
@ 2026-07-28  1:43 Bojan Smojver
  0 siblings, 0 replies; 2+ messages in thread
From: Bojan Smojver @ 2026-07-28  1:43 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/tcpreplay
Branch : epel9
Commit : 91ea617ebc47807bc59f515102dd85e653aa98ff
Author : Bojan Smojver <bojan@rexursive.com>
Date   : 2026-07-28T11:42:38+10:00
Stats  : +6/-2 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/tcpreplay/c/91ea617ebc47807bc59f515102dd85e653aa98ff?branch=epel9

Log:
Update to 4.6.0

---
diff --git a/.gitignore b/.gitignore
index 34d545c..2991260 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,4 @@ tcpreplay-3.4.4.tar.gz
 /tcpreplay-4.5.3.tar.xz
 /tcpreplay-4.5.4.tar.xz
 /tcpreplay-4.5.5.tar.xz
+/tcpreplay-4.6.0.tar.xz

diff --git a/sources b/sources
index 2bc8d77..5142c28 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tcpreplay-4.5.5.tar.xz) = ebc8b0abbd9bd4b13c215265a30cea9e967748f5fb232cade79b04441d11ee1c463a685ada54609d893cdb0270c3e66c6dc43fbd54ea5cdc09941ab90926bba2
+SHA512 (tcpreplay-4.6.0.tar.xz) = 1f473272aaccd16f9ed6fd576927cbb14e1d3cc4de2f4411c968c81f3d1614dd4be2c4590ab27a95a6b8fc1892b992c5046f7ca87092cce3561af7226edf64ec

diff --git a/tcpreplay.spec b/tcpreplay.spec
index d0001c2..82f4c86 100644
--- a/tcpreplay.spec
+++ b/tcpreplay.spec
@@ -9,7 +9,7 @@
 %define _legacy_common_support 1
 
 Name:           tcpreplay
-Version:        4.5.5
+Version:        4.6.0
 Release:        1%{?dist}
 Summary:        Replay captured network traffic
 
@@ -68,6 +68,9 @@ autoreconf -vif
 %{_bindir}/*
 
 %changelog
+* Tue Jul 28 2026 Bojan Smojver <bojan@rexursive com> - 4.6.0-1
+- Update to 4.6.0
+
 * Fri Jul 24 2026 Bojan Smojver <bojan@rexursive com> - 4.5.5-1
 - Update to 4.5.5
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-28  2:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-28  2:34 [rpms/tcpreplay] epel9: Update to 4.6.0 Bojan Smojver
  -- strict thread matches above, loose matches on Subject: below --
2026-07-28  1:43 Bojan Smojver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox