ports/123051: [maintainer] textproc/sphinxsearch -- correct error in rc script
Matthew Seaman
m.seaman at infracaninophile.co.uk
Thu Apr 24 14:00:02 UTC 2008
>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 at 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:
More information about the freebsd-ports-bugs
mailing list