aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2015-01-09 20:11:59 +0000
committerKurt Jaeger <pi@FreeBSD.org>2015-01-09 20:11:59 +0000
commitce0872f121964befba4f4308cad400ecae079e96 (patch)
treede928f598f5d8fa8d078e12dd5f41991b5cd7778 /ftp
parentfe0e6bcacc782a7db3826ef2a1cc47d11320ce1a (diff)
downloadports-ce0872f121964befba4f4308cad400ecae079e96.tar.gz
ports-ce0872f121964befba4f4308cad400ecae079e96.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/vsftpd-ext/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/ftp/vsftpd-ext/Makefile b/ftp/vsftpd-ext/Makefile
index 71f52b742ec1..90f2708b6ac2 100644
--- a/ftp/vsftpd-ext/Makefile
+++ b/ftp/vsftpd-ext/Makefile
@@ -3,7 +3,7 @@
PORTNAME= vsftpd-ext
PORTVERSION= ${UPSTREAMVERSION}.${EXTVERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= ftp ipv6
MASTER_SITES= http://vsftpd.devnet.ru/files/${UPSTREAMVERSION}/ext.${EXTVERSION}/
PKGNAMESUFFIX?= ${SSL_SUFFIX}${PKGNAMESUFFIX2}
@@ -71,8 +71,10 @@ do-configure:
"s|#undef VSF_BUILD_TCPWRAPPERS|#define VSF_BUILD_TCPWRAPPERS 1|" \
${WRKSRC}/builddefs.h
.endif
- ${REINPLACE_CMD} -e "s|\"vsftpd.conf\"|\"${PREFIX}/etc/vsftpd.conf\"|" \
- ${WRKSRC}/defs.h
+ ${REINPLACE_CMD} -e \
+ "s|#define VSF_CONFIG_PATH \"/etc/vsftpd/\"|#define VSF_CONFIG_PATH \"${PREFIX}/etc/\"|" \
+ -e "s|#define VSF_CONFIG_PREFIX \"\"|#define VSF_CONFIG_PREFIX \"vsftpd.\"|" \
+ ${WRKSRC}/builddefs.h
${REINPLACE_CMD} -e "s|/etc/v|${PREFIX}/etc/v|" \
${WRKSRC}/vsftpd.8 ${WRKSRC}/vsftpd.conf.5
${REINPLACE_CMD} -e "s|/usr/share/empty|${PREFIX}/share/vsftpd/empty|" \