ftp/freebsd-ftpd: Add ftp/freebsd-ftpd

This new port contains the legacy FreeBSD ftpd which will be removed
from FreeBSD-14.
This commit is contained in:
Cy Schubert 2021-06-18 15:56:04 -07:00
parent 15908d8556
commit 24cd2ad24f
5 changed files with 56 additions and 0 deletions

View File

@ -16,6 +16,7 @@
SUBDIR += filezilla
SUBDIR += fmirror
SUBDIR += fpc-libcurl
SUBDIR += freebsd-ftpd
SUBDIR += ftpcopy
SUBDIR += ftpfind
SUBDIR += ftplib

40
ftp/freebsd-ftpd/Makefile Normal file
View File

@ -0,0 +1,40 @@
# Created by: cy@FreeBSD.org
PORTNAME= freebsd-ftpd
DISTVERSIONPREFIX= v
DISTVERSION= 20200704
CATEGORIES= ftp
MAINTAINER= cy@FreeBSD.org
COMMENT= FreeBSD ftpd
LICENSE= BSD3CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= cschuber
USES= uidfix
MAKE_ARGS+= BINOWN=${BINOWN} BINMODE=${BINMODE}
MAKE_ENV+= MAKESYSPATH=/usr/src/share/mk \
BINDIR=${PREFIX}/libexec \
MANDIR=${PREFIX}/man/man
OPTIONS_DEFINE= IPV6 LIBBLACKLIST
OPTIONS_DEFAULT= IPV6 LIBBLACKLIST
.if !exists(/usr/include/blacklist.h)
OPTIONS_EXCLUDE= LIBBLACKLIST
.endif
LIBBLACKLIST_DESC= libblacklist(3) support for rlogind(8) and rshd(8)
LIBBLACKLIST_MAKE_ARGS= USE_LIBBLACKLIST=yes
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300134
MAKE_ENV+= MK_WERROR=no
.else
MAKE_ENV+= NO_WERROR=1
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1624028878
SHA256 (cschuber-freebsd-ftpd-v20200704_GH0.tar.gz) = b07938fcdea2191e967db16ad4d204711a33e06b2083a08622022fc55e42fbed
SIZE (cschuber-freebsd-ftpd-v20200704_GH0.tar.gz) = 49136

View File

@ -0,0 +1,9 @@
git filter-repo is a versatile tool for rewriting history, which
includes capabilities I have not found anywhere else. It roughly falls
into the same space of tool as git filter-branch but without the
capitulation-inducing poor performance, with far more capabilities,
and with a design that scales usability-wise beyond trivial rewriting
cases. git filter-repo is now recommended by the git project instead of
git filter-branch.
WWW: https://github.com/newren/git-filter-repo

View File

@ -0,0 +1,3 @@
libexec/ftpd
man/man5/ftpchroot.5.gz
man/man8/ftpd.8.gz