Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Feb 2014 18:26:29 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342584 - head/net/socat/files
Message-ID:  <201402041826.s14IQTwp093390@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Feb  4 18:26:29 2014
New Revision: 342584
URL: http://svnweb.freebsd.org/changeset/ports/342584
QAT: https://qat.redports.org/buildarchive/r342584/

Log:
  - Respect PREFIX
  - Use procname instead of hardcoded /usr/local/bin/socat
  
  Submitted by:	sunpoet (myself)
  Approved by:	ehaupt (maintainer)

Modified:
  head/net/socat/files/socat.in

Modified: head/net/socat/files/socat.in
==============================================================================
--- head/net/socat/files/socat.in	Tue Feb  4 18:23:07 2014	(r342583)
+++ head/net/socat/files/socat.in	Tue Feb  4 18:26:29 2014	(r342584)
@@ -24,9 +24,9 @@ load_rc_config $name
 
 start_precmd="socat_prestart"
 pidfile=/var/run/socat.pid
+procname="%%PREFIX%%/bin/socat"
 command=/usr/sbin/daemon
-command_args=" -f -p ${pidfile} /usr/local/bin/socat ${socat_flags}"
-procname=/usr/local/bin/socat
+command_args=" -f -p ${pidfile} ${procname} ${socat_flags}"
 
 socat_prestart()
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402041826.s14IQTwp093390>