Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2019 17:13:26 +0000 (UTC)
From:      =?UTF-8?Q?Romain_Tarti=c3=a8re?= <romain@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r499866 - in head/sysutils/puppet6: . files
Message-ID:  <201904241713.x3OHDQpr067338@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: romain
Date: Wed Apr 24 17:13:25 2019
New Revision: 499866
URL: https://svnweb.freebsd.org/changeset/ports/499866

Log:
  Fix the gem package provider
  
  The problem has been fixed upstream in the master branch but has not been
  released yet.
  
  While here, relax the fast_gettext dependency (issue is being worked on with
  upstream).
  
  With hat:	puppet

Added:
  head/sysutils/puppet6/files/patch-.gemspec   (contents, props changed)
  head/sysutils/puppet6/files/patch-lib_puppet_provider_package_gem.rb   (contents, props changed)
Modified:
  head/sysutils/puppet6/Makefile

Modified: head/sysutils/puppet6/Makefile
==============================================================================
--- head/sysutils/puppet6/Makefile	Wed Apr 24 17:12:21 2019	(r499865)
+++ head/sysutils/puppet6/Makefile	Wed Apr 24 17:13:25 2019	(r499866)
@@ -2,6 +2,7 @@
 
 PORTNAME=	puppet
 PORTVERSION=	6.4.1
+PORTREVISION=	1
 CATEGORIES=	sysutils
 PKGNAMESUFFIX=	6
 

Added: head/sysutils/puppet6/files/patch-.gemspec
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/puppet6/files/patch-.gemspec	Wed Apr 24 17:13:25 2019	(r499866)
@@ -0,0 +1,11 @@
+--- .gemspec.orig
++++ .gemspec
+@@ -34,7 +34,7 @@
+   s.add_runtime_dependency(%q<facter>, [">= 2.4.0", "< 4"])
+   s.add_runtime_dependency(%q<hiera>, [">= 3.2.1", "< 4"])
+   s.add_runtime_dependency(%q<semantic_puppet>, "~> 1.0")
+-  s.add_runtime_dependency(%q<fast_gettext>, "~> 1.1.2")
++  s.add_runtime_dependency(%q<fast_gettext>, "~> 1.1")
+   s.add_runtime_dependency(%q<locale>, "~> 2.1")
+   s.add_runtime_dependency(%q<multi_json>, "~> 1.13")
+   s.add_runtime_dependency(%q<httpclient>, "~> 2.8")

Added: head/sysutils/puppet6/files/patch-lib_puppet_provider_package_gem.rb
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/puppet6/files/patch-lib_puppet_provider_package_gem.rb	Wed Apr 24 17:13:25 2019	(r499866)
@@ -0,0 +1,11 @@
+--- lib/puppet/provider/package/gem.rb.orig	2019-04-09 12:24:52 UTC
++++ lib/puppet/provider/package/gem.rb
+@@ -128,7 +128,7 @@ Puppet::Type.type(:package).provide :gem, :parent => P
+         end
+       end
+     else
+-      command << "--no-rdoc" << "--no-ri" << resource[:name]
++      command << "--no-document" << resource[:name]
+     end
+ 
+     output = execute(command, {:failonfail => true, :combine => true, :custom_environment => {"HOME"=>ENV["HOME"]}})



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