summaryrefslogtreecommitdiff
path: root/misc/bidwatcher
diff options
context:
space:
mode:
authortron <tron>2003-07-20 11:54:23 +0000
committertron <tron>2003-07-20 11:54:23 +0000
commit5de742bc544a37c87e99fe4d0ba2d52b313247cd (patch)
treec1d6d7acf0e0a67e54790aa80b5e52e82956fdc7 /misc/bidwatcher
parentf4ca9ab5fa33de014aa1005808c208cda587a203 (diff)
downloadpkgsrc-5de742bc544a37c87e99fe4d0ba2d52b313247cd.tar.gz
Update "bidwatcher" package to version 1.3.10. Changes since version 1.3.9:
- Fixed TimeSync issue. - Fixed reserve detection. - Fixed BuyItNow detection. - Handle fixed price auctions.
Diffstat (limited to 'misc/bidwatcher')
-rw-r--r--misc/bidwatcher/Makefile5
-rw-r--r--misc/bidwatcher/distinfo7
-rw-r--r--misc/bidwatcher/patches/patch-ac66
3 files changed, 5 insertions, 73 deletions
diff --git a/misc/bidwatcher/Makefile b/misc/bidwatcher/Makefile
index 1a11769ba7a..e250fd39d24 100644
--- a/misc/bidwatcher/Makefile
+++ b/misc/bidwatcher/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2003/07/17 21:48:44 grant Exp $
+# $NetBSD: Makefile,v 1.30 2003/07/20 11:54:23 tron Exp $
-DISTNAME= bidwatcher-1.3.9
-PKGREVISION= 1
+DISTNAME= bidwatcher-1.3.10
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bidwatcher/}
diff --git a/misc/bidwatcher/distinfo b/misc/bidwatcher/distinfo
index a7d1509257a..67a741ce2c5 100644
--- a/misc/bidwatcher/distinfo
+++ b/misc/bidwatcher/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.24 2003/07/16 13:52:15 tron Exp $
+$NetBSD: distinfo,v 1.25 2003/07/20 11:54:23 tron Exp $
-SHA1 (bidwatcher-1.3.9.tar.gz) = 5f05ca89f45dbe76ff0db015361099dfa538aab8
-Size (bidwatcher-1.3.9.tar.gz) = 152603 bytes
+SHA1 (bidwatcher-1.3.10.tar.gz) = 6ac820bb8d5975f3ba7aab70d3ff42eff52b5e8f
+Size (bidwatcher-1.3.10.tar.gz) = 152727 bytes
SHA1 (patch-aa) = 499a9a53cb555060ca8c53cffbd78eef569d722b
SHA1 (patch-ab) = 85052062bd165ba0ae3de05c887e3236c5ae7da7
-SHA1 (patch-ac) = 57bcdd594a1d21ae005faf3998d2433b927838ba
diff --git a/misc/bidwatcher/patches/patch-ac b/misc/bidwatcher/patches/patch-ac
deleted file mode 100644
index dacd1ab7459..00000000000
--- a/misc/bidwatcher/patches/patch-ac
+++ /dev/null
@@ -1,66 +0,0 @@
-$NetBSD: patch-ac,v 1.8 2003/07/16 13:52:15 tron Exp $
-
---- helpers.cpp.orig Thu Jul 10 05:37:25 2003
-+++ helpers.cpp Wed Jul 16 15:48:26 2003
-@@ -1337,19 +1337,21 @@
- // calculates the difference between ebay time and local time, returning
- // the value in seconds.
- //////////////////////////////////////////////////////////////////////////////
-+#define CHLEN 0x40
-+#define CHBUF 0x1000
- int calcTimeDiff ( char * buffer)
- {
- struct timeval time_tt;
- //time_t new_time_t = time(NULL);
- gettimeofday(&time_tt, 0);
- time_t new_time_t = time_tt.tv_sec;
-- char chHr[9];
-- char chMin[9];
-- char chSec[9];
-- char chYear[9];
-- char chMonth[9];
-- char chDay[9];
-- char lineBuff[1024];
-+ char chHr[CHLEN];
-+ char chMin[CHLEN];
-+ char chSec[CHLEN];
-+ char chYear[CHLEN];
-+ char chMonth[CHLEN];
-+ char chDay[CHLEN];
-+ char lineBuff[CHBUF];
- char * scratch;
- #ifdef HAVE_SSTREAM
- std::istringstream streamBuff(buffer);
-@@ -1359,7 +1361,7 @@
- struct tm ebay_time;
- ebay_time.tm_isdst = -1;
- while(streamBuff) {
-- streamBuff.getline(lineBuff, 1024, '\n');
-+ streamBuff.getline(lineBuff, CHBUF, '\n');
- /*
- if (strstr(lineBuff, "Look here to see what time eBay thinks it is")) {
- scratch = strtok(lineBuff, ">");
-@@ -1379,17 +1381,17 @@
- if (scratch) {
- scratch = strtok(scratch, " ");
- if (scratch) scratch = strtok(0, " ");
-- if (scratch) strcpy(chMonth, scratch);
-+ if (scratch) strncpy(chMonth, scratch, CHLEN);
- scratch = strtok(0, " ");
-- if (scratch) strcpy(chDay, scratch);
-+ if (scratch) strncpy(chDay, scratch, CHLEN);
- scratch = strtok(0, " ");
-- if (scratch) strcpy(chYear, scratch);
-+ if (scratch) strncpy(chYear, scratch, CHLEN);
- scratch = strtok(0,": ");
-- if (scratch) strcpy(chHr, scratch);
-+ if (scratch) strncpy(chHr, scratch, CHLEN);
- scratch = strtok(0,":");
-- if (scratch) strcpy(chMin, scratch);
-+ if (scratch) strncpy(chMin, scratch, CHLEN);
- scratch = strtok(0, " ");
-- if (scratch) strcpy(chSec, scratch);
-+ if (scratch) strncpy(chSec, scratch, CHLEN);
- scratch = strtok(0, "<");
- break;
- }