Bug 171775 - [PATCH] sysutils/xen-tools: rc script cleanup
Summary: [PATCH] sysutils/xen-tools: rc script cleanup
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: 2012-09-19 13:50 UTC by Mark Felder
Modified: 2012-09-19 20:50 UTC (History)
0 users

See Also:


Attachments
xen-tools-4.1.3_2.patch (1.28 KB, patch)
2012-09-19 13:50 UTC, Mark Felder
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Felder freebsd_committer freebsd_triage 2012-09-19 13:50:09 UTC
rc script cleanup

thanks to dougb for the patch

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: suffix)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-19 13:50:20 UTC
Class Changed
From-To: change-request->maintainer-update

Fix category (submitter is maintainer) (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-19 13:50:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->swills

swills@ wants his PRs (via the GNATS Auto Assign Tool)
Comment 3 Steve Wills freebsd_committer freebsd_triage 2012-09-19 20:46:13 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2012-09-19 20:46:21 UTC
Author: swills
Date: Wed Sep 19 19:46:07 2012
New Revision: 304542
URL: http://svn.freebsd.org/changeset/ports/304542

Log:
  - rc script cleanup
  
  PR:		ports/171775
  Submitted by:	Mark Felder <feld@feld.me> (maintainer)

Modified:
  head/sysutils/xen-tools/Makefile
  head/sysutils/xen-tools/files/xe-daemon.in   (contents, props changed)

Modified: head/sysutils/xen-tools/Makefile
==============================================================================
--- head/sysutils/xen-tools/Makefile	Wed Sep 19 19:43:43 2012	(r304541)
+++ head/sysutils/xen-tools/Makefile	Wed Sep 19 19:46:07 2012	(r304542)
@@ -6,7 +6,7 @@
 
 PORTNAME=	xen-tools
 PORTVERSION=	4.1.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 DISTNAME=	xen-${PORTVERSION}
 

Modified: head/sysutils/xen-tools/files/xe-daemon.in
==============================================================================
--- head/sysutils/xen-tools/files/xe-daemon.in	Wed Sep 19 19:43:43 2012	(r304541)
+++ head/sysutils/xen-tools/files/xe-daemon.in	Wed Sep 19 19:46:07 2012	(r304542)
@@ -1,7 +1,9 @@
 #!/bin/sh
 
+# $FreeBSD$
+#
 # PROVIDE: xe_daemon
-# REQUIRE: login
+# REQUIRE: LOGIN
 # KEYWORD: nojail shutdown
 #
 # Add the following lines to /etc/rc.conf.local or /etc/rc.conf
@@ -9,20 +11,19 @@
 #
 # xe_daemon_enable (bool): Set to NO by default.
 #       Set it to YES to enable xe_daemon.
-#
 
 . /etc/rc.subr
 
 name=xe_daemon
 rcvar=xe_daemon_enable
 
-command="%%PREFIX%%/sbin/xe_wrapper"
-command_interpreter="/bin/sh -T"
-command_args="%%PREFIX%%/sbin/xe-daemon &"
-
 load_rc_config $name
 
-pidfile="/var/run/xe_wrapper.pid"
 : ${xe_daemon_enable="NO"}
 
+command="%%PREFIX%%/sbin/xe_wrapper"
+command_interpreter="/bin/sh -T"
+command_args='%%PREFIX%%/sbin/xe-daemon &'
+pidfile="/var/run/xe_wrapper.pid"
+
 run_rc_command "$1"
_______________________________________________
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"