From owner-svn-ports-all@freebsd.org Mon Feb 13 10:12:32 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF7CDCDC374; Mon, 13 Feb 2017 10:12:32 +0000 (UTC) (envelope-from mat@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 mx1.freebsd.org (Postfix) with ESMTPS id 8B98A10CA; Mon, 13 Feb 2017 10:12:32 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1DACV7M080305; Mon, 13 Feb 2017 10:12:31 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1DACVcF080302; Mon, 13 Feb 2017 10:12:31 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201702131012.v1DACVcF080302@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Mon, 13 Feb 2017 10:12:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433981 - head/security/easy-rsa2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2017 10:12:32 -0000 Author: mat Date: Mon Feb 13 10:12:31 2017 New Revision: 433981 URL: https://svnweb.freebsd.org/changeset/ports/433981 Log: Don't overwrite vars file when upgrading. (Also, don't overwrite securiy/easy-rsa's vars file when installing.) Sponsored by: Absolight Modified: head/security/easy-rsa2/Makefile (contents, props changed) head/security/easy-rsa2/pkg-plist (contents, props changed) Modified: head/security/easy-rsa2/Makefile ============================================================================== --- head/security/easy-rsa2/Makefile Mon Feb 13 09:01:32 2017 (r433980) +++ head/security/easy-rsa2/Makefile Mon Feb 13 10:12:31 2017 (r433981) @@ -2,6 +2,7 @@ PORTNAME= easy-rsa DISTVERSION= 2.2.2 +PORTREVISION= 1 CATEGORIES= security net-mgmt PKGNAMESUFFIX= 2 @@ -20,4 +21,7 @@ GH_ACCOUNT= OpenVPN GNU_CONFIGURE= yes USES= autoreconf +post-install: + @${MV} ${STAGEDIR}${DATADIR}/vars ${STAGEDIR}${DATADIR}/vars.sample + .include Modified: head/security/easy-rsa2/pkg-plist ============================================================================== --- head/security/easy-rsa2/pkg-plist Mon Feb 13 09:01:32 2017 (r433980) +++ head/security/easy-rsa2/pkg-plist Mon Feb 13 10:12:31 2017 (r433981) @@ -2,7 +2,7 @@ %%DOCSDIR%%/COPYRIGHT.GPL %%DOCSDIR%%/COPYING %%DATADIR%%/build-ca -%%DATADIR%%/vars +@sample %%DATADIR%%/vars.sample %%DATADIR%%/sign-req %%DATADIR%%/revoke-full %%DATADIR%%/pkitool