aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2010-01-18 06:42:34 +0000
committerWen Heping <wen@FreeBSD.org>2010-01-18 06:42:34 +0000
commit6d7f57f1d8eddae60ccd231d35d5bac12e926cc0 (patch)
treeb9a53a8bd4213beb4278cf1bca87f7ab268bbc15
parent4b877d96d6d58fafe200c6181b53473633319c7f (diff)
downloadports-6d7f57f1d8eddae60ccd231d35d5bac12e926cc0.tar.gz
ports-6d7f57f1d8eddae60ccd231d35d5bac12e926cc0.zip
Notes
-rw-r--r--ftp/cftp/Makefile4
-rw-r--r--ftp/cftp/files/patch-readrc.c11
-rw-r--r--ftp/cftp/pkg-descr2
3 files changed, 14 insertions, 3 deletions
diff --git a/ftp/cftp/Makefile b/ftp/cftp/Makefile
index 5850773e3403..2635e78d4da7 100644
--- a/ftp/cftp/Makefile
+++ b/ftp/cftp/Makefile
@@ -7,12 +7,12 @@
PORTNAME= cftp
PORTVERSION= 0.12
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= ftp ipv6
MASTER_SITES= ftp://ftp.giga.or.at/pub/nih/cftp/ \
ftp://sunsite.univie.ac.at/pub/nih/cftp/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= rfarmer@predatorlabs.net
COMMENT= Comfortable FTP, a full screen ftp client
GNU_CONFIGURE= yes
diff --git a/ftp/cftp/files/patch-readrc.c b/ftp/cftp/files/patch-readrc.c
new file mode 100644
index 000000000000..7aa461963c7a
--- /dev/null
+++ b/ftp/cftp/files/patch-readrc.c
@@ -0,0 +1,11 @@
+--- readrc.c.orig 2010-01-09 23:30:28.000000000 -0800
++++ readrc.c 2010-01-09 23:31:10.000000000 -0800
+@@ -46,7 +46,7 @@
+ char b[8192], *p, *tok, *q, *home;
+ char *user, *pass, *host, *port, *wdir;
+
+- if ((home=getenv("HOME")) == NULL)
++ if ((home=getenv("HOME")) == NULL || strlen(home) > sizeof(b)-9)
+ home = "";
+ sprintf(b, "%s/.cftprc", home);
+
diff --git a/ftp/cftp/pkg-descr b/ftp/cftp/pkg-descr
index efba8d7dddff..45c00a475e0f 100644
--- a/ftp/cftp/pkg-descr
+++ b/ftp/cftp/pkg-descr
@@ -4,4 +4,4 @@ your local computer via the FTP protocol.
fullscreen representation of the remote directory so you
can easily choose what to get or where to go.
-WWW: http://ftp.giga.or.at/pub/nih/cftp/
+WWW: http://nih.at/cftp/