summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2007-03-22 14:04:43 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2007-03-22 14:04:43 +0000
commit51c928a715ce1899a8d7e631b65ad072d3376346 (patch)
tree71543a9a6d4ad4882bbaf20bc21c48546b04983e /ftp
parent- Update to 2.4.123f (diff)
- fix keywords in manpage
PR: 110271 Submitted by: Bolinard Vincent
Notes
Notes: svn path=/head/; revision=188013
Diffstat (limited to 'ftp')
-rw-r--r--ftp/vsftpd/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/ftp/vsftpd/Makefile b/ftp/vsftpd/Makefile
index 5dd07d73e7e5..2d1b26534634 100644
--- a/ftp/vsftpd/Makefile
+++ b/ftp/vsftpd/Makefile
@@ -42,7 +42,7 @@ MAKE_ENV+= LDFLAGS="${LDFLAGS}"
.endif
do-configure:
- ${REINPLACE_CMD} -e "s=/etc/vsftpd.conf=${PREFIX}/etc/vsftpd.conf=" \
+ ${REINPLACE_CMD} -e "s|/etc/vsftpd.conf|${PREFIX}/etc/vsftpd.conf|" \
${WRKSRC}/defs.h
${REINPLACE_CMD} \
-e "s|^CC = gcc|CC = ${CC}|" \
@@ -50,15 +50,17 @@ do-configure:
-e "s| -Wl,-s| -Wl,-s ${LDFLAGS}|" \
${WRKSRC}/Makefile
${REINPLACE_CMD} -e \
- "s/#undef VSF_BUILD_TCPWRAPPERS/#define VSF_BUILD_TCPWRAPPERS 1/" \
+ "s|#undef VSF_BUILD_TCPWRAPPERS|#define VSF_BUILD_TCPWRAPPERS 1|" \
${WRKSRC}/builddefs.h
${ECHO_CMD} "secure_chroot_dir=${PREFIX}/share/vsftpd/empty" >> \
${WRKSRC}/vsftpd.conf
- ${REINPLACE_CMD} -e "s=/etc/v=${PREFIX}/etc/v=" \
+ ${REINPLACE_CMD} -e "s|/etc/v|${PREFIX}/etc/v|" \
+ -e 's|delay_failed_logins|delay_failed_login|' \
+ -e 's|delay_successful_logins|delay_successful_login|' \
${WRKSRC}/vsftpd.8 ${WRKSRC}/vsftpd.conf.5 ${WRKSRC}/tunables.c
.if !defined(WITHOUT_SSL) && defined(WITH_VSFTPD_SSL)
${REINPLACE_CMD} -e \
- "s/#undef VSF_BUILD_SSL/#define VSF_BUILD_SSL 1/" \
+ "s|#undef VSF_BUILD_SSL|#define VSF_BUILD_SSL 1|" \
${WRKSRC}/builddefs.h
.endif