aboutsummaryrefslogtreecommitdiff
path: root/ftp/vsftpd-ext
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2012-02-28 21:28:21 +0000
committerFlorian Smeets <flo@FreeBSD.org>2012-02-28 21:28:21 +0000
commitee2104cd5f684afd8beba74c526349f46574d246 (patch)
treef190b0cbac5630f4b8b95d88f7abf4fe42bae529 /ftp/vsftpd-ext
parent1a6c65953f3db24f5292240beaa679a9c80b2aae (diff)
downloadports-ee2104cd5f684afd8beba74c526349f46574d246.tar.gz
ports-ee2104cd5f684afd8beba74c526349f46574d246.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
Notes
Notes: svn path=/head/; revision=292396
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/=/?=/' \