summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
Diffstat (limited to 'ftp')
-rw-r--r--ftp/curlie/Makefile2
-rw-r--r--ftp/freebsd-ftpd/Makefile2
-rw-r--r--ftp/freebsd-ftpd/files/ftpd.in25
-rw-r--r--ftp/pget/Makefile2
4 files changed, 29 insertions, 2 deletions
diff --git a/ftp/curlie/Makefile b/ftp/curlie/Makefile
index 2bf3dc273bed..4ee0d737e29a 100644
--- a/ftp/curlie/Makefile
+++ b/ftp/curlie/Makefile
@@ -1,7 +1,7 @@
PORTNAME= curlie
DISTVERSIONPREFIX= v
DISTVERSION= 1.6.7
-PORTREVISION= 31
+PORTREVISION= 32
CATEGORIES= ftp net www
MAINTAINER= 0mp@FreeBSD.org
diff --git a/ftp/freebsd-ftpd/Makefile b/ftp/freebsd-ftpd/Makefile
index ac65a6a11701..0aefa27362f4 100644
--- a/ftp/freebsd-ftpd/Makefile
+++ b/ftp/freebsd-ftpd/Makefile
@@ -1,6 +1,7 @@
PORTNAME= freebsd-ftpd
DISTVERSIONPREFIX= v
DISTVERSION= 20250929
+PORTREVISION= 1
CATEGORIES= ftp
MAINTAINER= cy@FreeBSD.org
@@ -13,6 +14,7 @@ USE_GITHUB= yes
GH_ACCOUNT= cschuber
USES= uidfix
+USE_RC_SUBR= ftpd
MAKE_ARGS+= BINOWN=${BINOWN} BINMODE=${BINMODE}
MAKE_ENV+= MAKESYSPATH=/usr/src/share/mk \
diff --git a/ftp/freebsd-ftpd/files/ftpd.in b/ftp/freebsd-ftpd/files/ftpd.in
new file mode 100644
index 000000000000..ef830b02f817
--- /dev/null
+++ b/ftp/freebsd-ftpd/files/ftpd.in
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+# PROVIDE: ftpd
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf to run freebsd-ftpd
+# as a standalone daemon:
+#
+# ftpd_enable (bool): Run freebsd-ftpd FTP server (or NO).
+# ftpd_flags (str): Use this for flags OTHER than -D
+
+. /etc/rc.subr
+
+load_rc_config $name
+
+name="ftpd"
+rcvar="ftpd_enable"
+
+: ${ftpd_enable=NO}
+
+command="/usr/local/libexec/${name}"
+command_args="-D"
+
+run_rc_command "$1"
diff --git a/ftp/pget/Makefile b/ftp/pget/Makefile
index efe78a1ce3c0..3c51cd33f060 100644
--- a/ftp/pget/Makefile
+++ b/ftp/pget/Makefile
@@ -1,7 +1,7 @@
PORTNAME= pget
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.1
-PORTREVISION= 16
+PORTREVISION= 17
CATEGORIES= ftp net www
MAINTAINER= yuri@FreeBSD.org