pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/esniper Due to a change of Ebay's HTML pages esni...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05f082a9a9f7
branches:  trunk
changeset: 520506:05f082a9a9f7
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sun Oct 22 18:51:32 2006 +0000

description:
Due to a change of Ebay's HTML pages esniper needed to be patched to catch
up with this. A new release will contain the patch but it is uncertain
when it will appear on sourceforge.

This should fix PR pkg/34875 by Thomas Feddersen.

diffstat:

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

diffs (91 lines):

diff -r c8911c1212eb -r 05f082a9a9f7 misc/esniper/Makefile
--- a/misc/esniper/Makefile     Sun Oct 22 17:55:41 2006 +0000
+++ b/misc/esniper/Makefile     Sun Oct 22 18:51:32 2006 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2006/02/05 23:10:08 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2006/10/22 18:51:32 heinz Exp $
 #
 
 DISTNAME=              esniper-2-14-0
 PKGNAME=               esniper-2.14.0
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            misc
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=esniper/}
 EXTRACT_SUFX=          .tgz
diff -r c8911c1212eb -r 05f082a9a9f7 misc/esniper/distinfo
--- a/misc/esniper/distinfo     Sun Oct 22 17:55:41 2006 +0000
+++ b/misc/esniper/distinfo     Sun Oct 22 18:51:32 2006 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2006/01/28 18:28:22 heinz Exp $
+$NetBSD: distinfo,v 1.3 2006/10/22 18:51:32 heinz Exp $
 
 SHA1 (esniper-2-14-0.tgz) = 34c4575e4259ef19286c92c4909c8e6010672446
 RMD160 (esniper-2-14-0.tgz) = 4bc6b0332d389d6c7dd62d7cc5955702c4e760c5
 Size (esniper-2-14-0.tgz) = 115471 bytes
-SHA1 (patch-aa) = e55f99b79796ef13a07479f7d605acfbfb136dc3
+SHA1 (patch-aa) = d39855099760e300b135740f4c5c661f96ad92b4
diff -r c8911c1212eb -r 05f082a9a9f7 misc/esniper/patches/patch-aa
--- a/misc/esniper/patches/patch-aa     Sun Oct 22 17:55:41 2006 +0000
+++ b/misc/esniper/patches/patch-aa     Sun Oct 22 18:51:32 2006 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.2 2006/01/28 18:28:22 heinz Exp $
+$NetBSD: patch-aa,v 1.3 2006/10/22 18:51:32 heinz Exp $
 
---- auction.c.orig     Wed Oct 19 13:37:59 2005
+--- auction.c.orig     2005-10-19 13:37:59.000000000 +0200
 +++ auction.c
 @@ -28,6 +28,7 @@
  #include "buffer.h"
@@ -10,6 +10,51 @@
  #include <limits.h>
  #include <stdio.h>
  #include <stdlib.h>
+@@ -749,7 +750,7 @@ parseBidHistory(memBuf_t *mp, auctionInf
+               aip->reserve = 1;
+       else {
+               aip->reserve = 0;
+-              if ((foundHeader = !strcmp("User ID", line)))
++              if ((foundHeader = !strcmp("Bidder", line)))
+                       /* skip over first line */
+                       freeTableRow(getTableRow(mp));
+       }
+@@ -762,7 +763,7 @@ parseBidHistory(memBuf_t *mp, auctionInf
+        *      Single item auction:
+        *          Header line:
+        *              ""
+-       *              "User ID"
++       *              "Bidder"
+        *              "Bid Amount"
+        *              "Date of bid"
+        *              ""
+@@ -784,7 +785,7 @@ parseBidHistory(memBuf_t *mp, auctionInf
+        *      Purchase (buy-it-now only):
+        *          Header line:
+        *              ""
+-       *              "User ID"
++       *              "Bidder"
+        *              "Bid Amount"
+        *              "Qty"
+        *              "Date of bid"
+@@ -808,7 +809,7 @@ parseBidHistory(memBuf_t *mp, auctionInf
+        *      Dutch auction:
+        *          Header line:
+        *              ""
+-       *              "User ID"
++       *              "Bidder"
+        *              "Bid Amount"
+        *              "Quantity wanted"
+        *              "Quantity winning"
+@@ -841,7 +842,7 @@ parseBidHistory(memBuf_t *mp, auctionInf
+                       char *rawHeader = (ncolumns >= 5) ? row[1] : NULL;
+                       char *header = getNonTagFromString(rawHeader);
+ 
+-                      foundHeader = header && !strcmp(header, "User ID");
++                      foundHeader = header && !strcmp(header, "Bidder");
+                       freeTableRow(row);
+                       free(header);
+               }
 @@ -1189,7 +1190,7 @@ ebayLogin(auctionInfo *aip)
        char *url, *logUrl;
        pageInfo_t *pp;



Home | Main Index | Thread Index | Old Index