Date: Thu, 24 Apr 2008 14:53:22 +0100 (BST) From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: FreeBSD-gnats-submit@FreeBSD.org Cc: danger@FreeBSD.org Subject: ports/123051: [maintainer] textproc/sphinxsearch -- correct error in rc script Message-ID: <200804241353.m3ODrMHo092292@happy-idiot-talk.infracaninophile.co.uk> Resent-Message-ID: <200804241400.m3OE02p6026942@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 123051 >Category: ports >Synopsis: [maintainer] textproc/sphinxsearch -- correct error in rc script >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Apr 24 14:00:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Matthew Seaman >Release: FreeBSD 7.0-STABLE i386 >Organization: Infracaninophile >Environment: System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 7.0-STABLE FreeBSD 7.0-STABLE #34: Sat Apr 19 15:29:50 BST 2008 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386 >Description: Correct an error that prevented the pre-start function running. By inspection, the same problem applies to textproc/sphinxsearch-devel: Maintainer has been CC'd >How-To-Repeat: >Fix: --- sphinxsearch.diff begins here --- diff -Nur /usr/ports/textproc/sphinxsearch/files/sphinxsearch.sh.in sphinxsearch/files/sphinxsearch.sh.in --- /usr/ports/textproc/sphinxsearch/files/sphinxsearch.sh.in 2007-06-04 08:24:48.000000000 +0100 +++ sphinxsearch/files/sphinxsearch.sh.in 2008-04-24 14:46:00.000000000 +0100 @@ -42,8 +42,9 @@ command=%%PREFIX%%/sbin/searchd pidfile=${%%PORTNAME%%_pidfile} required_files=${%%PORTNAME%%_conffile} +start_precmd=%%PORTNAME%%_prestart -%%PORTNAME%%_precmd () +%%PORTNAME%%_prestart () { piddir=$(dirname ${%%PORTNAME%%_pidfile}) if [ ! -d ${piddir} ]; then --- sphinxsearch.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804241353.m3ODrMHo092292>