Skip to contentSkip to conversation

package/znc: bump version to 1.9.0

PATCH In review Bernd Kuhls 2 participants 2 messages Mar 13, 2024 – Mar 14, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/znc: bump version to 1.9.0

Removed all patches, they are included in this release.

Bumped gcc dependency to >= 8 according to changelog:
https://wiki.znc.in/ChangeLog/1.9.0

---
 .checkpackageignore                           |  3 -
 ...0001-LibreSSL-3.5-opaqued-structures.patch | 27 --------
 .../znc/0002-Fix-build-with-libressl.patch    | 68 -------------------
 ...DH_get0_key-have-existed-since-Libre.patch | 30 --------
 ...rt-SWIG-4.1.0-drop-support-for-4.0.1.patch | 53 ---------------
 package/znc/Config.in                         |  6 +-
 package/znc/znc.hash                          |  2 +-
 package/znc/znc.mk                            |  2 +-
 8 files changed, 5 insertions(+), 186 deletions(-)
 delete mode 100644 package/znc/0001-LibreSSL-3.5-opaqued-structures.patch
 delete mode 100644 package/znc/0002-Fix-build-with-libressl.patch
 delete mode 100644 package/znc/0003-DH_set0_pqg-and-DH_get0_key-have-existed-since-Libre.patch
 delete mode 100644 package/znc/0004-Add-support-SWIG-4.1.0-drop-support-for-4.0.1.patch
.checkpackageignore +0 -3
index 697f51d322..520742611b 100644
@@ -1415,9 +1415,6 @@ package/zip/0006-unix-configure-borrow-the-LFS-test-from-autotools.patch Upstrea
 package/zip/0007-timezone.c-needs-time.h-fixes-musl-compile.patch Upstream
 package/zip/0008-fix-musl-static-build.patch Upstream
 package/zmqpp/0001-Allow-building-shared-or-static-library-only.patch Upstream
-package/znc/0001-LibreSSL-3.5-opaqued-structures.patch Upstream
-package/znc/0002-Fix-build-with-libressl.patch Upstream
-package/znc/0003-DH_set0_pqg-and-DH_get0_key-have-existed-since-Libre.patch Upstream
 package/zziplib/0001-implant-ZZIP_LIBLATEST-for-zzip_lib.patch Upstream
 support/dependencies/check-host-asciidoc.sh Shellcheck
 support/dependencies/check-host-cmake.sh Shellcheck
package/znc/0001-LibreSSL-3.5-opaqued-structures.patch deleted +0 -27
deleted file mode 100644
index d0019e21a4..0000000000
@@ -1,27 +0,0 @@
-From 87f3dac8ba8dea5628b05416bdef454b4ef2d236 Mon Sep 17 00:00:00 2001
-From: Charlie Li <[email protected]>
-Date: Mon, 14 Mar 2022 17:36:36 -0400
-Subject: [PATCH] LibreSSL 3.5 opaqued structures
-
-Downloaded from upstream commit
-https://github.com/znc/Csocket/commit/87f3dac8ba8dea5628b05416bdef454b4ef2d236
-
-Signed-off-by: Bernd Kuhls <[email protected]>
-(rebased for znc)
----
- Csocket.cc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Csocket.cc b/Csocket.cc
-index 46a3bfd..a30da14 100644
---- a/third_party/Csocket/Csocket.cc
-+++ b/third_party/Csocket/Csocket.cc
-@@ -61,7 +61,7 @@
- #  define OPENSSL_NO_TLS1_1            /* 1.0.1-pre~: openssl/openssl@637f374ad49d5f6d4f81d87d7cdd226428aa470c */
- #  define OPENSSL_NO_TLS1_2            /* 1.0.1-pre~: openssl/openssl@7409d7ad517650db332ae528915a570e4e0ab88b */
- # endif
--# ifndef LIBRESSL_VERSION_NUMBER /* forked from OpenSSL 1.0.1g, sets high version "with the idea of discouraging software from relying on magic numbers for detecting features"(!) */
-+# if !defined(LIBRESSL_VERSION_NUMBER) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x03050000fL)
- #  if OPENSSL_VERSION_NUMBER >= 0x10100000
- #   undef HAVE_ERR_REMOVE_THREAD_STATE /* 1.1.0-pre4: openssl/openssl@8509dcc9f319190c565ab6baad7c88d37a951d1c */
- #   undef OPENSSL_NO_SSL2              /* 1.1.0-pre4: openssl/openssl@e80381e1a3309f5d4a783bcaa508a90187a48882 */
package/znc/0002-Fix-build-with-libressl.patch deleted +0 -68

68 lines not on this page · raw message

package/znc/0003-DH_set0_pqg-and-DH_get0_key-have-existed-since-Libre.patch deleted +0 -30
deleted file mode 100644
index a2946643fc..0000000000
@@ -1,30 +0,0 @@
-From 7c8ac8981a8516edaba469641aff4d8ec452ae9e Mon Sep 17 00:00:00 2001
-From: Charlie Li <[email protected]>
-Date: Mon, 14 Mar 2022 18:32:46 -0400
-Subject: [PATCH] DH_set0_pqg and DH_get0_key have existed since LibreSSL 2.7
-
-https://github.com/libressl-portable/openbsd/commit/848e2a019c796b685fc8c5848283b86e48fbe0bf
-https://github.com/libressl-portable/openbsd/commit/3789e379353c1d53313a249461b3d735de4ac742
-
-Downloaded from upstream commit
-https://github.com/znc/znc/commit/7c8ac8981a8516edaba469641aff4d8ec452ae9e
-
-Signed-off-by: Bernd Kuhls <[email protected]>
----
- modules/crypt.cpp | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/modules/crypt.cpp b/modules/crypt.cpp
-index 7655371b6e..68f7aafcea 100644
---- a/modules/crypt.cpp
-+++ b/modules/crypt.cpp
-@@ -68,7 +68,8 @@ class CCryptMod : public CModule {
-     CString m_sPrivKey;
-     CString m_sPubKey;
- 
--#if OPENSSL_VERSION_NUMBER < 0X10100000L || defined(LIBRESSL_VERSION_NUMBER)
-+#if OPENSSL_VERSION_NUMBER < 0X10100000L || \
-+    (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x02070000fL)
-     static int DH_set0_pqg(DH* dh, BIGNUM* p, BIGNUM* q, BIGNUM* g) {
-         /* If the fields p and g in dh are nullptr, the corresponding input
-          * parameters MUST be non-nullptr.  q may remain nullptr.
package/znc/0004-Add-support-SWIG-4.1.0-drop-support-for-4.0.1.patch deleted +0 -53

53 lines not on this page · raw message

package/znc/Config.in +3 -3
index 915b5f632c..3b8f0f7195 100644
@@ -3,7 +3,7 @@ config BR2_PACKAGE_ZNC
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_MMU # fork()
 	depends on !BR2_STATIC_LIBS
-	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH if BR2_PACKAGE_LIBOPENSSL
 	help
@@ -11,7 +11,7 @@ config BR2_PACKAGE_ZNC
 
 	  http://www.znc.in
 
-comment "znc needs a toolchain w/ C++, dynamic library, gcc >= 4.8, threads"
+comment "znc needs a toolchain w/ C++, dynamic library, gcc >= 8, threads"
 	depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
-		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_HAS_THREADS
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_8 || !BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_USE_MMU
package/znc/znc.hash +1 -1
index e86171ba1f..8d59c7a1dc 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  ff238aae3f2ae0e44e683c4aee17dc8e4fdd261ca9379d83b48a7d422488de0d  znc-1.8.2.tar.gz
+sha256  8b99c9dbb21c1309705073460be9bfacb6f7b0e83a15fe5d4b7140201b39d2a1  znc-1.9.0.tar.gz
 sha256  cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  LICENSE
package/znc/znc.mk +1 -1
index 07fced8407..a910655195 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-ZNC_VERSION = 1.8.2
+ZNC_VERSION = 1.9.0
 ZNC_SITE = http://znc.in/releases/archive
 ZNC_LICENSE = Apache-2.0
 ZNC_LICENSE_FILES = LICENSE
Signature · 6 lines
2.39.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

Removed all patches, they are included in this release. Bumped gcc dependency to >= 8 according to changelog:
https://wiki.znc.in/ChangeLog/1.9.0

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot