From 61df5687ca1b2f435254046809c786b245f53c58 Mon Sep 17 00:00:00 2001 From: Michael Moll Date: Thu, 5 Nov 2015 10:39:46 +0000 Subject: [PATCH] sysutils/facter: update to 3.1.1 --- sysutils/facter/Makefile | 2 +- sysutils/facter/distinfo | 4 ++-- sysutils/facter/files/patch-lib_.gemspec.in | 24 +++++++++++++++++++++ sysutils/facter/pkg-plist | 2 +- 4 files changed, 28 insertions(+), 4 deletions(-) create mode 100644 sysutils/facter/files/patch-lib_.gemspec.in diff --git a/sysutils/facter/Makefile b/sysutils/facter/Makefile index fa189b81697d..1d290f7ec249 100644 --- a/sysutils/facter/Makefile +++ b/sysutils/facter/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= facter -PORTVERSION= 3.1.0 +PORTVERSION= 3.1.1 CATEGORIES= sysutils MASTER_SITES= http://downloads.puppetlabs.com/facter/ diff --git a/sysutils/facter/distinfo b/sysutils/facter/distinfo index 88c80e7985e4..61be4c46bf67 100644 --- a/sysutils/facter/distinfo +++ b/sysutils/facter/distinfo @@ -1,2 +1,2 @@ -SHA256 (facter-3.1.0.tar.gz) = 637a4e9cc3283374e11949b0450d0433fabcb2e2699c5d01921e8dad9cb457dd -SIZE (facter-3.1.0.tar.gz) = 620224 +SHA256 (facter-3.1.1.tar.gz) = e60e02bf13020c5ddc59111204e282365eacbff325b62e5660772e17bf2476e5 +SIZE (facter-3.1.1.tar.gz) = 601017 diff --git a/sysutils/facter/files/patch-lib_.gemspec.in b/sysutils/facter/files/patch-lib_.gemspec.in new file mode 100644 index 000000000000..83e02d6020be --- /dev/null +++ b/sysutils/facter/files/patch-lib_.gemspec.in @@ -0,0 +1,24 @@ +--- /dev/null ++++ lib/.gemspec.in +@@ -0,0 +1,21 @@ ++# -*- encoding: utf-8 -*- ++ ++Gem::Specification.new do |s| ++ s.name = "facter" ++ version = "@LIBFACTER_VERSION_MAJOR@.@LIBFACTER_VERSION_MINOR@.@LIBFACTER_VERSION_PATCH@" ++ mdata = version.match(/(\d+\.\d+\.\d+)/) ++ s.version = mdata ? mdata[1] : version ++ ++ s.required_rubygems_version = Gem::Requirement.new(">= 0") ++ s.authors = ["Puppet Labs"] ++ s.date = "2015-10-22" ++ s.description = "You can prove anything with facts!" ++ s.email = "info@puppetlabs.com" ++ s.files = ["bin/facter"] ++ s.homepage = "https://puppetlabs.com" ++ s.require_paths = ["lib"] ++ s.summary = "Facter, a system inventory tool" ++ s.specification_version = 3 ++ s.required_ruby_version = '~> 2.1.7' ++ ++end diff --git a/sysutils/facter/pkg-plist b/sysutils/facter/pkg-plist index b55f735769eb..da864795b741 100644 --- a/sysutils/facter/pkg-plist +++ b/sysutils/facter/pkg-plist @@ -16,6 +16,6 @@ include/facter/ruby/ruby.hpp include/facter/util/string.hpp include/facter/version.h lib/libfacter.so -lib/libfacter.so.3.1.0 +lib/libfacter.so.3.1.1 lib/ruby/vendor_ruby/facter.rb man/man8/facter.8.gz