aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-12-29 04:14:32 +0800
committerdinoex <dinoex@FreeBSD.org>2003-12-29 04:14:32 +0800
commitf9dcb9cbe98f19273013979d2334d0067392d292 (patch)
treef0ad0265a06f17fdb2119b16208a402be3cf2194
parent0fff2024ef8a9adfcbf8d8dafd15f0bf37aedbe9 (diff)
downloadfreebsd-ports-gnome-f9dcb9cbe98f19273013979d2334d0067392d292.tar.gz
freebsd-ports-gnome-f9dcb9cbe98f19273013979d2334d0067392d292.tar.zst
freebsd-ports-gnome-f9dcb9cbe98f19273013979d2334d0067392d292.zip
- Fix path to config files in manpages
- search all config files in ${PREFIX}/etc/
-rw-r--r--ftp/vsftpd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/ftp/vsftpd/Makefile b/ftp/vsftpd/Makefile
index 7a4929129672..cea229d76e46 100644
--- a/ftp/vsftpd/Makefile
+++ b/ftp/vsftpd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= vsftpd
PORTVERSION= 1.2.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= ftp
MASTER_SITES= ftp://vsftpd.beasts.org/users/cevans/
@@ -33,6 +33,8 @@ do-configure:
${WRKSRC}/builddefs.h
${ECHO_CMD} "secure_chroot_dir=${PREFIX}/share/vsftpd/empty" >> \
${WRKSRC}/vsftpd.conf
+ ${REINPLACE_CMD} -e "s=/etc/v=${PREFIX}/etc/v=" \
+ ${WRKSRC}/vsftpd.8 ${WRKSRC}/vsftpd.conf.5 ${WRKSRC}/tunables.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vsftpd ${PREFIX}/libexec/