* [ptxdist] [PATCH 0/2] libnet: version bump and add license information
@ 2026-06-22 8:12 Alexander Dahl via ptxdist
2026-06-22 8:12 ` [ptxdist] [PATCH 1/2] libnet: version bump 1.1.6 -> 1.3 Alexander Dahl via ptxdist
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Alexander Dahl via ptxdist @ 2026-06-22 8:12 UTC (permalink / raw)
To: ptxdist; +Cc: Alexander Dahl
Hello,
doing the version bump before adding the license information here,
because libnet dropped BSD-4-Clause and moved license files before v1.3
release.
Greets
Alex
Alexander Dahl (2):
libnet: version bump 1.1.6 -> 1.3
libnet: Add license information
rules/libnet.make | 22 +++++++++++++++++++---
1 file changed, 19 insertions(+), 3 deletions(-)
base-commit: 3d185e7c01807e7a2f58a89fe811ed572d267099
--
2.47.3
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ptxdist] [PATCH 1/2] libnet: version bump 1.1.6 -> 1.3
2026-06-22 8:12 [ptxdist] [PATCH 0/2] libnet: version bump and add license information Alexander Dahl via ptxdist
@ 2026-06-22 8:12 ` Alexander Dahl via ptxdist
2026-06-25 19:23 ` [ptxdist] [APPLIED] " Michael Olbrich
2026-06-22 8:12 ` [ptxdist] [PATCH 2/2] libnet: Add license information Alexander Dahl via ptxdist
2026-06-22 8:30 ` [ptxdist] [PATCH 0/2] libnet: version bump and add " Alexander Dahl via ptxdist
2 siblings, 1 reply; 6+ messages in thread
From: Alexander Dahl via ptxdist @ 2026-06-22 8:12 UTC (permalink / raw)
To: ptxdist; +Cc: Alexander Dahl
Project moved from SourceForge to GitHub before v1.2
(see hint on old sourceforge website).
While v1.1.6 was released back in 2012, v1.2 was released in 2019,
and v1.3 in 2023. Noteworthy changes in addition to accumulated fixes:
- Removed lua bindings
- Added pkg-config support
- Added support for LLDP, mandatory TLVs
- Added support for Cisco UniDirectional Link Detection (UDLD)
- Assume everyone on Linux has PF_PACKET now
See release notes for details.
Link: https://github.com/libnet/libnet/releases/tag/v1.2
Link: https://github.com/libnet/libnet/releases/tag/v1.3
Link: https://sourceforge.net/projects/libnet-dev/
Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
rules/libnet.make | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/rules/libnet.make b/rules/libnet.make
index 939285ffd..59f193b30 100644
--- a/rules/libnet.make
+++ b/rules/libnet.make
@@ -15,11 +15,11 @@ PACKAGES-$(PTXCONF_LIBNET) += libnet
#
# Paths and names
#
-LIBNET_VERSION := 1.1.6
-LIBNET_SHA256 := d392bb5825c4b6b672fc93a0268433c86dc964e1500c279dc6d0711ea6ec467a
+LIBNET_VERSION := 1.3
+LIBNET_SHA256 := ad1e2dd9b500c58ee462acd839d0a0ea9a2b9248a1287840bc601e774fb6b28f
LIBNET := libnet-$(LIBNET_VERSION)
LIBNET_SUFFIX := tar.gz
-LIBNET_URL := $(call ptx/mirror, SF, libnet-dev/$(LIBNET).$(LIBNET_SUFFIX))
+LIBNET_URL := https://github.com/libnet/libnet/releases/download/v$(LIBNET_VERSION)/$(LIBNET).$(LIBNET_SUFFIX)
LIBNET_SOURCE := $(SRCDIR)/$(LIBNET).$(LIBNET_SUFFIX)
LIBNET_DIR := $(BUILDDIR)/$(LIBNET)
@@ -34,7 +34,18 @@ LIBNET_CONF_ENV := \
LIBNET_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
+ --disable-doxygen-doc \
+ --disable-doxygen-dot \
+ --disable-doxygen-man \
+ --disable-doxygen-rtf \
+ --disable-doxygen-xml \
+ --disable-doxygen-chm \
+ --disable-doxygen-chi \
+ --disable-doxygen-html \
+ --disable-doxygen-ps \
+ --disable-doxygen-pdf \
--disable-samples \
+ --disable-tests \
--with-link-layer=linux
# ----------------------------------------------------------------------------
--
2.47.3
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ptxdist] [PATCH 2/2] libnet: Add license information
2026-06-22 8:12 [ptxdist] [PATCH 0/2] libnet: version bump and add license information Alexander Dahl via ptxdist
2026-06-22 8:12 ` [ptxdist] [PATCH 1/2] libnet: version bump 1.1.6 -> 1.3 Alexander Dahl via ptxdist
@ 2026-06-22 8:12 ` Alexander Dahl via ptxdist
2026-06-25 19:23 ` [ptxdist] [APPLIED] " Michael Olbrich
2026-06-22 8:30 ` [ptxdist] [PATCH 0/2] libnet: version bump and add " Alexander Dahl via ptxdist
2 siblings, 1 reply; 6+ messages in thread
From: Alexander Dahl via ptxdist @ 2026-06-22 8:12 UTC (permalink / raw)
To: ptxdist; +Cc: Alexander Dahl
Most of the code is BSD-2-Clause with two exceptions.
The code of src/libnet_link_*.c is BSD-3-Clause,
and the asn1 code (for snmp) has an additional section which exactly
matches the MIT-CMU license.
Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
rules/libnet.make | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/rules/libnet.make b/rules/libnet.make
index 59f193b30..e75fb406a 100644
--- a/rules/libnet.make
+++ b/rules/libnet.make
@@ -22,6 +22,11 @@ LIBNET_SUFFIX := tar.gz
LIBNET_URL := https://github.com/libnet/libnet/releases/download/v$(LIBNET_VERSION)/$(LIBNET).$(LIBNET_SUFFIX)
LIBNET_SOURCE := $(SRCDIR)/$(LIBNET).$(LIBNET_SUFFIX)
LIBNET_DIR := $(BUILDDIR)/$(LIBNET)
+LIBNET_LICENSE := BSD-2-Clause AND BSD-3-Clause AND MIT-CMU
+LIBNET_LICENSE_FILES := \
+ file://LICENSE;md5=07f291bf6e78efa05cec668cf6a09acc \
+ file://src/libnet_link_linux.c;startline=7;endline=32;md5=8100f4b58c857a134acd5628b181f3a4 \
+ file://src/libnet_asn1.c;startline=14;endline=31;md5=0c3ffb558473335f995286c9b8572509
# ----------------------------------------------------------------------------
# Prepare
--
2.47.3
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] [PATCH 0/2] libnet: version bump and add license information
2026-06-22 8:12 [ptxdist] [PATCH 0/2] libnet: version bump and add license information Alexander Dahl via ptxdist
2026-06-22 8:12 ` [ptxdist] [PATCH 1/2] libnet: version bump 1.1.6 -> 1.3 Alexander Dahl via ptxdist
2026-06-22 8:12 ` [ptxdist] [PATCH 2/2] libnet: Add license information Alexander Dahl via ptxdist
@ 2026-06-22 8:30 ` Alexander Dahl via ptxdist
2 siblings, 0 replies; 6+ messages in thread
From: Alexander Dahl via ptxdist @ 2026-06-22 8:30 UTC (permalink / raw)
To: Alexander Dahl via ptxdist; +Cc: Alexander Dahl
Hei,
Am Mon, Jun 22, 2026 at 10:12:28AM +0200 schrieb Alexander Dahl via ptxdist:
> Hello,
>
> doing the version bump before adding the license information here,
> because libnet dropped BSD-4-Clause and moved license files before v1.3
> release.
Forgot the reference for that claim:
Link: https://github.com/libnet/libnet/pull/94
A
>
> Greets
> Alex
>
> Alexander Dahl (2):
> libnet: version bump 1.1.6 -> 1.3
> libnet: Add license information
>
> rules/libnet.make | 22 +++++++++++++++++++---
> 1 file changed, 19 insertions(+), 3 deletions(-)
>
>
> base-commit: 3d185e7c01807e7a2f58a89fe811ed572d267099
> --
> 2.47.3
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] [APPLIED] libnet: version bump 1.1.6 -> 1.3
2026-06-22 8:12 ` [ptxdist] [PATCH 1/2] libnet: version bump 1.1.6 -> 1.3 Alexander Dahl via ptxdist
@ 2026-06-25 19:23 ` Michael Olbrich
0 siblings, 0 replies; 6+ messages in thread
From: Michael Olbrich @ 2026-06-25 19:23 UTC (permalink / raw)
To: ptxdist; +Cc: Alexander Dahl
Thanks, applied as 147d1c9114fe88de7a7d025d9878d5acec748e2f.
Michael
[sent from post-receive hook]
On Thu, 25 Jun 2026 21:23:36 +0200, Alexander Dahl <ada@thorsis.com> wrote:
> Project moved from SourceForge to GitHub before v1.2
> (see hint on old sourceforge website).
>
> While v1.1.6 was released back in 2012, v1.2 was released in 2019,
> and v1.3 in 2023. Noteworthy changes in addition to accumulated fixes:
>
> - Removed lua bindings
> - Added pkg-config support
> - Added support for LLDP, mandatory TLVs
> - Added support for Cisco UniDirectional Link Detection (UDLD)
> - Assume everyone on Linux has PF_PACKET now
>
> See release notes for details.
>
> Link: https://github.com/libnet/libnet/releases/tag/v1.2
> Link: https://github.com/libnet/libnet/releases/tag/v1.3
> Link: https://sourceforge.net/projects/libnet-dev/
> Signed-off-by: Alexander Dahl <ada@thorsis.com>
> Message-Id: <20260622081230.187757-2-ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/libnet.make b/rules/libnet.make
> index 939285ffde23..59f193b30382 100644
> --- a/rules/libnet.make
> +++ b/rules/libnet.make
> @@ -15,11 +15,11 @@ PACKAGES-$(PTXCONF_LIBNET) += libnet
> #
> # Paths and names
> #
> -LIBNET_VERSION := 1.1.6
> -LIBNET_SHA256 := d392bb5825c4b6b672fc93a0268433c86dc964e1500c279dc6d0711ea6ec467a
> +LIBNET_VERSION := 1.3
> +LIBNET_SHA256 := ad1e2dd9b500c58ee462acd839d0a0ea9a2b9248a1287840bc601e774fb6b28f
> LIBNET := libnet-$(LIBNET_VERSION)
> LIBNET_SUFFIX := tar.gz
> -LIBNET_URL := $(call ptx/mirror, SF, libnet-dev/$(LIBNET).$(LIBNET_SUFFIX))
> +LIBNET_URL := https://github.com/libnet/libnet/releases/download/v$(LIBNET_VERSION)/$(LIBNET).$(LIBNET_SUFFIX)
> LIBNET_SOURCE := $(SRCDIR)/$(LIBNET).$(LIBNET_SUFFIX)
> LIBNET_DIR := $(BUILDDIR)/$(LIBNET)
>
> @@ -34,7 +34,18 @@ LIBNET_CONF_ENV := \
>
> LIBNET_CONF_OPT := \
> $(CROSS_AUTOCONF_USR) \
> + --disable-doxygen-doc \
> + --disable-doxygen-dot \
> + --disable-doxygen-man \
> + --disable-doxygen-rtf \
> + --disable-doxygen-xml \
> + --disable-doxygen-chm \
> + --disable-doxygen-chi \
> + --disable-doxygen-html \
> + --disable-doxygen-ps \
> + --disable-doxygen-pdf \
> --disable-samples \
> + --disable-tests \
> --with-link-layer=linux
>
> # ----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] [APPLIED] libnet: Add license information
2026-06-22 8:12 ` [ptxdist] [PATCH 2/2] libnet: Add license information Alexander Dahl via ptxdist
@ 2026-06-25 19:23 ` Michael Olbrich
0 siblings, 0 replies; 6+ messages in thread
From: Michael Olbrich @ 2026-06-25 19:23 UTC (permalink / raw)
To: ptxdist; +Cc: Alexander Dahl
Thanks, applied as 0ba6d3b50d6f76194537017af9f07ab1f568d5cc.
Michael
[sent from post-receive hook]
On Thu, 25 Jun 2026 21:23:37 +0200, Alexander Dahl <ada@thorsis.com> wrote:
> Most of the code is BSD-2-Clause with two exceptions.
> The code of src/libnet_link_*.c is BSD-3-Clause,
> and the asn1 code (for snmp) has an additional section which exactly
> matches the MIT-CMU license.
>
> Signed-off-by: Alexander Dahl <ada@thorsis.com>
> Message-Id: <20260622081230.187757-3-ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/libnet.make b/rules/libnet.make
> index 59f193b30382..e75fb406aa1f 100644
> --- a/rules/libnet.make
> +++ b/rules/libnet.make
> @@ -22,6 +22,11 @@ LIBNET_SUFFIX := tar.gz
> LIBNET_URL := https://github.com/libnet/libnet/releases/download/v$(LIBNET_VERSION)/$(LIBNET).$(LIBNET_SUFFIX)
> LIBNET_SOURCE := $(SRCDIR)/$(LIBNET).$(LIBNET_SUFFIX)
> LIBNET_DIR := $(BUILDDIR)/$(LIBNET)
> +LIBNET_LICENSE := BSD-2-Clause AND BSD-3-Clause AND MIT-CMU
> +LIBNET_LICENSE_FILES := \
> + file://LICENSE;md5=07f291bf6e78efa05cec668cf6a09acc \
> + file://src/libnet_link_linux.c;startline=7;endline=32;md5=8100f4b58c857a134acd5628b181f3a4 \
> + file://src/libnet_asn1.c;startline=14;endline=31;md5=0c3ffb558473335f995286c9b8572509
>
> # ----------------------------------------------------------------------------
> # Prepare
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-06-25 19:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-22 8:12 [ptxdist] [PATCH 0/2] libnet: version bump and add license information Alexander Dahl via ptxdist
2026-06-22 8:12 ` [ptxdist] [PATCH 1/2] libnet: version bump 1.1.6 -> 1.3 Alexander Dahl via ptxdist
2026-06-25 19:23 ` [ptxdist] [APPLIED] " Michael Olbrich
2026-06-22 8:12 ` [ptxdist] [PATCH 2/2] libnet: Add license information Alexander Dahl via ptxdist
2026-06-25 19:23 ` [ptxdist] [APPLIED] " Michael Olbrich
2026-06-22 8:30 ` [ptxdist] [PATCH 0/2] libnet: version bump and add " Alexander Dahl via ptxdist
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox