From: Alexander Dahl via ptxdist <ptxdist@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Alexander Dahl <ada@thorsis.com>
Subject: [ptxdist] [PATCH 2/2] libnet: Add license information
Date: Mon, 22 Jun 2026 10:12:30 +0200 [thread overview]
Message-ID: <20260622081230.187757-3-ada@thorsis.com> (raw)
In-Reply-To: <20260622081230.187757-1-ada@thorsis.com>
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
next prev parent reply other threads:[~2026-06-22 8:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-22 8:12 [ptxdist] [PATCH 0/2] libnet: version bump and add " 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 [this message]
2026-06-22 8:30 ` [ptxdist] [PATCH 0/2] libnet: version bump and add license information Alexander Dahl via ptxdist
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=20260622081230.187757-3-ada@thorsis.com \
--to=ptxdist@pengutronix.de \
--cc=ada@thorsis.com \
/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