100 lines
5 KiB
Bash
100 lines
5 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgbase=ca-certificates
|
|
pkgname=(ca-certificates-utils ca-certificates)
|
|
pkgver=20240618
|
|
pkgrel=01
|
|
pkgdesc="Common CA certificates"
|
|
url="https://src.fedoraproject.org/rpms/ca-certificates"
|
|
makedepends=(asciidoc p11-kit)
|
|
source=(update-ca-trust update-ca-trust.8.txt 40-update-ca-trust.hook
|
|
README.{etc,etcssl,extr,java,src,usr})
|
|
|
|
build() {
|
|
a2x -v -f manpage update-ca-trust.8.txt
|
|
}
|
|
|
|
package_ca-certificates-utils() {
|
|
pkgdesc+=" (utilities)"
|
|
depends=(bash coreutils findutils 'p11-kit')
|
|
provides=(ca-certificates ca-certificates-java)
|
|
conflicts=(ca-certificates-java)
|
|
replaces=(ca-certificates-java)
|
|
install=ca-certificates-utils.install
|
|
|
|
install -Dt "$pkgdir/usr/bin" update-ca-trust
|
|
install -Dt "$pkgdir/usr/share/man/man8" -m644 update-ca-trust.8
|
|
install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
|
|
|
|
local etcdir="$pkgdir/etc/$pkgbase"
|
|
local ssldir="$pkgdir/etc/ssl"
|
|
local usrdir="$pkgdir/usr/share/$pkgbase"
|
|
|
|
# Trust source directories
|
|
install -Dm644 README.etc "$etcdir/README"
|
|
install -Dm644 README.src "$etcdir/trust-source/README"
|
|
install -Dm644 README.usr "$usrdir/trust-source/README"
|
|
install -d {"$etcdir","$usrdir"}/trust-source/{anchors,blocklist}
|
|
|
|
# Directories used by update-ca-trust (aka "trust extract-compat")
|
|
install -Dm644 README.etcssl "$ssldir/README"
|
|
install -Dm644 README.java "$ssldir/certs/java/README"
|
|
install -Dm644 README.extr "$etcdir/extracted/README"
|
|
|
|
# Compatibility link for OpenSSL using /etc/ssl as CAdir
|
|
# Used in preference to the individual links in /etc/ssl/certs
|
|
ln -sr "$etcdir/extracted/tls-ca-bundle.pem" "$ssldir/cert.pem"
|
|
|
|
# Compatibility link for legacy bundle (Debian)
|
|
ln -sr "$etcdir/extracted/tls-ca-bundle.pem" "$ssldir/certs/ca-certificates.crt"
|
|
|
|
# Compatibility link for legacy bundle (RHEL/Fedora)
|
|
ln -sr "$etcdir/extracted/tls-ca-bundle.pem" "$ssldir/certs/ca-bundle.crt"
|
|
|
|
# FIXME: Make "$ssldir/certs/java/cacerts" a packaged symlink, too
|
|
}
|
|
|
|
package_ca-certificates() {
|
|
pkgdesc+=" (default providers)"
|
|
depends=(ca-certificates-mozilla)
|
|
conflicts=('ca-certificates-cacert<=20140824-4')
|
|
replaces=("${conflicts[@]}")
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=(GPL-2.0-or-later)
|
|
|
|
b2sums=( 31a8539ffb9fc2cdc840a079f8e5a8d5c0b45b36db33a835a2c5784d4151e33f6b5c36c44ff809932cc8ba130015a768f94e73a26f694a48a91cd82b540a7bbd # update-ca-trust.1
|
|
08a77b118db14f520a9a3fa8ee257eaa03fded9d7267e29836f1d5eeb65b2c875ec081eddc3e71473dd4ea50a0a43346c5a60a89362b02bab601d0e78331c7f8 # update-ca-trust.8.txt.1
|
|
82e3d728267d931dd8613f5e4944995fb1909dffdd61bce17c5c8aa0e8d14201d249cb25899ac631e6a44a6d2acc02e62bd17692fd7fd27e3c8fb9a7648c6004 # 40-update-ca-trust.hook
|
|
0de3d4ce83f00f95ea7b94f497403b4dc7ff5d0de33bdc76abe3bdd02280d6dc494c7ca4334cfdc5b91ab3fb0022c69f6809eca67d12e77048aa7f70252d479c # README.etc
|
|
a43766c7e451b3053abee99f8c9c526d984e20c1e60f1ef6e685805bbca46afa2725c7768a16ac5464778132fb13b43e59b2145ea89e4d2058f68cd2bf0abb1a # README.etcssl
|
|
ead530282525ea699fcb814fe9fcfe7f47d44febef40703dd65372fd6e583c347f07135efe5244b1d9c400b235dc43a3f7b27abb4c87ef5faa61da6c6d744ebf # README.extr
|
|
9fdd34c3f99a01a0d12bb48595114def7685841f81871f5dbf56c433e19bb3acb733e108e6463b48425cd4b74a41ee961c927b24c2dce65f26a37baae5ed9eb9 # README.java
|
|
1fbefe367f9e59e7bc5886d07b7da8bd918c8b77ab0d2026813dad965294d2bb3fd4698d6b22e728d890044b98c0015e7328c050c5d96d0e7d2a3a1ae3f16362 # README.src
|
|
57e5f6485cde17139e3d1649bd05e1f1b7e260ec58137d41e91ac938bc728bed8ee72eacd0d03f1ccb8cd9e2a23df0df1b2f5fd46694530e1cb49325b05d68fd) # README.usr
|
|
|
|
sha256sums=(10ffd94e93fa02dca0a3da55757a9f2fc0bacda9bc745087b013a4d09764b892 # update-ca-trust
|
|
b5088b6a4d5bcf59e7518bb903fdedb0366d3c0033560ca2205df74716adc396 # update-ca-trust.8.txt
|
|
3a3833ebd6f9cdef2e534a273653f973a4354d4f9368577d0d73236b014b7748 # 40-update-ca-trust.hook
|
|
e14e00e2e862ac0da3fc77c265e58ee3dcc9c776280639323b8ee804c9d0f69a # README.etc
|
|
c94462e3addd6328d3fda77436bfb9d39099dd9dbfb6bafd5941d743cb0aaf10 # README.etcssl
|
|
26b07fa4b58c6f9d6a94b549233cfad48a3dd78b9ce97156d85fd7ef3db12df4 # README.extr
|
|
5300660244bb621cbbb7fd3646bd33f7a5fad6801580593d8d5b3cf6fa9a158d # README.java
|
|
eba594055ad00cb0b73fc2b0eb8aa4845e5cb4eb42aac88e5f1429213b9e301f # README.src
|
|
3493832f17595d6d5a6711e5b188ef36f040e0caec7e0f3303623550ed6943cc) # README.usr
|
|
|
|
## df5f30d979073d06006b18950603b6e3ea220312b0d4ecaac84e26704b72655b ca-certificates-20240618-01-x86_64.pkg.tar.lz
|
|
## fd5aa936b8e6b4e08ca69127e838b69ec06e693bf2aad258a25b0097cd9cb1d8 ca-certificates-utils-20240618-01-x86_64.pkg.tar.lz
|
|
|
|
|
|
## 581c4f5c03f144298e2f9fe72d99a9e6d98cdbeea076f20d687559de701fd5c0 # ca-certificates-utils.install
|
|
581c4f5c03f144298e2f9fe72d99a9e6d98cdbeea076f20d687559de701fd5c0 # ca-certificates-utils.install.1
|