From f50f404027b496983c620629cb6e0933f615b93f Mon Sep 17 00:00:00 2001 From: heinz Date: Sat, 30 Dec 2006 17:44:56 +0000 Subject: The remaining patch in patch-aa has been integrated upstream (slightly different, in util.c), so patch-aa has become obsolete. --- misc/esniper/Makefile | 4 ++-- misc/esniper/distinfo | 3 +-- misc/esniper/patches/patch-aa | 43 ------------------------------------------- 3 files changed, 3 insertions(+), 47 deletions(-) delete mode 100644 misc/esniper/patches/patch-aa diff --git a/misc/esniper/Makefile b/misc/esniper/Makefile index bb0f1cb14e0..cc8128f8630 100644 --- a/misc/esniper/Makefile +++ b/misc/esniper/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.5 2006/11/20 17:29:52 mjl Exp $ +# $NetBSD: Makefile,v 1.6 2006/12/30 17:44:56 heinz Exp $ # DISTNAME= ${PKGNAME:S/./-/g} PKGNAME= esniper-2.15.0 -#PKGREVISION= 1 +PKGREVISION= 1 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=esniper/} EXTRACT_SUFX= .tgz diff --git a/misc/esniper/distinfo b/misc/esniper/distinfo index 8b8095cb2a3..6a4f282776d 100644 --- a/misc/esniper/distinfo +++ b/misc/esniper/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.4 2006/11/20 17:29:52 mjl Exp $ +$NetBSD: distinfo,v 1.5 2006/12/30 17:44:56 heinz Exp $ SHA1 (esniper-2-15-0.tgz) = c03b5ad6f7b2806725b51ecdb1660b07ec18cfac RMD160 (esniper-2-15-0.tgz) = 32664a0f17354a954f75aa73fc537634c8e8f4f6 Size (esniper-2-15-0.tgz) = 115905 bytes -SHA1 (patch-aa) = e55f99b79796ef13a07479f7d605acfbfb136dc3 diff --git a/misc/esniper/patches/patch-aa b/misc/esniper/patches/patch-aa deleted file mode 100644 index d7b8f5d3559..00000000000 --- a/misc/esniper/patches/patch-aa +++ /dev/null @@ -1,43 +0,0 @@ -$NetBSD: patch-aa,v 1.4 2006/11/29 22:21:30 mjl Exp $ - ---- auction.c.orig Wed Oct 19 13:37:59 2005 -+++ auction.c -@@ -28,6 +28,7 @@ - #include "buffer.h" - #include "http.h" - #include -+#include - #include - #include - #include -@@ -1189,7 +1190,7 @@ ebayLogin(auctionInfo *aip) - char *url, *logUrl; - pageInfo_t *pp; - int ret = 0; -- char *password; -+ char *password, *escapedPassword; - - if (!(mp = httpGet(LOGIN_1_URL, NULL))) - return httpError(aip); -@@ -1198,11 +1199,18 @@ ebayLogin(auctionInfo *aip) - - urlLen = sizeof(LOGIN_2_URL) + strlen(options.username); - password = getPassword(); -- url = malloc(urlLen + strlen(password)); -+ if ((escapedPassword = curl_escape(password, strlen(password))) == NULL) { -+ log(("ebayLogin(): Could not URL-encode the password")); -+ freePassword(password); -+ return 1; -+ } -+ freePassword(password); -+ -+ url = malloc(urlLen + strlen(escapedPassword)); - logUrl = malloc(urlLen + 5); - -- sprintf(url, LOGIN_2_URL, options.username, password); -- freePassword(password); -+ sprintf(url, LOGIN_2_URL, options.username, escapedPassword); -+ curl_free(escapedPassword); - sprintf(logUrl, LOGIN_2_URL, options.username, "*****"); - - mp = httpGet(url, logUrl); -- cgit v1.2.3