Changeset 105afb5 for npl/system


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/system/ca_certificates
Files:
4 added
2 deleted
12 edited
1 moved

Legend:

Unmodified
Added
Removed
  • npl/system/ca_certificates/ca-certificates.SlackBuild.orig

    r7c410f9 r105afb5  
    1 #!/bin/sh
     1#!/bin/bash
    22
    33# Slackware build script for ca-certificates
    44
    55# Copyright 2009,2011  Robby Workman  Northport, AL, USA
    6 # Copyright 2012, 2013, 2015, 2016  Patrick J. Volkerding, Sebeka, MN, USA
     6# Copyright 2012, 2013, 2015, 2016, 2018  Patrick J. Volkerding, Sebeka, MN, USA
    77# All rights reserved.
    88#
     
    2424# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2525
     26cd $(dirname $0) ; CWD=$(pwd)
     27
    2628PKGNAM=ca-certificates
    27 VERSION=${VERSION:-20161130}
     29VERSION=${VERSION:-$(echo certdata-*.txt.xz | cut -f 2 -d - | cut -f 1 -d .)}
    2830ARCH=noarch
    2931BUILD=${BUILD:-1_slack14.2}
    3032
    31 TARVERSION=${VERSION}+nmu1
     33# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
     34# the name of the created package would be, and then exit. This information
     35# could be useful to other scripts.
     36if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
     37  echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
     38  exit 0
     39fi
    3240
    33 CWD=$(pwd)
     41TARVERSION=${VERSION}
     42
    3443TMP=${TMP:-/tmp}
    3544PKG=$TMP/package-$PKGNAM
     
    3948cd $TMP
    4049
    41 # Need both $PKGNAM and $PKGNAM-$VERSION since upstream can't decide how
    42 # to package their tarball:
    43 rm -rf $PKGNAM $PKGNAM-$VERSION
     50rm -rf $PKGNAM
    4451
    4552# Extract the tarball:
    46 tar xvf $CWD/${PKGNAM}_$TARVERSION.tar.?z || exit 1
     53tar xvf $CWD/${PKGNAM}.tar.?z || exit 1
    4754
    48 # Again, both $PKGNAM and $PKGNAM-$VERSION are needed here:
    49 cd $PKGNAM-$VERSION || cd $PKGNAM || exit 1
     55cd $PKGNAM || exit 1
    5056
    5157chown -R root:root .
     
    5662 -exec chmod 644 {} \;
    5763
    58 # Obsolete?
    59 #zcat $CWD/patches/fixup_DESTDIR.diff.gz | patch -p1 || exit 1
     64# Remove incompatible command operators used to call 'run-parts':
     65zcat $CWD/fixup_update-ca-certificates.diff.gz | patch -p1 || exit 1
    6066
    61 # Remove incompatible command operators used to call 'run-parts':
    62 zcat $CWD/patches/fixup_update-ca-certificates.diff.gz | patch -p1 || exit 1
     67# Use "c_rehash" rather than "openssl rehash". They act mostly the same, but
     68# the openssl builtin is not available on older versions of Slackware, while
     69# c_rehash will always be there.
     70zcat $CWD/update-ca-certificates.c_rehash.diff.gz | patch -p1 || exit 1
     71
     72# Update to certdata.txt from $CWD:
     73xzcat $CWD/certdata-${VERSION}.txt.xz > mozilla/certdata.txt
    6374
    6475make || exit 1
    6576make install DESTDIR=$PKG || exit 1
    6677
     78# Remove expired certificate:
     79if [ -r $PKG//usr/share/ca-certificates/mozilla/DST_Root_CA_X3.crt ]; then
     80  rm -f $PKG//usr/share/ca-certificates/mozilla/DST_Root_CA_X3.crt
     81fi
     82
    6783mkdir -p $PKG/etc/ca-certificates/update.d
    6884printf "# Automatically generated by $PKGNAM-$VERSION \n#\n" \
    69   > $PKG/etc/ca-certificates.conf.new
     85  > $PKG/etc/ca-certificates.conf
    7086( cd $PKG/usr/share/ca-certificates
    7187  find . -name '*.crt' | sort | cut -b3-
    72 ) >> $PKG/etc/ca-certificates.conf.new
     88) >> $PKG/etc/ca-certificates.conf
    7389
    7490mkdir -p $PKG/usr/man/man8
     
    7793
    7894mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
    79 mv debian/NEWS debian/NEWS.Debian
    80 cp -a debian/NEWS.Debian debian/README.Debian $PKG/usr/doc/$PKGNAM-$VERSION
     95cp -a docs/* $PKG/usr/doc/$PKGNAM-$VERSION
    8196
    8297mkdir -p $PKG/var/log/setup
  • npl/system/ca_certificates/ca_certificates.SlackBuild

    r7c410f9 r105afb5  
    33# Automaticly created by importpackage v1.0
    44# Imported from: https://mirrors.slackware.com/slackware/slackware-14.2/patches/source/ca-certificates/
    5 # Created at Thu Sep 20 18:32:49 CEST 2018
     5# Created at ma 29 nov 2021 11:53:10 CET
    66
    77
     
    1111source ./ca-certificates.SlackBuild.orig
    1212
    13 mkdir -p /tmp/package-ca-certificates/etc/cron.weekly
    14 ln -s /usr/sbin/update-ca-certificates /tmp/package-ca-certificates/etc/cron.weekly
    1513
    1614############ make syn3 packages
  • npl/system/ca_certificates/ca_certificates.build

    r7c410f9 r105afb5  
    1 6
     17
  • npl/system/ca_certificates/ca_certificates.md5

    r7c410f9 r105afb5  
    1 a09e8b63126188fd0ed77f6fbaf5d35f  ./ca-certificates_20161130+nmu1.tar.xz
    2 f357913107c91908803032be7651db56  ./ca_certificates_dev.pkg
    3 b32269196c2fa44651fb14b021430eec  ./ca_certificates.pkg
    4 6cb73b8350729401c29f1b2e15cff2b8  ./ca_certificates.SlackBuild
    5 5d289f1bc67afe47662457accc53963d  ./ca_certificates.SlackBuild.log.gz
    6 c23d716a27384ed57c9085d400d4cbf9  ./ca-certificates.SlackBuild.orig
    7 d14bfbd360d69256b0f5a916301fdb5a  ./doinst.sh.gz
    8 260654f21ca5431270192d94f421cfc2  ./patches/fixup_DESTDIR.diff.gz
    9 cc23ac9b45fa4649ade60f64fe02eb7d  ./patches/fixup_update-ca-certificates.diff.gz
     1c503ec33059aacb4f4a88081cc2bd969  ./ca_certificates_dev.pkg
     21c80d0320a10ae55a9122f1053cd2074  ./ca_certificates.pkg
     3bdb5f5c4ba574445ab0819e345f42081  ./ca_certificates.SlackBuild
     4648c1c4d1fbd9ded03c092cb18607fe7  ./ca_certificates.SlackBuild.log.gz
     5b0263ee8f963696cf657d84d49a13ed5  ./ca-certificates.SlackBuild.orig
     6a36a44cf0586536772c200fd9ee10fa7  ./ca-certificates.tar.xz
     754a1ef614be13310a71f99a506d522bc  ./certdata-20211005.txt.xz
     82bc10162481837f7b4c8c7532dca0854  ./doinst.sh.gz
     9cc23ac9b45fa4649ade60f64fe02eb7d  ./fixup_update-ca-certificates.diff.gz
     1090833611bbc0db730880e8eb4ca7ca97  ./get-certdata.txt.sh
    10115dbe990e59d512ceb425ea6475ef0ae0  ./setup.11.cacerts
    11 026b3a65d346d6d845f3497819b42fdb  ./slack-desc
     1295c835581d5db3a3188e00f437d83dec  ./slack-desc
     13e64b203a2dc95ad7de22be3f7e6d4739  ./update-ca-certificates.c_rehash.diff.gz
  • npl/system/ca_certificates/ca_certificates.pkg

    • Property mode changed from 100755 to 100644
  • npl/system/ca_certificates/ca_certificates.version

    r7c410f9 r105afb5  
    1 20161130
     120211005
  • npl/system/ca_certificates/ca_certificates_dev.build

    r7c410f9 r105afb5  
    1 6
     17
  • npl/system/ca_certificates/ca_certificates_dev.version

    r7c410f9 r105afb5  
    1 20161130
     120211005
  • npl/system/ca_certificates/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
     
    1212ca-certificates: applications to check for the authenticity of SSL connections.
    1313ca-certificates:
    14 ca-certificates: Homepage: http://packages.qa.debian.org/c/ca-certificates.html
    1514ca-certificates:
    1615ca-certificates:
     
    1817ca-certificates:
    1918ca-certificates:
     19ca-certificates:
Note: See TracChangeset for help on using the changeset viewer.