Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2013 21:11:45 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332174 - in head/sysutils/rubygem-facter: . files
Message-ID:  <201310302111.r9ULBj0E050454@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Wed Oct 30 21:11:45 2013
New Revision: 332174
URL: http://svnweb.freebsd.org/changeset/ports/332174

Log:
  - Add patch dropped in last commit
  - Bump PORTREVISION
  
  Pointyhat to:	swills

Added:
  head/sysutils/rubygem-facter/files/
  head/sysutils/rubygem-facter/files/patch-lib-facter-zpool_version.rb   (contents, props changed)
Modified:
  head/sysutils/rubygem-facter/Makefile

Modified: head/sysutils/rubygem-facter/Makefile
==============================================================================
--- head/sysutils/rubygem-facter/Makefile	Wed Oct 30 20:59:22 2013	(r332173)
+++ head/sysutils/rubygem-facter/Makefile	Wed Oct 30 21:11:45 2013	(r332174)
@@ -3,6 +3,7 @@
 
 PORTNAME=	facter
 PORTVERSION=	1.7.3
+PORTREVISION=	1
 CATEGORIES=	sysutils rubygems
 MASTER_SITES=	RG \
 		http://downloads.puppetlabs.com/facter/

Added: head/sysutils/rubygem-facter/files/patch-lib-facter-zpool_version.rb
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/rubygem-facter/files/patch-lib-facter-zpool_version.rb	Wed Oct 30 21:11:45 2013	(r332174)
@@ -0,0 +1,11 @@
+--- lib/facter/zpool_version.rb.orig
++++ lib/facter/zpool_version.rb
+@@ -4,7 +4,7 @@
+   setcode do
+     if Facter::Util::Resolution.which('zpool')
+       zpool_v = Facter::Util::Resolution.exec('zpool upgrade -v')
+-      zpool_version = zpool_v.match(/ZFS pool version (\d+)./).captures.first unless zpool_v.nil?
++      zpool_version = zpool_v.scan(/^\s+(\d+)\s+/m).flatten.last unless zpool_v.nil?
+     end
+   end
+ end



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