From owner-svn-ports-all@FreeBSD.ORG Tue Feb 4 18:26:30 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 406873DD; Tue, 4 Feb 2014 18:26:30 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2B9CA1A4F; Tue, 4 Feb 2014 18:26:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s14IQUxW093391; Tue, 4 Feb 2014 18:26:30 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s14IQTwp093390; Tue, 4 Feb 2014 18:26:29 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201402041826.s14IQTwp093390@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Tue, 4 Feb 2014 18:26:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342584 - head/net/socat/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Feb 2014 18:26:30 -0000 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() {