I've had this around since a few months.  I'm not an avid news reader
but it seems to behave, syncing only some fr.comp groups from aioe.org.

ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/news/leafnode/Makefile,v
retrieving revision 1.58
diff -u -p -r1.58 Makefile
--- Makefile    16 Feb 2015 22:57:11 -0000      1.58
+++ Makefile    6 Apr 2015 13:22:45 -0000
@@ -2,9 +2,8 @@
 
 COMMENT=               USENET software package designed for small sites
 
-DISTNAME=              leafnode-1.11.8
+DISTNAME=              leafnode-1.11.10
 CATEGORIES=            news
-REVISION=              1
 
 HOMEPAGE=              http://leafnode.sourceforge.net/
 
@@ -14,7 +13,7 @@ PERMIT_PACKAGE_CDROM= Yes
 WANTLIB=               c pcre
 
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=leafnode/}
-EXTRACT_SUFX=          .tar.bz2
+EXTRACT_SUFX=          .tar.xz
 
 LIB_DEPENDS=           devel/pcre
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/news/leafnode/distinfo,v
retrieving revision 1.27
diff -u -p -r1.27 distinfo
--- distinfo    18 Jan 2015 03:14:55 -0000      1.27
+++ distinfo    6 Apr 2015 13:11:47 -0000
@@ -1,2 +1,2 @@
-SHA256 (leafnode-1.11.8.tar.bz2) = VD2SFUmoEcvUp3Y7JBr33P5XIqsda3UVyI9oCDOHbiI=
-SIZE (leafnode-1.11.8.tar.bz2) = 504617
+SHA256 (leafnode-1.11.10.tar.xz) = Tuh+3Ev//OKFZW28S3jZ8dW1KGshi/qIaaYuzyw5BF4=
+SIZE (leafnode-1.11.10.tar.xz) = 446368
Index: patches/patch-Makefile_in
===================================================================
RCS file: /cvs/ports/news/leafnode/patches/patch-Makefile_in,v
retrieving revision 1.21
diff -u -p -r1.21 patch-Makefile_in
--- patches/patch-Makefile_in   20 Jun 2011 08:52:31 -0000      1.21
+++ patches/patch-Makefile_in   2 Jan 2015 20:58:45 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-Makefile_in,v 1.21 2011/06/20 08:52:31 fgsch Exp $
---- Makefile.in.orig   Thu Jun 16 09:36:56 2011
-+++ Makefile.in        Thu Jun 16 09:36:58 2011
-@@ -1412,7 +1412,7 @@ info-am:
+--- Makefile.in.orig   Tue Jun 11 23:32:46 2013
++++ Makefile.in        Fri Jan  2 21:45:49 2015
+@@ -1435,7 +1435,7 @@ info-am:
  
  install-data-am: install-man
        @$(NORMAL_INSTALL)
Index: patches/patch-configure
===================================================================
RCS file: patches/patch-configure
diff -N patches/patch-configure
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-configure     2 Jan 2015 21:09:09 -0000
@@ -0,0 +1,17 @@
+$OpenBSD$
+...
+--- configure.orig     Fri Jan  2 22:06:29 2015
++++ configure  Fri Jan  2 22:08:17 2015
+@@ -7428,11 +7428,7 @@ fi
+ 
+ 
+ tmp="`echo $sysconfdir | sed -f ${srcdir}/sanitize.sed`"
+-msysconfdir="`(
+-if test "x$prefix" = xNONE ; then
+-  prefix=$ac_default_prefix
+-fi
+-eval echo \"\\\"$tmp\\\"\" )`"
++msysconfdir="$sysconfdir"
+ 
+ ac_config_files="$ac_config_files subst leafnode.spec Makefile 
doc_german/Makefile"
+ 
Index: patches/patch-fetchnews_c
===================================================================
RCS file: patches/patch-fetchnews_c
diff -N patches/patch-fetchnews_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-fetchnews_c   6 Apr 2015 14:27:28 -0000
@@ -0,0 +1,36 @@
+$OpenBSD$
+Fix format strings for time_t printing.
+--- fetchnews.c.orig   Fri Jan  2 21:54:47 2015
++++ fetchnews.c        Fri Jan  2 21:57:40 2015
+@@ -1522,9 +1522,9 @@ static int expire_interesting(void) {
+           (now - st.st_ctime > (timeout_long * SECONDS_PER_DAY))) {
+           if (verbose > 1)
+               printf("unsubscribing from %s\n", de->d_name);
+-          syslog(LOG_INFO, "unsubscribing from %s (current time: %ld): "
+-                 "ctime age %ld, mtime age %ld", de->d_name, (long)now,
+-                 (long)now - st.st_ctime, (long)now - st.st_mtime);
++          syslog(LOG_INFO, "unsubscribing from %s (current time: %lld): "
++              "ctime age %lld, mtime age %lld", de->d_name, (long long)now,
++              (long long)now - st.st_ctime, (long long)now - st.st_mtime);
+           unlink(s);
+       }
+     }
+@@ -2227,14 +2227,14 @@ checkactive(void)
+     if ((now - st.st_mtime) < (timeout_active * SECONDS_PER_DAY)) {
+       if (debugmode)
+           syslog(LOG_DEBUG,
+-                 "Last LIST done %d seconds ago: NEWGROUPS\n",
+-                 (int)(now - st.st_mtime));
++                 "Last LIST done %lld seconds ago: NEWGROUPS\n",
++                 (long long)now - st.st_mtime);
+       free(s);
+       return st.st_atime;
+     } else {
+       if (debugmode)
+-          syslog(LOG_DEBUG, "Last LIST done %d seconds ago: LIST\n",
+-                 (int)(now - st.st_mtime));
++          syslog(LOG_DEBUG, "Last LIST done %lld seconds ago: LIST\n",
++              (long long)now - st.st_mtime);
+       free(s);
+       return 0;
+     }


-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to