From ce0872f121964befba4f4308cad400ecae079e96 Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Fri, 9 Jan 2015 20:11:59 +0000 Subject: ftp/vsftpd-ext: fixing path to vsftpd.conf PR: 195239 Submitted by: Xu Jing (maintainer) --- ftp/vsftpd-ext/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ftp') 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|" \ -- cgit v1.2.3