aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2014-08-22 21:33:54 +0800
committerswills <swills@FreeBSD.org>2014-08-22 21:33:54 +0800
commitba10f7efd5ac3dd9ae1caccccb39fc727fe9b535 (patch)
treef35f65646f6d782917dbdb2e261a9f78925a5533
parente2e46714d55a610170bcda3b00730e8d5ce018be (diff)
downloadfreebsd-ports-gnome-ba10f7efd5ac3dd9ae1caccccb39fc727fe9b535.tar.gz
freebsd-ports-gnome-ba10f7efd5ac3dd9ae1caccccb39fc727fe9b535.tar.zst
freebsd-ports-gnome-ba10f7efd5ac3dd9ae1caccccb39fc727fe9b535.zip
sysutils/rubygem-hammer_cli: update to 0.1.2
PR: 192658 Submitted by: Michael Moll <kvedulv@kvedulv.de>
-rw-r--r--sysutils/rubygem-hammer_cli/Makefile6
-rw-r--r--sysutils/rubygem-hammer_cli/distinfo4
-rw-r--r--sysutils/rubygem-hammer_cli/files/cli_config.yml.sample18
-rw-r--r--sysutils/rubygem-hammer_cli/pkg-plist4
4 files changed, 21 insertions, 11 deletions
diff --git a/sysutils/rubygem-hammer_cli/Makefile b/sysutils/rubygem-hammer_cli/Makefile
index eb8ad278e918..895c6a1b2a6d 100644
--- a/sysutils/rubygem-hammer_cli/Makefile
+++ b/sysutils/rubygem-hammer_cli/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= hammer_cli
-PORTVERSION= 0.1.1
+PORTVERSION= 0.1.2
CATEGORIES= sysutils ruby
MASTER_SITES= RG
@@ -11,9 +11,9 @@ COMMENT= Provides CLI interfaces for Ruby apps
LICENSE= GPLv3
-RUN_DEPENDS= rubygem-apipie-bindings>=0.0.6:${PORTSDIR}/devel/rubygem-apipie-bindings \
+RUN_DEPENDS= rubygem-apipie-bindings>=0.0.8:${PORTSDIR}/devel/rubygem-apipie-bindings \
rubygem-awesome_print>=1.1.0:${PORTSDIR}/devel/rubygem-awesome_print \
- rubygem-clamp>=0.6.3:${PORTSDIR}/devel/rubygem-clamp \
+ rubygem-clamp>=0.6.3_1:${PORTSDIR}/devel/rubygem-clamp \
rubygem-fastercsv>=1.5.5:${PORTSDIR}/devel/rubygem-fastercsv \
rubygem-fast_gettext>=0.8.1:${PORTSDIR}/devel/rubygem-fast_gettext \
rubygem-highline>=1.6.20:${PORTSDIR}/devel/rubygem-highline \
diff --git a/sysutils/rubygem-hammer_cli/distinfo b/sysutils/rubygem-hammer_cli/distinfo
index 2b547486b5d6..0cbdf6183370 100644
--- a/sysutils/rubygem-hammer_cli/distinfo
+++ b/sysutils/rubygem-hammer_cli/distinfo
@@ -1,2 +1,2 @@
-SHA256 (rubygem/hammer_cli-0.1.1.gem) = 8ed6878847894b69bd0c09317fc4e2e0557662bf2bf38d53f851d8ad85a6c7e2
-SIZE (rubygem/hammer_cli-0.1.1.gem) = 93696
+SHA256 (rubygem/hammer_cli-0.1.2.gem) = 0b62e1d955a98c46dd691694145889948807c8ca7a629356dd81e7a2325ceb1b
+SIZE (rubygem/hammer_cli-0.1.2.gem) = 121344
diff --git a/sysutils/rubygem-hammer_cli/files/cli_config.yml.sample b/sysutils/rubygem-hammer_cli/files/cli_config.yml.sample
index e11161e38ccd..39519d46d9cb 100644
--- a/sysutils/rubygem-hammer_cli/files/cli_config.yml.sample
+++ b/sysutils/rubygem-hammer_cli/files/cli_config.yml.sample
@@ -1,15 +1,27 @@
+# User interface related settings
:ui:
+ # Enable interactive queries?
:interactive: true
+ # Number of records listed per page
:per_page: 20
+ # Location of shell history file
:history_file: '~/.hammer/history'
-# enable/disable color output of logger in Clamp commands
+# Enable/disable color output of logger in Clamp commands
:watch_plain: false
+# Directory where the logs are stored. The default is /var/log/hammer/ and the log file is named hammer.log
:log_dir: '~/.hammer/log'
+
+# Logging level. One of debug, info, warning, error, fatal
:log_level: 'error'
-:log_api_calls: false
+
#:log_owner: 'foreman'
#:log_group: 'foreman'
-#:log_size: 5 #MB
+
+# Maximum log size in bytes. Log rotates when the value gets exceeded
+#:log_size: 5 #in MB
+
+# Mark translated strings with X characters (for developers)
+#:mark_translated: false
diff --git a/sysutils/rubygem-hammer_cli/pkg-plist b/sysutils/rubygem-hammer_cli/pkg-plist
index 78cc7972687d..ccedd52aad55 100644
--- a/sysutils/rubygem-hammer_cli/pkg-plist
+++ b/sysutils/rubygem-hammer_cli/pkg-plist
@@ -1,6 +1,4 @@
bin/hammer
-@unexec if cmp -s %D/etc/hammer/cli_config.yml.sample %D/etc/hammer/cli_config.yml; then rm -f %D/etc/hammer/cli_config.yml; fi
-etc/hammer/cli_config.yml.sample
-@exec if [ ! -f %D/etc/hammer/cli_config.yml ] ; then cp -p %D/etc/hammer/cli_config.yml.sample %D/etc/hammer/cli_config.yml; fi
+@sample etc/hammer/cli_config.yml.sample
@dirrmtry etc/hammer/cli.modules.d
@dirrmtry etc/hammer