aboutsummaryrefslogtreecommitdiff
path: root/ftp/wu-ftpd
diff options
context:
space:
mode:
authorDaniel Harris <dannyboy@FreeBSD.org>2003-07-31 16:07:05 +0000
committerDaniel Harris <dannyboy@FreeBSD.org>2003-07-31 16:07:05 +0000
commitbeff7f49aebf470cada8541207b6562c6e068bae (patch)
treebed5b541434459de8f64fcc6c0b3d1a62d516411 /ftp/wu-ftpd
parent5f29a35ecb5d22c4938f4f687e104ba8952e61e9 (diff)
downloadports-beff7f49aebf470cada8541207b6562c6e068bae.tar.gz
ports-beff7f49aebf470cada8541207b6562c6e068bae.zip
Notes
Diffstat (limited to 'ftp/wu-ftpd')
-rw-r--r--ftp/wu-ftpd/Makefile2
-rw-r--r--ftp/wu-ftpd/files/patch-as11
2 files changed, 12 insertions, 1 deletions
diff --git a/ftp/wu-ftpd/Makefile b/ftp/wu-ftpd/Makefile
index 57d3782b3bb0..2698183fe8af 100644
--- a/ftp/wu-ftpd/Makefile
+++ b/ftp/wu-ftpd/Makefile
@@ -9,7 +9,7 @@
PORTNAME= wu-ftpd
PORTVERSION= 2.6.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.wu-ftpd.org/pub/wu-ftpd/
diff --git a/ftp/wu-ftpd/files/patch-as b/ftp/wu-ftpd/files/patch-as
new file mode 100644
index 000000000000..2f4570616c2b
--- /dev/null
+++ b/ftp/wu-ftpd/files/patch-as
@@ -0,0 +1,11 @@
+--- src/realpath.c.orig Mon Jul 28 16:18:15 2003
++++ src/realpath.c Mon Jul 28 16:18:44 2003
+@@ -299,7 +299,7 @@
+ rootd = 0;
+
+ if (*wbuf) {
+- if (strlen(resolved) + strlen(wbuf) + rootd + 1 > MAXPATHLEN) {
++ if (strlen(resolved) + strlen(wbuf) + !rootd + 1 > MAXPATHLEN) {
+ errno = ENAMETOOLONG;
+ goto err1;
+ }