From owner-svn-ports-all@freebsd.org Thu Sep 27 06:47:05 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 EC68210A3969; Thu, 27 Sep 2018 06:47:04 +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 91A1678551; Thu, 27 Sep 2018 06:47:04 +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 8656F2287A; Thu, 27 Sep 2018 06:47:04 +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 w8R6l4OG010089; Thu, 27 Sep 2018 06:47:04 GMT (envelope-from romain@FreeBSD.org) Received: (from romain@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8R6l4i4010087; Thu, 27 Sep 2018 06:47:04 GMT (envelope-from romain@FreeBSD.org) Message-Id: <201809270647.w8R6l4i4010087@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 06:47:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480784 - head/sysutils/facter X-SVN-Group: ports-head X-SVN-Commit-Author: romain X-SVN-Commit-Paths: head/sysutils/facter X-SVN-Commit-Revision: 480784 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 06:47:05 -0000 Author: romain Date: Thu Sep 27 06:47:03 2018 New Revision: 480784 URL: https://svnweb.freebsd.org/changeset/ports/480784 Log: Install the generated .gemspec file Building the C implementation of facter also produce a .gemspec file. So far, it was not installed (probably by mistake: since nothing was using it, everything was fine). Now that we are about to add a consumer of this file as sysutils/rubygem-puppetserver-ca to the ports tree, this file must be installed. With hat: puppet Modified: head/sysutils/facter/Makefile head/sysutils/facter/pkg-plist Modified: head/sysutils/facter/Makefile ============================================================================== --- head/sysutils/facter/Makefile Thu Sep 27 06:31:59 2018 (r480783) +++ head/sysutils/facter/Makefile Thu Sep 27 06:47:03 2018 (r480784) @@ -2,6 +2,7 @@ PORTNAME= facter PORTVERSION= 3.12.0 +PORTREVISION= 1 CATEGORIES?= sysutils MASTER_SITES= https://downloads.puppetlabs.com/facter/ @@ -45,6 +46,10 @@ post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/lib/src/facts/posix/collection.cc \ ${WRKSRC}/lib/src/util/config/posix/config.cc + +post-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/ruby/gems/${RUBY_VER}/specifications + ${INSTALL_DATA} ${WRKSRC}/.gemspec ${STAGEDIR}${PREFIX}/lib/ruby/gems/${RUBY_VER}/specifications/${DISTNAME}.gemspec test: build cd ${WRKSRC}/lib && bundle install --path vendor Modified: head/sysutils/facter/pkg-plist ============================================================================== --- head/sysutils/facter/pkg-plist Thu Sep 27 06:31:59 2018 (r480783) +++ head/sysutils/facter/pkg-plist Thu Sep 27 06:47:03 2018 (r480784) @@ -19,6 +19,7 @@ include/facter/util/string.hpp include/facter/version.h lib/libfacter.so lib/libfacter.so.%%PORTVERSION%% +lib/ruby/gems/%%RUBY_VER%%/specifications/facter-%%PORTVERSION%%.gemspec lib/ruby/vendor_ruby/facter.rb man/man8/facter.8.gz %%FACTER_JAVA%%lib/ruby/vendor_ruby/facter.jar