summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2006-12-30 17:44:56 +0000
committerheinz <heinz@pkgsrc.org>2006-12-30 17:44:56 +0000
commit5e1e60e1ab9d9817c80082920b0be99e8f99bdea (patch)
tree23a2ea1629fb9b423358418abb92ffc56c4b8905
parent3d0ac013c6413940310632d4c4a560ede8a3bdb4 (diff)
downloadpkgsrc-5e1e60e1ab9d9817c80082920b0be99e8f99bdea.tar.gz
The remaining patch in patch-aa has been integrated upstream
(slightly different, in util.c), so patch-aa has become obsolete.
-rw-r--r--misc/esniper/Makefile4
-rw-r--r--misc/esniper/distinfo3
-rw-r--r--misc/esniper/patches/patch-aa43
3 files changed, 3 insertions, 47 deletions
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 <ctype.h>
-+#include <curl/curl.h>
- #include <limits.h>
- #include <stdio.h>
- #include <stdlib.h>
-@@ -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);