aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/pavuk/files
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-11-14 17:20:05 +0800
committerkrion <krion@FreeBSD.org>2004-11-14 17:20:05 +0800
commitb67b754a803e390bce263b60aefb493e4ac9cf2d (patch)
tree5f0c093a1c8356d2c7e4d0905b3ab3a59c0cd490 /ftp/pavuk/files
parentf71497869b380a2dbff54ef14970a688829f81e2 (diff)
downloadfreebsd-ports-gnome-b67b754a803e390bce263b60aefb493e4ac9cf2d.tar.gz
freebsd-ports-gnome-b67b754a803e390bce263b60aefb493e4ac9cf2d.tar.zst
freebsd-ports-gnome-b67b754a803e390bce263b60aefb493e4ac9cf2d.zip
Update to version 0.9.31
PR: ports/73902 Submitted by: Ports Fury
Diffstat (limited to 'ftp/pavuk/files')
-rw-r--r--ftp/pavuk/files/patch-src::ainterface.c22
-rw-r--r--ftp/pavuk/files/patch-src::digest_auth.c30
-rw-r--r--ftp/pavuk/files/patch-src_http.c16
3 files changed, 22 insertions, 46 deletions
diff --git a/ftp/pavuk/files/patch-src::ainterface.c b/ftp/pavuk/files/patch-src::ainterface.c
new file mode 100644
index 000000000000..25781045ec0c
--- /dev/null
+++ b/ftp/pavuk/files/patch-src::ainterface.c
@@ -0,0 +1,22 @@
+--- src/ainterface.c.orig Wed Nov 3 15:51:10 2004
++++ src/ainterface.c Fri Nov 12 03:29:00 2004
+@@ -448,13 +448,17 @@
+ {
+ int i;
+
++#ifdef I_FACE
++#ifdef HAVE_MT
++ _config_struct_priv_t privcfg;
++#endif
++#endif
++
+ if(cfg.mode == MODE_MIRROR)
+ return;
+
+ #ifdef I_FACE
+ #ifdef HAVE_MT
+- _config_struct_priv_t privcfg;
+-
+ privcfg_make_copy(&privcfg);
+ pthread_setspecific(cfg.privcfg_key, (void *) (&privcfg));
+ pthread_cleanup_push((void *) privcfg_free, (void *) (&privcfg));
diff --git a/ftp/pavuk/files/patch-src::digest_auth.c b/ftp/pavuk/files/patch-src::digest_auth.c
deleted file mode 100644
index 8aa305958d1d..000000000000
--- a/ftp/pavuk/files/patch-src::digest_auth.c
+++ /dev/null
@@ -1,30 +0,0 @@
---- src/digest_auth_orig.c 2000-12-03 08:25:44.000000000 -0600
-+++ src/digest_auth.c 2004-07-24 13:45:50.000000000 -0500
-@@ -87,6 +87,7 @@
- return retv;
- }
-
-+/* PRE: Assumes 'buf' can store 2K */
- char *http_get_digest_auth_str(auth_digest, method, user, pass, urlp, buf)
- http_digest_info *auth_digest;
- char *method;
-@@ -99,14 +100,15 @@
- char *a1,*a2,*a3;
- char *d = url_encode_str(urlp->p.http.document, URL_PATH_UNSAFE);
-
-- sprintf(pom, "%s:%s:%s", user, auth_digest->realm, pass);
-+ snprintf(pom, sizeof(pom), "%s:%s:%s", user, auth_digest->realm, pass);
- a1 = _md5(pom);
-- sprintf(pom, "%s:%s", method, d);
-+ snprintf(pom, sizeof(pom), "%s:%s", method, d);
- a2 = _md5(pom);
-- sprintf(pom, "%s:%s:%s", a1, auth_digest->nonce, a2);
-+ snprintf(pom, sizeof(pom), "%s:%s:%s", a1, auth_digest->nonce, a2);
- a3 = _md5(pom);
-
-- sprintf(buf,
-+ snprintf(buf,
-+ 2048,
- "Digest username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\"" ,
- user, auth_digest->realm, auth_digest->nonce, d, a3);
-
diff --git a/ftp/pavuk/files/patch-src_http.c b/ftp/pavuk/files/patch-src_http.c
deleted file mode 100644
index 4feaab46c206..000000000000
--- a/ftp/pavuk/files/patch-src_http.c
+++ /dev/null
@@ -1,16 +0,0 @@
-
-$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);