aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/vsftpd-ext
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2015-01-10 04:11:59 +0800
committerpi <pi@FreeBSD.org>2015-01-10 04:11:59 +0800
commit66373e436d0d97adcce26f57b683dc27a3dce030 (patch)
treede928f598f5d8fa8d078e12dd5f41991b5cd7778 /ftp/vsftpd-ext
parent073d0ab8536ec07543d0c344a6a8e9a0f1a6145b (diff)
downloadfreebsd-ports-gnome-66373e436d0d97adcce26f57b683dc27a3dce030.tar.gz
freebsd-ports-gnome-66373e436d0d97adcce26f57b683dc27a3dce030.tar.zst
freebsd-ports-gnome-66373e436d0d97adcce26f57b683dc27a3dce030.zip
ftp/vsftpd-ext: fixing path to vsftpd.conf
PR: 195239 Submitted by: Xu Jing <xjflyttp@gmail.com> (maintainer)
Diffstat (limited to 'ftp/vsftpd-ext')
-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|" \