aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2017-07-08 08:24:05 +0800
committerswills <swills@FreeBSD.org>2017-07-08 08:24:05 +0800
commitffe45acb643a5b8719d4e00384f20c086ab3225b (patch)
tree8bccde9190f139b1190e7cc63c9298b66e00d845 /sysutils
parent7caf4dd853df81cdcbbf3378299674d865092c24 (diff)
downloadfreebsd-ports-gnome-ffe45acb643a5b8719d4e00384f20c086ab3225b.tar.gz
freebsd-ports-gnome-ffe45acb643a5b8719d4e00384f20c086ab3225b.tar.zst
freebsd-ports-gnome-ffe45acb643a5b8719d4e00384f20c086ab3225b.zip
sysutils/rubygem-hiera-eyaml: create port
hiera-eyaml is a backend for Hiera that provides per-value encryption of sensitive data within yaml files to be used by Puppet. The Hiera eyaml backend uses yaml formatted files with the .eyaml extension. The encrypted strings are prefixed with the encryption method, wrapped with ENC[] and placed in an eyaml file. You can mix your plain values in as well or separate them into different files. WWW: https://github.com/TomPoulton/hiera-eyaml PR: 206280 Submitted by: Paul <freebsd@rig.rain.com> (with slight modifications due to time)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/rubygem-hiera-eyaml/Makefile22
-rw-r--r--sysutils/rubygem-hiera-eyaml/distinfo3
-rw-r--r--sysutils/rubygem-hiera-eyaml/files/patch-hiera-eyaml.gemspec11
-rw-r--r--sysutils/rubygem-hiera-eyaml/pkg-descr8
5 files changed, 45 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 9171809a862f..ce89d0f2cba6 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -993,6 +993,7 @@
SUBDIR += rubygem-hammer_cli_foreman_salt
SUBDIR += rubygem-hammer_cli_foreman_ssh
SUBDIR += rubygem-hiera
+ SUBDIR += rubygem-hiera-eyaml
SUBDIR += rubygem-hiera-file
SUBDIR += rubygem-hiera1
SUBDIR += rubygem-hieracles
diff --git a/sysutils/rubygem-hiera-eyaml/Makefile b/sysutils/rubygem-hiera-eyaml/Makefile
new file mode 100644
index 000000000000..66adc44875ba
--- /dev/null
+++ b/sysutils/rubygem-hiera-eyaml/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME= hiera-eyaml
+PORTVERSION= 2.1.0
+CATEGORIES= sysutils rubygems
+MASTER_SITES= RG
+
+MAINTAINER= freebsd@rig.rain.com
+COMMENT= Backend for Hiera that provides encryption/decryption for properties
+
+LICENSE= MIT
+
+RUN_DEPENDS= rubygem-trollop>=2.0:devel/rubygem-trollop \
+ rubygem-highline>=1.7:devel/rubygem-highline
+
+PLIST_FILES= bin/eyaml
+
+NO_ARCH= yes
+USE_RUBY= yes
+USES= gem
+
+.include <bsd.port.mk>
diff --git a/sysutils/rubygem-hiera-eyaml/distinfo b/sysutils/rubygem-hiera-eyaml/distinfo
new file mode 100644
index 000000000000..08eefcbd93cf
--- /dev/null
+++ b/sysutils/rubygem-hiera-eyaml/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1499471105
+SHA256 (rubygem/hiera-eyaml-2.1.0.gem) = 469148a15902c837221324aae53f712a600aa93e3d37a987934cd584b6bb45c0
+SIZE (rubygem/hiera-eyaml-2.1.0.gem) = 29184
diff --git a/sysutils/rubygem-hiera-eyaml/files/patch-hiera-eyaml.gemspec b/sysutils/rubygem-hiera-eyaml/files/patch-hiera-eyaml.gemspec
new file mode 100644
index 000000000000..4b44b995db8b
--- /dev/null
+++ b/sysutils/rubygem-hiera-eyaml/files/patch-hiera-eyaml.gemspec
@@ -0,0 +1,11 @@
+--- hiera-eyaml.gemspec.orig 2017-07-08 00:14:31 UTC
++++ hiera-eyaml.gemspec
+@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<trollop>.freeze, ["~> 2.0"])
+- s.add_runtime_dependency(%q<highline>.freeze, ["~> 1.6.19"])
++ s.add_runtime_dependency(%q<highline>.freeze, ["~> 1.6"])
+ else
+ s.add_dependency(%q<trollop>.freeze, ["~> 2.0"])
+ s.add_dependency(%q<highline>.freeze, ["~> 1.6.19"])
diff --git a/sysutils/rubygem-hiera-eyaml/pkg-descr b/sysutils/rubygem-hiera-eyaml/pkg-descr
new file mode 100644
index 000000000000..6d8c24b1dccf
--- /dev/null
+++ b/sysutils/rubygem-hiera-eyaml/pkg-descr
@@ -0,0 +1,8 @@
+hiera-eyaml is a backend for Hiera that provides per-value encryption of
+sensitive data within yaml files to be used by Puppet. The Hiera eyaml
+backend uses yaml formatted files with the .eyaml extension. The encrypted
+strings are prefixed with the encryption method, wrapped with ENC[] and
+placed in an eyaml file. You can mix your plain values in as well or
+separate them into different files.
+
+WWW: https://github.com/TomPoulton/hiera-eyaml