ports/105681: [MAINTAINER] sysutils/lcdproc: startup file changed
Markus Dolze
bsdfan at nurfuerspam.de
Mon Nov 20 05:50:04 UTC 2006
>Number: 105681
>Category: ports
>Synopsis: [MAINTAINER] sysutils/lcdproc: startup file changed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 20 05:50:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Markus Dolze
>Release: FreeBSD 6.1-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD rymelda.intra.mdolze.de 6.1-RELEASE-p5 FreeBSD 6.1-RELEASE-p5 #2: Fri Sep 1 21:23:30 CEST
>Description:
Changed lcdproc client startup script to require config file, because
command line switch to daemonize is not supported as of version 0.5.1.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- lcdproc-0.5.1_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/lcdproc.orig/Makefile /usr/ports/sysutils/lcdproc/Makefile
--- /usr/ports/sysutils/lcdproc.orig/Makefile Sun Nov 19 19:30:21 2006
+++ /usr/ports/sysutils/lcdproc/Makefile Mon Nov 20 06:32:25 2006
@@ -7,6 +7,7 @@
PORTNAME= lcdproc
PORTVERSION= 0.5.1
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff -ruN --exclude=CVS /usr/ports/sysutils/lcdproc.orig/files/lcdproc.in /usr/ports/sysutils/lcdproc/files/lcdproc.in
--- /usr/ports/sysutils/lcdproc.orig/files/lcdproc.in Sun Nov 19 19:30:21 2006
+++ /usr/ports/sysutils/lcdproc/files/lcdproc.in Sun Nov 19 19:31:55 2006
@@ -17,8 +17,10 @@
load_rc_config $name
: ${lcdproc_enable="NO"}
-: ${lcdproc_flags="-d C S M U"}
+: ${lcdproc_conf="%%PREFIX%%/etc/lcdproc.conf"}
+: ${lcdproc_flags="-c ${lcdproc_conf}"}
+required_files=${lcdproc_conf}
command="%%PREFIX%%/bin/lcdproc"
run_rc_command "$1"
--- lcdproc-0.5.1_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list