diff --git a/databases/proftpd-mod_sql_tds/distinfo b/databases/proftpd-mod_sql_tds/distinfo
index 9d46581fc619..157516e79f7e 100644
--- a/databases/proftpd-mod_sql_tds/distinfo
+++ b/databases/proftpd-mod_sql_tds/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1630315047
-SHA256 (proftpd-1.3.7c.tar.gz) = 7070968b9b6cf614ce7f756c8c1a66c32c1afa4f961784a62301790a801400da
-SIZE (proftpd-1.3.7c.tar.gz) = 20428648
+TIMESTAMP = 1674382163
+SHA256 (proftpd-1.3.8.tar.gz) = f7139e7377a2cb059b8b9b14d76a6df5f440e3181cb15ae890d43bbcae574748
+SIZE (proftpd-1.3.8.tar.gz) = 19744412
SHA256 (mod_sql_tds-4.13.tar.gz) = 9d9fb6c4b9a952739a84e166ed8b0d93f539c7bcf73e32923318e00cbd7eea08
SIZE (mod_sql_tds-4.13.tar.gz) = 11688
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index f8318c206e73..8137d6de797a 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -1,229 +1,229 @@
PORTNAME?= proftpd
.if !defined(DISTVERSION)
PORTVERSION?= ${PROFTPD_VERSION}
.endif
PORTREVISION?= 0
CATEGORIES?= ftp
MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
https://github.com/downloads/proftpd/proftpd.github.com/ \
ftp://ftpmirror.uk/ftp.proftpd.org/distrib/source/ \
http://www.mirrorservice.org/sites/ftp.proftpd.org/distrib/source/
.if defined(_BUILDING_PROFTPD_MODULE)
DISTNAME= proftpd-${PROFTPD_VERSION}
.endif
MAINTAINER?= mm@FreeBSD.org
COMMENT?= Highly configurable FTP daemon
WWW?= http://www.proftpd.org/
LICENSE?= GPLv2
LICENSE_FILE?= ${WRKSRC}/COPYING
.if defined(_BUILDING_PROFTPD_MODULE)
BUILD_DEPENDS+= ${LOCALBASE}/sbin/proftpd:ftp/proftpd
RUN_DEPENDS+= ${LOCALBASE}/sbin/proftpd:ftp/proftpd
.endif
-PROFTPD_VERSION= 1.3.7c
+PROFTPD_VERSION= 1.3.8
CPE_VENDOR= proftpd
CPE_PRODUCT= proftpd
.if defined(_BUILDING_PROFTPD_MODULE)
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY+= ${DISTNAME}${EXTRACT_SUFX}
WRKSRC= ${WRKDIR}/proftpd-${PROFTPD_VERSION}
. if defined(_PROFTPD_MODULE_EXTRACT_ONLY)
EXTRACT_ONLY+= ${_PROFTPD_MODULE_EXTRACT_ONLY}
. endif
. if defined(_PROFTPD_MODULE_DISTFILES)
DISTFILES+= ${_PROFTPD_MODULE_DISTFILES}
DISTINFO_FILE= ${.CURDIR}/distinfo
. endif
. if defined(_PROFTPD_MODULE_MASTER_SITES)
MASTER_SITES+= ${_PROFTPD_MODULE_MASTER_SITES}
. endif
.endif
.if !defined(_BUILDING_PROFTPD_MODULE)
PORTDOCS= *
.endif
MAKE_JOBS_UNSAFE= yes
USES+= gmake libtool
GNU_CONFIGURE= yes
.if !defined(_BUILDING_PROFTPD_MODULE)
USES+= cpe ssl
USE_RC_SUBR= proftpd
.endif
LOCALSTATEDIR?= /var/run
CONFIGURE_ARGS=--localstatedir=${LOCALSTATEDIR} \
--libexecdir=${PREFIX}/libexec/proftpd \
--with-pkgconfig=libdata/pkgconfig \
--sysconfdir=${PREFIX}/etc \
--enable-ctrls \
--enable-dso \
--disable-sendfile
CONFIGURE_ENV+= install_user=`${ID} -u` \
install_group=`${ID} -g`
.if defined(_BUILDING_PROFTPD_MODULE)
MODULES= ${_BUILDING_PROFTPD_MODULE}
.for m in ${MODULES}
__MODULES:=${__MODULES}:${m}
.endfor
CONFIGURE_ARGS+= --with-shared=${__MODULES:C/^://g}
INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include/proftpd
ALL_TARGET= shared
BUILD_WRKSRC= ${WRKSRC}/modules
INSTALL_WRKSRC= ${WRKSRC}/modules
PLIST= ${WRKDIR}/PLIST
.for m in ${MODULES}
PLIST_FILES+= libexec/proftpd/${m}.a \
libexec/proftpd/${m}.so
.endfor
.else
OPTIONS_DEFINE= DOCS HTMLDOCS IPV6 NLS MEMCACHE PCRE REDIS
OPTIONS_DEFAULT= PCRE
HTMLDOCS_DESC= Include HTML documentation
MEMCACHE_DESC= Memcache support using libmemcached
REDIS_DESC= Redis support using hiredis
PLIST_SUB+= LOCALSTATEDIR="${LOCALSTATEDIR}"
OPTIONS_SUB= yes
.endif #!defined(_BUILDING_PROFTPD_MODULE)
.if !defined(_BUILDING_PROFTPD_MODULE)
CPPFLAGS+= -DHAVE_OPENSSL -I${OPENSSLINC}
LIBS+= -lssl -lcrypto -L${OPENSSLLIB}
LDFLAGS+= -lpthread
.endif
.if !defined(_BUILDING_PROFTPD_MODULE)
LIBDIRS?= ${LOCALBASE}/lib
INCLUDEDIRS?= ${LOCALBASE}/include
# Always built modules
MODULES+= mod_ban \
mod_copy \
mod_ctrls_admin \
mod_deflate \
mod_dnsbl \
mod_dynmasq \
mod_exec \
mod_ifsession \
mod_ifversion \
mod_qos \
mod_quotatab \
mod_quotatab_file \
mod_quotatab_radius \
mod_quotatab_sql \
mod_radius \
mod_ratio \
mod_readme \
mod_rewrite \
mod_sftp \
mod_sftp_pam \
mod_sftp_sql \
mod_shaper \
mod_site_misc \
mod_snmp \
mod_sql \
mod_sql_passwd \
mod_tls \
mod_tls_shmcache \
mod_unique_id \
mod_wrap2 \
mod_wrap2_file \
mod_wrap2_sql
IPV6_CONFIGURE_ENABLE=ipv6
NLS_CONFIGURE_ON= --enable-nls
NLS_USES= gettext iconv
PCRE_CONFIGURE_ENABLE= pcre
PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
MEMCACHE_LIB_DEPENDS= libmemcached.so:databases/libmemcached
MEMCACHE_CONFIGURE_ENABLE= memcache
MEMCACHE_VARS= MODULES+="mod_memcache mod_tls_memcache" \
LIBS+="-L${LOCALBASE}/lib -lmemcached -lmemcachedutil"
REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis
REDIS_CONFIGURE_ENABLE= redis
REDIS_VARS= MODULES+="mod_redis mod_tls_redis mod_wrap2_redis" \
LIBS+="-L${LOCALBASE}/lib -lhiredis"
.include ftp