mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
ftp/vsftpd-ext: fixing path to vsftpd.conf
PR: 195239 Submitted by: Xu Jing <xjflyttp@gmail.com> (maintainer)
This commit is contained in:
parent
fe0e6bcacc
commit
ce0872f121
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376656
@ -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|" \
|
||||
|
Loading…
Reference in New Issue
Block a user