aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormandree <mandree@FreeBSD.org>2011-09-04 21:21:09 +0800
committermandree <mandree@FreeBSD.org>2011-09-04 21:21:09 +0800
commit4fbb4fe71045023b1f9ccc7b548b2f5b2965c588 (patch)
treebadff4490d1367646b0ce61e172c53dfcac06b98 /security
parent000d6e8cc94f4633c320fd5799397d2f94ddbdf4 (diff)
downloadfreebsd-ports-gnome-4fbb4fe71045023b1f9ccc7b548b2f5b2965c588.tar.gz
freebsd-ports-gnome-4fbb4fe71045023b1f9ccc7b548b2f5b2965c588.tar.zst
freebsd-ports-gnome-4fbb4fe71045023b1f9ccc7b548b2f5b2965c588.zip
See to proper version tags in the bundle .pem file.
Diffstat (limited to 'security')
-rw-r--r--security/ca_root_nss/Makefile3
-rw-r--r--security/ca_root_nss/files/MAca-bundle.pl6
2 files changed, 6 insertions, 3 deletions
diff --git a/security/ca_root_nss/Makefile b/security/ca_root_nss/Makefile
index 66b45d3cbf27..7f75334f0101 100644
--- a/security/ca_root_nss/Makefile
+++ b/security/ca_root_nss/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ca_root_nss
PORTVERSION= ${VERSION_NSS}
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= security/nss/releases/NSS_${PORTVERSION:S/./_/g}_WITH_CKBI_${CKBI_VER:S/./_/}_RTM/src
@@ -53,7 +54,7 @@ do-extract:
@${RM} -rf ${WRKDIR}/nss-${VERSION_NSS}
post-patch:
- @${PERL} -pi -e 's,%%VERSION_NSS%%,${VERSION_NSS},g;' \
+ @${PERL} -pi -e 's,%%VERSION_NSS%%,${VERSION_NSS}${NSS_SUFFIX},g;' \
${WRKDIR}/${BUNDLE_PROCESSOR}
do-build:
diff --git a/security/ca_root_nss/files/MAca-bundle.pl b/security/ca_root_nss/files/MAca-bundle.pl
index 4608a63cacdc..ff847e31989d 100644
--- a/security/ca_root_nss/files/MAca-bundle.pl
+++ b/security/ca_root_nss/files/MAca-bundle.pl
@@ -18,7 +18,9 @@ print <<EOH;
## Authorities (CA). These were automatically extracted from Mozilla's
## root CA list (the file `certdata.txt').
##
-## Extracted from nss-%%NSS_VERSION%% with MAca-bundle.pl $VERSION
+## Extracted from nss-%%VERSION_NSS%%
+## with $VERSION
+##
EOH
my $debug = 1;
@@ -145,7 +147,7 @@ foreach my $it (keys %trusts) {
}
}
-print "## Untrusted certificates omitted from output: $untrusted\n\n";
+print "## Untrusted certificates omitted from this bundle: $untrusted\n\n";
my $certcount = 0;
foreach my $it (keys %certs) {