Bug 188288 - [PATCH] sysutils/rubygem-hammer_cli_foreman: update to 0.1.0
Summary: [PATCH] sysutils/rubygem-hammer_cli_foreman: update to 0.1.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-05 15:50 UTC by Michael Moll
Modified: 2014-04-13 03:40 UTC (History)
0 users

See Also:


Attachments
file.diff (4.46 KB, patch)
2014-04-05 15:50 UTC, Michael Moll
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Moll freebsd_committer freebsd_triage 2014-04-05 15:50:01 UTC
..and take maintainership.

files/patch-lib__hammer_cli_foreman__commands.rb was removed

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-05 15:50:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ruby

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Steve Wills freebsd_committer freebsd_triage 2014-04-13 03:24:11 UTC
Responsible Changed
From-To: ruby->swills

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-04-13 03:34:47 UTC
Author: swills
Date: Sun Apr 13 02:34:44 2014
New Revision: 351176
URL: http://svnweb.freebsd.org/changeset/ports/351176
QAT: https://qat.redports.org/buildarchive/r351176/

Log:
  - Update to 0.1.0
  - Assign maintainership to submitter
  
  PR:		ports/188288
  Submitted by:	Michael Moll <kvedulv@kvedulv.de>

Added:
  head/sysutils/rubygem-hammer_cli_foreman/files/foreman.yml.sample   (contents, props changed)
  head/sysutils/rubygem-hammer_cli_foreman/pkg-plist   (contents, props changed)
Deleted:
  head/sysutils/rubygem-hammer_cli_foreman/files/patch-lib__hammer_cli_foreman__commands.rb
Modified:
  head/sysutils/rubygem-hammer_cli_foreman/Makefile
  head/sysutils/rubygem-hammer_cli_foreman/distinfo   (contents, props changed)

Modified: head/sysutils/rubygem-hammer_cli_foreman/Makefile
==============================================================================
--- head/sysutils/rubygem-hammer_cli_foreman/Makefile	Sun Apr 13 02:30:38 2014	(r351175)
+++ head/sysutils/rubygem-hammer_cli_foreman/Makefile	Sun Apr 13 02:34:44 2014	(r351176)
@@ -2,20 +2,27 @@
 # $FreeBSD$
 
 PORTNAME=	hammer_cli_foreman
-PORTVERSION=	0.0.18
+PORTVERSION=	0.1.0
 CATEGORIES=	sysutils ruby
 MASTER_SITES=	RG
 
-MAINTAINER=	ruby@FreeBSD.org
+MAINTAINER=	kvedulv@kvedulv.de
 COMMENT=	Foreman commands for Hammer CLI
 
 LICENSE=	GPLv3
 
-RUN_DEPENDS=	rubygem-foreman_api>=0.1.11:${PORTSDIR}/devel/rubygem-foreman_api \
-		rubygem-hammer_cli>=0.0.18:${PORTSDIR}/sysutils/rubygem-hammer_cli
+RUN_DEPENDS=	rubygem-apipie-bindings>=0.0.6:${PORTSDIR}/devel/rubygem-apipie-bindings \
+		rubygem-hammer_cli=0.1.0:${PORTSDIR}/sysutils/rubygem-hammer_cli
 
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 RUBYGEM_AUTOPLIST=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+post-install:
+		${MKDIR} ${STAGEDIR}${PREFIX}/etc/hammer
+		${MKDIR} ${STAGEDIR}${PREFIX}/etc/hammer/cli.modules.d
+		${INSTALL_DATA} ${FILESDIR}/foreman.yml.sample ${STAGEDIR}${PREFIX}/etc/hammer/cli.modules.d/foreman.yml.sample
+
+.include <bsd.port.post.mk>

Modified: head/sysutils/rubygem-hammer_cli_foreman/distinfo
==============================================================================
--- head/sysutils/rubygem-hammer_cli_foreman/distinfo	Sun Apr 13 02:30:38 2014	(r351175)
+++ head/sysutils/rubygem-hammer_cli_foreman/distinfo	Sun Apr 13 02:34:44 2014	(r351176)
@@ -1,2 +1,2 @@
-SHA256 (rubygem/hammer_cli_foreman-0.0.18.gem) = 97a7310e001726bf8bc0004bb9f08c87650e224fac351b1e3f8b2dc593e05337
-SIZE (rubygem/hammer_cli_foreman-0.0.18.gem) = 48640
+SHA256 (rubygem/hammer_cli_foreman-0.1.0.gem) = 2997c29333415fb8e642108f43b8f4034437290d26b16e149e2457f91f697fd2
+SIZE (rubygem/hammer_cli_foreman-0.1.0.gem) = 82944

Added: head/sysutils/rubygem-hammer_cli_foreman/files/foreman.yml.sample
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/rubygem-hammer_cli_foreman/files/foreman.yml.sample	Sun Apr 13 02:34:44 2014	(r351176)
@@ -0,0 +1,11 @@
+:foreman:
+  :enable_module: true
+  :host: 'https://localhost/'
+  :username: 'admin'
+  :password: 'changeme'
+
+  # Check cache status on each request
+  #:refresh_cache: false
+
+  # API request timeout, set -1 for infinity
+  #:request_timeout: 120 #seconds

Added: head/sysutils/rubygem-hammer_cli_foreman/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/rubygem-hammer_cli_foreman/pkg-plist	Sun Apr 13 02:34:44 2014	(r351176)
@@ -0,0 +1,3 @@
+@unexec if cmp -s %D/etc/hammer/cli.modules.d/foreman.yml.sample %D/etc/hammer/cli.modules.d/foreman.yml; then rm -f %D/etc/hammer/cli.modules.d/foreman.yml; fi
+etc/hammer/cli.modules.d/foreman.yml.sample
+@exec if [ ! -f %D/etc/hammer/cli.modules.d/foreman.yml ] ; then cp -p %D/etc/hammer/cli.modules.d/foreman.yml.sample %D/etc/hammer/cli.modules.d/foreman.yml; fi
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Steve Wills freebsd_committer freebsd_triage 2014-04-13 03:34:53 UTC
State Changed
From-To: open->closed

Committed. Thanks!