diff --git a/sysutils/rubygem-facter/Makefile b/sysutils/rubygem-facter/Makefile index bffcf41b0bf9..a36b28e9e108 100644 --- a/sysutils/rubygem-facter/Makefile +++ b/sysutils/rubygem-facter/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= facter -PORTVERSION= 2.1.0 -PORTREVISION= 1 +PORTVERSION= 2.2.0 CATEGORIES= sysutils rubygems MASTER_SITES= RG \ http://downloads.puppetlabs.com/facter/ diff --git a/sysutils/rubygem-facter/distinfo b/sysutils/rubygem-facter/distinfo index bcbf77ae784e..2fdecf6cc72e 100644 --- a/sysutils/rubygem-facter/distinfo +++ b/sysutils/rubygem-facter/distinfo @@ -1,2 +1,2 @@ -SHA256 (rubygem/facter-2.1.0.gem) = f4c5573d309520fed49651f36d5a0366bf40609a0ff04a34266a01d263704f17 -SIZE (rubygem/facter-2.1.0.gem) = 218112 +SHA256 (rubygem/facter-2.2.0.gem) = 1003ebd3f368577a498d5cc8d2b402a4d0403b6a8c5349c561c468d1a9bf859e +SIZE (rubygem/facter-2.2.0.gem) = 238592 diff --git a/sysutils/rubygem-facter/files/patch-lib-facter-zpool_version.rb b/sysutils/rubygem-facter/files/patch-lib-facter-zpool_version.rb deleted file mode 100644 index 336d7d1ceeb6..000000000000 --- a/sysutils/rubygem-facter/files/patch-lib-facter-zpool_version.rb +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/facter/zpool_version.rb.orig -+++ lib/facter/zpool_version.rb -@@ -4,7 +4,7 @@ - setcode do - if Facter::Core::Execution.which('zpool') - zpool_v = Facter::Core::Execution.exec('zpool upgrade -v') -- zpool_version = zpool_v.match(/ZFS pool version (\d+)./).captures.first unless zpool_v.empty? -+ zpool_version = zpool_v.scan(/^\s+(\d+)\s+/m).flatten.last unless zpool_v.empty? - end - end - end