summaryrefslogtreecommitdiffstats
path: root/source/n/ca-certificates
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/ca-certificates')
-rwxr-xr-xsource/n/ca-certificates/ca-certificates.SlackBuild7
-rw-r--r--source/n/ca-certificates/slack-desc2
-rw-r--r--source/n/ca-certificates/update-ca-certificates.c_rehash.diff14
3 files changed, 21 insertions, 2 deletions
diff --git a/source/n/ca-certificates/ca-certificates.SlackBuild b/source/n/ca-certificates/ca-certificates.SlackBuild
index 847769370..08c7bd3e5 100755
--- a/source/n/ca-certificates/ca-certificates.SlackBuild
+++ b/source/n/ca-certificates/ca-certificates.SlackBuild
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=ca-certificates
VERSION=${VERSION:-$(echo certdata-*.txt.xz | cut -f 2 -d - | cut -f 1 -d .)}
ARCH=noarch
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
@@ -64,6 +64,11 @@ find . \
# Remove incompatible command operators used to call 'run-parts':
zcat $CWD/fixup_update-ca-certificates.diff.gz | patch -p1 || exit 1
+# Use "c_rehash" rather than "openssl rehash". They act mostly the same, but
+# the openssl builtin is not available on older versions of Slackware, while
+# c_rehash will always be there.
+zcat $CWD/update-ca-certificates.c_rehash.diff.gz | patch -p1 || exit 1
+
# Update to certdata.txt from $CWD:
xzcat $CWD/certdata-${VERSION}.txt.xz > mozilla/certdata.txt
diff --git a/source/n/ca-certificates/slack-desc b/source/n/ca-certificates/slack-desc
index 0ccfdb193..d33aa3756 100644
--- a/source/n/ca-certificates/slack-desc
+++ b/source/n/ca-certificates/slack-desc
@@ -11,7 +11,7 @@ ca-certificates:
ca-certificates: This package includes PEM files of CA certificates to allow SSL-based
ca-certificates: applications to check for the authenticity of SSL connections.
ca-certificates:
-ca-certificates: Homepage: http://packages.qa.debian.org/c/ca-certificates.html
+ca-certificates:
ca-certificates:
ca-certificates:
ca-certificates:
diff --git a/source/n/ca-certificates/update-ca-certificates.c_rehash.diff b/source/n/ca-certificates/update-ca-certificates.c_rehash.diff
new file mode 100644
index 000000000..c32849bee
--- /dev/null
+++ b/source/n/ca-certificates/update-ca-certificates.c_rehash.diff
@@ -0,0 +1,14 @@
+--- ./sbin/update-ca-certificates.orig 2019-02-26 14:32:54.468993281 -0600
++++ ./sbin/update-ca-certificates 2019-02-26 14:33:18.352991305 -0600
+@@ -174,9 +174,9 @@
+ # only run if set of files has changed
+ if [ "$verbose" = 0 ]
+ then
+- openssl rehash . > /dev/null
++ c_rehash . > /dev/null
+ else
+- openssl rehash .
++ c_rehash .
+ fi
+ fi
+