* [Buildroot] [PATCH 1/1] package/libnet: bump to v1.3
@ 2023-10-16 20:00 Joachim Wiberg
2023-11-01 21:38 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Joachim Wiberg @ 2023-10-16 20:00 UTC (permalink / raw)
To: buildroot; +Cc: Joachim Wiberg, Joris Lijssens
Changes:
- Major upgrade, no API or ABI breaking changes (that we know of).
https://github.com/libnet/libnet/releases/tag/v1.3
Packaging:
- Verified builds on *all* test-pkg archs & toolchains
- Verified test-pkg also with ngrep, suricata, and mz
- Drop backported int64_t patch
- Disable doxygen (html docs) in build
- sha256sum of tarball now generated upstream
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
---
...d-of-__int64_t-for-mingw-cross-build.patch | 31 -------------------
package/libnet/libnet.hash | 6 ++--
package/libnet/libnet.mk | 3 +-
3 files changed, 5 insertions(+), 35 deletions(-)
delete mode 100644 package/libnet/0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-cross-build.patch
diff --git a/package/libnet/0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-cross-build.patch b/package/libnet/0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-cross-build.patch
deleted file mode 100644
index 793b3069c8..0000000000
--- a/package/libnet/0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-cross-build.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From a1659e261888bdbed51803132d52d9a6c6803c8a Mon Sep 17 00:00:00 2001
-From: Joachim Nilsson <troglobit@gmail.com>
-Date: Sat, 19 Oct 2019 12:26:26 +0200
-Subject: [PATCH] Use standard int64_t instead of __int64_t for mingw cross
- build
-
-Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
-[Retrieved from:
-https://github.com/libnet/libnet/commit/a1659e261888bdbed51803132d52d9a6c6803c8a]
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
----
- include/libnet/libnet-structures.h | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/include/libnet/libnet-structures.h b/include/libnet/libnet-structures.h
-index 6084caa..34fffc6 100644
---- a/include/libnet/libnet-structures.h
-+++ b/include/libnet/libnet-structures.h
-@@ -49,9 +49,9 @@ struct libnet_port_list_chain
- /* libnet statistics structure */
- struct libnet_stats
- {
-- __int64_t packets_sent; /* packets sent */
-- __int64_t packet_errors; /* packets errors */
-- __int64_t bytes_written; /* bytes written */
-+ int64_t packets_sent; /* packets sent */
-+ int64_t packet_errors; /* packets errors */
-+ int64_t bytes_written; /* bytes written */
- };
-
-
diff --git a/package/libnet/libnet.hash b/package/libnet/libnet.hash
index 6962ffc83f..5462b4f2e6 100644
--- a/package/libnet/libnet.hash
+++ b/package/libnet/libnet.hash
@@ -1,5 +1,5 @@
-# From https://github.com/libnet/libnet/releases/download/v1.2/libnet-1.2.tar.gz.md5
-md5 a36c669e0cdfda6a2aa3adfb1f6fe60a libnet-1.2.tar.gz
+# From https://github.com/libnet/libnet/releases/
+sha256 ad1e2dd9b500c58ee462acd839d0a0ea9a2b9248a1287840bc601e774fb6b28f libnet-1.3.tar.gz
+
# Locally computed
-sha256 caa4868157d9e5f32e9c7eac9461efeff30cb28357f7f6bf07e73933fb4edaa7 libnet-1.2.tar.gz
sha256 a06f600f67f239898d85f083aeed82ce6015b1c57599ab1def00fb68787ef388 LICENSE
diff --git a/package/libnet/libnet.mk b/package/libnet/libnet.mk
index a5a814f4d2..e9124abd30 100644
--- a/package/libnet/libnet.mk
+++ b/package/libnet/libnet.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LIBNET_VERSION = 1.2
+LIBNET_VERSION = 1.3
LIBNET_SITE = \
https://github.com/libnet/libnet/releases/download/v$(LIBNET_VERSION)
LIBNET_INSTALL_STAGING = YES
@@ -14,5 +14,6 @@ LIBNET_LICENSE = BSD-2-Clause, BSD-3-Clause
LIBNET_LICENSE_FILES = LICENSE
LIBNET_CPE_ID_VENDOR = libnet_project
LIBNET_CONFIG_SCRIPTS = libnet-config
+LIBNET_CONF_OPTS = --disable-doxygen-doc
$(eval $(autotools-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/libnet: bump to v1.3
2023-10-16 20:00 [Buildroot] [PATCH 1/1] package/libnet: bump to v1.3 Joachim Wiberg
@ 2023-11-01 21:38 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-11-01 21:38 UTC (permalink / raw)
To: Joachim Wiberg; +Cc: Joris Lijssens, buildroot
On Mon, 16 Oct 2023 22:00:55 +0200
Joachim Wiberg <troglobit@gmail.com> wrote:
> Changes:
> - Major upgrade, no API or ABI breaking changes (that we know of).
> https://github.com/libnet/libnet/releases/tag/v1.3
>
> Packaging:
> - Verified builds on *all* test-pkg archs & toolchains
> - Verified test-pkg also with ngrep, suricata, and mz
> - Drop backported int64_t patch
> - Disable doxygen (html docs) in build
> - sha256sum of tarball now generated upstream
>
> Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
> ---
> ...d-of-__int64_t-for-mingw-cross-build.patch | 31 -------------------
> package/libnet/libnet.hash | 6 ++--
> package/libnet/libnet.mk | 3 +-
> 3 files changed, 5 insertions(+), 35 deletions(-)
> delete mode 100644 package/libnet/0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-cross-build.patch
This change raised 3 check-package warnings:
WARNING: package/libnet/libnet.hash:2: separation does not match expectation (http://nightly.buildroot.org/#adding-packages-hash)
WARNING: package/libnet/libnet.mk:17: unconditional override of variable LIBNET_CONF_OPTS
WARNING: .checkpackageignore:712: ignored file package/libnet/0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-cross-build.patch is missing
I fixed then and applied to master. Thanks!
(Perhaps you can add "make check-package" do your usual testing of your
changes)
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-01 21:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-16 20:00 [Buildroot] [PATCH 1/1] package/libnet: bump to v1.3 Joachim Wiberg
2023-11-01 21:38 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.