public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Bojan Smojver <bojan@rexursive.com>
To: git-commits@fedoraproject.org
Subject: [rpms/tcpreplay] epel8: Merge branch 'rawhide' into epel8
Date: Tue, 28 Jul 2026 03:56:33 GMT	[thread overview]
Message-ID: <178521099373.1.16300899115385424520.rpms-tcpreplay-8951838147c5@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/tcpreplay
Branch : epel8
Commit : 8951838147c5b80aac6609e927fb5b1a8d0e57f5
Author : Bojan Smojver <bojan@rexursive.com>
Date   : 2026-07-28T13:53:45+10:00
Stats  : +17/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/tcpreplay/c/8951838147c5b80aac6609e927fb5b1a8d0e57f5?branch=epel8

Log:
Merge branch 'rawhide' into epel8

---
diff --git a/tcpreplay-4.6.0-examples-strlcpy-include.patch b/tcpreplay-4.6.0-examples-strlcpy-include.patch
new file mode 100644
index 0000000..8cb161e
--- /dev/null
+++ b/tcpreplay-4.6.0-examples-strlcpy-include.patch
@@ -0,0 +1,9 @@
+--- a/examples/Makefile.in
++++ b/examples/Makefile.in
+@@ -363,5 +363,5 @@
+ top_srcdir = @top_srcdir@
+ replay_stats_SOURCES = replay_stats.c
+-replay_stats_CFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src $(LIBOPTS_CFLAGS)
++replay_stats_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src -I$(top_builddir)/src $(LIBOPTS_CFLAGS)
+ replay_stats_LDADD = $(top_builddir)/src/libtcpreplay.a @LPCAPLIB@ @LDNETLIB@ $(LIBOPTS_LDADD)
+ EXTRA_DIST = README.md CMakeLists.txt

diff --git a/tcpreplay.spec b/tcpreplay.spec
index b38202a..83522bb 100644
--- a/tcpreplay.spec
+++ b/tcpreplay.spec
@@ -10,13 +10,14 @@
 
 Name:           tcpreplay
 Version:        4.6.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Replay captured network traffic
 
 # Automatically converted from old format: GPLv3 - review is highly recommended.
 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.6.0-examples-strlcpy-include.patch
 
 BuildRequires:  make
 BuildRequires:  gcc
@@ -53,6 +54,9 @@ The static (%{_libdir}/libtcpreplay.a) build of libtcpreplay.
 %autosetup -p1
 
 %build
+%if 0%{?rhel} && 0%{?rhel} < 10
+export LDFLAGS="%{?__global_ldflags} -pthread"
+%endif
 %configure --enable-local-libopts \
            --disable-libopts-install \
            --disable-maintainer-mode
@@ -82,6 +86,9 @@ The static (%{_libdir}/libtcpreplay.a) build of libtcpreplay.
 %{_libdir}/libtcpreplay.a
 
 %changelog
+* Tue Jul 28 2026 Bojan Smojver <bojan@rexursive.com> - 4.6.0-2
+- Add -pthreads for EPEL8/9
+
 * 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

             reply	other threads:[~2026-07-28  3:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-28  3:56 Bojan Smojver [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-07-28  2:34 [rpms/tcpreplay] epel8: Merge branch 'rawhide' into epel8 Bojan Smojver
2026-07-28  1:44 Bojan Smojver
2026-07-24  8:08 Bojan Smojver
2026-07-23  7:21 Bojan Smojver
2026-07-19 21:31 Bojan Smojver

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178521099373.1.16300899115385424520.rpms-tcpreplay-8951838147c5@fedoraproject.org \
    --to=bojan@rexursive.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox