Changeset 105afb5 for npl/overig/curl


Ignore:
Timestamp:
11/29/21 12:16:54 (3 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
master
Children:
439f083
Parents:
7c410f9
Message:

update curl, acme (certbot/letsencrypt) and root ca's

Location:
npl/overig/curl
Files:
3 added
5 deleted
11 edited

Legend:

Unmodified
Added
Removed
  • npl/overig/curl/curl.SlackBuild

    r7c410f9 r105afb5  
    22#
    33# Automaticly created by importpackage v1.0
    4 # Imported from: http://mirrors.slackware.com/slackware/slackware-current/source/n/curl/
    5 # Created at Thu Oct 13 15:04:31 CEST 2016
     4# Imported from: https://mirrors.slackware.com/slackware/slackware-current/source/n/curl/
     5# Created at ma 29 nov 2021 11:59:09 CET
    66#DEP:openssl
    77
  • npl/overig/curl/curl.SlackBuild.orig

    r7c410f9 r105afb5  
    1 #!/bin/sh
     1#!/bin/bash
    22
    3 # Copyright 2008, 2009, 2010, 2011, 2013, 2014, 2016  Patrick J. Volkerding, Sebeka, MN, USA
     3# Copyright 2008, 2009, 2010, 2011, 2013, 2014, 2016, 2017, 2018, 2020, 2021  Patrick J. Volkerding, Sebeka, MN, USA
    44# All rights reserved.
    55#
     
    2121#  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2222
     23cd $(dirname $0) ; CWD=$(pwd)
    2324
    2425PKGNAM=curl
    25 VERSION=${VERSION:-$(echo curl-*.tar.bz2 | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
     26VERSION=${VERSION:-$(echo curl-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
    2627BUILD=${BUILD:-1}
    2728
     
    3637fi
    3738
    38 NUMJOBS=${NUMJOBS:-" -j7 "}
     39# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
     40# the name of the created package would be, and then exit. This information
     41# could be useful to other scripts.
     42if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
     43  echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
     44  exit 0
     45fi
    3946
    40 CWD=$(pwd)
     47NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
     48
    4149TMP=${TMP:-/tmp}
    4250PKG=$TMP/package-curl
    4351
    44 # Uncomment to build a no-SSL version:
    45 #SSLOPT=--without-ssl
     52# Set this variable to "--without-ssl" to build a no-SSL version:
     53SSLOPT=${SSLOPT:-"--with-openssl"}
    4654
    4755if [ "$ARCH" = "i586" ]; then
     
    6371cd $TMP
    6472rm -rf curl-$VERSION
    65 tar xvf $CWD/curl-$VERSION.tar.bz2 || exit 1
    66 cd curl-$VERSION
     73tar xvf $CWD/curl-$VERSION.tar.xz || exit 1
     74cd curl-$VERSION || exit 1
    6775
    6876chown -R root:root .
    6977find . \
    7078  \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
    71   -exec chmod 755 {} \; -o \
     79  -exec chmod 755 {} \+ -o \
    7280  \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
    73   -exec chmod 644 {} \;
     81  -exec chmod 644 {} \+
    7482
    7583CFLAGS="$SLKCFLAGS" \
     
    7886  --libdir=/usr/lib${LIBDIRSUFFIX} \
    7987  --mandir=/usr/man \
    80   --with-ca-bundle=/usr/share/curl/ca-bundle.crt \
     88  --with-gssapi \
    8189  --enable-static=no \
    82   $SSLOPT
     90  --without-ca-bundle \
     91  --with-ca-path=/etc/ssl/certs \
     92  $SSLOPT || exit 1
    8393
    8494make $NUMJOBS || make || exit 1
    8595make install DESTDIR=$PKG || exit 1
    8696
    87 mkdir -p $PKG/usr/share/curl
    88 cp -a $CWD/cacert.pem.bz2 $PKG/usr/share/curl
    89 ( cd $PKG/usr/share/curl
    90   bzip2 -d cacert.pem.bz2
    91   mv cacert.pem ca-bundle.crt
    92   chown root:root ca-bundle.crt
    93   chmod 644 ca-bundle.crt
     97# Don't ship .la files:
     98rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
     99
     100# We have always installed the man3 documentation, so we'll keep doing it
     101# even though these are no longer installed by default. No || exit 1, if
     102# it works, it works, and if it doesn't, we tried.
     103( cd docs/libcurl
     104  make install-man3 DESTDIR=$PKG
     105  cd opts
     106  make install-man3 DESTDIR=$PKG
    94107)
    95108
     
    104117mkdir -p $PKG/usr/doc/curl-$VERSION
    105118cp -a \
    106   COPYING* README* \
     119  COPYING* README*  \
    107120  $PKG/usr/doc/curl-$VERSION
    108 ( cd docs
    109   rm -rf Makefile* curl-config.1 curl-config.html curl.1 curl.html libcurl
    110   cp -a \
    111     BUGS  FAQ FEATURES INSTALL  MANUAL README* RESOURCES THANKS TODO examples \
    112     $PKG/usr/doc/curl-$VERSION )
    113121# Get rid of .deps cruft:
    114 rm -rf $PKG/usr/doc/curl-$VERSION/examples/.deps
     122rm -rf $PKG/usr/doc/curl-$VERSION/examples/.deps || true
    115123
    116124# If there's a CHANGES file, installing at least part of the recent history
  • npl/overig/curl/curl.build

    r7c410f9 r105afb5  
    1 6526
     16527
     2
  • npl/overig/curl/curl.md5

    r7c410f9 r105afb5  
    1 6a26088131084de88249d18c712efe22  ./cacert-fetch.sh
    2 de25f1a2e0fe6347cbc1b8cf15fb5235  ./cacert.pem.bz2
    3 bd177fd6deecce00cfa7b5916d831c5e  ./curl-7.50.3.tar.bz2
    4 8280845acce7ce9a0d86d2d56f6cb7ed  ./curl-7.50.3.tar.bz2.asc
    5 39c7a420f62ededda8fb99dfda559ae7  ./curl_dev.pkg
    6 3874608d5935cc4fc98ddf66af5b68d8  ./curl.pkg
    7 a2b9ad44cbfffc395e9659aaa54f15fa  ./curl.SlackBuild
    8 c6b669414601bbf65ae4e70f3963f38d  ./curl.SlackBuild.log.gz
    9 c5aaf1f564f36d3e644b1cfa78d65d25  ./curl.SlackBuild.orig
    10 57ca4674cb7b3f61a5368f03c762b298  ./slack-desc
     1cf9f8553762150ef0ebcd5ee412737f5  ./curl-7.80.0.tar.xz
     2acdfa1afa53bc2b3860890fe56164400  ./curl-7.80.0.tar.xz.asc
     37a91c1763505d6ab1838b080cda02479  ./curl_dev.pkg
     4d1c96ad6fda1e0a5c72af6704f1c518e  ./curl.pkg
     5d7cfd54cbf5d2e6530bd4d0d11d41f6b  ./curl.SlackBuild
     60deec8e8a5ad982c5ca4ba26559da236  ./curl.SlackBuild.log.gz
     7f4e145d65c8e5699c6aee62d6202b911  ./curl.SlackBuild.orig
     8e5ca7d0aa9057708c065f7dee5c43ed6  ./curl.url
     9c722a231538a9f14d2335d36231f0c9b  ./slack-desc
  • npl/overig/curl/curl.version

    r7c410f9 r105afb5  
    1 7.50.3
     17.80.0
  • npl/overig/curl/curl_dev.build

    r7c410f9 r105afb5  
    1 6526
     16527
  • npl/overig/curl/curl_dev.version

    r7c410f9 r105afb5  
    1 7.50.3
     17.80.0
  • npl/overig/curl/slack-desc

    r7c410f9 r105afb5  
    11# HOW TO EDIT THIS FILE:
    2 # The "handy ruler" below makes it easier to edit a package description.  Line
     2# The "handy ruler" below makes it easier to edit a package description. Line
    33# up the first '|' above the ':' following the base package name, and the '|'
    4 # on the right side marks the last column you can put a character in.  You must
    5 # make exactly 11 lines for the formatting to be correct.  It's also
     4# on the right side marks the last column you can put a character in. You must
     5# make exactly 11 lines for the formatting to be correct. It's also
    66# customary to leave one space after the ':'.
    77
     
    1010curl:
    1111curl: Curl is a command line tool for transferring data specified with URL
    12 curl: syntax.  The command is designed to work without user interaction or
    13 curl: any kind of interactivity.   Curl offers a busload of useful tricks
     12curl: syntax. The command is designed to work without user interaction or
     13curl: any kind of interactivity. Curl offers a busload of useful tricks
    1414curl: like proxy support, user authentication, ftp upload, HTTP post,  SSL
    1515curl: (https:) connections, cookies, file transfer resume and more.
Note: See TracChangeset for help on using the changeset viewer.