From 25ddb25df91a6692bbb75d7f849607c63aae1812 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sat, 7 Aug 2010 07:49:17 +0000 Subject: - rc.d supports now vsftpd_config PR: 146556 - new option WITH_PIDFILE Submitted by: Eugen Zagorodniy - update to 2.3.0 --- ftp/vsftpd/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'ftp/vsftpd/Makefile') 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 @@ -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 -- cgit v1.2.3