aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/vsftpd-ext
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2012-02-29 05:28:21 +0800
committerflo <flo@FreeBSD.org>2012-02-29 05:28:21 +0800
commited900701daffee1f75fc4a5923d0771dabd5bd54 (patch)
tree74fb9d3d92f47c29e53ca1bffb3cd396d09ec64a /ftp/vsftpd-ext
parentb2e1d262c9fe057117a7d7b81d68fa6c8870a4e3 (diff)
downloadfreebsd-ports-gnome-ed900701daffee1f75fc4a5923d0771dabd5bd54.tar.gz
freebsd-ports-gnome-ed900701daffee1f75fc4a5923d0771dabd5bd54.tar.zst
freebsd-ports-gnome-ed900701daffee1f75fc4a5923d0771dabd5bd54.zip
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
Diffstat (limited to 'ftp/vsftpd-ext')
-rw-r--r--ftp/vsftpd-ext/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/ftp/vsftpd-ext/Makefile b/ftp/vsftpd-ext/Makefile
index c1f579a2febd..57f423a79422 100644
--- a/ftp/vsftpd-ext/Makefile
+++ b/ftp/vsftpd-ext/Makefile
@@ -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/=/?=/' \