head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.54 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.52 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.50 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.48 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.46 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.44 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.42 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.40 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.38 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.36 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.34 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.32 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.30 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.28 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.26 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.24 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.22 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.20 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.18 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.16 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.14 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.12 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.10 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.8 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.6.0.6 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.6.0.4 pkgsrc-2004Q1-base:1.6 pkgsrc-2003Q4:1.6.0.2 pkgsrc-2003Q4-base:1.6 netbsd-1-6-1:1.5.0.2 netbsd-1-6-1-base:1.5 buildlink2-base:1.2; locks; strict; comment @# @; 1.6 date 2003.11.25.08.43.51; author tron; state dead; branches; next 1.5; 1.5 date 2002.12.30.02.09.27; author dmcmahill; state Exp; branches; next 1.4; 1.4 date 2002.10.27.21.54.26; author tron; state dead; branches; next 1.3; 1.3 date 2002.10.12.15.32.15; author tron; state Exp; branches; next 1.2; 1.2 date 2002.03.22.21.59.57; author tron; state dead; branches; next 1.1; 1.1 date 2001.11.21.22.42.03; author tron; state Exp; branches; next ; desc @@ 1.6 log @Update "bidwatcher" package to version 1.3.11rc1. Changes since version 1.3.10: - Fixed Bug #779784 Keeps updating finished auctions - More portable build (builds with Compaq's C++ compiler) - Removed some dead code. - Details window shows all available information. - Fixed BuyItNow autodeletion bug. - Added basic proxy authentication. - Fixed some BuyItNow handling. - GetUserListings fixes. - Better compatibility with Purchase Only auctions. - Fixed quantity amount in detail window. - Fixed bigUpdate: timeToNextEnd was > 5 mins, so it wouldn't fire. - Fixed the idempotent header defines in bidwatcher.h - Added functionality to open to a specific ebay country website. - Fixed GMTIME BSD specific code. - Don't try to bid if we failed to get the snipe key - Fixed "Bid too low" message - Fixed "You are highest bidder" message - Fixed "Outbid" detection - Added Pragma headers to coerce proxies into refreshing the content - Printout log messages since they currently disappear in the statusbar. - Changed needelessly complex status bar operations. - Fixed pre-bid on ended auctions error message - Fixed pre-bid/snipe URL+headers - Fixed updating after snipe - Updated User-Agent - Handy --enable-debug configure option @ text @$NetBSD: patch-ab,v 1.5 2002/12/30 02:09:27 dmcmahill Exp $ --- netstuff.cpp.orig Sat Oct 19 14:40:15 2002 +++ netstuff.cpp @@@@ -353,7 +353,7 @@@@ int fetchURL(URL *url, int Post, char ** if (*Args != '\0') Args++; - sprintf(lineBuff, "POST %.*s HTTP/1.1\r\nConnection: close\r\nHost: %s\r\nContent-Length: %d\r\n%s\r\n%s", URLLen, url->url, url->hoststring, strlen(Args), UserAgent, Args); + sprintf(lineBuff, "POST %.*s HTTP/1.1\r\nConnection: close\r\nHost: %s\r\nContent-Length: %ld\r\n%s\r\n%s", URLLen, url->url, url->hoststring, (long int) strlen(Args), UserAgent, Args); } else { sprintf(lineBuff, "GET %s HTTP/1.1\r\nConnection: close\r\nHost: %s\r\n%s\r\n", url->url, url->hoststring, UserAgent); } @ 1.5 log @fix some format string bugs on 64 bit systems. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Update "bidwatcher" to version 1.3.6. Changes since version 1.3.5: - Added Comment field. - Fixed ebay time sync'ing. - Fix bad "Host:" entity-header if a proxy server was used. It used to send "Host: proxy.do.main" instead of "Host: whatever.ebay.com". - It now sends an "User-Agent" string which looks like Mozilla 1.1 including the real operating system and machine. - It support using "POST" for the actual bid. I've succesfully tested this by bidding on an auction. - Fixed stupid bug introduced in 1.3.5 for certain ebay motors auctions - Fixed handling bad DNS responses. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2002/10/12 15:32:15 tron Exp $ d3 5 a7 19 --- bidwatcher.h.orig Mon Sep 9 15:57:24 2002 +++ bidwatcher.h Sat Oct 12 16:41:22 2002 @@@@ -100,7 +100,7 @@@@ struct URL { struct hostent *hostinfo; unsigned int port; - char url[256]; + char url[256], hoststring[256]; bool useproxy; int numaliases; int numaddrs; @@@@ -331,7 +331,7 @@@@ void translate_date(char *date); bool GetAucInfo(char *Buff, struct auctioninfo *NewAuction); int calcTimeDiff (char *buffer); -int fetchURL(URL *url, char **Buff, double timeOut); +int fetchURL(URL *url, int Post, char **Buff, double timeOut); char *stristr(const char *haystack, const char *needle); char translate_special(const char *input, int *len); d9 5 @ 1.3 log @Fix bugs in HTTP protocol handling: 1.) Send correct "Host:" entity-header if a proxy is used. 2.) Supply a more appropriate User Agent intetification. 3.) Use a "POST" for request for the actual bid like the eBay form would. Bump package revision to 2. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update "bidwatcher" package to version 1.3.3. Changes since version 1.3.0: - many bug fixes - improved GUI - experimental bidding daemon @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1 2001/11/21 22:42:03 tron Exp $ d3 19 a21 20 --- bidwatcher.h.orig Tue Apr 3 09:22:38 2001 +++ bidwatcher.h Tue Nov 20 20:45:40 2001 @@@@ -5,6 +5,7 @@@@ // Tom McNair (tmcnair@@cyberhighway.net) // Wayne Schlitt (wayne@@midwestcs.com) // Ben Byer (bushing@@users.sourceforge.net) +// Kevin Dwyer (kevin@@pheared.net) // // use of this code is restricted to the terms // of the GNU GPL, which should have been included in this @@@@ -80,7 +81,7 @@@@ // Stucture to store auction information // struct auctioninfo { - unsigned int ItemNumber; /* Item Number (User Entered) */ + unsigned long int ItemNumber; /* Item Number (User Entered) */ char Description[129]; /* Description Of Item For sale */ char currency[10]; float CurrentBid; /* 1: Current Bid */ @@@@ -346,3 +347,7 @@@@ a22 6 void getAdultCookie(char *, char *); +// We can make a bunch of these and make cases for all of em. +#define TYPE_EBAY 0 +#define TYPE_EBAYMOTORSCAR 1 //Ebay motors auctions that are cars +#define TYPE_EBAYMOTORS 0 //Auctions on motors that aren't cars are normal @ 1.1 log @Pull in latest bug fixes from the CVS repository which fix e.g problems with loading the configuration and updating auctions. Bump version number to 1.3.0.99 as this is now close to what will be the 1.3.1 release. @ text @d1 1 a1 1 $NetBSD$ @