diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2020-03-24 05:08:25 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-03-24 08:59:49 +0100 |
commit | 62f75c0a4e3cb8292cc39d62d6ac8a17f0f40ef9 (patch) | |
tree | 3cdf2eb08a9076f1c86dd21d6a332fd4fc59196e /source/n/curl/curl.SlackBuild | |
parent | 4e99f850ddb6ab96e23d5443f50cbcf15033ee8c (diff) | |
download | current-62f75c0a4e3cb8292cc39d62d6ac8a17f0f40ef9.tar.gz |
Tue Mar 24 05:08:25 UTC 202020200324050825
n/curl-7.69.1-x86_64-3.txz: Rebuilt.
Removed --with-ca-bundle=/usr/share/curl/ca-bundle.crt and
added --without-ca-bundle. Thanks to drgibbon and Willy Sudiarto Raharjo.
Diffstat (limited to 'source/n/curl/curl.SlackBuild')
-rwxr-xr-x | source/n/curl/curl.SlackBuild | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/source/n/curl/curl.SlackBuild b/source/n/curl/curl.SlackBuild index 35708dc7..32f1ef2b 100755 --- a/source/n/curl/curl.SlackBuild +++ b/source/n/curl/curl.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=curl VERSION=${VERSION:-$(echo curl-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-3} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -85,10 +85,11 @@ CFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ - --with-ca-bundle=/usr/share/curl/ca-bundle.crt \ --with-libssh2 \ --with-gssapi \ --enable-static=no \ + --without-ca-bundle \ + --with-ca-path=/etc/ssl/certs \ $SSLOPT || exit 1 make $NUMJOBS || make || exit 1 @@ -106,15 +107,6 @@ rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la make install-man3 DESTDIR=$PKG ) -mkdir -p $PKG/usr/share/curl -cp -a $CWD/cacert.pem.bz2 $PKG/usr/share/curl -( cd $PKG/usr/share/curl - bzip2 -d cacert.pem.bz2 - mv cacert.pem ca-bundle.crt - chown root:root ca-bundle.crt - chmod 644 ca-bundle.crt -) - # We don't ship the related perl script (yet): rm -f $PKG/usr/man/man1/mk-ca-bundle.1 |