update to leafnode-1.9.34
PR: 48445 Submitted by: Matthias Andree <matthias.andree@web.de>
This commit is contained in:
parent
fd0d552302
commit
0499a1030e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75840
3 changed files with 3 additions and 39 deletions
|
@ -6,8 +6,8 @@
|
|||
#
|
||||
|
||||
PORTNAME= leafnode
|
||||
PORTVERSION= 1.9.33
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.9.34
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= news ipv6
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:sourceforge/} \
|
||||
http://www.dt.e-technik.uni-dortmund.de/~ma/${PORTNAME}/ \
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (leafnode-1.9.33.rel.tar.bz2) = f55ac1bce56c57f994b67bddd85c2a09
|
||||
MD5 (leafnode-1.9.34.rel.tar.bz2) = dd312950e6ccb20e41bc4a23f1cd4b88
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- fetchnews_check_date.c.orig Wed Feb 12 23:55:16 2003
|
||||
+++ fetchnews_check_date.c Wed Feb 12 23:58:46 2003
|
||||
@@ -22,12 +22,20 @@
|
||||
if (reply != 111) {
|
||||
/* upstream does not support the DATE command, so ignore */
|
||||
if (debugmode) {
|
||||
- syslog(LOG_DEBUG, "check_date: %s does not support DATE, "
|
||||
+ syslog(LOG_DEBUG, "check_date: %s: does not support DATE, "
|
||||
"reply %d, expected 111", servername, reply);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
+ if (lastline == NULL) {
|
||||
+ if (debugmode) {
|
||||
+ syslog(LOG_DEBUG, "check_date: %s: cannot parse lastline (NULL)",
|
||||
+ servername);
|
||||
+ }
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
/* upstream supports the DATE command */
|
||||
if (sscanf(lastline, "%*d %4d%2d%2d%2d%2d%2d",
|
||||
&tm.tm_year, &tm.tm_mon, &tm.tm_mday,
|
||||
@@ -61,7 +69,7 @@
|
||||
} else {
|
||||
if (debugmode) {
|
||||
syslog(LOG_DEBUG, "check_date: %s: server time %ld, our time %ld",
|
||||
- servername, t, to);
|
||||
+ servername, (long)t, (long)to);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue