aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/rubygem-r10k/Makefile30
-rw-r--r--sysutils/rubygem-r10k/distinfo2
-rw-r--r--sysutils/rubygem-r10k/files/patch-r10k.gemspec15
-rw-r--r--sysutils/rubygem-r10k/pkg-descr5
5 files changed, 53 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 7eac4d32209f..a6452f85f73c 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -854,6 +854,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
diff --git a/sysutils/rubygem-r10k/Makefile b/sysutils/rubygem-r10k/Makefile
new file mode 100644
index 000000000000..a0fda8b1f6b5
--- /dev/null
+++ b/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 <bsd.port.mk>
diff --git a/sysutils/rubygem-r10k/distinfo b/sysutils/rubygem-r10k/distinfo
new file mode 100644
index 000000000000..ed7dfb7ffe64
--- /dev/null
+++ b/sysutils/rubygem-r10k/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/r10k-2.0.1.gem) = 9ba2336108e89f1225a62f82181844909cb534f0d8162787861cdb509e3e5846
+SIZE (rubygem/r10k-2.0.1.gem) = 158720
diff --git a/sysutils/rubygem-r10k/files/patch-r10k.gemspec b/sysutils/rubygem-r10k/files/patch-r10k.gemspec
new file mode 100644
index 000000000000..953a272b930b
--- /dev/null
+++ b/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<colored>, ["= 1.2"])
+- s.add_runtime_dependency(%q<cri>, ["~> 2.6.1"])
+- s.add_runtime_dependency(%q<log4r>, ["= 1.1.10"])
++ s.add_runtime_dependency(%q<colored>, [">= 1.2"])
++ s.add_runtime_dependency(%q<cri>, [">= 2.6.1"])
++ s.add_runtime_dependency(%q<log4r>, [">= 1.1.10"])
+ s.add_runtime_dependency(%q<multi_json>, ["~> 1.10"])
+ s.add_runtime_dependency(%q<faraday>, ["~> 0.9.0"])
+ s.add_runtime_dependency(%q<faraday_middleware>, ["~> 0.9.0"])
diff --git a/sysutils/rubygem-r10k/pkg-descr b/sysutils/rubygem-r10k/pkg-descr
new file mode 100644
index 000000000000..3f0dbbe7ba82
--- /dev/null
+++ b/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