mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 18:16:48 -04:00
- Unbreak the build against OpenSSL (untested) - Do not install useless static libraries - Build with PAM support (and enable by default) - Annotate installed sample configuration file as @sample - Minor textual nits in rc script and port description
22 lines
439 B
Bash
22 lines
439 B
Bash
#!/bin/sh
|
|
|
|
# PROVIDE: wzdftpd
|
|
# REQUIRE: DAEMON
|
|
# BEFORE: LOGIN
|
|
# KEYWORD: shutdown
|
|
#
|
|
# Add the following lines to /etc/rc.conf to enable wzdftpd:
|
|
# wzdftpd_enable="YES"
|
|
# wzdftpd_flags="<set as needed>"
|
|
|
|
wzdftpd_enable=${wzdftpd_enable:-"NO"} # Enable wzdftpd
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="wzdftpd"
|
|
rcvar=wzdftpd_enable
|
|
command="%%PREFIX%%/sbin/${name}"
|
|
required_files="%%PREFIX%%/etc/wzdftpd/wzd.cfg"
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|