From owner-svn-ports-head@FreeBSD.ORG Tue Mar 11 05:24:11 2014 Return-Path: Delivered-To: svn-ports-head@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 876964D4; Tue, 11 Mar 2014 05:24:11 +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 5AAF01F9; Tue, 11 Mar 2014 05:24:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2B5OB97075211; Tue, 11 Mar 2014 05:24:11 GMT (envelope-from daichi@svn.freebsd.org) Received: (from daichi@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2B5OBGp075207; Tue, 11 Mar 2014 05:24:11 GMT (envelope-from daichi@svn.freebsd.org) Message-Id: <201403110524.s2B5OBGp075207@svn.freebsd.org> From: Daichi GOTO Date: Tue, 11 Mar 2014 05:24:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r347843 - in head/sysutils/fsc: . 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-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Mar 2014 05:24:11 -0000 Author: daichi Date: Tue Mar 11 05:24:10 2014 New Revision: 347843 URL: http://svnweb.freebsd.org/changeset/ports/347843 QAT: https://qat.redports.org/buildarchive/r347843/ Log: fixed a start-up issue PR: ports/182294 Submitted by: Alex Reviewed by: Koichiro IWAO Added: head/sysutils/fsc/files/ head/sysutils/fsc/files/patch-rc.d_fscd (contents, props changed) Modified: head/sysutils/fsc/Makefile Modified: head/sysutils/fsc/Makefile ============================================================================== --- head/sysutils/fsc/Makefile Tue Mar 11 05:17:43 2014 (r347842) +++ head/sysutils/fsc/Makefile Tue Mar 11 05:24:10 2014 (r347843) @@ -3,7 +3,7 @@ PORTNAME= fsc PORTVERSION= 1.0.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MASTER_SITES= LOCAL MASTER_SITE_SUBDIR= trhodes @@ -17,8 +17,6 @@ PLIST_FILES= bin/fscadm sbin/fscd etc/rc man/man8/fscadm.8.gz man/man8/fscd.8.gz post-patch: - @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \ - ${WRKSRC}/rc.d/fscd @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' \ ${WRKSRC}/fscd/fscd.8 ${WRKSRC}/fscd/fscd.c \ ${WRKSRC}/fscd/fscd.conf.5 ${WRKSRC}/fscadm/fscadm.c Added: head/sysutils/fsc/files/patch-rc.d_fscd ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/fsc/files/patch-rc.d_fscd Tue Mar 11 05:24:10 2014 (r347843) @@ -0,0 +1,24 @@ +--- rc.d/fscd.orig 2014-03-11 14:19:18.576173326 +0900 ++++ rc.d/fscd 2014-03-11 14:20:09.206171150 +0900 +@@ -13,8 +13,19 @@ + . /etc/rc.subr + + name="fscd" +-command="/usr/sbin/${name}" ++rcvar="fscd_enable" ++load_rc_config $name ++: ${fscd_enable="NO"} ++ ++command="/usr/local/sbin/${name}" + pidfile="/var/run/${name}.pid" ++required_files="/usr/local/etc/$name.conf" ++ ++start_cmd=fscd_start ++ ++fscd_start() ++{ ++ /usr/sbin/daemon -cf ${command} ++} + +-load_rc_config $name + run_rc_command "$1"