aboutsummaryrefslogtreecommitdiff
path: root/ftp/vsftpd
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2020-04-16 14:49:59 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2020-04-16 14:49:59 +0000
commitae5215e025daae99b3ebfe22cd65310eebbdfc70 (patch)
tree95bc399a7e716d1a06cd630891cabc9b67eedc7b /ftp/vsftpd
parentbc119880610cc9f9b32a3d34644e515755fd6575 (diff)
downloadports-ae5215e025daae99b3ebfe22cd65310eebbdfc70.tar.gz
ports-ae5215e025daae99b3ebfe22cd65310eebbdfc70.zip
- cleanup rc.d script
Notes
Notes: svn path=/head/; revision=531850
Diffstat (limited to 'ftp/vsftpd')
-rw-r--r--ftp/vsftpd/Makefile2
-rw-r--r--ftp/vsftpd/files/vsftpd.in7
2 files changed, 5 insertions, 4 deletions
diff --git a/ftp/vsftpd/Makefile b/ftp/vsftpd/Makefile
index 6ee5471ce7c4..dc522891ca5c 100644
--- a/ftp/vsftpd/Makefile
+++ b/ftp/vsftpd/Makefile
@@ -3,7 +3,7 @@
PORTNAME= vsftpd
PORTVERSION= 3.0.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= ftp
MASTER_SITES= https://security.appspot.com/downloads/ \
GENTOO
diff --git a/ftp/vsftpd/files/vsftpd.in b/ftp/vsftpd/files/vsftpd.in
index 5f612c27c8dc..e4a6c28c6526 100644
--- a/ftp/vsftpd/files/vsftpd.in
+++ b/ftp/vsftpd/files/vsftpd.in
@@ -2,10 +2,10 @@
#
# $FreeBSD$
#
-
# PROVIDE: vsftpd
# REQUIRE: DAEMON
-
+# KEYWORD: shutdown
+#
# To enable 'vsftpd' in standalone mode, you need to edit two files.
# 1. add the following line(s) to /etc/rc.conf to enable `vsftpd':
#
@@ -24,12 +24,13 @@
. /etc/rc.subr
name="vsftpd"
+desc="Vsftpd FTP Server"
rcvar="vsftpd_enable"
load_rc_config "$name"
+
: ${vsftpd_enable:="NO"}
: ${vsftpd_config:="%%PREFIX%%/etc/$name.conf"}
-
command="%%PREFIX%%/libexec/$name"
required_files="${vsftpd_config}"
start_precmd="vsftpd_check"