pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2004Q4]: pkgsrc/misc/bidwatcher Pullup ticket 294 - requested ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/71038368cabe
branches:  pkgsrc-2004Q4
changeset: 485908:71038368cabe
user:      salo <salo%pkgsrc.org@localhost>
date:      Fri Feb 18 17:42:27 2005 +0000

description:
Pullup ticket 294 - requested by Matthias Scheler
security fix for bidwatcher

Revisions pulled up:
- pkgsrc/misc/bidwatcher/Makefile         1.41
- pkgsrc/misc/bidwatcher/distinfo         1.33
- pkgsrc/misc/bidwatcher/patches/patch-ac removed

   Module Name:         pkgsrc
   Committed By:        tron
   Date:                Fri Feb 18 10:10:06 UTC 2005

   Modified Files:
        pkgsrc/misc/bidwatcher: Makefile distinfo
   Removed Files:
        pkgsrc/misc/bidwatcher/patches: patch-ac

   Log Message:
   Update "bidwatcher" package to version 1.3.17.
   Changes since version 1.3.16:
   - Fix eBay parser.
   - Add libcurl support.  libcurl is now a dependency.
   - Tons of little fixes.
   - Fix potential security bug in versions <= 1.3.16 (CAN-2005-0158).
   - Added Seller id to the Log.
   - Fixed BUY Only items that expire but bidwather don't think so.
   - Should compile on cygwin now.
   - Be more compatible with BSD.

diffstat:

 misc/bidwatcher/Makefile         |   6 +++---
 misc/bidwatcher/distinfo         |   7 +++----
 misc/bidwatcher/patches/patch-ac |  25 -------------------------
 3 files changed, 6 insertions(+), 32 deletions(-)

diffs (60 lines):

diff -r ae42973e317b -r 71038368cabe misc/bidwatcher/Makefile
--- a/misc/bidwatcher/Makefile  Thu Feb 17 15:38:25 2005 +0000
+++ b/misc/bidwatcher/Makefile  Fri Feb 18 17:42:27 2005 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.40 2004/10/03 00:12:58 tv Exp $
+# $NetBSD: Makefile,v 1.40.2.1 2005/02/18 17:42:27 salo Exp $
 
-DISTNAME=      bidwatcher-1.3.16
-PKGREVISION=   1
+DISTNAME=      bidwatcher-1.3.17
 CATEGORIES=    misc
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=bidwatcher/}
 
@@ -23,4 +22,5 @@
        ${INSTALL_DATA} ${WRKSRC}/quick_start.html ${DOCDIR}
 
 .include "../../x11/gtk/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r ae42973e317b -r 71038368cabe misc/bidwatcher/distinfo
--- a/misc/bidwatcher/distinfo  Thu Feb 17 15:38:25 2005 +0000
+++ b/misc/bidwatcher/distinfo  Fri Feb 18 17:42:27 2005 +0000
@@ -1,5 +1,4 @@
-$NetBSD: distinfo,v 1.32 2004/09/21 07:43:10 tron Exp $
+$NetBSD: distinfo,v 1.32.2.1 2005/02/18 17:42:27 salo Exp $
 
-SHA1 (bidwatcher-1.3.16.tar.gz) = 7ca785f05d9856e60be2f7bbaaf72ad37135eca4
-Size (bidwatcher-1.3.16.tar.gz) = 186960 bytes
-SHA1 (patch-ac) = 785fdb2dc9ed8ce752a11b02f32b913451cf5533
+SHA1 (bidwatcher-1.3.17.tar.gz) = 226a181c1af3836820c7f9df5bfe15ef2d869da1
+Size (bidwatcher-1.3.17.tar.gz) = 193923 bytes
diff -r ae42973e317b -r 71038368cabe misc/bidwatcher/patches/patch-ac
--- a/misc/bidwatcher/patches/patch-ac  Thu Feb 17 15:38:25 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-$NetBSD: patch-ac,v 1.12 2004/09/21 07:43:10 tron Exp $
-
---- helpers.cpp.orig   2004-08-31 02:40:13.000000000 +0200
-+++ helpers.cpp        2004-09-21 09:40:39.000000000 +0200
-@@ -120,9 +120,7 @@
- 
- bool strToFloat(const char *str, float &x)
- {
--  char *end = 0;
--  x = strtof(str, &end);
--  return end != str && *end == 0;
-+  return (sscanf(str, "%f", &x) == 1);
- }
- 
- float calculateBidIncrement(float currentBid,  const char *currency)
-@@ -580,7 +578,8 @@
-         return PB_OUTBID;
-       else if (strstr(Buff, "You have been outbid"))
-         return PB_OUTBID;
--      else if (strstr(Buff, "Problem with bid amount"))
-+      else if (strstr(Buff, "Problem with bid amount") ||
-+               strstr(Buff, "Your bid must be at least"))
-         return PB_BIDTOOLOW;
-       else if (strstr(Buff, "Problem with quantity"))
-         return PB_BADQUANTITY;



Home | Main Index | Thread Index | Old Index