From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Sep 19 12:50:10 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F1D411065673 for ; Wed, 19 Sep 2012 12:50:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C99458FC1E for ; Wed, 19 Sep 2012 12:50:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q8JCo9Oj019025 for ; Wed, 19 Sep 2012 12:50:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8JCo92V019024; Wed, 19 Sep 2012 12:50:09 GMT (envelope-from gnats) Resent-Date: Wed, 19 Sep 2012 12:50:09 GMT Resent-Message-Id: <201209191250.q8JCo92V019024@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mark Felder Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 101F2106567C for ; Wed, 19 Sep 2012 12:49:36 +0000 (UTC) (envelope-from feld@feld.me) Received: from feld.me (unknown [IPv6:2607:f4e0:100:300::2]) by mx1.freebsd.org (Postfix) with ESMTP id CF0E08FC08 for ; Wed, 19 Sep 2012 12:49:35 +0000 (UTC) Received: from feld by feld.me with local (Exim 4.80 (FreeBSD)) (envelope-from ) id 1TEJih-000Ir7-8S for FreeBSD-gnats-submit@freebsd.org; Wed, 19 Sep 2012 07:49:35 -0500 Message-Id: Date: Wed, 19 Sep 2012 07:49:35 -0500 From: Mark Felder To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/171775: [PATCH] sysutils/xen-tools: rc script cleanup X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Sep 2012 12:50:10 -0000 >Number: 171775 >Category: ports >Synopsis: [PATCH] sysutils/xen-tools: rc script cleanup >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Sep 19 12:50:09 UTC 2012 >Closed-Date: >Last-Modified: >Originator: feld >Release: FreeBSD 9.1-PRERELEASE amd64 >Organization: >Environment: System: FreeBSD mwi1.coffeenet.org 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #5 r239731: Mon Aug 27 09:53:18 CDT >Description: rc script cleanup thanks to dougb for the patch Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: suffix) >How-To-Repeat: >Fix: --- xen-tools-4.1.3_2.patch begins here --- diff -ruN --exclude=CVS ../xen-tools.orig/Makefile ./Makefile --- ../xen-tools.orig/Makefile 2012-09-18 15:52:16.000000000 -0500 +++ ./Makefile 2012-09-19 07:47:19.410521224 -0500 @@ -6,7 +6,7 @@ PORTNAME= xen-tools PORTVERSION= 4.1.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils DISTNAME= xen-${PORTVERSION} diff -ruN --exclude=CVS ../xen-tools.orig/files/xe-daemon.in ./files/xe-daemon.in --- ../xen-tools.orig/files/xe-daemon.in 2012-09-17 09:21:21.000000000 -0500 +++ ./files/xe-daemon.in 2012-09-19 07:47:08.363524457 -0500 @@ -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" --- xen-tools-4.1.3_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: