aboutsummaryrefslogtreecommitdiff
path: root/sysutils/rubygem-hammer_cli_foreman
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-06-05 09:15:13 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-06-05 09:15:13 +0000
commit84bba1082931976d644279ddd39e95df25be273b (patch)
tree7b99207bf0e59d1625595caf3b0945a6229919ba /sysutils/rubygem-hammer_cli_foreman
parent46fa919b96f48f69684b4de2bca04cee519ebb31 (diff)
downloadports-84bba1082931976d644279ddd39e95df25be273b.tar.gz
ports-84bba1082931976d644279ddd39e95df25be273b.zip
- Update to 0.1.1
PR: 190069 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=356615
Diffstat (limited to 'sysutils/rubygem-hammer_cli_foreman')
-rw-r--r--sysutils/rubygem-hammer_cli_foreman/Makefile7
-rw-r--r--sysutils/rubygem-hammer_cli_foreman/distinfo4
-rw-r--r--sysutils/rubygem-hammer_cli_foreman/files/foreman.yml.sample9
-rw-r--r--sysutils/rubygem-hammer_cli_foreman/pkg-plist4
4 files changed, 14 insertions, 10 deletions
diff --git a/sysutils/rubygem-hammer_cli_foreman/Makefile b/sysutils/rubygem-hammer_cli_foreman/Makefile
index 0e3643e35ddc..d74e7bbd0a48 100644
--- a/sysutils/rubygem-hammer_cli_foreman/Makefile
+++ b/sysutils/rubygem-hammer_cli_foreman/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= hammer_cli_foreman
-PORTVERSION= 0.1.0
+PORTVERSION= 0.1.1
CATEGORIES= sysutils ruby
MASTER_SITES= RG
@@ -11,8 +11,9 @@ COMMENT= Foreman commands for Hammer CLI
LICENSE= GPLv3
-RUN_DEPENDS= rubygem-apipie-bindings>=0.0.6:${PORTSDIR}/devel/rubygem-apipie-bindings \
- rubygem-hammer_cli=0.1.0:${PORTSDIR}/sysutils/rubygem-hammer_cli
+RUN_DEPENDS= rubygem-apipie-bindings>=0.0.8:${PORTSDIR}/devel/rubygem-apipie-bindings \
+ rubygem-hammer_cli=0.1.1:${PORTSDIR}/sysutils/rubygem-hammer_cli \
+ rubygem-rest-client>=1.6.7:${PORTSDIR}/www/rubygem-rest-client
USE_RUBY= yes
USE_RUBYGEMS= yes
diff --git a/sysutils/rubygem-hammer_cli_foreman/distinfo b/sysutils/rubygem-hammer_cli_foreman/distinfo
index 11050752e82b..9a6233919f9d 100644
--- a/sysutils/rubygem-hammer_cli_foreman/distinfo
+++ b/sysutils/rubygem-hammer_cli_foreman/distinfo
@@ -1,2 +1,2 @@
-SHA256 (rubygem/hammer_cli_foreman-0.1.0.gem) = 2997c29333415fb8e642108f43b8f4034437290d26b16e149e2457f91f697fd2
-SIZE (rubygem/hammer_cli_foreman-0.1.0.gem) = 82944
+SHA256 (rubygem/hammer_cli_foreman-0.1.1.gem) = e97c7ec12eb60c088a47bb8a3b37bb91f9daba087a66c6bf778eadd12a9f97d5
+SIZE (rubygem/hammer_cli_foreman-0.1.1.gem) = 114688
diff --git a/sysutils/rubygem-hammer_cli_foreman/files/foreman.yml.sample b/sysutils/rubygem-hammer_cli_foreman/files/foreman.yml.sample
index 28f0ab6faf1d..e7f09a4c3def 100644
--- a/sysutils/rubygem-hammer_cli_foreman/files/foreman.yml.sample
+++ b/sysutils/rubygem-hammer_cli_foreman/files/foreman.yml.sample
@@ -1,10 +1,15 @@
:foreman:
+ # Enable/disable foreman commands
:enable_module: true
+
+ # Your foreman server address
:host: 'https://localhost/'
+
+ # Credentials. You'll be asked for the interactively if you leave them blank here
:username: 'admin'
- :password: 'changeme'
+ #:password: 'example'
- # Check cache status on each request
+ # Check API documentation cache status on each request
#:refresh_cache: false
# API request timeout, set -1 for infinity
diff --git a/sysutils/rubygem-hammer_cli_foreman/pkg-plist b/sysutils/rubygem-hammer_cli_foreman/pkg-plist
index ecd6ccbfbd6b..aee3f3961d08 100644
--- a/sysutils/rubygem-hammer_cli_foreman/pkg-plist
+++ b/sysutils/rubygem-hammer_cli_foreman/pkg-plist
@@ -1,3 +1 @@
-@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
+@sample etc/hammer/cli.modules.d/foreman.yml.sample