* [Buildroot] [PATCH 1/1] package/netsniff-ng: bump to 0.6.9
@ 2025-07-18 5:09 Federico Pellegrin
2025-07-18 8:49 ` Baruch Siach via buildroot
0 siblings, 1 reply; 3+ messages in thread
From: Federico Pellegrin @ 2025-07-18 5:09 UTC (permalink / raw)
To: buildroot, joris.lijssens, baruch; +Cc: Federico Pellegrin
Changes: https://github.com/netsniff-ng/netsniff-ng/releases/tag/v0.6.9
Remove now upstreamed patch 0001-Detect-libpcap-dependencies-using-pkg-config.patch.
Fixes also: https://patchwork-proxy.ozlabs.org/project/buildroot/patch/20240829075015.39164-1-fede@evolware.org/
Signed-off-by: Federico Pellegrin <fede@evolware.org>
---
...ibpcap-dependencies-using-pkg-config.patch | 51 -------------------
package/netsniff-ng/netsniff-ng.hash | 2 +-
package/netsniff-ng/netsniff-ng.mk | 2 +-
3 files changed, 2 insertions(+), 53 deletions(-)
delete mode 100644 package/netsniff-ng/0001-Detect-libpcap-dependencies-using-pkg-config.patch
diff --git a/package/netsniff-ng/0001-Detect-libpcap-dependencies-using-pkg-config.patch b/package/netsniff-ng/0001-Detect-libpcap-dependencies-using-pkg-config.patch
deleted file mode 100644
index bbcbd2bfc3..0000000000
--- a/package/netsniff-ng/0001-Detect-libpcap-dependencies-using-pkg-config.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 194ec61843b9598ce90873c812b817c4b96e2e0d Mon Sep 17 00:00:00 2001
-From: Baruch Siach <baruch@tkos.co.il>
-Date: Thu, 2 Sep 2021 12:56:00 +0300
-Subject: [PATCH] Detect libpcap dependencies using pkg-config
-
-When building statically the link command line must include all
-dependencies of all libraries. libpcap can optionally depend on libnl.
-mausezahn can't build statically in this case.
-
-Use pkg-config in configure and in the link command to construct the
-library flags we need to link with libpcap.
-
-Signed-off-by: Baruch Siach <baruch@tkos.co.il>
-Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
----
-Upstream status: commit 194ec61843b9598ce90873c812b817c4b96e2e0d
-
- configure | 4 +++-
- mausezahn/Makefile | 2 +-
- 2 files changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/configure b/configure
-index 510826a798f5..598ae2433a7a 100755
---- a/configure
-+++ b/configure
-@@ -588,7 +588,9 @@ int main(void)
- }
- EOF
-
-- $CC -o $TMPDIR/pcaptest $TMPDIR/pcaptest.c -lpcap >> config.log 2>&1
-+ $CC -o $TMPDIR/pcaptest $TMPDIR/pcaptest.c \
-+ $($PKG_CONFIG --libs libpcap 2>> config.log) \
-+ >> config.log 2>&1
- if [ ! -x $TMPDIR/pcaptest ] ; then
- echo "[NO]"
- echo "CONFIG_LIBPCAP=0" >> Config
-diff --git a/mausezahn/Makefile b/mausezahn/Makefile
-index ca16b6579583..9544565355cc 100644
---- a/mausezahn/Makefile
-+++ b/mausezahn/Makefile
-@@ -1,6 +1,6 @@
- mausezahn-libs = -lcli \
- -lnet \
-- -lpcap \
-+ $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs libpcap 2> /dev/null ) \
- -lrt \
- -lpthread \
- -lm
---
-2.33.0
-
diff --git a/package/netsniff-ng/netsniff-ng.hash b/package/netsniff-ng/netsniff-ng.hash
index 40b015cb0d..e63963c6d7 100644
--- a/package/netsniff-ng/netsniff-ng.hash
+++ b/package/netsniff-ng/netsniff-ng.hash
@@ -1,5 +1,5 @@
# Locally calculated after checking signature
-sha256 77d17d4158faf1d93c7d922a1bd7f093a8b437bd658292c830708540e10894ba netsniff-ng-0.6.8.tar.xz
+sha256 027840fa3c4e11abfe4fd0fffe9909c5c4ed1428d4b9397fb6d2f5ea69325918 netsniff-ng-0.6.9.tar.xz
# Locally computed
sha256 b353349ba51e0d4b59cf2f188f0c285296e154ce8c58954bc5e0dc0282a4db2d README
sha256 8f6d85366f3763557d6ddd0637988b9ba11edef354e3c9302fff4262a235c387 COPYING
diff --git a/package/netsniff-ng/netsniff-ng.mk b/package/netsniff-ng/netsniff-ng.mk
index 2b5b19b27f..5e779f1cfb 100644
--- a/package/netsniff-ng/netsniff-ng.mk
+++ b/package/netsniff-ng/netsniff-ng.mk
@@ -4,7 +4,7 @@
#
################################################################################
-NETSNIFF_NG_VERSION = 0.6.8
+NETSNIFF_NG_VERSION = 0.6.9
NETSNIFF_NG_SITE = http://pub.netsniff-ng.org/netsniff-ng
NETSNIFF_NG_SOURCE = netsniff-ng-$(NETSNIFF_NG_VERSION).tar.xz
NETSNIFF_NG_LICENSE = GPL-2.0
--
2.50.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/netsniff-ng: bump to 0.6.9
2025-07-18 5:09 [Buildroot] [PATCH 1/1] package/netsniff-ng: bump to 0.6.9 Federico Pellegrin
@ 2025-07-18 8:49 ` Baruch Siach via buildroot
2025-07-18 8:56 ` Federico Pellegrin
0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach via buildroot @ 2025-07-18 8:49 UTC (permalink / raw)
To: Federico Pellegrin; +Cc: buildroot, joris.lijssens
Hi Federico,
On Fri, Jul 18 2025, Federico Pellegrin wrote:
> Changes: https://github.com/netsniff-ng/netsniff-ng/releases/tag/v0.6.9
>
> Remove now upstreamed patch 0001-Detect-libpcap-dependencies-using-pkg-config.patch.
> Fixes also: https://patchwork-proxy.ozlabs.org/project/buildroot/patch/20240829075015.39164-1-fede@evolware.org/
With this patch removed, .checkpackageignore should also be updated.
baruch
> Signed-off-by: Federico Pellegrin <fede@evolware.org>
> ---
> ...ibpcap-dependencies-using-pkg-config.patch | 51 -------------------
> package/netsniff-ng/netsniff-ng.hash | 2 +-
> package/netsniff-ng/netsniff-ng.mk | 2 +-
> 3 files changed, 2 insertions(+), 53 deletions(-)
> delete mode 100644 package/netsniff-ng/0001-Detect-libpcap-dependencies-using-pkg-config.patch
>
> diff --git
> a/package/netsniff-ng/0001-Detect-libpcap-dependencies-using-pkg-config.patch
> b/package/netsniff-ng/0001-Detect-libpcap-dependencies-using-pkg-config.patch
> deleted file mode 100644
> index bbcbd2bfc3..0000000000
> --- a/package/netsniff-ng/0001-Detect-libpcap-dependencies-using-pkg-config.patch
> +++ /dev/null
> @@ -1,51 +0,0 @@
> -From 194ec61843b9598ce90873c812b817c4b96e2e0d Mon Sep 17 00:00:00 2001
> -From: Baruch Siach <baruch@tkos.co.il>
> -Date: Thu, 2 Sep 2021 12:56:00 +0300
> -Subject: [PATCH] Detect libpcap dependencies using pkg-config
> -
> -When building statically the link command line must include all
> -dependencies of all libraries. libpcap can optionally depend on libnl.
> -mausezahn can't build statically in this case.
> -
> -Use pkg-config in configure and in the link command to construct the
> -library flags we need to link with libpcap.
> -
> -Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> -Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
> ----
> -Upstream status: commit 194ec61843b9598ce90873c812b817c4b96e2e0d
> -
> - configure | 4 +++-
> - mausezahn/Makefile | 2 +-
> - 2 files changed, 4 insertions(+), 2 deletions(-)
> -
> -diff --git a/configure b/configure
> -index 510826a798f5..598ae2433a7a 100755
> ---- a/configure
> -+++ b/configure
> -@@ -588,7 +588,9 @@ int main(void)
> - }
> - EOF
> -
> -- $CC -o $TMPDIR/pcaptest $TMPDIR/pcaptest.c -lpcap >> config.log 2>&1
> -+ $CC -o $TMPDIR/pcaptest $TMPDIR/pcaptest.c \
> -+ $($PKG_CONFIG --libs libpcap 2>> config.log) \
> -+ >> config.log 2>&1
> - if [ ! -x $TMPDIR/pcaptest ] ; then
> - echo "[NO]"
> - echo "CONFIG_LIBPCAP=0" >> Config
> -diff --git a/mausezahn/Makefile b/mausezahn/Makefile
> -index ca16b6579583..9544565355cc 100644
> ---- a/mausezahn/Makefile
> -+++ b/mausezahn/Makefile
> -@@ -1,6 +1,6 @@
> - mausezahn-libs = -lcli \
> - -lnet \
> -- -lpcap \
> -+ $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs libpcap 2> /dev/null ) \
> - -lrt \
> - -lpthread \
> - -lm
> ---
> -2.33.0
> -
> diff --git a/package/netsniff-ng/netsniff-ng.hash b/package/netsniff-ng/netsniff-ng.hash
> index 40b015cb0d..e63963c6d7 100644
> --- a/package/netsniff-ng/netsniff-ng.hash
> +++ b/package/netsniff-ng/netsniff-ng.hash
> @@ -1,5 +1,5 @@
> # Locally calculated after checking signature
> -sha256 77d17d4158faf1d93c7d922a1bd7f093a8b437bd658292c830708540e10894ba netsniff-ng-0.6.8.tar.xz
> +sha256 027840fa3c4e11abfe4fd0fffe9909c5c4ed1428d4b9397fb6d2f5ea69325918 netsniff-ng-0.6.9.tar.xz
> # Locally computed
> sha256 b353349ba51e0d4b59cf2f188f0c285296e154ce8c58954bc5e0dc0282a4db2d README
> sha256 8f6d85366f3763557d6ddd0637988b9ba11edef354e3c9302fff4262a235c387 COPYING
> diff --git a/package/netsniff-ng/netsniff-ng.mk b/package/netsniff-ng/netsniff-ng.mk
> index 2b5b19b27f..5e779f1cfb 100644
> --- a/package/netsniff-ng/netsniff-ng.mk
> +++ b/package/netsniff-ng/netsniff-ng.mk
> @@ -4,7 +4,7 @@
> #
> ################################################################################
>
> -NETSNIFF_NG_VERSION = 0.6.8
> +NETSNIFF_NG_VERSION = 0.6.9
> NETSNIFF_NG_SITE = http://pub.netsniff-ng.org/netsniff-ng
> NETSNIFF_NG_SOURCE = netsniff-ng-$(NETSNIFF_NG_VERSION).tar.xz
> NETSNIFF_NG_LICENSE = GPL-2.0
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [Buildroot] [PATCH 1/1] package/netsniff-ng: bump to 0.6.9
2025-07-18 8:49 ` Baruch Siach via buildroot
@ 2025-07-18 8:56 ` Federico Pellegrin
0 siblings, 0 replies; 3+ messages in thread
From: Federico Pellegrin @ 2025-07-18 8:56 UTC (permalink / raw)
To: Baruch Siach; +Cc: buildroot, joris.lijssens
[-- Attachment #1.1: Type: text/plain, Size: 4982 bytes --]
Hi Baruch,
Many thanks for the fast feedback and thanks for spotting that!
Sent a v2 with that removal, hope that looks better now!
Many thanks,
Federico
Il giorno ven 18 lug 2025 alle ore 10:49 Baruch Siach <baruch@tkos.co.il>
ha scritto:
> Hi Federico,
>
> On Fri, Jul 18 2025, Federico Pellegrin wrote:
> > Changes: https://github.com/netsniff-ng/netsniff-ng/releases/tag/v0.6.9
> >
> > Remove now upstreamed patch
> 0001-Detect-libpcap-dependencies-using-pkg-config.patch.
> > Fixes also:
> https://patchwork-proxy.ozlabs.org/project/buildroot/patch/20240829075015.39164-1-fede@evolware.org/
>
> With this patch removed, .checkpackageignore should also be updated.
>
> baruch
>
> > Signed-off-by: Federico Pellegrin <fede@evolware.org>
> > ---
> > ...ibpcap-dependencies-using-pkg-config.patch | 51 -------------------
> > package/netsniff-ng/netsniff-ng.hash | 2 +-
> > package/netsniff-ng/netsniff-ng.mk | 2 +-
> > 3 files changed, 2 insertions(+), 53 deletions(-)
> > delete mode 100644
> package/netsniff-ng/0001-Detect-libpcap-dependencies-using-pkg-config.patch
> >
> > diff --git
> >
> a/package/netsniff-ng/0001-Detect-libpcap-dependencies-using-pkg-config.patch
> >
> b/package/netsniff-ng/0001-Detect-libpcap-dependencies-using-pkg-config.patch
> > deleted file mode 100644
> > index bbcbd2bfc3..0000000000
> > ---
> a/package/netsniff-ng/0001-Detect-libpcap-dependencies-using-pkg-config.patch
> > +++ /dev/null
> > @@ -1,51 +0,0 @@
> > -From 194ec61843b9598ce90873c812b817c4b96e2e0d Mon Sep 17 00:00:00 2001
> > -From: Baruch Siach <baruch@tkos.co.il>
> > -Date: Thu, 2 Sep 2021 12:56:00 +0300
> > -Subject: [PATCH] Detect libpcap dependencies using pkg-config
> > -
> > -When building statically the link command line must include all
> > -dependencies of all libraries. libpcap can optionally depend on libnl.
> > -mausezahn can't build statically in this case.
> > -
> > -Use pkg-config in configure and in the link command to construct the
> > -library flags we need to link with libpcap.
> > -
> > -Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> > -Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
> > ----
> > -Upstream status: commit 194ec61843b9598ce90873c812b817c4b96e2e0d
> > -
> > - configure | 4 +++-
> > - mausezahn/Makefile | 2 +-
> > - 2 files changed, 4 insertions(+), 2 deletions(-)
> > -
> > -diff --git a/configure b/configure
> > -index 510826a798f5..598ae2433a7a 100755
> > ---- a/configure
> > -+++ b/configure
> > -@@ -588,7 +588,9 @@ int main(void)
> > - }
> > - EOF
> > -
> > -- $CC -o $TMPDIR/pcaptest $TMPDIR/pcaptest.c -lpcap >> config.log
> 2>&1
> > -+ $CC -o $TMPDIR/pcaptest $TMPDIR/pcaptest.c \
> > -+ $($PKG_CONFIG --libs libpcap 2>> config.log) \
> > -+ >> config.log 2>&1
> > - if [ ! -x $TMPDIR/pcaptest ] ; then
> > - echo "[NO]"
> > - echo "CONFIG_LIBPCAP=0" >> Config
> > -diff --git a/mausezahn/Makefile b/mausezahn/Makefile
> > -index ca16b6579583..9544565355cc 100644
> > ---- a/mausezahn/Makefile
> > -+++ b/mausezahn/Makefile
> > -@@ -1,6 +1,6 @@
> > - mausezahn-libs = -lcli \
> > - -lnet \
> > -- -lpcap \
> > -+ $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH)
> $(PKG_CONFIG) --libs libpcap 2> /dev/null ) \
> > - -lrt \
> > - -lpthread \
> > - -lm
> > ---
> > -2.33.0
> > -
> > diff --git a/package/netsniff-ng/netsniff-ng.hash
> b/package/netsniff-ng/netsniff-ng.hash
> > index 40b015cb0d..e63963c6d7 100644
> > --- a/package/netsniff-ng/netsniff-ng.hash
> > +++ b/package/netsniff-ng/netsniff-ng.hash
> > @@ -1,5 +1,5 @@
> > # Locally calculated after checking signature
> > -sha256
> 77d17d4158faf1d93c7d922a1bd7f093a8b437bd658292c830708540e10894ba
> netsniff-ng-0.6.8.tar.xz
> > +sha256
> 027840fa3c4e11abfe4fd0fffe9909c5c4ed1428d4b9397fb6d2f5ea69325918
> netsniff-ng-0.6.9.tar.xz
> > # Locally computed
> > sha256
> b353349ba51e0d4b59cf2f188f0c285296e154ce8c58954bc5e0dc0282a4db2d README
> > sha256
> 8f6d85366f3763557d6ddd0637988b9ba11edef354e3c9302fff4262a235c387 COPYING
> > diff --git a/package/netsniff-ng/netsniff-ng.mk b/package/netsniff-ng/
> netsniff-ng.mk
> > index 2b5b19b27f..5e779f1cfb 100644
> > --- a/package/netsniff-ng/netsniff-ng.mk
> > +++ b/package/netsniff-ng/netsniff-ng.mk
> > @@ -4,7 +4,7 @@
> > #
> >
> ################################################################################
> >
> > -NETSNIFF_NG_VERSION = 0.6.8
> > +NETSNIFF_NG_VERSION = 0.6.9
> > NETSNIFF_NG_SITE = http://pub.netsniff-ng.org/netsniff-ng
> > NETSNIFF_NG_SOURCE = netsniff-ng-$(NETSNIFF_NG_VERSION).tar.xz
> > NETSNIFF_NG_LICENSE = GPL-2.0
>
> --
> ~. .~ Tk Open
> Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
> - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
>
[-- Attachment #1.2: Type: text/html, Size: 7271 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-07-18 8:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-18 5:09 [Buildroot] [PATCH 1/1] package/netsniff-ng: bump to 0.6.9 Federico Pellegrin
2025-07-18 8:49 ` Baruch Siach via buildroot
2025-07-18 8:56 ` Federico Pellegrin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox