mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
core/nss to 3.23-4
This commit is contained in:
parent
aacb0f3af7
commit
39c4957021
3 changed files with 1 additions and 28 deletions
|
@ -7,7 +7,7 @@
|
||||||
pkgbase=nss
|
pkgbase=nss
|
||||||
pkgname=(nss ca-certificates-mozilla)
|
pkgname=(nss ca-certificates-mozilla)
|
||||||
pkgver=3.23
|
pkgver=3.23
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgdesc="Mozilla Network Security Services"
|
pkgdesc="Mozilla Network Security Services"
|
||||||
arch=(i686 x86_64)
|
arch=(i686 x86_64)
|
||||||
url="http://www.mozilla.org/projects/security/pki/nss/"
|
url="http://www.mozilla.org/projects/security/pki/nss/"
|
||||||
|
@ -66,8 +66,6 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
package_nss() {
|
package_nss() {
|
||||||
install=nss.install
|
|
||||||
|
|
||||||
cd nss-$pkgver
|
cd nss-$pkgver
|
||||||
install -d "$pkgdir"/usr/{bin,include/nss,lib/pkgconfig}
|
install -d "$pkgdir"/usr/{bin,include/nss,lib/pkgconfig}
|
||||||
|
|
||||||
|
@ -113,7 +111,6 @@ package_nss() {
|
||||||
package_ca-certificates-mozilla() {
|
package_ca-certificates-mozilla() {
|
||||||
pkgdesc="Mozilla's set of trusted CA certificates"
|
pkgdesc="Mozilla's set of trusted CA certificates"
|
||||||
depends=(ca-certificates-utils)
|
depends=(ca-certificates-utils)
|
||||||
install=ca-certificates-mozilla.install
|
|
||||||
|
|
||||||
local _certdir="$pkgdir/usr/share/ca-certificates/trust-source"
|
local _certdir="$pkgdir/usr/share/ca-certificates/trust-source"
|
||||||
install -Dm644 ca-bundle.trust.crt "$_certdir/mozilla.trust.crt"
|
install -Dm644 ca-bundle.trust.crt "$_certdir/mozilla.trust.crt"
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
post_install() {
|
|
||||||
usr/bin/update-ca-trust
|
|
||||||
}
|
|
||||||
|
|
||||||
post_upgrade() {
|
|
||||||
post_install
|
|
||||||
}
|
|
||||||
|
|
||||||
pre_remove() {
|
|
||||||
post_install
|
|
||||||
}
|
|
|
@ -1,13 +0,0 @@
|
||||||
post_upgrade() {
|
|
||||||
if (($(vercmp $2 3.18-3) < 0)); then
|
|
||||||
# This symlink was created by ldconfig because we linked to
|
|
||||||
# pkcs11/p11-kit-trust.so from libnssckbi.so; the chain was:
|
|
||||||
# p11-kit-trust.so -> libnssckbi.so -> pkcs11/p11-kit-trust.so
|
|
||||||
# Now we have:
|
|
||||||
# libnssckbi.so -> libnssckbi-p11-kit.so
|
|
||||||
# which no longer creates an incorrect p11-kit-trust.so symlink
|
|
||||||
if [[ $(readlink usr/lib/p11-kit-trust.so) == libnssckbi.so ]]; then
|
|
||||||
rm usr/lib/p11-kit-trust.so
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
Loading…
Reference in a new issue