summaryrefslogtreecommitdiffstats
path: root/source/n/gnutls/gnutls.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/gnutls/gnutls.SlackBuild')
-rwxr-xr-xsource/n/gnutls/gnutls.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/source/n/gnutls/gnutls.SlackBuild b/source/n/gnutls/gnutls.SlackBuild
index af1cc2ebb..154b283fa 100755
--- a/source/n/gnutls/gnutls.SlackBuild
+++ b/source/n/gnutls/gnutls.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2007, 2008, 2009, 2010, 2016, 2017, 2018, 2020 Patrick Volkerding, Sebeka, MN, USA
+# Copyright 2007, 2008, 2009, 2010, 2016, 2017, 2018, 2020, 2024 Patrick Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=gnutls
VERSION=${VERSION:-$(echo gnutls-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -81,6 +81,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+# [PATCH] Fix RSAES-PKCS1-v1_5 system-wide configuration:
+cat $CWD/1830.patch | patch -p1 --verbose || exit 1
+
# Need to reconf to find guile-3.0.x:
autoreconf -vif
@@ -97,6 +100,9 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-static=no \
--disable-rpath \
--with-included-libtasn1 \
+ --with-brotli \
+ --with-idn \
+ --with-zstd \
--enable-openssl-compatibility \
--build=$ARCH-slackware-linux \
--host=$ARCH-slackware-linux || exit 1