package/sngrep: bump to version 1.6.0
PATCH 1/1 package/sngrep: bump to version 1.6.0
- Drop patch (already in version)
- pcre2 is an optional dependency since
https://github.com/irontec/sngrep/commit/cac42deab5e94661e2495399bc40eaf75e0b46bc
- zlib is an optional dependency since
https://github.com/irontec/sngrep/commit/c02f439d73f33c727909131cb4d9d01029d7492f
https://github.com/irontec/sngrep/blob/v1.6.0/ChangeLog
--- ...nssl.h-fix-build-with-libressl-3.5.0.patch | 40 ------------------- package/sngrep/sngrep.hash | 6 +-- package/sngrep/sngrep.mk | 21 +++++++--- 3 files changed, 19 insertions(+), 48 deletions(-) delete mode 100644 package/sngrep/0001-src-capture_openssl.h-fix-build-with-libressl-3.5.0.patch
package/sngrep/0001-src-capture_openssl.h-fix-build-with-libressl-3.5.0.patch deleted +0 -40
@@ -1,40 +0,0 @@ -From 4e1406ad0df370ff8bf1d3a81aaadbb1cad2d761 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine <[email protected]> -Date: Fri, 29 Apr 2022 18:53:45 +0200 -Subject: [PATCH] src/capture_openssl.h: fix build with libressl >= 3.5.0 - -Fix the following build failure with libressl >= 3.5.0: - -capture_openssl.c: In function 'P_hash': -capture_openssl.c:101:18: error: storage size of 'hm' isn't known - 101 | HMAC_CTX hm; - | ^~ - -Fixes: - - http://autobuild.buildroot.org/results/f1e8cdb3ac35a30055ab79d41e6cc038e5339c37 - -Signed-off-by: Fabrice Fontaine <[email protected]> -[Retrieved from: -https://github.com/irontec/sngrep/commit/4e1406ad0df370ff8bf1d3a81aaadbb1cad2d761] ---- - src/capture_openssl.h | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/src/capture_openssl.h b/src/capture_openssl.h -index 780de494..1f87a5cd 100644 ---- a/src/capture_openssl.h -+++ b/src/capture_openssl.h -@@ -67,10 +67,11 @@ - #endif - - /* LibreSSL declares OPENSSL_VERSION_NUMBER == 2.0 but does not include most -- * changes from OpenSSL >= 1.1 (new functions, macros, deprecations, ...) -+ * changes from OpenSSL >= 1.1 (new functions, macros, deprecations, ...) until -+ * version 3.5.0 - */ - #if defined(LIBRESSL_VERSION_NUMBER) --#define MODSSL_USE_OPENSSL_PRE_1_1_API (1) -+#define MODSSL_USE_OPENSSL_PRE_1_1_API (LIBRESSL_VERSION_NUMBER < 0x30500000L) - #else - #define MODSSL_USE_OPENSSL_PRE_1_1_API (OPENSSL_VERSION_NUMBER < 0x10100000L) - #endif
package/sngrep/sngrep.hash +3 -3
@@ -1,6 +1,6 @@ -# From https://github.com/irontec/sngrep/releases/download/v1.4.7/sngrep-1.4.7.tar.gz.md5sum -md5 78fe753e24f36ddaf627bc2b734f45ba sngrep-1.4.7.tar.gz +# From https://github.com/irontec/sngrep/releases/download/v1.6.0/sngrep-1.6.0.tar.gz.md5sum +md5 1519ca6cd1167c0722debfb96e2ac173 sngrep-1.6.0.tar.gz # Locally computed -sha256 3c96aadd8b8c6b7adb5552d6fb4234f2000f15109b0f6c5feb632c81306cc49b sngrep-1.4.7.tar.gz +sha256 fd80964d6560f2ff57b4f5bef2353d1a6f7c48d2f1a5f0a167c854bd2e801999 sngrep-1.6.0.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE
package/sngrep/sngrep.mk +16 -5
@@ -4,8 +4,9 @@ # ################################################################################ -SNGREP_VERSION = 1.4.7 -SNGREP_SITE = $(call github,irontec,sngrep,v$(SNGREP_VERSION)) +SNGREP_VERSION = 1.6.0 +SNGREP_SITE = \ + https://github.com/irontec/sngrep/releases/download/v$(SNGREP_VERSION) SNGREP_LICENSE = GPL-3.0+ SNGREP_LICENSE_FILES = LICENSE SNGREP_AUTORECONF = YES
@@ -29,11 +30,21 @@ else SNGREP_CONF_OPTS += --without-gnutls --without-openssl endif -ifeq ($(BR2_PACKAGE_PCRE),y) +ifeq ($(BR2_PACKAGE_PCRE2),y) +SNGREP_DEPENDENCIES += pcre2 +SNGREP_CONF_OPTS += --without-pcre --with-pcre2 +else ifeq ($(BR2_PACKAGE_PCRE),y) SNGREP_DEPENDENCIES += pcre -SNGREP_CONF_OPTS += --with-pcre +SNGREP_CONF_OPTS += --with-pcre --without-pcre2 else -SNGREP_CONF_OPTS += --without-pcre +SNGREP_CONF_OPTS += --without-pcre --without-pcre2 +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +SNGREP_DEPENDENCIES += zlib +SNGREP_CONF_OPTS += --with-zlib +else +SNGREP_CONF_OPTS += --without-zlib endif $(eval $(autotools-package))
Signature · 6 lines
2.35.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedFabrice, All,
On 2022-10-28 23:48 +0200, Fabrice Fontaine spake thusly:
Quoted 10 lines
- Drop patch (already in version)
- pcre2 is an optional dependency since
https://github.com/irontec/sngrep/commit/cac42deab5e94661e2495399bc40eaf75e0b46bc
- zlib is an optional dependency since
https://github.com/irontec/sngrep/commit/c02f439d73f33c727909131cb4d9d01029d7492fhttps://github.com/irontec/sngrep/blob/v1.6.0/ChangeLog
Signed-off-by Fabrice Fontaine <[email protected]>---
[--SNIP--]
Quoted 17 lines
package/sngrep/sngrep.mk +3
-2@@ -4,8 +4,9 @@ # ################################################################################ -SNGREP_VERSION = 1.4.7 -SNGREP_SITE = $(call github,irontec,sngrep,v$(SNGREP_VERSION)) +SNGREP_VERSION = 1.6.0 +SNGREP_SITE = \ + https://github.com/irontec/sngrep/releases/download/v$(SNGREP_VERSION) SNGREP_LICENSE = GPL-3.0+ SNGREP_LICENSE_FILES = LICENSE SNGREP_AUTORECONF = YES
package/sngrep/sngrep.mk else · line 35
Quoted 7 lines
package/sngrep/sngrep.mk +3
-1@@ -29,11 +30,21 @@ else SNGREP_CONF_OPTS += --without-gnutls --without-openssl endif -ifeq ($(BR2_PACKAGE_PCRE),y) +ifeq ($(BR2_PACKAGE_PCRE2),y) +SNGREP_DEPENDENCIES += pcre2 +SNGREP_CONF_OPTS += --without-pcre --with-pcre2
$ make check-package
WARNING: package/sngrep/sngrep.mk:35: line contains trailing whitespace
WARNING: package/sngrep/sngrep.mk:45: line contains trailing whitespaceApplied to master with those fixed, thanks.
Regards,
Yann E. MORIN.
Quoted 24 lines
package/sngrep/sngrep.mk +10
-2+else ifeq ($(BR2_PACKAGE_PCRE),y) SNGREP_DEPENDENCIES += pcre -SNGREP_CONF_OPTS += --with-pcre +SNGREP_CONF_OPTS += --with-pcre --without-pcre2 else -SNGREP_CONF_OPTS += --without-pcre +SNGREP_CONF_OPTS += --without-pcre --without-pcre2 +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +SNGREP_DEPENDENCIES += zlib +SNGREP_CONF_OPTS += --with-zlib +else +SNGREP_CONF_OPTS += --without-zlib endif $(eval $(autotools-package))Signature · 6 lines
2.35.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot