Index: sysutils/Makefile =================================================================== --- sysutils/Makefile +++ sysutils/Makefile @@ -852,6 +852,7 @@ SUBDIR += rubygem-ohai SUBDIR += rubygem-parallel SUBDIR += rubygem-puppet_forge + SUBDIR += rubygem-r10k SUBDIR += rubygem-rubyipmi SUBDIR += rubygem-shellany SUBDIR += rubygem-smart_proxy_chef Index: sysutils/rubygem-r10k/Makefile =================================================================== --- /dev/null +++ sysutils/rubygem-r10k/Makefile @@ -0,0 +1,30 @@ +# $FreeBSD$ + +PORTNAME= r10k +PORTVERSION= 2.0.1 +CATEGORIES= sysutils rubygems +MASTER_SITES= RG + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Tool for deploying Puppet environments and modules + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= rubygem-colored>=1.2:${PORTSDIR}/textproc/rubygem-colored \ + rubygem-cri>=2.6.1:${PORTSDIR}/devel/rubygem-cri \ + rubygem-faraday>=0.9.0:${PORTSDIR}/www/rubygem-faraday \ + rubygem-faraday_middleware>=0.9.0:${PORTSDIR}/www/rubygem-faraday_middleware \ + rubygem-faraday_middleware-multi_json>=0.0.6:${PORTSDIR}/devel/rubygem-faraday_middleware-multi_json \ + rubygem-log4r>=1.1.10:${PORTSDIR}/sysutils/rubygem-log4r \ + rubygem-minitar>0:${PORTSDIR}/archivers/rubygem-minitar \ + rubygem-multi_json>=1.10:${PORTSDIR}/devel/rubygem-multi_json \ + rubygem-semantic_puppet>=0.1.0:${PORTSDIR}/devel/rubygem-semantic_puppet + +NO_ARCH= yes +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes +PLIST_FILES= bin/r10k + +.include Index: sysutils/rubygem-r10k/distinfo =================================================================== --- /dev/null +++ sysutils/rubygem-r10k/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/r10k-2.0.1.gem) = 9ba2336108e89f1225a62f82181844909cb534f0d8162787861cdb509e3e5846 +SIZE (rubygem/r10k-2.0.1.gem) = 158720 Index: sysutils/rubygem-r10k/files/patch-r10k.gemspec =================================================================== --- /dev/null +++ sysutils/rubygem-r10k/files/patch-r10k.gemspec @@ -0,0 +1,15 @@ +--- r10k.gemspec.orig 2015-06-10 21:34:18 UTC ++++ r10k.gemspec +@@ -24,9 +24,9 @@ Gem::Specification.new do |s| + s.specification_version = 4 + + if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then +- s.add_runtime_dependency(%q, ["= 1.2"]) +- s.add_runtime_dependency(%q, ["~> 2.6.1"]) +- s.add_runtime_dependency(%q, ["= 1.1.10"]) ++ s.add_runtime_dependency(%q, [">= 1.2"]) ++ s.add_runtime_dependency(%q, [">= 2.6.1"]) ++ s.add_runtime_dependency(%q, [">= 1.1.10"]) + s.add_runtime_dependency(%q, ["~> 1.10"]) + s.add_runtime_dependency(%q, ["~> 0.9.0"]) + s.add_runtime_dependency(%q, ["~> 0.9.0"]) Index: sysutils/rubygem-r10k/pkg-descr =================================================================== --- /dev/null +++ sysutils/rubygem-r10k/pkg-descr @@ -0,0 +1,5 @@ +R10K provides a general purpose toolset for deploying Puppet environments +and modules. It implements the Puppetfile format and provides a native +implementation of Puppet dynamic environments. + +WWW: https://github.com/puppetlabs/r10k