summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorheinz <heinz>2006-10-22 18:51:32 +0000
committerheinz <heinz>2006-10-22 18:51:32 +0000
commitbf6ea5793be176b7b472df664d9370dcb7d88690 (patch)
tree52ad69037fdb040b7f21c3266d2e1f8dc13e41f3 /misc
parentaa2bb8b2103e50857700015d784e337f0d355a6e (diff)
downloadpkgsrc-bf6ea5793be176b7b472df664d9370dcb7d88690.tar.gz
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 (limited to 'misc')
-rw-r--r--misc/esniper/Makefile4
-rw-r--r--misc/esniper/distinfo4
-rw-r--r--misc/esniper/patches/patch-aa49
3 files changed, 51 insertions, 6 deletions
diff --git a/misc/esniper/Makefile b/misc/esniper/Makefile
index e9f14a766ec..cfc94409eb1 100644
--- a/misc/esniper/Makefile
+++ b/misc/esniper/Makefile
@@ -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 --git a/misc/esniper/distinfo b/misc/esniper/distinfo
index 3b1ae2fe825..1892c348b06 100644
--- a/misc/esniper/distinfo
+++ b/misc/esniper/distinfo
@@ -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 --git a/misc/esniper/patches/patch-aa b/misc/esniper/patches/patch-aa
index a2bcbc9c1e0..f5fa45d93b7 100644
--- a/misc/esniper/patches/patch-aa
+++ b/misc/esniper/patches/patch-aa
@@ -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 @@ $NetBSD: patch-aa,v 1.2 2006/01/28 18:28:22 heinz Exp $
#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;