ports/92380: update ftp/pftpx
infofarmer at gmail.com
infofarmer at gmail.com
Thu Jan 26 17:50:03 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list