aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2010-05-26 21:40:02 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2010-05-26 21:40:02 +0000
commitf65f3458d52ceb44cffbf01ad96bc313ec898cdc (patch)
tree21662b355f4f0bbf7e1693c7d764e4b649f67de5 /ftp
parent9b8f5ff7b54bc78b9ae6b9f4fe8d6405adc2e24d (diff)
downloadports-f65f3458d52ceb44cffbf01ad96bc313ec898cdc.tar.gz
ports-f65f3458d52ceb44cffbf01ad96bc313ec898cdc.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/wu-ftpd/Makefile2
-rw-r--r--ftp/wu-ftpd/files/patch-aa13
2 files changed, 12 insertions, 3 deletions
diff --git a/ftp/wu-ftpd/Makefile b/ftp/wu-ftpd/Makefile
index 8ff8757675d7..8f247406d5bd 100644
--- a/ftp/wu-ftpd/Makefile
+++ b/ftp/wu-ftpd/Makefile
@@ -9,7 +9,7 @@
PORTNAME= wu-ftpd
PORTVERSION= 2.6.2
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.wu-ftpd.org/pub/wu-ftpd/
PATCH_SITES= ftp://ftp.wu-ftpd.org/pub/wu-ftpd/patches/apply_to_2.6.2/
diff --git a/ftp/wu-ftpd/files/patch-aa b/ftp/wu-ftpd/files/patch-aa
index 6ea6479bb5d5..e30bca38ba16 100644
--- a/ftp/wu-ftpd/files/patch-aa
+++ b/ftp/wu-ftpd/files/patch-aa
@@ -1,5 +1,5 @@
---- src/ftpd.c.orig Tue Apr 5 03:22:01 2005
-+++ src/ftpd.c Tue Apr 5 04:10:13 2005
+--- src/ftpd.c.orig 2010-05-27 01:19:29.000000000 +0400
++++ src/ftpd.c 2010-05-27 01:19:56.000000000 +0400
@@ -447,7 +447,6 @@
#ifdef OPIE
#include <opie.h>
@@ -95,6 +95,15 @@
#ifdef VERBOSE_ERROR_LOGING
syslog(LOG_NOTICE, "FTP LOGIN FAILED (cannot chdir) for %s, %s",
remoteident, pw->pw_name);
+@@ -3508,7 +3510,7 @@
+ {
+ char *a;
+ a = (char *) malloc(len + 1);
+- memset(a, ' ', len-1);
++ memset(a, ' ', len);
+ a[len] = 0;
+ if (strlen(s) <= len)
+ memcpy(a, s, strlen(s));
@@ -7469,6 +7471,8 @@
in++;
if (*in == '/')