ftp/freebsd-ftpd: Use blocklist

Starting from FreeBSD version 1500000, prefer the new blocklist
nomenclature.

Once older versions are no longer supported, we should use blocklist
exclusively.

While here, move USES higher to appease portlint (USE_* seen before
USES).

PR:		295080
Reviewed by:	cy
This commit is contained in:
Jose Luis Duran
2026-05-07 13:05:14 +00:00
parent 6e5691d00e
commit fbe86c4dec
2 changed files with 18 additions and 9 deletions
+15 -6
View File
@@ -1,6 +1,6 @@
PORTNAME= freebsd-ftpd
DISTVERSIONPREFIX= v
DISTVERSION= 20250929
DISTVERSION= 20260507
PORTREVISION= 1
CATEGORIES= ftp
@@ -10,10 +10,11 @@ WWW= https://github.com/cschuber/freebsd-ftpd
LICENSE= BSD3CLAUSE
USES= uidfix
USE_GITHUB= yes
GH_ACCOUNT= cschuber
USES= uidfix
USE_RC_SUBR= ftpd
MAKE_ARGS+= BINOWN=${BINOWN} BINMODE=${BINMODE}
@@ -22,10 +23,18 @@ MAKE_ENV+= MAKESYSPATH=/usr/src/share/mk \
MANDIR=${PREFIX}/share/man/man \
MK_WERROR=no
OPTIONS_DEFINE= IPV6 LIBBLACKLIST
OPTIONS_DEFAULT= IPV6 LIBBLACKLIST
OPTIONS_DEFINE= IPV6 LIBBLOCKLIST
OPTIONS_DEFAULT= IPV6 LIBBLOCKLIST
LIBBLACKLIST_DESC= libblacklist(3) support for rlogind(8) and rshd(8)
LIBBLACKLIST_MAKE_ARGS= USE_LIBBLACKLIST=yes
LIBBLOCKLIST_DESC= libblocklist(3) support for rlogind(8) and rshd(8)
LIBBLOCKLIST_MAKE_ARGS= USE_LIBBLOCKLIST=yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MLIBBLOCKLIST}
. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500000
LIBBLOCKLIST_MAKE_ARGS= USE_LIBBLACKLIST=yes
. endif
.endif
.include <bsd.port.mk>
+3 -3
View File
@@ -1,3 +1,3 @@
TIMESTAMP = 1759186092
SHA256 (cschuber-freebsd-ftpd-v20250929_GH0.tar.gz) = 29d63dea3ba762ee39e5b75efff8a3c926c6420b4d0d80658d445e101c3e03a8
SIZE (cschuber-freebsd-ftpd-v20250929_GH0.tar.gz) = 48009
TIMESTAMP = 1778164397
SHA256 (cschuber-freebsd-ftpd-v20260507_GH0.tar.gz) = 06e5723946f48e26d4138b71806f305a8f9367a57f36a0d18c7149d770224c1e
SIZE (cschuber-freebsd-ftpd-v20260507_GH0.tar.gz) = 48009