pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/esniper The remaining patch in patch-aa has been ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/015f408aaeed
branches:  trunk
changeset: 522920:015f408aaeed
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sat Dec 30 17:44:56 2006 +0000

description:
The remaining patch in patch-aa has been integrated upstream
(slightly different, in util.c), so patch-aa has become obsolete.

diffstat:

 misc/esniper/Makefile         |   4 ++--
 misc/esniper/distinfo         |   3 +--
 misc/esniper/patches/patch-aa |  43 -------------------------------------------
 3 files changed, 3 insertions(+), 47 deletions(-)

diffs (73 lines):

diff -r 34b7da3507fc -r 015f408aaeed misc/esniper/Makefile
--- a/misc/esniper/Makefile     Sat Dec 30 12:16:31 2006 +0000
+++ b/misc/esniper/Makefile     Sat Dec 30 17:44:56 2006 +0000
@@ -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 -r 34b7da3507fc -r 015f408aaeed misc/esniper/distinfo
--- a/misc/esniper/distinfo     Sat Dec 30 12:16:31 2006 +0000
+++ b/misc/esniper/distinfo     Sat Dec 30 17:44:56 2006 +0000
@@ -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 -r 34b7da3507fc -r 015f408aaeed misc/esniper/patches/patch-aa
--- a/misc/esniper/patches/patch-aa     Sat Dec 30 12:16:31 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index