summaryrefslogtreecommitdiff
path: root/repo/tip/cacert-utils.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-17 17:39:57 +0000
committerdavidovski <david@davidovski.xyz>2022-01-17 17:39:57 +0000
commitd6a5183ad3b83652a9e473606a51c3c2620da5ce (patch)
tree6232e473cd7340ce8fde0cb23058ef64e1da31f8 /repo/tip/cacert-utils.xibuild
parent37cb49de0338e880b626fcbb9b0150a87531fedd (diff)
moved tip to skip
Diffstat (limited to 'repo/tip/cacert-utils.xibuild')
-rw-r--r--repo/tip/cacert-utils.xibuild35
1 files changed, 0 insertions, 35 deletions
diff --git a/repo/tip/cacert-utils.xibuild b/repo/tip/cacert-utils.xibuild
deleted file mode 100644
index f88b9d2..0000000
--- a/repo/tip/cacert-utils.xibuild
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-
-DEPS=(bash coreutils findutils p11-kit)
-
-SOURCE=https://src.fedoraproject.org/rpms/ca-certificates
-DESC="CA certificate utilities"
-
-build() {
- asciidoc.py -v -d manpage -b docbook update-ca-trust.8.txt
- xsltproc --nonet -o update-ca-trust.8 /etc/asciidoc/docbook-xsl/manpage.xsl update-ca-trust.8.xml
-}
-
-package () {
- rm update-ca-trust
- wget https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/ca-certificates/trunk/update-ca-trust
-
- install -Dt "$PKG_DEST/usr/bin" update-ca-trust
- install -Dt "$PKG_DEST/usr/share/man/man8" -m644 update-ca-trust.8
- install -Dt "$PKG_DEST/usr/share/libalpm/hooks" -m644 *.hook
-
- # Trust source directories
- # Upstream also adds "blocklist" but that's useless without support in p11-kit
- install -d "$PKG_DEST"/{etc,usr/share}/ca-certificates/trust-source/{anchors,blocklist}
-
- # Directories used by update-ca-trust (aka "trust extract-compat")
- install -d "$PKG_DEST"/etc/{ssl/certs/{edk2,java},ca-certificates/extracted}
-
- # Compatibility link for OpenSSL using /etc/ssl as CAdir
- # Used in preference to the individual links in /etc/ssl/certs
- ln -sr "$PKG_DEST/etc/ca-certificates/extracted/tls-ca-bundle.pem" "$PKG_DEST/etc/ssl/cert.pem"
-
- # Compatiblity link for legacy bundle
- ln -sr "$PKG_DEST/etc/ca-certificates/extracted/tls-ca-bundle.pem" "$PKG_DEST/etc/ssl/certs/ca-certificates.crt"
-
-}