Bug 210047 - [NEW PORTS] sysutils/rubygem-itamae: Simple and lightweight configuration management tool
Summary: [NEW PORTS] sysutils/rubygem-itamae: Simple and lightweight configuration man...
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: Kurt Jaeger
URL:
Keywords: feature, patch, patch-ready
Depends on:
Blocks:
 
Reported: 2016-06-05 11:14 UTC by Yuichiro NAITO
Modified: 2016-07-07 05:06 UTC (History)
1 user (show)

See Also:


Attachments
rubygem-itamae (1.75 KB, application/x-gzip)
2016-06-05 11:14 UTC, Yuichiro NAITO
no flags Details
rubygem-itamae (6.80 KB, text/plain)
2016-06-08 02:17 UTC, Yuichiro NAITO
no flags Details
fixed specinfra.gemspec patch (6.94 KB, application/x-shar)
2016-07-06 15:30 UTC, Yuichiro NAITO
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuichiro NAITO 2016-06-05 11:14:18 UTC
Created attachment 171039 [details]
rubygem-itamae

I like to use Itamae for provisioning FreeBSD instead of Chef.
Itamae is written in Ruby and distributed by rubygems but not in ports tree.
So I added new ports, Itamae and two required gems.

Please merge these 3 ports to FreeBSD ports tree.

1. extract the attatched archive

  $ tar fx ports-itamae.tar.gz -C /usr/ports

2. add following directories

  $ cd /usr/ports
  $ svn add devel/rubygem-schash
  $ svn add sysutils/rubygem-specinfra
  $ svn add sysutils/rubygem-itamae

Rubygem-specinfra is used for backend library from Itamae.
Specinfra is intented to work with old ruby interpreter (like 1.8).
FreeBSD no longer supports before 2.0,
I added patch files to ignore compatibility libraries (sfl, net-telnet).

Thank you.
Comment 1 VK freebsd_triage 2016-06-07 22:00:29 UTC
Thanks for the patch. Please note the officially recommended way to submit new port is to provide a shar file, unless a committer wants to pick up the attached tarball. For more info please consult:

https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-submitting.html

as well as:

https://bitbucket.org/koobs/ports
Comment 2 Yuichiro NAITO 2016-06-08 02:17:56 UTC
Created attachment 171183 [details]
rubygem-itamae

3 new ports
 rubygem-itamae
 rubygem-specinfra
 rubygem-schash
Comment 3 Yuichiro NAITO 2016-06-08 02:21:26 UTC
Thanks for the advise.
I fixed small bugs warned by porttools test,
and made the shar archive.
Could you see the attached shar file?
Comment 4 VK freebsd_triage 2016-06-08 10:03:46 UTC
Looks good, thanks.
Comment 5 Kurt Jaeger freebsd_committer freebsd_triage 2016-07-05 19:31:59 UTC
I testbuilt the sysutils/rubygem-specinfra on 11a, and the patch patch-specinfra.gemspec did not apply. Any ideas why that is the case ?
Comment 6 Kurt Jaeger freebsd_committer freebsd_triage 2016-07-05 19:34:18 UTC
upstream for rubygem-specinfra is now at 2.59.5.
Comment 7 Yuichiro NAITO 2016-07-06 15:30:24 UTC
Created attachment 172175 [details]
fixed specinfra.gemspec patch
Comment 8 Yuichiro NAITO 2016-07-06 15:31:01 UTC
I found extracted specinfra.gemspec has changed.
I'm not	sure the reason.
I'm guessing 'gem spec' behavior has changed.

To update the patch file, I made shar file again
and obsoleted old one.

Please check the new attached file.
Comment 9 Yuichiro NAITO 2016-07-06 15:33:00 UTC
(In reply to Kurt Jaeger from comment #6)

> upstream for rubygem-specinfra is now at 2.59.5.

Yes, I know rubygem-specinfra is released very often.
But I have no idea how frequently do I make a patch for	ports-tree.
Comment 10 Kurt Jaeger freebsd_committer freebsd_triage 2016-07-06 18:14:15 UTC
testbuilds for sysutils/rubygem-specinfra @work

I've used your patch-specinfra.gemspec on the 2.59.5 version, btw, I hope you don't mind.

About the frequency for updates: As the maintainer, and if no defects are reported, and no newer features are requested, it's really up to you to decide if an update is useful.
Comment 11 commit-hook freebsd_committer freebsd_triage 2016-07-07 05:02:10 UTC
A commit references this bug:

Author: pi
Date: Thu Jul  7 05:01:34 UTC 2016
New revision: 418160
URL: https://svnweb.freebsd.org/changeset/ports/418160

Log:
  New port: devel/rubygem-schash

  Ruby hash validator

  WWW: https://github.com/itamae-kitchen/itamae

  PR:		210047
  Submitted by:	naito.yuichiro@gmail.com

Changes:
  head/devel/Makefile
  head/devel/rubygem-schash/
  head/devel/rubygem-schash/Makefile
  head/devel/rubygem-schash/distinfo
  head/devel/rubygem-schash/pkg-descr
Comment 12 commit-hook freebsd_committer freebsd_triage 2016-07-07 05:05:11 UTC
A commit references this bug:

Author: pi
Date: Thu Jul  7 05:04:19 UTC 2016
New revision: 418161
URL: https://svnweb.freebsd.org/changeset/ports/418161

Log:
  New port: sysutils/rubygem-specinfra

  A test suit for server configration.

  WWW: https://github.com/mizzy/specinfra

  PR:		210047
  Submitted by:	Yuichiro NAITO <naito.yuichiro@gmail.com>

Changes:
  head/sysutils/Makefile
  head/sysutils/rubygem-specinfra/
  head/sysutils/rubygem-specinfra/Makefile
  head/sysutils/rubygem-specinfra/distinfo
  head/sysutils/rubygem-specinfra/files/
  head/sysutils/rubygem-specinfra/files/patch-lib_specinfra_backend_exec.rb
  head/sysutils/rubygem-specinfra/files/patch-specinfra.gemspec
  head/sysutils/rubygem-specinfra/pkg-descr
Comment 13 commit-hook freebsd_committer freebsd_triage 2016-07-07 05:06:13 UTC
A commit references this bug:

Author: pi
Date: Thu Jul  7 05:06:00 UTC 2016
New revision: 418162
URL: https://svnweb.freebsd.org/changeset/ports/418162

Log:
  New port: sysutils/rubygem-itamae

  Simple and lightweight configuration management tool inspired by Chef.
  (Itamae means a chef in Japanese.)

  WWW: https://github.com/itamae-kitchen/itamae

  PR:		210047
  Submitted by:	Yuichiro NAITO <naito.yuichiro@gmail.com>

Changes:
  head/sysutils/Makefile
  head/sysutils/rubygem-itamae/
  head/sysutils/rubygem-itamae/Makefile
  head/sysutils/rubygem-itamae/distinfo
  head/sysutils/rubygem-itamae/pkg-descr
Comment 14 Kurt Jaeger freebsd_committer freebsd_triage 2016-07-07 05:06:43 UTC
Committed, thanks!