summaryrefslogtreecommitdiff
path: root/misc/bidwatcher
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2010-11-08 10:08:47 +0000
committerRenato Botelho <garga@FreeBSD.org>2010-11-08 10:08:47 +0000
commit88368304843ed8740a49825f8a5bef9634ff79a5 (patch)
treeb39bb64c327964bec467ae3ecca72f649ef2bb91 /misc/bidwatcher
parentRemove opttional security/vscan dependency since vscan is going to be removed (diff)
Remove expired ports:
2010-11-07 devel/libisc: Unlikely to be used... 2010-11-08 emulators/vmware-guestd3: Depends of misc/compat3x, that is deprecated and set to be removed 2010-11-08 emulators/vmware-tools3: Depends of misc/compat3x, that is deprecated and set to be removed 2010-10-08 misc/compat3x: "Only FreeBSD 6.4+ are supported in ports" 2010-11-08 misc/bidwatcher: Obsoleted by JBidwatcher and changes at http://ebay.com 2010-11-08 security/vscan: Depends of misc/compat3x, that is deprecated and set to be removed 2010-11-08 www/ssserver: Depends of misc/compat3x, that is deprecated and set to be removed
Notes
Notes: svn path=/head/; revision=264234
Diffstat (limited to 'misc/bidwatcher')
-rw-r--r--misc/bidwatcher/Makefile33
-rw-r--r--misc/bidwatcher/distinfo3
-rw-r--r--misc/bidwatcher/files/patch-Makefile.in5
-rw-r--r--misc/bidwatcher/files/patch-bidwatcher.cpp7
-rw-r--r--misc/bidwatcher/files/patch-bidwatcher.h15
-rw-r--r--misc/bidwatcher/files/patch-helpers.cpp205
-rw-r--r--misc/bidwatcher/pkg-descr8
7 files changed, 0 insertions, 276 deletions
diff --git a/misc/bidwatcher/Makefile b/misc/bidwatcher/Makefile
deleted file mode 100644
index c6f9209839dd..000000000000
--- a/misc/bidwatcher/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-# ex:ts=8
-# New ports collection makefile for: bidwatcher
-# Date created: 24 Aug 1999
-# Whom: Will Andrews <andrews@technologist.com>
-#
-# $FreeBSD$
-#
-
-PORTNAME= bidwatcher
-PORTVERSION= 1.3.17
-PORTREVISION?= 9
-CATEGORIES= misc
-MASTER_SITES= SF
-
-#PATCH_SITES= http://sourceforge.net/tracker/download.php?group_id=2973&atid=302973&file_id=112451&aid=1085302
-#PATCHFILES= bidwatcher-1.3.16-SSL_with_libcurl.02.patch
-#PATCH_DIST_STRIP= -p1
-
-MAINTAINER= obrien@FreeBSD.org
-COMMENT= Bid monitor for eBay
-
-DEPRECATED= Obsoleted by JBidwatcher and changes at http://ebay.com
-EXPIRATION_DATE= 2010-11-08
-
-LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
-
-PLIST_FILES= bin/bidwatcher
-USE_GNOME= gtk12
-GNU_CONFIGURE= YES
-CFLAGS+= -UHAVE_GMTIME -DHAVE_TM_ZONE
-MAN1= bidwatcher.1
-
-.include <bsd.port.mk>
diff --git a/misc/bidwatcher/distinfo b/misc/bidwatcher/distinfo
deleted file mode 100644
index 9335ae958234..000000000000
--- a/misc/bidwatcher/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (bidwatcher-1.3.17.tar.gz) = ea576cb86dcf36abe18436e0eba15a30
-SHA256 (bidwatcher-1.3.17.tar.gz) = 889410b09b0ca5b765b32b16af4dd93d027610ec3aa81530308d9ce29c1d37e5
-SIZE (bidwatcher-1.3.17.tar.gz) = 193923
diff --git a/misc/bidwatcher/files/patch-Makefile.in b/misc/bidwatcher/files/patch-Makefile.in
deleted file mode 100644
index f2c9a5f37b62..000000000000
--- a/misc/bidwatcher/files/patch-Makefile.in
+++ /dev/null
@@ -1,5 +0,0 @@
---- Makefile.in.orig Mon Aug 30 18:30:57 2004
-+++ Makefile.in Thu Jan 13 18:23:18 2005
-@@ -98 +98 @@
--LIBS = @LIBS@
-+LIBS = @LIBS@ -lcurl
diff --git a/misc/bidwatcher/files/patch-bidwatcher.cpp b/misc/bidwatcher/files/patch-bidwatcher.cpp
deleted file mode 100644
index c38826f31fe2..000000000000
--- a/misc/bidwatcher/files/patch-bidwatcher.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
---- bidwatcher.cpp.orig Mon Aug 30 18:03:34 2004
-+++ bidwatcher.cpp Sat Oct 30 20:00:20 2004
-@@ -2972,2 +2972,2 @@
-- else if (strstr(browserPATH, "mozilla") != NULL) {
-- // Try to find mozilla.
-+ else if (strcasestr(browserPATH, "mozilla") != NULL || strcasestr(browserPATH, "fire") != NULL) {
-+ // Try to find mozilla, firefox, or firebird.
diff --git a/misc/bidwatcher/files/patch-bidwatcher.h b/misc/bidwatcher/files/patch-bidwatcher.h
deleted file mode 100644
index af5141f651ff..000000000000
--- a/misc/bidwatcher/files/patch-bidwatcher.h
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-aa,v 1.18 2005/02/27 10:40:04 rillig Exp $
-
-The header file uses the FILE type without including <cstdio>.
-This breaks (at least) on NetBSD-1.6.2.
-
---- bidwatcher.h.orig Fri Feb 18 04:30:20 2005
-+++ bidwatcher.h Sat Feb 26 14:15:23 2005
-@@ -29,6 +29,7 @@
- #include "config.h"
- #endif
-
-+#include <cstdio>
- #include <string>
-
- using namespace std;
diff --git a/misc/bidwatcher/files/patch-helpers.cpp b/misc/bidwatcher/files/patch-helpers.cpp
deleted file mode 100644
index 573308330f83..000000000000
--- a/misc/bidwatcher/files/patch-helpers.cpp
+++ /dev/null
@@ -1,205 +0,0 @@
---- helpers.cpp.orig Thu Feb 17 20:46:49 2005
-+++ helpers.cpp Sun Oct 30 01:04:08 2005
-@@ -54,7 +54,7 @@
-
- const char * const CheckPrice="0123456789.$,"; // Characters allowed in a price
-
--const char * const SearchOps[2][36]={{ "Starts at", // 1
-+const char * const SearchOps[2][37]={{ "Starts at", // 1
- "Currently", // 2
- "First bid", // 3
- "Quantity", // 4
-@@ -91,6 +91,7 @@
- "Shipping Cost Services Available", // 33, newer version of above
- " price:", // 34
- "price:", // 35
-+ "Seller information", // 36
- "*"},
- /* eBay Motors */
- { "Currently", // 1
-@@ -350,12 +351,26 @@
- char *StripHtmlTags(const char *stringToStrip) {
- int buffLength = strlen(stringToStrip);
-
-+#if DEBUGGING > 0
-+#warning "Buffer is double its normal size"
-+ char *Buff = (char *) malloc(buffLength*2 + 1);
-+ memset(Buff, 0, buffLength*2 + 1);
-+#else
- char *Buff = (char *) malloc(buffLength + 1);
- memset(Buff, 0, buffLength + 1);
-+#endif
-
- int BuffIdx = 0;
- int u,c;
-- int IncludeFlag = 5; // strip up everything before the first tag, too
-+ int SaveIncludeFlag=5, IncludeFlag;
-+ // states of IncludeFlag:
-+ // 1 - HTML double quote text
-+ // 2 - a comment
-+ // 3 - java script
-+ // 5 - within a HTML statement
-+ // 10 - content (and no HTML stuff)
-+
-+ IncludeFlag = 5; // strip up everything before the first tag, too
- // strip the html tags
- for (u = 0; u < buffLength; u++) {
- c = stringToStrip[u];
-@@ -378,19 +393,44 @@
- stringToStrip[u+3] == '>') {
- Buff[BuffIdx++] = '\n';
- u+=2;
-+ } else if (stringToStrip[u+1] == '!' && \
-+ stringToStrip[u+2] == '-' && \
-+ stringToStrip[u+3] == '-') {
-+ IncludeFlag=2;
-+ u+=3;
-+ }
- }
-+ } else if (c == '"' && IncludeFlag < 10) {
-+ if (IncludeFlag != 1) {
-+ SaveIncludeFlag = IncludeFlag;
-+ IncludeFlag = 1;
-+ } else {
-+ IncludeFlag = SaveIncludeFlag;
- }
-+ continue;
-+ } else if (IncludeFlag == 1 && c != '"') {
-+ continue;
- } else if (c == '\\' && stringToStrip[u+1] == '>') {
- u += 1;
- continue;
--
-- } else if (c == '>') {
-+ } else if (c == '>' && IncludeFlag < 10 && IncludeFlag >= 5) {
- IncludeFlag=10;
-+ } else if (c == '-' && u+1<buffLength && IncludeFlag==2) {
-+ if (stringToStrip[u+1] == '-' && \
-+ stringToStrip[u+2] == '>') {
-+ Buff[BuffIdx++] = '\n';
-+ IncludeFlag=10;
-+ u+=2;
-+ } else {
-+ u+=1;
-+ }
- } else if (IncludeFlag==10) {
- if ((BuffIdx > 0) && (c == ' ') &&
- (Buff[BuffIdx-1] != ' ') &&
- (Buff[BuffIdx-1] != '\n'))
- Buff[BuffIdx++] = ' ';
-+ else if ((BuffIdx > 0) && (c == ' ') && (Buff[BuffIdx-1] != ' '))
-+ continue; /* ignore -- crunch multiple spaces */
- else if ((BuffIdx > 0) &&
- (c == '\n') &&
- (Buff[BuffIdx-1] != '\n'))
-@@ -736,11 +776,12 @@
- else ops_type = auc_type;
-
- // Watch the change, it's strNcmp now.
-- for(idx=0; SearchOps[ops_type][idx][0]!='*';++idx)
-+ for(idx=0; SearchOps[ops_type][idx][0]!='*';++idx) {
- if (strncmp(LineData, SearchOps[ops_type][idx],
- strlen(SearchOps[ops_type][idx]))==0) {
- return (idx+1);
- }
-+ }
-
- return 0;
-
-@@ -1031,7 +1072,7 @@
- }
- }
-
-- int idx=0;
-+ unsigned int idx=0;
- int cnt;
- int ended_early=0;
- int auc_type=TYPE_EBAY;
-@@ -1066,23 +1107,44 @@
- * but that's not what I'm going to do right now.
- * Thanks to Bob Beaty!
- */
-- scratch = strstr(Buff, ") -");
-+ scratch = strstr(Buff, "eBay: ");
- if (scratch != NULL) {
-- // move past the ") -"
-- scratch += 3;
-+ DPRINTF(DLOW, ("found 'eBay:' in auction, new type, scanning...\n"));
-+ // move past the "eBay: "
-+ scratch += strlen("eBay: ");
-+
- // move past any whitespace
- while (isspace(*scratch)) scratch++;
- // copy over the description to a newline
- idx = 0;
-- while (*scratch != '\n') {
-+ while (*scratch != '\n' && idx < sizeof(Description) - 1) {
- Description[idx++] = *scratch++;
- }
- // NULL terminate the description I just parsed off
-- Description[idx] = '\0';
-+ Description[idx-1] = '\0';
- } else {
-+ scratch = strstr(Buff, "eBay Motors: ");
-+ if (scratch != NULL) {
-+ DPRINTF(DLOW, ("found 'eBay Motors:' in auction. New type. Scanning...\n"));
-+ // move past the "eBay Motors:"
-+ scratch += 12;
-+ // move past any whitespace
-+ while (isspace(*scratch)) scratch++;
-+ // copy over the description to a newline
-+ idx = 0;
-+ while (*scratch != '(' && idx < sizeof(Description) - 1) {
-+ Description[idx++] = *scratch++;
-+ }
-+ // NULL terminate the description I just parsed off
-+ Description[idx-1] = '\0';
-+ DPRINTF(DLOW, ("Auction name = '%s'\n", Description));
-+ } else {
-+ DPRINTF(DLOW, ("no mandatory matching 'eBay:' nor 'eBay Motors:' in buffer\n"));
- return FALSE;
- }
-
-+ }
-+
- StringBuffer streamBuff(Buff);
- /* Skip everything before the start of auction data */
-
-@@ -1091,14 +1153,16 @@
- while(strstr(LineBuffer.buf(),"eBay")==NULL && streamBuff)
- streamBuff.getline(LineBuffer.buf(), LineBuffer.size(), '\n');
-
-- if (strstr(LineBuffer.buf(),"eBay item") == NULL)
-- if (strstr(LineBuffer.buf(),"eBay Motors item") == NULL)
-+ if (strstr(LineBuffer.buf(),"eBay: ") == NULL)
-+ if (strstr(LineBuffer.buf(),"eBay Motors: ") == NULL) {
-+ DPRINTF(DLOW, ("no matching 'eBay:' nor 'eBay Motors:' in buffer. Failed.\n"));
- return FALSE;
-+ }
-
-- if (strstr(LineBuffer.buf(),"eBay Motors item") != NULL)
-+ if (strstr(LineBuffer.buf(),"eBay Motors:") != NULL)
- auc_type = TYPE_EBAYMOTORSCAR;
-
-- while(strstr(LineBuffer.buf(),") -")==NULL && streamBuff)
-+ while(strstr(LineBuffer.buf()," (item")==NULL && streamBuff)
- streamBuff.getline(LineBuffer.buf(), LineBuffer.size(), '\n');
-
- if ( strstr(LineBuffer.buf(),"Another buyer used Buy It Now to purchase the item immediately") == NULL ){
-@@ -1283,6 +1347,8 @@
- }
-
- scratch = strstr(LineBuffer.buf(), ":");
-+ if (*(scratch+1) == '\n')
-+ streamBuff.getline(LineBuffer.buf(), LineBuffer.size(), '\n');
- //strcpy(LineBuffer.buf(),scratch);
- parseprice2(scratch, this, FALSE);
- if (!CurrentBid ) {
-@@ -1399,6 +1465,7 @@
- case 10: // seller id
- case 18:
- case 21:
-+ case 36:
- if (!Seller[0]) {
- unsigned int count;
-
diff --git a/misc/bidwatcher/pkg-descr b/misc/bidwatcher/pkg-descr
deleted file mode 100644
index 5e60f9eb4683..000000000000
--- a/misc/bidwatcher/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-BidWatcher is a tool for people using the giant eBay auction site. It
-uses your eBay id and password to track your eBay listings, items that you
-have bid on, and items that you enter by hand. It also has an integrated
-snipe tool.
-
-WWW: http://bidwatcher.sourceforge.net/
-
-- Will <andrews@technologist.com>