public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/raddump/, net-analyzer/raddump/files/
@ 2025-01-06  2:49 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2025-01-06  2:49 UTC (permalink / raw
  To: gentoo-commits

commit:     25a3b273c3f5f983b255b3b3b6ca6b5a7bba3685
Author:     NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com>
AuthorDate: Sun Jan  5 12:03:26 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan  6 02:49:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25a3b273

net-analyzer/raddump: update EAPI 7 -> 8, port to gcc-14

Const-correctness in struct definition

Bug: https://bugs.gentoo.org/919358
Signed-off-by: NHOrus <jy6x2b32pie9 <AT> yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/39987
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../raddump/files/raddump-0.3.1-gcc14.patch        | 13 ++++++++++++
 net-analyzer/raddump/raddump-0.3.1-r1.ebuild       | 24 ++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/net-analyzer/raddump/files/raddump-0.3.1-gcc14.patch b/net-analyzer/raddump/files/raddump-0.3.1-gcc14.patch
new file mode 100644
index 000000000000..82fecf6cb1da
--- /dev/null
+++ b/net-analyzer/raddump/files/raddump-0.3.1-gcc14.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/919358
+diff -ru a/pktrecord.h b/pktrecord.h
+--- a/pktrecord.h	2025-01-05 15:55:08.349684611 +0400
++++ b/pktrecord.h	2025-01-05 15:57:49.645807285 +0400
+@@ -25,7 +25,7 @@
+   unsigned int included_len;   /* how much of it we actually have here */
+   unsigned int ts_secs;	       /* timestamp, seconds component */
+   unsigned int ts_usecs;       /* timestamp, microseconds component */
+-  unsigned char *pkt_data;     /* pointer to the actual packet data */
++  const unsigned char *pkt_data;     /* pointer to the actual packet data */
+ };
+ 
+ struct prec_handle;

diff --git a/net-analyzer/raddump/raddump-0.3.1-r1.ebuild b/net-analyzer/raddump/raddump-0.3.1-r1.ebuild
new file mode 100644
index 000000000000..85f7315b3a27
--- /dev/null
+++ b/net-analyzer/raddump/raddump-0.3.1-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="RADIUS packet interpreter"
+HOMEPAGE="https://sourceforge.net/projects/raddump/"
+SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND=">=net-analyzer/tcpdump-3.8.3-r1"
+DEPEND=${RDEPEND}
+
+PATCHES=( "${FILESDIR}/${P}-gcc14.patch" )
+
+src_prepare() {
+	default
+	eautoreconf
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-01-06  2:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-06  2:49 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/raddump/, net-analyzer/raddump/files/ Sam James

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