The previous patch was supposed to fix vsftpd so that it would look for the

configuration file in /usr/local/etc/vsftpd.conf but it did not, currently it is
looking for the file in /usr/local/etc/vsftpd//usr/local/etc/vsftpd.conf, this
patch makes it look for /usr/local/etc/vsftpd.conf as also specified in
pkg-plist.

Approved by:	maintainer
This commit is contained in:
Florian Smeets 2012-02-28 21:28:21 +00:00
parent 1a6c65953f
commit ee2104cd5f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=292396

View file

@ -7,6 +7,7 @@
PORTNAME= vsftpd-ext
PORTVERSION= ${UPSTREAMVERSION}.${EXTVERSION}
PORTREVISION= 1
CATEGORIES= ftp ipv6
MASTER_SITES= http://vsftpd.devnet.ru/files/${UPSTREAMVERSION}/ext.${EXTVERSION}/
PKGNAMESUFFIX?= ${SSL_SUFFIX}${PKGNAMESUFFIX2}
@ -49,9 +50,7 @@ LDFLAGS+= -L${OPENSSLLIB}
.endif
do-configure:
${REINPLACE_CMD} -e "s|vsftpd.conf|${PREFIX}/etc/vsftpd.conf|" \
${WRKSRC}/defs.h ${WRKSRC}/vsftpd.conf
${REINPLACE_CMD} -e "s|/etc/vsftpd|${PREFIX}/etc/vsftpd|" \
${REINPLACE_CMD} -e "s|/etc/vsftpd|${PREFIX}/etc|" \
${WRKSRC}/builddefs.h
${REINPLACE_CMD} \
-e '/^CC/s/=/?=/' \