Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (6dae4cb38d3130120aa095d60baef3be5404f4c5)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (6dae4cb38d3130120aa095d60baef3be5404f4c5)
  • Date: Fri, 21 Aug 2026 10:09:25 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

http/ngtcp2/BUILD | 12 +----------
http/ngtcp2/DEPENDS | 34
+++++---------------------------
http/ngtcp2/DETAILS | 17 ++++------------
http/ngtcp2/HISTORY | 13 ++++++++++++
http/ngtcp2/INSTALL | 7 ------
http/ngtcp2/PREPARE | 4 ---
http/ngtcp2/PRE_BUILD | 10 ---------
http/ngtcp2/PRE_SUB_DEPENDS | 2 -
http/ngtcp2/REPAIR^none^PRE_SUB_DEPENDS | 2 -
http/ngtcp2/SUB_DEPENDS | 3 +-
http/ngtcp2/WATCH | 1
11 files changed, 31 insertions(+), 74 deletions(-)

New commits:
commit 6dae4cb38d3130120aa095d60baef3be5404f4c5
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

ngtcp2 1.25.0

diff --git a/http/ngtcp2/BUILD b/http/ngtcp2/BUILD
index 2e56e2d..da63c5e 100755
--- a/http/ngtcp2/BUILD
+++ b/http/ngtcp2/BUILD
@@ -1,11 +1,3 @@
-if [[ "${NGTCP2_WITHSSL}" == "y" ]]; then
- cd "${SOURCE_DIRECTORY}/openssl" &&
- ./config enable-tls1_3 no-shared
--prefix="${SOURCE_DIRECTORY}/openssl/build" &&
- make -j${MAKE_NJOBS:-1} &&
- make -j${MAKE_NJOBS:-1} install_sw &&
- OPTS+=" --with-openssl" &&
- export OPENSSL_CFLAGS="-I${SOURCE_DIRECTORY}/openssl/build/include" &&
- export OPENSSL_LIBS="-pthread -Wl,--whole-archive -ldl -lpthread -lrt
${SOURCE_DIRECTORY}/openssl/build/lib/libssl.a
${SOURCE_DIRECTORY}/openssl/build/lib/libcrypto.a -Wl,--no-whole-archive" &&
- cd "${SOURCE_DIRECTORY}"
-fi &&
+OPTS="--disable-static --enable-lib-only ${OPTS}" &&
+
default_build
diff --git a/http/ngtcp2/DEPENDS b/http/ngtcp2/DEPENDS
index a3b357b..070b485 100755
--- a/http/ngtcp2/DEPENDS
+++ b/http/ngtcp2/DEPENDS
@@ -1,33 +1,11 @@
-depends autoconf &&
-depends automake &&
-depends git &&
depends PKG-CONFIG &&
-depends libtool &&
-if [[ "${NGTCP2_WITHSSL}" == "y" ]]; then
- depends perl
-fi &&
+
+optional_depends SSL \
+ "--with-openssl" \
+ "--without-openssl" \
+ "for quictls/LibreSSL/OpenSSL crypto backend" &&

optional_depends gnutls \
"--with-gnutls" \
"--without-gnutls" \
- "for GnuTLS crypto backend" &&
-
-optional_depends libev \
- "--with-libev" \
- "--without-libev" \
- "for examples" &&
-
-if is_depends_enabled "${SPELL}" "libev" ; then
- depends nghttp3 "--with-libnghttp3"
-else
- optional_depends nghttp3 \
- "--with-libnghttp3" \
- "--without-libnghttp3" \
- "for HTTP/3 support"
-fi
-
-# Needs QUIC support in SSL
-#optional_depends SSL \
-# "--with-openssl" \
-# "--without-openssl" \
-# "for SSL crypto backend"
+ "for GnuTLS crypto backend"
diff --git a/http/ngtcp2/DETAILS b/http/ngtcp2/DETAILS
index 81ec1b4..97748a1 100755
--- a/http/ngtcp2/DETAILS
+++ b/http/ngtcp2/DETAILS
@@ -1,16 +1,9 @@
-. "${GRIMOIRE}/FUNCTIONS"
SPELL="ngtcp2"
- VERSION="$(get_scm_version)"
- SOURCE="${SPELL}-git.tar.xz"
-SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-git"
- SOURCE_URL="git_http://github.com/${SPELL}/${SPELL}:${SPELL}-git:main";
- SOURCE_IGNORE="volatile"
- FORCE_DOWNLOAD="on"
-if [[ "${NGTCP2_WITHSSL}" == "y" ]]; then
- SOURCE2="${SPELL}-openssl-git.tar.xz"
-
SOURCE2_URL="git_http://github.com/quictls/openssl:${SPELL}-openssl-git:OpenSSL_1_1_1l+quic";
- SOURCE2_IGNORE="volatile"
-fi
+ VERSION="1.25.0"
+
SOURCE_HASH="sha512:b5ebf0a4248a13b9231ac0b6353adbf6634a19bb57db3cf39947746c399ebc5085f780a540d246b7226bb994a920ad0cc9b755ebd9fe58c18a6838d50b6bc90e"
+ SOURCE="${SPELL}-${VERSION}.tar.xz"
+
SOURCE_URL[0]="https://github.com/ngtcp2/${SPELL}/releases/download/v${VERSION}/${SOURCE}";
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
WEB_SITE="https://github.com/ngtcp2/ngtcp2";
LICENSE[0]="MIT"
ENTERED="20211107"
diff --git a/http/ngtcp2/HISTORY b/http/ngtcp2/HISTORY
index 656236b..527e057 100644
--- a/http/ngtcp2/HISTORY
+++ b/http/ngtcp2/HISTORY
@@ -1,3 +1,16 @@
+2026-08-21 Ismael Luceno <ismael AT sourcemage.org>
+ * DETAILS: switched from git to upstream release 1.25.0
+ * DEPENDS: dropped autotools and git, not needed for release tarballs;
+ enabled the SSL crypto backend, --with-openssl now detects quictls,
+ LibreSSL and OpenSSL 3.5+; dropped libev and nghttp3, only used by
the
+ examples, which are never installed
+ * BUILD: added --disable-static and --enable-lib-only, dropped the
+ bundled quictls build
+ * SUB_DEPENDS, PRE_SUB_DEPENDS, REPAIR^none^PRE_SUB_DEPENDS: WITHSSL
now
+ forces the system SSL provider
+ * INSTALL, PREPARE, PRE_BUILD: removed, no longer needed
+ * WATCH: added
+
2022-09-10 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: git -> git_http,

(https://github.blog/2021-09-01-improving-git-protocol-security-github/)
diff --git a/http/ngtcp2/INSTALL b/http/ngtcp2/INSTALL
deleted file mode 100755
index cff56d3..0000000
--- a/http/ngtcp2/INSTALL
+++ /dev/null
@@ -1,7 +0,0 @@
-default_install &&
-
-if [[ "${NGTCP2_WITHSSL}" == "y" ]]; then
- mkdir -p "${INSTALL_ROOT}/usr/include/${SPELL}" &&
- cp -a "${SOURCE_DIRECTORY}/openssl/build/include/openssl" \
- "${INSTALL_ROOT}/usr/include/${SPELL}"
-fi
diff --git a/http/ngtcp2/PREPARE b/http/ngtcp2/PREPARE
deleted file mode 100755
index 32b4316..0000000
--- a/http/ngtcp2/PREPARE
+++ /dev/null
@@ -1,4 +0,0 @@
-. ${GRIMOIRE}/FUNCTIONS &&
-prepare_select_branch &&
-
-config_query NGTCP2_WITHSSL "Enable SSL crypto backend?" n
diff --git a/http/ngtcp2/PRE_BUILD b/http/ngtcp2/PRE_BUILD
deleted file mode 100755
index 556c77e..0000000
--- a/http/ngtcp2/PRE_BUILD
+++ /dev/null
@@ -1,10 +0,0 @@
-default_pre_build &&
-cd "${SOURCE_DIRECTORY}" &&
-
-if [[ "${NGTCP2_WITHSSL}" == "y" ]]; then
- unpack_file '2' &&
- mv ${SPELL}-openssl-git openssl &&
- sed "/Cflags/s;$; -I\$\{includedir\}/${SPELL};" \
- -i crypto/openssl/libngtcp2_crypto_openssl.pc.in
-fi &&
-autoreconf -i
diff --git a/http/ngtcp2/PRE_SUB_DEPENDS b/http/ngtcp2/PRE_SUB_DEPENDS
index 020ceb3..57af708 100755
--- a/http/ngtcp2/PRE_SUB_DEPENDS
+++ b/http/ngtcp2/PRE_SUB_DEPENDS
@@ -1,5 +1,5 @@
case ${THIS_SUB_DEPENDS} in
-WITHSSL) [[ "${NGTCP2_WITHSSL}" = "y" ]] ;;
+WITHSSL) is_depends_enabled "${SPELL}" "$(get_spell_provider ${SPELL} SSL)"
;;
*) message "${PROBLEM_COLOR}bogus sub_depends: ${SPELL}
${THIS_SUB_DEPENDS}${DEFAULT_COLOR}"
return 1 ;;
esac
diff --git a/http/ngtcp2/REPAIR^none^PRE_SUB_DEPENDS
b/http/ngtcp2/REPAIR^none^PRE_SUB_DEPENDS
index 020ceb3..57af708 100755
--- a/http/ngtcp2/REPAIR^none^PRE_SUB_DEPENDS
+++ b/http/ngtcp2/REPAIR^none^PRE_SUB_DEPENDS
@@ -1,5 +1,5 @@
case ${THIS_SUB_DEPENDS} in
-WITHSSL) [[ "${NGTCP2_WITHSSL}" = "y" ]] ;;
+WITHSSL) is_depends_enabled "${SPELL}" "$(get_spell_provider ${SPELL} SSL)"
;;
*) message "${PROBLEM_COLOR}bogus sub_depends: ${SPELL}
${THIS_SUB_DEPENDS}${DEFAULT_COLOR}"
return 1 ;;
esac
diff --git a/http/ngtcp2/SUB_DEPENDS b/http/ngtcp2/SUB_DEPENDS
index bfeb31e..df00e60 100755
--- a/http/ngtcp2/SUB_DEPENDS
+++ b/http/ngtcp2/SUB_DEPENDS
@@ -1,5 +1,6 @@
case ${THIS_SUB_DEPENDS} in
-WITHSSL) NGTCP2_WITHSSL="y" ;;
+WITHSSL) message "${MESSAGE_COLOR}SSL crypto backend requested, forcing
it${DEFAULT_COLOR}" &&
+ depends SSL "--with-openssl" ;;
*) message "${PROBLEM_COLOR}bogus sub_depends: ${SPELL}
${THIS_SUB_DEPENDS}${DEFAULT_COLOR}"
return 1 ;;
esac
diff --git a/http/ngtcp2/WATCH b/http/ngtcp2/WATCH
new file mode 100644
index 0000000..10139d5
--- /dev/null
+++ b/http/ngtcp2/WATCH
@@ -0,0 +1 @@
+0 . https://github.com/ngtcp2/ngtcp2/tags


  • [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (6dae4cb38d3130120aa095d60baef3be5404f4c5), Ismael Luceno, 08/21/2026

Archive powered by MHonArc 2.6.24.

Top of Page