Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Oct 2017 07:50:45 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r452573 - head/sysutils/rubygem-chef
Message-ID:  <201710210750.v9L7oj0t024869@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie (src committer)
Date: Sat Oct 21 07:50:44 2017
New Revision: 452573
URL: https://svnweb.freebsd.org/changeset/ports/452573

Log:
  Create and manage /var/chef via the @dir directive
  
  This allows me to install rubygem-chef and run chef-solo out of the box, and
  achieves parity with variants of CentOS Linux.
  
  PR: 222481
  Approved by: matthew (maintainer timeout)

Modified:
  head/sysutils/rubygem-chef/Makefile
  head/sysutils/rubygem-chef/pkg-plist

Modified: head/sysutils/rubygem-chef/Makefile
==============================================================================
--- head/sysutils/rubygem-chef/Makefile	Sat Oct 21 07:19:44 2017	(r452572)
+++ head/sysutils/rubygem-chef/Makefile	Sat Oct 21 07:50:44 2017	(r452573)
@@ -3,7 +3,7 @@
 
 PORTNAME=	chef
 PORTVERSION=	13.2.20
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 MASTER_SITES=	RG
 
@@ -57,5 +57,6 @@ SHEBANG_LANG=	ksh
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/distro/common/man/man1/*.1 ${STAGEDIR}${MANPREFIX}/man/man1/
 	${INSTALL_MAN} ${WRKSRC}/distro/common/man/man8/*.8 ${STAGEDIR}${MANPREFIX}/man/man8/
+	${MKDIR} ${STAGEDIR}/var/chef
 
 .include <bsd.port.mk>

Modified: head/sysutils/rubygem-chef/pkg-plist
==============================================================================
--- head/sysutils/rubygem-chef/pkg-plist	Sat Oct 21 07:19:44 2017	(r452572)
+++ head/sysutils/rubygem-chef/pkg-plist	Sat Oct 21 07:50:44 2017	(r452573)
@@ -38,3 +38,4 @@ man/man1/knife.1.gz
 man/man8/chef-apply.8.gz
 man/man8/chef-client.8.gz
 man/man8/chef-solo.8.gz
+@dir /var/chef



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