Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2014 02:47:28 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348659 - in head/devel: . rubygem-kafo rubygem-kafo/files
Message-ID:  <201403200247.s2K2lScS078558@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Thu Mar 20 02:47:28 2014
New Revision: 348659
URL: http://svnweb.freebsd.org/changeset/ports/348659
QAT: https://qat.redports.org/buildarchive/r348659/

Log:
  Kafo provides a framework for building shiny, user friendly command line
  installers based on puppet modules.
  
  WWW: https://github.com/theforeman/kafo
  
  PR:		ports/187776
  Submitted by:	Michael Moll <kvedulv at kvedulv.de>

Added:
  head/devel/rubygem-kafo/
  head/devel/rubygem-kafo/Makefile   (contents, props changed)
  head/devel/rubygem-kafo/distinfo   (contents, props changed)
  head/devel/rubygem-kafo/files/
  head/devel/rubygem-kafo/files/patch-bin__kafofy   (contents, props changed)
  head/devel/rubygem-kafo/files/patch-gemspec   (contents, props changed)
  head/devel/rubygem-kafo/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Mar 20 02:41:58 2014	(r348658)
+++ head/devel/Makefile	Thu Mar 20 02:47:28 2014	(r348659)
@@ -4254,6 +4254,7 @@
     SUBDIR += rubygem-json
     SUBDIR += rubygem-json146
     SUBDIR += rubygem-json_pure
+    SUBDIR += rubygem-kafo
     SUBDIR += rubygem-kafo_parsers
     SUBDIR += rubygem-kgio
     SUBDIR += rubygem-launchy

Added: head/devel/rubygem-kafo/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-kafo/Makefile	Thu Mar 20 02:47:28 2014	(r348659)
@@ -0,0 +1,27 @@
+# Created by: Michael Moll <kvedulv at kvedulv.de>
+# $FreeBSD$
+
+PORTNAME=	kafo
+PORTVERSION=	0.4.0
+CATEGORIES=	devel ruby
+MASTER_SITES=	RG
+
+MAINTAINER=	ruby@FreeBSD.org
+COMMENT=	Ruby framework to create installers
+
+LICENSE=	GPLv3
+
+RUN_DEPENDS=	rubygem-clamp>=0.6.2:${PORTSDIR}/devel/rubygem-clamp \
+		rubygem-highline>=1.6.21:${PORTSDIR}/devel/rubygem-highline \
+		rubygem-logging>=1.8.1:${PORTSDIR}/devel/rubygem-logging \
+		rubygem-powerbar>=1.0.11:${PORTSDIR}/devel/rubygem-powerbar \
+		rubygem-kafo_parsers>=0.0.1:${PORTSDIR}/devel/rubygem-kafo_parsers \
+		gsed:${PORTSDIR}/textproc/gsed
+
+USE_RUBY=	yes
+USE_RUBYGEMS=	yes
+RUBYGEM_AUTOPLIST=	yes
+
+PLIST_FILES=	bin/kafo-configure bin/kafo-export-params bin/kafofy
+
+.include <bsd.port.mk>

Added: head/devel/rubygem-kafo/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-kafo/distinfo	Thu Mar 20 02:47:28 2014	(r348659)
@@ -0,0 +1,2 @@
+SHA256 (rubygem/kafo-0.4.0.gem) = 9391c93565d0cedf8818df80df38e5e02f3df7f00c4b47609a22559b2992ff36
+SIZE (rubygem/kafo-0.4.0.gem) = 41472

Added: head/devel/rubygem-kafo/files/patch-bin__kafofy
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-kafo/files/patch-bin__kafofy	Thu Mar 20 02:47:28 2014	(r348659)
@@ -0,0 +1,13 @@
+--- bin/kafofy.orig	2014-03-19 16:50:00.000000000 +0100
++++ bin/kafofy	2014-03-19 16:50:13.000000000 +0100
+@@ -48,8 +48,8 @@
+   File.chmod 0600, options[:config_file]
+   FileUtils.cp('config/kafo.yaml.example', options[:config_file])
+   if options[:answer_file]
+-    `sed -i 's/^# :answer_file.*$/:answer_file: #{options[:answer_file].gsub('/', '\/')}/' #{options[:config_file]}`
+-    `sed -i 's/^# :name.*$/:name: #{options[:name]}/' #{options[:config_file]}`
++    `gsed -i 's/^# :answer_file.*$/:answer_file: #{options[:answer_file].gsub('/', '\/')}/' #{options[:config_file]}`
++    `gsed -i 's/^# :name.*$/:name: #{options[:name]}/' #{options[:config_file]}`
+   end
+ end
+ 

Added: head/devel/rubygem-kafo/files/patch-gemspec
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-kafo/files/patch-gemspec	Thu Mar 20 02:47:28 2014	(r348659)
@@ -0,0 +1,23 @@
+--- kafo-0.4.0.gemspec.orig	2014-03-19 14:35:38.000000000 +0100
++++ kafo-0.4.0.gemspec	2014-03-19 14:35:58.000000000 +0100
+@@ -109,20 +109,6 @@
+       - !ruby/object:Gem::Version
+         version: '0'
+ - !ruby/object:Gem::Dependency
+-  name: puppet
+-  requirement: !ruby/object:Gem::Requirement
+-    requirements:
+-    - - '>='
+-      - !ruby/object:Gem::Version
+-        version: '0'
+-  type: :runtime
+-  prerelease: false
+-  version_requirements: !ruby/object:Gem::Requirement
+-    requirements:
+-    - - '>='
+-      - !ruby/object:Gem::Version
+-        version: '0'
+-- !ruby/object:Gem::Dependency
+   name: logging
+   requirement: !ruby/object:Gem::Requirement
+     requirements:

Added: head/devel/rubygem-kafo/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-kafo/pkg-descr	Thu Mar 20 02:47:28 2014	(r348659)
@@ -0,0 +1,4 @@
+Kafo provides a framework for building shiny, user friendly command line
+installers based on puppet modules.
+
+WWW: https://github.com/theforeman/kafo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403200247.s2K2lScS078558>