Date: Thu, 26 Jan 2006 09:42:54 -0800 (PST) From: infofarmer@gmail.com To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/92380: update ftp/pftpx Message-ID: <43d90a1e.72ad384e.231e.ffffe643@mx.gmail.com> Resent-Message-ID: <200601261750.k0QHo2Mx037474@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.pre.mk> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43d90a1e.72ad384e.231e.ffffe643>