FreeBSD Bugzilla – Attachment 168512 Details for
Bug 208220
sysutils/hfm [PATCH]: version bump to v1.2.1, fix build on cluster
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to upgrade
hfm.patch (text/plain), 3.30 KB, created by
Derek
on 2016-03-22 20:52:30 UTC
(
hide
)
Description:
patch to upgrade
Filename:
MIME Type:
Creator:
Derek
Created:
2016-03-22 20:52:30 UTC
Size:
3.30 KB
patch
obsolete
>diff -ruN hfm.orig/Makefile hfm/Makefile >--- hfm.orig/Makefile 2016-03-22 07:22:50.456773941 -0400 >+++ hfm/Makefile 2016-03-22 16:40:48.272457178 -0400 >@@ -1,7 +1,7 @@ > # $FreeBSD: head/sysutils/hfm/Makefile 411516 2016-03-20 20:20:13Z pi $ > > PORTNAME= hfm >-PORTVERSION= 1.1.3 >+PORTVERSION= 1.2.1 > DISTVERSIONPREFIX= v > CATEGORIES= sysutils > >diff -ruN hfm.orig/distinfo hfm/distinfo >--- hfm.orig/distinfo 2016-03-22 07:22:50.457764410 -0400 >+++ hfm/distinfo 2016-03-22 16:40:55.735454855 -0400 >@@ -1,5 +1,5 @@ >-SHA256 (derekmarcotte-hfm-v1.1.3_GH0.tar.gz) = 8e00fbb4a640ac5cd6473f4705043af4067be731cdabc5aeb882121a0ccae743 >-SIZE (derekmarcotte-hfm-v1.1.3_GH0.tar.gz) = 33915 >+SHA256 (derekmarcotte-hfm-v1.2.1_GH0.tar.gz) = 2d8e9063d4bc3543316cb8c7e0464ce05cc61361733f0d2e2c9ae5ff5db83ed9 >+SIZE (derekmarcotte-hfm-v1.2.1_GH0.tar.gz) = 37040 > SHA256 (mitchellh-go-libucl-f9d0e55_GH0.tar.gz) = 955e56fa334e7131ca313098fcf0a91ce89270cf1294d2a07830aa1c17b58fc0 > SIZE (mitchellh-go-libucl-f9d0e55_GH0.tar.gz) = 9426 > SHA256 (op-go-logging-dfaf3df_GH0.tar.gz) = d34d3afbdb07ad92f51d2a0a9f2682a4c0fcece733618a4ad27013e5ab6c8b60 >diff -ruN hfm.orig/files/GIDs hfm/files/GIDs >--- hfm.orig/files/GIDs 1969-12-31 19:00:00.000000000 -0500 >+++ hfm/files/GIDs 2016-03-22 07:16:12.456790179 -0400 >@@ -0,0 +1 @@ >+_hfm:*:227: >diff -ruN hfm.orig/files/UIDs hfm/files/UIDs >--- hfm.orig/files/UIDs 1969-12-31 19:00:00.000000000 -0500 >+++ hfm/files/UIDs 2016-03-22 07:16:12.456790179 -0400 >@@ -0,0 +1 @@ >+_hfm:*:227:227::0:0:hfm daemon:/nonexistent:/usr/sbin/nologin >diff -ruN hfm.orig/files/hfm.in hfm/files/hfm.in >--- hfm.orig/files/hfm.in 2016-03-22 07:22:50.455764405 -0400 >+++ hfm/files/hfm.in 2016-03-22 16:41:21.067639637 -0400 >@@ -17,20 +17,26 @@ > > . /etc/rc.subr > >-name=hfm >-rcvar=hfm_enable >+name="hfm" >+rcvar="hfm_enable" > > command="%%PREFIX%%/bin/${name}" > >-hfm_user=_hfm >-hfm_flags=${hfm_flags:-"-config %%ETCDIR%%/${name}.conf -facility local0 -log syslog"} >+hfm_user="_hfm" >+hfm_flags="${hfm_flags:-"-config %%ETCDIR%%/${name}.conf -facility local0 -log syslog"}" > > pidfile="/var/run/${name}.pid" > > required_files="%%ETCDIR%%/${name}.conf" > >-start_cmd=hfm_start >-stop_postcmd=hfm_postcmd >+start_cmd="hfm_start" >+restart_precmd="hfm_checkconfig" >+configtest_cmd="hfm_checkconfig" >+stop_postcmd="hfm_postcmd" >+ >+hfm_checkconfig() { >+ eval ${command} ${hfm_flags} -n >+} > > hfm_start() { > echo "Staring ${name}." >@@ -42,6 +48,7 @@ > [ -f ${pidfile} ] && rm ${pidfile} > } > >-load_rc_config $name >+extra_commands="configtest" >+load_rc_config "${name}" > run_rc_command "$1" > >diff -ruN hfm.orig/pkg-message hfm/pkg-message >--- hfm.orig/pkg-message 2016-03-22 07:22:50.458774435 -0400 >+++ hfm/pkg-message 2016-03-22 07:16:12.456790179 -0400 >@@ -1,5 +1,5 @@ > hfm includes an rc.d script to control a daemon mode. Use: > >-sysrc hfh_enable=yes >+sysrc hfm_enable=yes > > to enable. >diff -ruN hfm.orig/pkg-plist hfm/pkg-plist >--- hfm.orig/pkg-plist 2016-03-22 07:22:50.457764410 -0400 >+++ hfm/pkg-plist 2016-03-22 07:29:19.148748130 -0400 >@@ -2,6 +2,7 @@ > %%PORTDOCS%%%%DOCSDIR%%/README.md > %%PORTDOCS%%%%DOCSDIR%%/architecture-90dpi.png > %%PORTDOCS%%%%DOCSDIR%%/architecture.svg >+%%PORTDOCS%%%%DOCSDIR%%/hfm-mascot.png > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/hfm-test-fast.conf > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/hfm-test-start-delay.conf > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/hfm.conf.sample
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 208220
: 168512