aboutsummaryrefslogtreecommitdiff
path: root/ftp/vsftpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/vsftpd/Makefile')
-rw-r--r--ftp/vsftpd/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/ftp/vsftpd/Makefile b/ftp/vsftpd/Makefile
index 4681b8017eb7..5b54758018e5 100644
--- a/ftp/vsftpd/Makefile
+++ b/ftp/vsftpd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= vsftpd
-PORTVERSION= 2.2.2
+PORTVERSION= 2.3.0
CATEGORIES= ftp ipv6
MASTER_SITES= ftp://vsftpd.beasts.org/users/cevans/
PKGNAMESUFFIX?= ${SSL_SUFFIX}${PKGNAMESUFFIX2}
@@ -26,7 +26,8 @@ DOCFILES= AUDIT BENCHMARKS BUGS Changelog FAQ INSTALL LICENSE \
LDFLAGS+= -lwrap
OPTIONS= RC_NG "install RC_NG script" off \
- VSFTPD_SSL "Include support for SSL" off
+ VSFTPD_SSL "Include support for SSL" off \
+ PIDFILE "unofficial support for pidfile" off
.include <bsd.port.pre.mk>
@@ -46,6 +47,10 @@ LDFLAGS+= -L${OPENSSLLIB}
MAKE_ENV+= LDFLAGS="${LDFLAGS}"
.endif
+.if defined(WITH_PIDFILE)
+EXTRA_PATCHES+= ${FILESDIR}/pidfile.patch
+.endif
+
do-configure:
${REINPLACE_CMD} -e "s|/etc/vsftpd.conf|${PREFIX}/etc/vsftpd.conf|" \
${WRKSRC}/defs.h ${WRKSRC}/vsftpd.conf