Date: Mon, 05 Jul 1999 10:50:09 +0900 From: Makoto MATSUSHITA <matusita@jp.FreeBSD.ORG> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/12514: Update ports: japanese/skkserv, kickup script Message-ID: <19990705105009Y.matusita@jp.FreeBSD.ORG>
next in thread | raw e-mail | index | archive | help
>Number: 12514 >Category: ports >Synopsis: Update ports: japanese/skkserv, kickup script >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 4 19:00:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Makoto MATSUSHITA >Release: FreeBSD 4.0-CURRENT i386 >Organization: Japan FreeBSD Users' Group >Environment: FreeBSD 4.0-CURRENT / FreeBSD 3.2-RELEASE (as of Apr/1999) >Description: Current ${PREFIX}/etc/rc.d/skkserv.sh does not understand its argument; 'start' and/or 'stop' is considered as an argument for the script. >How-To-Repeat: Apply attached patch to ports/japanese/skkserv. >Fix: *** Makefile.dist Thu Dec 24 08:11:14 1998 --- Makefile Tue Jun 29 11:01:55 1999 *************** *** 28,39 **** @if [ ! -f ${STARTUP_SCRIPT} ]; then \ ${ECHO} "Installing ${STARTUP_SCRIPT} file."; \ ${ECHO} "#!/bin/sh" > ${STARTUP_SCRIPT}; \ ! ${ECHO} "if [ -f ${PREFIX}/sbin/skkserv ]; then" >> \ ${STARTUP_SCRIPT}; \ ! ${ECHO} " echo -n ' skkserv'; ${PREFIX}/sbin/skkserv" >> \ ${STARTUP_SCRIPT}; \ ! ${ECHO} "fi" >> ${STARTUP_SCRIPT}; \ ! chmod 755 ${STARTUP_SCRIPT}; \ fi .include <bsd.port.mk> --- 28,45 ---- @if [ ! -f ${STARTUP_SCRIPT} ]; then \ ${ECHO} "Installing ${STARTUP_SCRIPT} file."; \ ${ECHO} "#!/bin/sh" > ${STARTUP_SCRIPT}; \ ! ${ECHO} 'case $$1 in' >> ${STARTUP_SCRIPT}; \ ! ${ECHO} "start)" >> ${STARTUP_SCRIPT}; \ ! ${ECHO} " if [ -f ${PREFIX}/sbin/skkserv ]; then" >> \ ${STARTUP_SCRIPT}; \ ! ${ECHO} " echo -n ' skkserv'; ${PREFIX}/sbin/skkserv" >> \ ${STARTUP_SCRIPT}; \ ! ${ECHO} " fi" >> ${STARTUP_SCRIPT}; \ ! ${ECHO} " ;;" >> ${STARTUP_SCRIPT}; \ ! ${ECHO} "stop)" >> ${STARTUP_SCRIPT}; \ ! ${ECHO} " ;;" >> ${STARTUP_SCRIPT}; \ ! ${ECHO} "*)" >> ${STARTUP_SCRIPT}; \ ! ${ECHO} ' echo "usage: $$0 {start|stop}" 1>&2' >> ${STARTUP_SCRIPT}; \ fi .include <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990705105009Y.matusita>