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/Makefile7
-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, 26 insertions, 8 deletions
diff --git a/security/ca_root_nss/Makefile b/security/ca_root_nss/Makefile
index 83be0230b7e3..1214762865cf 100644
--- a/security/ca_root_nss/Makefile
+++ b/security/ca_root_nss/Makefile
@@ -1,5 +1,6 @@
PORTNAME= ca_root_nss
PORTVERSION= ${VERSION_NSS}
+PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= MOZILLA/security/nss/releases/${DISTNAME:tu:C/[-.]/_/g}_RTM/src
DISTNAME= nss-${VERSION_NSS}${NSS_SUFFIX}
@@ -18,6 +19,8 @@ WRKSRC_SUBDIR= nss
OPTIONS_DEFINE= ETCSYMLINK
OPTIONS_DEFAULT= ETCSYMLINK
+OPTIONS_EXCLUDE_FreeBSD_15= ETCSYMLINK
+OPTIONS_EXCLUDE_FreeBSD_16= ETCSYMLINK
OPTIONS_SUB= yes
@@ -27,11 +30,11 @@ ETCSYMLINK_CONFLICTS_INSTALL= ca-roots-[0-9]*
CERTDIR?= share/certs
PLIST_SUB+= CERTDIR=${CERTDIR}
-VERSION_NSS= 3.108
+VERSION_NSS= 3.115
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 653848f9f15e..dd0317cb9911 100644
--- a/security/ca_root_nss/distinfo
+++ b/security/ca_root_nss/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1739303198
-SHA256 (nss-3.108.tar.gz) = a0f6fcb5dbadc1635b43827517a979e3a6d005d0788527802a6b31e2c5f66eec
-SIZE (nss-3.108.tar.gz) = 76630022
+TIMESTAMP = 1755292668
+SHA256 (nss-3.115.tar.gz) = ac2a47fb33bd79320159144e01c0d4af9a937a2d928c7c77ff06f5d9507861ab
+SIZE (nss-3.115.tar.gz) = 76656357
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