Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2018 15:21:25 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461930 - head/security/ca_root_nss
Message-ID:  <201802151521.w1FFLPM9082678@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Thu Feb 15 15:21:25 2018
New Revision: 461930
URL: https://svnweb.freebsd.org/changeset/ports/461930

Log:
  Fix an error reported by pkg when cert-sync doesn't exist.

Modified:
  head/security/ca_root_nss/Makefile
  head/security/ca_root_nss/pkg-plist

Modified: head/security/ca_root_nss/Makefile
==============================================================================
--- head/security/ca_root_nss/Makefile	Thu Feb 15 15:10:37 2018	(r461929)
+++ head/security/ca_root_nss/Makefile	Thu Feb 15 15:21:25 2018	(r461930)
@@ -2,7 +2,7 @@
 
 PORTNAME=	ca_root_nss
 PORTVERSION=	${VERSION_NSS}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=	MOZILLA/security/nss/releases/${DISTNAME:tu:C/[-.]/_/g}_RTM/src
 DISTNAME=	nss-${VERSION_NSS}${NSS_SUFFIX}

Modified: head/security/ca_root_nss/pkg-plist
==============================================================================
--- head/security/ca_root_nss/pkg-plist	Thu Feb 15 15:10:37 2018	(r461929)
+++ head/security/ca_root_nss/pkg-plist	Thu Feb 15 15:21:25 2018	(r461930)
@@ -3,4 +3,4 @@
 @sample openssl/cert.pem.sample
 %%ETCSYMLINK%%/etc/ssl/cert.pem
 %%ETCSYMLINK%%@dir /etc/ssl
-@postexec [ -x %%LOCALBASE%%/bin/cert-sync ] && %%LOCALBASE%%/bin/cert-sync --quiet %%PREFIX%%/share/certs/ca-root-nss.crt
+@postexec [ ! -e %%LOCALBASE%%/bin/cert-sync ] || %%LOCALBASE%%/bin/cert-sync --quiet %%PREFIX%%/share/certs/ca-root-nss.crt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802151521.w1FFLPM9082678>