Date: Mon, 23 Jun 2014 20:17:36 +0000 (UTC) From: Bartek Rutkowski <robak@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359003 - in head/sysutils/rubygem-facter: . files Message-ID: <201406232017.s5NKHaIt030540@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: robak Date: Mon Jun 23 20:17:35 2014 New Revision: 359003 URL: http://svnweb.freebsd.org/changeset/ports/359003 QAT: https://qat.redports.org/buildarchive/r359003/ Log: sysutils/rubygem-facter: update 1.7.6 -> 2.0.2 - Update sysutils/rubygem-facter to 2.0.2 as in PR 191246 - Change maintainer address to robak@FreeBSD.org - Update URL in pkg-descr PR: 191246 Submitted by: Michael Moll Approved by: swills (mentor) Deleted: head/sysutils/rubygem-facter/files/patch-lib-facter-processor.rb Modified: head/sysutils/rubygem-facter/Makefile head/sysutils/rubygem-facter/distinfo head/sysutils/rubygem-facter/files/patch-lib-facter-zpool_version.rb head/sysutils/rubygem-facter/pkg-descr Modified: head/sysutils/rubygem-facter/Makefile ============================================================================== --- head/sysutils/rubygem-facter/Makefile Mon Jun 23 19:54:43 2014 (r359002) +++ head/sysutils/rubygem-facter/Makefile Mon Jun 23 20:17:35 2014 (r359003) @@ -2,12 +2,12 @@ # $FreeBSD$ PORTNAME= facter -PORTVERSION= 1.7.6 +PORTVERSION= 2.0.2 CATEGORIES= sysutils rubygems MASTER_SITES= RG \ http://downloads.puppetlabs.com/facter/ -MAINTAINER= robak@freebsd.org +MAINTAINER= robak@FreeBSD.org COMMENT= Cross-platform Ruby library for retrieving facts from OS USE_RUBY= yes @@ -18,8 +18,8 @@ PLIST_FILES= bin/facter .include <bsd.port.pre.mk> -# Restrict dmidecode dependency to i386 and amd64 systems -.if ${ARCH} == "amd64" || ${ARCH} == "i386" +# Restrict dmidecode dependency to Intel based systems +.if ${ARCH} == "amd64" || ${ARCH} == "i386" || ${ARCH} == "ia64" RUN_DEPENDS+= dmidecode:${PORTSDIR}/sysutils/dmidecode .endif Modified: head/sysutils/rubygem-facter/distinfo ============================================================================== --- head/sysutils/rubygem-facter/distinfo Mon Jun 23 19:54:43 2014 (r359002) +++ head/sysutils/rubygem-facter/distinfo Mon Jun 23 20:17:35 2014 (r359003) @@ -1,2 +1,2 @@ -SHA256 (rubygem/facter-1.7.6.gem) = 592ab025a91011b80a82cdc1a105a3b84e85d17c65154ee97478f02f745da45d -SIZE (rubygem/facter-1.7.6.gem) = 203776 +SHA256 (rubygem/facter-2.0.2.gem) = afa70d9278c98ba2a8bdf762673f418b4028ffa4d4634606719d44ef7b371069 +SIZE (rubygem/facter-2.0.2.gem) = 198144 Modified: head/sysutils/rubygem-facter/files/patch-lib-facter-zpool_version.rb ============================================================================== --- head/sysutils/rubygem-facter/files/patch-lib-facter-zpool_version.rb Mon Jun 23 19:54:43 2014 (r359002) +++ head/sysutils/rubygem-facter/files/patch-lib-facter-zpool_version.rb Mon Jun 23 20:17:35 2014 (r359003) @@ -2,10 +2,10 @@ +++ 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? + 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 Modified: head/sysutils/rubygem-facter/pkg-descr ============================================================================== --- head/sysutils/rubygem-facter/pkg-descr Mon Jun 23 19:54:43 2014 (r359002) +++ head/sysutils/rubygem-facter/pkg-descr Mon Jun 23 20:17:35 2014 (r359003) @@ -4,4 +4,4 @@ working only on certain operating system especially useful for retrieving things like operating system names, IP addresses, MAC addresses, and SSH keys. -WWW: https://puppetlabs.com/puppet/related-projects/facter/ +WWW: https://puppetlabs.com/facter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406232017.s5NKHaIt030540>