From owner-svn-ports-head@freebsd.org  Thu Feb 15 15:21:26 2018
Return-Path: <owner-svn-ports-head@freebsd.org>
Delivered-To: svn-ports-head@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 723CAF0104A;
 Thu, 15 Feb 2018 15:21:26 +0000 (UTC)
 (envelope-from tijl@FreeBSD.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org
 [IPv6:2610:1c1:1:606c::19:3])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "mxrelay.nyi.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 14CCF7D7E6;
 Thu, 15 Feb 2018 15:21:26 +0000 (UTC)
 (envelope-from tijl@FreeBSD.org)
Received: from repo.freebsd.org (repo.freebsd.org
 [IPv6:2610:1c1:1:6068::e6a:0])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0F2D8207F9;
 Thu, 15 Feb 2018 15:21:26 +0000 (UTC)
 (envelope-from tijl@FreeBSD.org)
Received: from repo.freebsd.org ([127.0.1.37])
 by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1FFLP2N082694;
 Thu, 15 Feb 2018 15:21:25 GMT (envelope-from tijl@FreeBSD.org)
Received: (from tijl@localhost)
 by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1FFLPM9082678;
 Thu, 15 Feb 2018 15:21:25 GMT (envelope-from tijl@FreeBSD.org)
Message-Id: <201802151521.w1FFLPM9082678@repo.freebsd.org>
X-Authentication-Warning: repo.freebsd.org: tijl set sender to
 tijl@FreeBSD.org using -f
From: Tijl Coosemans <tijl@FreeBSD.org>
Date: Thu, 15 Feb 2018 15:21:25 +0000 (UTC)
To: ports-committers@freebsd.org, svn-ports-all@freebsd.org,
 svn-ports-head@freebsd.org
Subject: svn commit: r461930 - head/security/ca_root_nss
X-SVN-Group: ports-head
X-SVN-Commit-Author: tijl
X-SVN-Commit-Paths: head/security/ca_root_nss
X-SVN-Commit-Revision: 461930
X-SVN-Commit-Repository: ports
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-ports-head@freebsd.org
X-Mailman-Version: 2.1.25
Precedence: list
List-Id: SVN commit messages for the ports tree for head
 <svn-ports-head.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-ports-head>, 
 <mailto:svn-ports-head-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-head/>
List-Post: <mailto:svn-ports-head@freebsd.org>
List-Help: <mailto:svn-ports-head-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-ports-head>,
 <mailto:svn-ports-head-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Feb 2018 15:21:26 -0000

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