aboutsummaryrefslogtreecommitdiff
path: root/ftp/pavuk
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2004-07-02 22:26:44 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2004-07-02 22:26:44 +0000
commit950f06a04d9fb85cadf823ab4308b68b6eaa6acc (patch)
treed049ad1cd7872342d0df28760afacd51c3418956 /ftp/pavuk
parent7ca9095736dda4b6a059cf15ba39a79d2bb4966a (diff)
downloadports-950f06a04d9fb85cadf823ab4308b68b6eaa6acc.tar.gz
ports-950f06a04d9fb85cadf823ab4308b68b6eaa6acc.zip
Notes
Diffstat (limited to 'ftp/pavuk')
-rw-r--r--ftp/pavuk/Makefile2
-rw-r--r--ftp/pavuk/files/patch-src_http.c16
2 files changed, 17 insertions, 1 deletions
diff --git a/ftp/pavuk/Makefile b/ftp/pavuk/Makefile
index 71198e48d3ae..685b67ab69ca 100644
--- a/ftp/pavuk/Makefile
+++ b/ftp/pavuk/Makefile
@@ -7,7 +7,7 @@
PORTNAME= pavuk
PORTVERSION= 0.9.28
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= ftp www
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
http://www.idata.sk/~ondrej/sw/
diff --git a/ftp/pavuk/files/patch-src_http.c b/ftp/pavuk/files/patch-src_http.c
new file mode 100644
index 000000000000..4feaab46c206
--- /dev/null
+++ b/ftp/pavuk/files/patch-src_http.c
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- src/http.c.orig Mon Jul 30 00:06:40 2001
++++ src/http.c Fri Jul 2 18:08:05 2004
+@@ -1111,8 +1111,8 @@
+ if (!loc)
+ return -1;
+
+- if (sscanf(loc, "http://%[.0-9A-Za-z_-]:%d", proxy, &port) < 1)
+- if (sscanf(loc, "%[.0-9A-Za-z_-]:%d", proxy, &port) !=2)
++ if (sscanf(loc, "http://%255[.0-9A-Za-z_-]:%d", proxy, &port) < 1)
++ if (sscanf(loc, "%255[.0-9A-Za-z_-]:%d", proxy, &port) !=2)
+ return -1;
+
+ _free(docp->http_proxy);