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

Re: [leafnode-list] 1.9.37 problems on FreeBSD



Kevin Stevens <omniweb@xxxxxxxxxxxxxxxx> writes:

> What's confusing to me is that if I just do a telnet connection to port
> 119 (from either machine), I can enter Article and Body commands and
> retrieve the article bodies with no problem.  I had been guessing I had
> permission/ownership problems with the news account, but this seems to
> eliminate that.
>
> Any suggestions?

Here's a band-aid fix; to apply to the FreeBSD ports system, do this:

1. save the body of this mail to /tmp/leafnode.diff
2. cp -r /usr/ports/news/leafnode /root/leafnode
3. cd /root/leafnode
4. mkdir files
5. make deinstall
6. patch -p3 </tmp/leafnode.diff
7. make install
8. make clean

This should help for now. Leafnode 1.9.38 will be out later today.

diff -Nur /usr/ports/news/leafnode/Makefile /root/leafnode/Makefile
--- /usr/ports/news/leafnode/Makefile	Tue Apr 22 11:07:23 2003
+++ /root/leafnode/Makefile	Wed Apr 23 13:01:14 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	leafnode
 PORTVERSION=	1.9.37
+PORTREVISION=	1
 CATEGORIES=	news ipv6
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:S/$/:sourceforge/} \
 		http://www.dt.e-technik.uni-dortmund.de/~ma/${PORTNAME}/ \
diff -Nur /usr/ports/news/leafnode/files/patch-aa /root/leafnode/files/patch-aa
--- /usr/ports/news/leafnode/files/patch-aa	Thu Jan  1 01:00:00 1970
+++ /root/leafnode/files/patch-aa	Wed Apr 23 13:20:54 2003
@@ -0,0 +1,17 @@
+Index: snprintf.c
+===================================================================
+RCS file: /var/CVS/leafnode-1/snprintf.c,v
+retrieving revision 1.9
+retrieving revision 1.10
+diff -u -r1.9 -r1.10
+--- snprintf.c	19 Apr 2003 21:47:28 -0000	1.9
++++ snprintf.c	23 Apr 2003 11:04:04 -0000	1.10
+@@ -124,8 +124,6 @@
+ 		       if (len < width) {
+ 			   memmove(buf + width - len, buf, len + 1);
+ 			   memset(buf, fill, width - len);
+-		       } else {
+-			   memset(buf, '#', len);
+ 		       }
+ 		       olen = len = strlen(buf);
+ 		    }


-- 
Matthias Andree
leafnode-1 download: http://sourceforge.net/projects/leafnode/
leafnode-1 docs/new: http://mandree.home.pages.de/leafnode/
leafnode-2 homepage: http://mandree.home.pages.de/leafnode/beta/

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list