Bug 206280 - New port: sysutils/rubygem-hiera-eyaml: Backend for Hiera that provides per-value encryption
Summary: New port: sysutils/rubygem-hiera-eyaml: Backend for Hiera that provides per-v...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Steve Wills
URL:
Keywords: feature, patch
Depends on:
Blocks:
 
Reported: 2016-01-15 00:45 UTC by Paul
Modified: 2017-07-08 00:26 UTC (History)
3 users (show)

See Also:


Attachments
Shar file of new sysutils/rubygem-hiera-eyaml port (1.98 KB, text/plain)
2016-01-15 00:45 UTC, Paul
no flags Details
correct shar file for new sysutils/rubygem-hiera-eyaml port (3.06 KB, text/plain)
2016-01-15 19:04 UTC, Paul
rakuco: maintainer-approval+
Details
updated shar file for version 2.1.0 (3.06 KB, text/plain)
2016-03-29 23:58 UTC, Paul
rakuco: maintainer-approval+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul 2016-01-15 00:45:07 UTC
Created attachment 165619 [details]
Shar file of new sysutils/rubygem-hiera-eyaml port
Comment 1 Paul 2016-01-15 19:04:31 UTC
Created attachment 165641 [details]
correct shar file for new sysutils/rubygem-hiera-eyaml port
Comment 2 Raphael Kubo da Costa freebsd_committer freebsd_triage 2016-03-05 23:45:03 UTC
Hi,

Is there a particular reason for patching the gemspec file like that?
Comment 3 Raphael Kubo da Costa freebsd_committer freebsd_triage 2016-03-05 23:45:51 UTC
Oh, and please set your own email address in the MAINTAINER field, we do not add new ports without an actual maintainer.
Comment 4 Paul 2016-03-29 23:54:30 UTC
(In reply to Raphael Kubo da Costa from comment #2)
The gemspec patch is to support the version of devel/rubygem-hihgline that is already in the ports tree. Also, hiera-eyaml only retained 1.6.19 highline support so that it would work with ruby 1.8.7 which the ports tree expired back in 2013; so supporting the 1.6.x version seemed unnecessary.
Comment 5 Paul 2016-03-29 23:58:28 UTC
Created attachment 168776 [details]
updated shar file for version 2.1.0
Comment 6 Paul 2016-03-29 23:59:36 UTC
(In reply to Raphael Kubo da Costa from comment #3)
I've attached a new shar file with a correct MAINTAINER field, and an update to the latest version
Comment 7 Raphael Kubo da Costa freebsd_committer freebsd_triage 2016-03-30 12:48:09 UTC
(In reply to Paul from comment #4)
> (In reply to Raphael Kubo da Costa from comment #2)
> The gemspec patch is to support the version of devel/rubygem-hihgline that
> is already in the ports tree. Also, hiera-eyaml only retained 1.6.19
> highline support so that it would work with ruby 1.8.7 which the ports tree
> expired back in 2013; so supporting the 1.6.x version seemed unnecessary.

So if I understood you correctly, those gemspec lines being changed just raise the minimum version of the highline dependency even though the version we have in the tree is higher than both the original and the changed versions? If this is the case, I don't see the need for that since everything is going to work anyway.
Comment 8 commit-hook freebsd_committer freebsd_triage 2017-07-08 00:24:32 UTC
A commit references this bug:

Author: swills
Date: Sat Jul  8 00:24:05 UTC 2017
New revision: 445289
URL: https://svnweb.freebsd.org/changeset/ports/445289

Log:
  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)

Changes:
  head/sysutils/Makefile
  head/sysutils/rubygem-hiera-eyaml/
  head/sysutils/rubygem-hiera-eyaml/Makefile
  head/sysutils/rubygem-hiera-eyaml/distinfo
  head/sysutils/rubygem-hiera-eyaml/files/
  head/sysutils/rubygem-hiera-eyaml/files/patch-hiera-eyaml.gemspec
  head/sysutils/rubygem-hiera-eyaml/pkg-descr
Comment 9 Steve Wills freebsd_committer freebsd_triage 2017-07-08 00:26:42 UTC
Committed, thanks! And so sorry this took so long! The next one won't be as bad.