From owner-svn-ports-all@freebsd.org Thu Sep 27 07:06:27 2018 Return-Path: Delivered-To: svn-ports-all@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 176E710A3ED5; Thu, 27 Sep 2018 07:06:27 +0000 (UTC) (envelope-from romain@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 C0D457920D; Thu, 27 Sep 2018 07:06:26 +0000 (UTC) (envelope-from romain@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 B7A5E22BBA; Thu, 27 Sep 2018 07:06:26 +0000 (UTC) (envelope-from romain@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8R76QCV020670; Thu, 27 Sep 2018 07:06:26 GMT (envelope-from romain@FreeBSD.org) Received: (from romain@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8R76PkZ020666; Thu, 27 Sep 2018 07:06:25 GMT (envelope-from romain@FreeBSD.org) Message-Id: <201809270706.w8R76PkZ020666@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: romain set sender to romain@FreeBSD.org using -f From: =?UTF-8?Q?Romain_Tarti=c3=a8re?= Date: Thu, 27 Sep 2018 07:06:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480785 - in head/sysutils: . rubygem-puppetserver-ca rubygem-puppetserver-ca/files X-SVN-Group: ports-head X-SVN-Commit-Author: romain X-SVN-Commit-Paths: in head/sysutils: . rubygem-puppetserver-ca rubygem-puppetserver-ca/files X-SVN-Commit-Revision: 480785 X-SVN-Commit-Repository: ports 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.27 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: Thu, 27 Sep 2018 07:06:27 -0000 Author: romain Date: Thu Sep 27 07:06:25 2018 New Revision: 480785 URL: https://svnweb.freebsd.org/changeset/ports/480785 Log: New port: sysutils/rubygem-puppetserver-ca This gem provides the functionality behind the Puppet Server CA interactions. The actual CLI executable lives within the Puppet Server project. WWW: https://github.com/puppetlabs/puppetserver-ca-cli/ With hat: puppet Added: head/sysutils/rubygem-puppetserver-ca/ head/sysutils/rubygem-puppetserver-ca/Makefile (contents, props changed) head/sysutils/rubygem-puppetserver-ca/distinfo (contents, props changed) head/sysutils/rubygem-puppetserver-ca/files/ head/sysutils/rubygem-puppetserver-ca/files/patch-lib_puppetserver_ca_config_puppet.rb (contents, props changed) head/sysutils/rubygem-puppetserver-ca/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Thu Sep 27 06:47:03 2018 (r480784) +++ head/sysutils/Makefile Thu Sep 27 07:06:25 2018 (r480785) @@ -1123,6 +1123,7 @@ SUBDIR += rubygem-ohai8 SUBDIR += rubygem-parallel SUBDIR += rubygem-puppet_forge + SUBDIR += rubygem-puppetserver-ca SUBDIR += rubygem-r10k SUBDIR += rubygem-rubyipmi SUBDIR += rubygem-serverspec Added: head/sysutils/rubygem-puppetserver-ca/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/rubygem-puppetserver-ca/Makefile Thu Sep 27 07:06:25 2018 (r480785) @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= puppetserver-ca +PORTVERSION= 1.0.0 +CATEGORIES= sysutils rubygems +MASTER_SITES= RG + +MAINTAINER= puppet@FreeBSD.org +COMMENT= Ruby CLI tool to interact with the Puppet Server Certificate Authority + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= facter:sysutils/facter + +USES= gem +USE_RUBY= yes + +post-patch: + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ + ${WRKSRC}/lib/puppetserver/ca/config/puppet.rb + +.include Added: head/sysutils/rubygem-puppetserver-ca/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/rubygem-puppetserver-ca/distinfo Thu Sep 27 07:06:25 2018 (r480785) @@ -0,0 +1,3 @@ +TIMESTAMP = 1537529577 +SHA256 (rubygem/puppetserver-ca-1.0.0.gem) = f438c2dc2a7f3c30cc7964fa335357c4937feff529a3bdf973b49f3e820e1168 +SIZE (rubygem/puppetserver-ca-1.0.0.gem) = 31232 Added: head/sysutils/rubygem-puppetserver-ca/files/patch-lib_puppetserver_ca_config_puppet.rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/rubygem-puppetserver-ca/files/patch-lib_puppetserver_ca_config_puppet.rb Thu Sep 27 07:06:25 2018 (r480785) @@ -0,0 +1,20 @@ +--- lib/puppetserver/ca/config/puppet.rb.orig 2018-09-27 06:33:57 UTC ++++ lib/puppetserver/ca/config/puppet.rb +@@ -50,7 +50,7 @@ module Puppetserver + def user_specific_conf_dir + @user_specific_conf_dir ||= + if running_as_root? +- '/etc/puppetlabs/puppet' ++ '%%PREFIX%%/etc/puppet' + else + "#{ENV['HOME']}/.puppetlabs/etc/puppet" + end +@@ -102,7 +102,7 @@ module Puppetserver + # defaults below + base_defaults = [ + [:confdir, user_specific_conf_dir], +- [:ssldir,'$confdir/ssl'], ++ [:ssldir,'/var/puppet/ssl'], + [:cadir, '$ssldir/ca'], + [:certdir, '$ssldir/certs'], + [:certname, default_certname], Added: head/sysutils/rubygem-puppetserver-ca/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/rubygem-puppetserver-ca/pkg-descr Thu Sep 27 07:06:25 2018 (r480785) @@ -0,0 +1,4 @@ +This gem provides the functionality behind the Puppet Server CA interactions. +The actual CLI executable lives within the Puppet Server project. + +WWW: https://github.com/puppetlabs/puppetserver-ca-cli/