Date: Fri, 17 Feb 2006 16:19:56 GMT From: Michael Proto <mike@jellydonut.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/93486: add "mpd_flags" variable to ports/net/mpd rc script Message-ID: <200602171619.k1HGJu0D067022@www.freebsd.org> Resent-Message-ID: <200602171630.k1HGUA1R033068@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 93486 >Category: ports >Synopsis: add "mpd_flags" variable to ports/net/mpd rc script >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: Fri Feb 17 16:30:09 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Michael Proto >Release: 6-STABLE >Organization: >Environment: FreeBSD hume.localnet 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Thu Feb 9 10:06:38 EST 2006 root@hume.localnet:/usr/obj/usr/src/sys/HUME i386 >Description: Requesting the addition of an "mpd_flags" variable option to /usr/local/etc/rc.d/mpd.sh for ports/net/mpd, so that startup flags may be specified in /etc/rc.conf. Also requesting adding syslogd as a REQUIRE dependency so logging functions correctly during rcordering. >How-To-Repeat: more of a feature/enhancement request than a problem >Fix: see below patch: --- mpd.sh.old Thu Feb 2 17:56:06 2006 +++ mpd.sh Tue Feb 7 14:45:28 2006 @@ -3,7 +3,7 @@ # $FreeBSD: ports/net/mpd/files/mpd.sh,v 1.3 2006/01/07 06:29:53 dougb Exp $ # # PROVIDE: mpd -# REQUIRE: NETWORKING +# REQUIRE: NETWORKING syslogd # KEYWORD: FreeBSD # # Add the following line to /etc/rc.conf to enable mpd: @@ -11,7 +11,7 @@ # mpd_enable="YES" # -mpd_flags="-b" +mpd_flags="${mpd_flags:--b}" mpd_enable="${mpd_enable-NO}" . /etc/rc.subr >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602171619.k1HGJu0D067022>