summaryrefslogtreecommitdiff
path: root/security/ca_root_nss
diff options
context:
space:
mode:
Diffstat (limited to 'security/ca_root_nss')
-rw-r--r--security/ca_root_nss/Makefile5
-rw-r--r--security/ca_root_nss/distinfo6
-rw-r--r--security/ca_root_nss/files/pkg-deinstall.in6
-rw-r--r--security/ca_root_nss/files/pkg-install.in12
-rw-r--r--security/ca_root_nss/pkg-plist3
5 files changed, 24 insertions, 8 deletions
diff --git a/security/ca_root_nss/Makefile b/security/ca_root_nss/Makefile
index 5a7cfdd6e5eb..3ab0c1a1745e 100644
--- a/security/ca_root_nss/Makefile
+++ b/security/ca_root_nss/Makefile
@@ -20,6 +20,7 @@ WRKSRC_SUBDIR= nss
OPTIONS_DEFINE= ETCSYMLINK
OPTIONS_DEFAULT= ETCSYMLINK
OPTIONS_EXCLUDE_FreeBSD_15= ETCSYMLINK
+OPTIONS_EXCLUDE_FreeBSD_16= ETCSYMLINK
OPTIONS_SUB= yes
@@ -29,11 +30,11 @@ ETCSYMLINK_CONFLICTS_INSTALL= ca-roots-[0-9]*
CERTDIR?= share/certs
PLIST_SUB+= CERTDIR=${CERTDIR}
-VERSION_NSS= 3.115
+VERSION_NSS= 3.117
CERTDATA_TXT_PATH= lib/ckfw/builtins/certdata.txt
BUNDLE_PROCESSOR= MAca-bundle.pl
-SUB_FILES= MAca-bundle.pl pkg-message
+SUB_FILES= MAca-bundle.pl pkg-deinstall pkg-install pkg-message
SUB_LIST= VERSION_NSS=${VERSION_NSS}
do-build:
diff --git a/security/ca_root_nss/distinfo b/security/ca_root_nss/distinfo
index dd0317cb9911..ad628b103bcb 100644
--- a/security/ca_root_nss/distinfo
+++ b/security/ca_root_nss/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1755292668
-SHA256 (nss-3.115.tar.gz) = ac2a47fb33bd79320159144e01c0d4af9a937a2d928c7c77ff06f5d9507861ab
-SIZE (nss-3.115.tar.gz) = 76656357
+TIMESTAMP = 1759523021
+SHA256 (nss-3.117.tar.gz) = 5786b523a2f2e9295ed10d711960d2e33cd620bb80d6288443eda43553a51996
+SIZE (nss-3.117.tar.gz) = 76684970
diff --git a/security/ca_root_nss/files/pkg-deinstall.in b/security/ca_root_nss/files/pkg-deinstall.in
new file mode 100644
index 000000000000..8e5138c10c22
--- /dev/null
+++ b/security/ca_root_nss/files/pkg-deinstall.in
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if [ "$2" = POST-DEINSTALL ]; then
+ CERTCTL_ARGS="-D ${PKG_ROOTDIR}"
+ certctl ${CERTCTL_ARGS} rehash
+fi
diff --git a/security/ca_root_nss/files/pkg-install.in b/security/ca_root_nss/files/pkg-install.in
new file mode 100644
index 000000000000..6f05ab7e72ed
--- /dev/null
+++ b/security/ca_root_nss/files/pkg-install.in
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+if [ "$2" = POST-INSTALL ]; then
+ CERTCTL_ARGS="-D ${PKG_ROOTDIR}"
+ if [ -n "${PKG_METALOG}" ]; then
+ CERTCTL_ARGS="${CERTCTL_ARGS} -U -M ${PKG_METALOG}"
+ fi
+ certctl ${CERTCTL_ARGS} rehash
+
+ [ ! -e %%LOCALBASE%%/bin/cert-sync ] || \
+ %%LOCALBASE%%/bin/cert-sync --quiet %%PREFIX%%/share/certs/ca-root-nss.crt
+fi
diff --git a/security/ca_root_nss/pkg-plist b/security/ca_root_nss/pkg-plist
index 7899413567aa..79f18017fea6 100644
--- a/security/ca_root_nss/pkg-plist
+++ b/security/ca_root_nss/pkg-plist
@@ -2,6 +2,3 @@
@sample etc/ssl/cert.pem.sample
%%ETCSYMLINK%%openssl/cert.pem
%%ETCSYMLINK%%/etc/ssl/cert.pem
-@postexec certctl rehash
-@postunexec certctl rehash
-@postexec [ ! -e %%LOCALBASE%%/bin/cert-sync ] || %%LOCALBASE%%/bin/cert-sync --quiet %%PREFIX%%/share/certs/ca-root-nss.crt