[Bug 290142] ftp/freebsd-ftpd: missing startup script

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 11 Oct 2025 07:27:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290142

            Bug ID: 290142
           Summary: ftp/freebsd-ftpd: missing startup script
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cy@FreeBSD.org
          Reporter: zarychtam@plan-b.pwste.edu.pl
          Assignee: cy@FreeBSD.org
             Flags: maintainer-feedback?(cy@FreeBSD.org)

After the removal of ftpd(8) from the base, ftp/freebsd-ftpd port can be used
as a replacement, but this port is incomplete. To reproduce, add to
/etc/rc.conf
ftpd_enable="YES"
ftpd_flags="-AOW"
and try to start the service. You will notice that the service does not start.
Please update the port by providing it with the startup script, like below:

#!/bin/sh
#
#

# PROVIDE: ftpd
# REQUIRE: LOGIN FILESYSTEMS
# KEYWORD: shutdown

. /etc/rc.subr

name="ftpd"
desc="Internet File Transfer Protocol daemon"
rcvar="ftpd_enable"
command="/usr/local/libexec/${name}"
pidfile="/var/run/${name}.pid"

: ${ftpd_svcj_options:="net_basic"}

load_rc_config $name

flags="-D ${flags} ${rc_flags}"

run_rc_command "$1"

-- 
You are receiving this mail because:
You are the assignee for the bug.