summaryrefslogtreecommitdiff
path: root/misc/bidwatcher
diff options
context:
space:
mode:
authorMatthew Hunt <mph@FreeBSD.org>2002-09-17 16:56:48 +0000
committerMatthew Hunt <mph@FreeBSD.org>2002-09-17 16:56:48 +0000
commit3a9510e28a069b5f6b5ff469d25b3f5b455917dd (patch)
tree1f38955e57348591f218f55406d110251df8636f /misc/bidwatcher
parentadd manpage (grab from Debian) (diff)
Upgrade to 1.3.5.
Add provision to circumvent the five minute "fudge factor" on snipe timers. Submitted by: Bruce Burden <brucegb@realtime.net>
Notes
Notes: svn path=/head/; revision=66520
Diffstat (limited to 'misc/bidwatcher')
-rw-r--r--misc/bidwatcher/Makefile14
-rw-r--r--misc/bidwatcher/distinfo2
-rw-r--r--misc/bidwatcher/files/patch-aa16
3 files changed, 26 insertions, 6 deletions
diff --git a/misc/bidwatcher/Makefile b/misc/bidwatcher/Makefile
index 9b37aad9208e..4f8c90845cff 100644
--- a/misc/bidwatcher/Makefile
+++ b/misc/bidwatcher/Makefile
@@ -6,19 +6,23 @@
#
PORTNAME= bidwatcher
-PORTVERSION= 1.3.4
-PORTREVISION= 1
+PORTVERSION= 1.3.5
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= bidwatcher-1.3.4-fix
MAINTAINER= mph@FreeBSD.org
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
USE_GNOMENG= yes
USE_GNOME= gtk12
GNU_CONFIGURE= YES
+# The software includes a "fudge factor" for the snipe timer; by default
+# it snipes 5 minutes (300 seconds) before the time that you tell it to.
+# To change the "fudge factor" to a different value, set TIMEFUDGE to the
+# desired number of seconds.
+
+TIMEFUDGE?= 300
+CFLAGS+= -DHAVE_TM_ZONE -DTIMEFUDGE=${TIMEFUDGE}
+
.include <bsd.port.mk>
diff --git a/misc/bidwatcher/distinfo b/misc/bidwatcher/distinfo
index 34f01c60aada..c8dabfdf40e4 100644
--- a/misc/bidwatcher/distinfo
+++ b/misc/bidwatcher/distinfo
@@ -1 +1 @@
-MD5 (bidwatcher-1.3.4-fix.tar.gz) = 13534dfaa54d153559758b6fb05d7dd8
+MD5 (bidwatcher-1.3.5.tar.gz) = 91c05b1dc5c7a2304fb7e85bf131cf16
diff --git a/misc/bidwatcher/files/patch-aa b/misc/bidwatcher/files/patch-aa
new file mode 100644
index 000000000000..848fd257a6cb
--- /dev/null
+++ b/misc/bidwatcher/files/patch-aa
@@ -0,0 +1,16 @@
+--- bidwatcher.cpp.orig Tue Sep 17 09:42:59 2002
++++ bidwatcher.cpp Tue Sep 17 09:44:43 2002
+@@ -4006,8 +4006,12 @@
+
+ // ebay is GMT+8hrs, but add a 5 minute fudge so that we bid
+ // early to be safe
++
++ // In the era of accurate timekeeping, it's not clear that this is
++ // necessary, so we allow TIMEFUDGE to be set when building the
++ // FreeBSD port. -mph
+
+- timeDiff += 5*60;
++ timeDiff += TIMEFUDGE;
+
+ showError("WARNING: Couldn't reach eBay, using local clock."
+ " Do not depend on times or sniping.");