From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 26 17:50:03 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DBB416A420 for ; Thu, 26 Jan 2006 17:50:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E363B43D49 for ; Thu, 26 Jan 2006 17:50:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0QHo2rq037475 for ; Thu, 26 Jan 2006 17:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0QHo2Mx037474; Thu, 26 Jan 2006 17:50:02 GMT (envelope-from gnats) Resent-Date: Thu, 26 Jan 2006 17:50:02 GMT Resent-Message-Id: <200601261750.k0QHo2Mx037474@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, infofarmer@gmail.com Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE2FF16A420 for ; Thu, 26 Jan 2006 17:42:56 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29F5443D45 for ; Thu, 26 Jan 2006 17:42:55 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by uproxy.gmail.com with SMTP id o2so270910uge for ; Thu, 26 Jan 2006 09:42:55 -0800 (PST) Received: by 10.67.31.14 with SMTP id i14mr937777ugj; Thu, 26 Jan 2006 09:42:54 -0800 (PST) Received: from localhost ( [83.237.228.57]) by mx.gmail.com with ESMTP id k30sm1322869ugc.2006.01.26.09.42.53; Thu, 26 Jan 2006 09:42:54 -0800 (PST) Message-Id: <43d90a1e.72ad384e.231e.ffffe643@mx.gmail.com> Date: Thu, 26 Jan 2006 09:42:54 -0800 (PST) From: infofarmer@gmail.com To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/92380: update ftp/pftpx X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2006 17:50:03 -0000 >Number: 92380 >Category: ports >Synopsis: update ftp/pftpx >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Jan 26 17:50:02 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Andrew Pantyukhin >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD sat64.net17 6.0-STABLE FreeBSD 6.0-STABLE #4: Fri Jan 20 02:24:10 MSK 2006 sat@sat64.net17:/usr/obj/usr/src/sys/SATCUR32 i386 >Description: Add a simplest rc script Bump portrevision at will >How-To-Repeat: >Fix: --- pftpx.diff begins here --- diff -urN /usr/ports/ftp/pftpx/Makefile pftpx/Makefile --- /usr/ports/ftp/pftpx/Makefile Mon Dec 26 10:48:42 2005 +++ pftpx/Makefile Thu Jan 26 20:38:38 2006 @@ -18,6 +18,7 @@ MAN8= pftpx.8 PLIST_FILES= sbin/pftpx +USE_RC_SUBR= pftpx.sh .include diff -urN /usr/ports/ftp/pftpx/files/pftpx.sh.in pftpx/files/pftpx.sh.in --- /usr/ports/ftp/pftpx/files/pftpx.sh.in Thu Jan 1 03:00:00 1970 +++ pftpx/files/pftpx.sh.in Thu Jan 26 20:28:46 2006 @@ -0,0 +1,25 @@ +#!/bin/sh + +# PROVIDE: pftpx +# REQUIRE: DAEMON pf + +# +# Add the following lines to /etc/rc.conf to enable pftpx: +# +# pftpx_enable="YES" # YES or NO (default) +# pftpx_flags="" # pftpx command line flags +# + +. %%RC_SUBR%% + +name="pftpx" +rcvar=`set_rcvar` + +load_rc_config $name + +: ${pftpx_enable="NO"} +: ${pftpx_flags=""} + +command="%%PREFIX%%/sbin/${name}" + +run_rc_command "$1" --- pftpx.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: