Skip site navigation (1)Skip section navigation (2)
Date:      1 Feb 1999 21:07:05 -0000
From:      Tom Hukins <tom@eborcom.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9865: Update port: leafnode+
Message-ID:  <19990201210705.13127.qmail@eborcom.com>

next in thread | raw e-mail | index | archive | help

>Number:         9865
>Category:       ports
>Synopsis:       Upgrade Leafnode+ port from version 2.3 to 2.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb  1 14:00:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Tom Hukins
>Release:        FreeBSD 2.2.8-STABLE i386
>Organization:
eBORcOM
>Environment:

	

>Description:

The patch below upgrades news/leafnode+. I am the port's maintainer.
The patch also removes a dead MASTER_SITE.

No files have been added. "patches/patch-ac" has been removed. That
patch has been incorporated into the distfile.

>How-To-Repeat:

	

>Fix:
	
diff -ruN leafnode+.old/Makefile leafnode+/Makefile
--- leafnode+.old/Makefile	Mon Jan 11 19:15:43 1999
+++ leafnode+/Makefile	Mon Feb  1 19:56:54 1999
@@ -1,15 +1,14 @@
 # New ports collection makefile for:	leafnode+
-# Version required:	2.3
+# Version required:	2.6
 # Date created:		19 November 1998
 # Whom:			Tom Hukins <tom@eborcom.com>
 #
 # $Id: Makefile,v 1.3 1999/01/10 18:10:09 steve Exp $
 #
 
-DISTNAME=	leafnode+-2.3
+DISTNAME=	leafnode+-2.6
 CATEGORIES=	news
-MASTER_SITES=	ftp://ftp.big.or.jp/pub/usr2/jam/leafnode/ \
-		ftp://ftp.win.or.jp/pub/network/news/misc/
+MASTER_SITES=	ftp://ftp.big.or.jp/pub/usr2/jam/leafnode/
 
 MAINTAINER=	tom@eborcom.com
 
@@ -29,7 +28,7 @@
 .for file in leafnode fetchnews texpire checkgroups leaftool
 	@${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/sbin
 .endfor
-.for file in checkgroups.8 fetchnews.8 leafnode.8 texpire.8
+.for file in ${MAN8}
 	@${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/man/man8
 .endfor
 .if !defined{NOPORTDOCS}
diff -ruN leafnode+.old/files/INSTALL.mesg leafnode+/files/INSTALL.mesg
--- leafnode+.old/files/INSTALL.mesg	Mon Dec 28 23:19:51 1998
+++ leafnode+/files/INSTALL.mesg	Mon Feb  1 19:59:47 1999
@@ -1,4 +1,4 @@
 WARNING: Although leafnode+ has been installed, a spool area for
 storing news articles is not present on your computer. To create a
-spool area in /var/spool/news do:
+spool area in /var/spool/new, type:
 % make installall
diff -ruN leafnode+.old/files/md5 leafnode+/files/md5
--- leafnode+.old/files/md5	Sat Jan  2 12:35:26 1999
+++ leafnode+/files/md5	Mon Feb  1 19:22:06 1999
@@ -1 +1 @@
-MD5 (leafnode+-2.3.tar.gz) = b6c27866f888c8f916689a640bdd3733
+MD5 (leafnode+-2.6.tar.gz) = 35e9714b0dc0d3e17cbb988497244e6a
diff -ruN leafnode+.old/patches/patch-aa leafnode+/patches/patch-aa
--- leafnode+.old/patches/patch-aa	Sat Jan  2 12:35:26 1999
+++ leafnode+/patches/patch-aa	Mon Feb  1 19:21:19 1999
@@ -10,7 +10,7 @@
 -BINDIR = /usr/local/sbin
 -MANDIR = /usr/local/man
 +BINDIR = $(PREFIX)/sbin
- VERSION = 2.3
+ VERSION = 2.6
  #
  # if you want to use Socks, use following
 @@ -27,7 +24,7 @@
diff -ruN leafnode+.old/patches/patch-ab leafnode+/patches/patch-ab
--- leafnode+.old/patches/patch-ab	Sat Jan  2 12:35:26 1999
+++ leafnode+/patches/patch-ab	Sat Jan 30 22:17:52 1999
@@ -1,7 +1,7 @@
---- FAQ.orig	Sun Dec  6 19:37:53 1998
-+++ FAQ	Wed Dec  9 17:36:30 1998
-@@ -21,17 +21,17 @@
- 3. How do I configure Leafnode+?
+--- FAQ.orig	Fri Jan 29 13:01:52 1999
++++ FAQ	Sat Jan 30 22:17:12 1999
+@@ -41,8 +41,8 @@
+ 5. How do I configure Leafnode+?
  
  See the manual pages for information on how to configure Leafnode+.
 -Also, see the sample configuration file, "config.example", in the
@@ -10,25 +10,35 @@
 +!!PREFIX!!/share/doc/leafnode+.
  
  
- 4. How do I upgrade from Leafnode?
+ 6. How do I upgrade from Leafnode?
+@@ -50,8 +50,8 @@
+ Upgrading is easy - Leafnode+ can be used as a direct replacement
+ for Leafnode. However, Leafnode+ will write some additional files in
+ the LIBDIR defined when compiling Leafnode+, usually
+-/usr/lib/leafnode. Therefore, the UID under which Leafnode+ runs,
+-usually root or news, needs write access to this directory.
++!!PREFIX!!/lib/leafnode. Therefore, the UID under which Leafnode+
++runs, usually root or news, needs write access to this directory.
+ 
+ You will need to change all references to the "fetch" program to
+ refer to "fetchnews". The name of this program has changed because
+@@ -59,8 +59,8 @@
+ "fetchnews" describes the function of the program better.
+ 
+ To update from Cornelius's Leafnode, copy
+-/var/spool/news/leaf.node/groupinfo into your LIBDIR (usually
+-/usr/lib/leafnode/groupinfo) then run "fetchnews".
++/var/spool/news/leaf.node/groupinfo into your LIBDIR
++(!!PREFIX!!/lib/leafnode/groupinfo) then run "fetchnews".
  
- Upgrading is easy - Leafnode+ can be used as a direct replacement for
- Leafnode.  However, Leafnode+ will write some additional files in the
--LIBDIR defined when compiling Leafnode+, usually /usr/lib/leafnode.
--Therefore, the UID under which Leafnode+ runs, usually root or news,
--needs write access to this directory.
-+LIBDIR defined when compiling Leafnode+, !!PREFIX!!/lib/leafnode.
-+Therefore, the UID under which Leafnode+ runs, usually news, needs write
-+access to this directory.
  
- 
- 5. Can I use Leafnode+ with multiple news servers?
-@@ -61,7 +61,7 @@
+ 7. Can I use Leafnode+ with multiple news servers?
+@@ -90,7 +90,7 @@
  Most news reader software uses the NEWGROUPS command to learn about
- the creation of new groups.  The Leafnode+ news server does not
- support this command.  To check if new groups are available, see the
+ the creation of new groups. The Leafnode+ news server does not
+ support this command. To check if new groups are available, see the
 -"groupinfo" file in your LIBDIR (usually /usr/lib/leafnode).
-+"groupinfo" file in your LIBDIR (usually !!PREFIX!!/lib/leafnode).
++"groupinfo" file in your LIBDIR (!!PREFIX!!/lib/leafnode).
  
  
  
@@ -38,14 +48,14 @@
  
  3. make installall
  
--5. Edit $(LIBDIR)/config so server points to your upstream news server
-+5. Edit !!PREFIX!!/lib/leafnode/config so the server points to your
+-4. Edit $(LIBDIR)/config so server points to your upstream news server
++4. Edit !!PREFIX!!/lib/leafnode/config so the server points to your
 +   upstream news server
     (generally, your IP provider's).  Make sure $NNTPSERVER or
     /etc/nntpserver points to your own host so clients will talk to
     leafnode rather than try to go to the upstream server.
 @@ -15,25 +16,24 @@
- 4. Set up a cron job (as user "news") to run texpire every night or
+ 5. Set up a cron job (as user "news") to run texpire every night or
     maybe every week.  Here is my crontab line, which runs nightly:
  
 -0 4 * * * /usr/local/sbin/texpire
@@ -59,16 +69,16 @@
  
     tells cron to run texpire at 4am Monday morning.
  
- 5. Make sure fetchnews is run at the appropriate time.  If you have a
+ 6. Make sure fetchnews is run at the appropriate time.  If you have a
     full-time link, run it out of cron (as "news" again), if not, run
     it when your connection to the net is established.  If it is run as
 -   root, it will change user to "news".  I use PPP, and run fetchnews
 -   from /etc/ppp/ip-up.
 +   root, it will change user to "news".
  
--6. Edit /etc/inetd.conf so $(BINDIR)/leafnode is executed for incoming
+-7. Edit /etc/inetd.conf so $(BINDIR)/leafnode is executed for incoming
 -   NNTP connections.  HUP inetd.  Here is my inetd.conf line:
-+6. Edit /etc/inetd.conf so !!PREFIX!!/sbin/leafnode is executed for
++7. Edit /etc/inetd.conf so !!PREFIX!!/sbin/leafnode is executed for
 +   incoming NNTP connections.  HUP inetd.  Here is my inetd.conf line:
  
 -nntp    stream  tcp     nowait  news    /usr/local/sbin/leafnode
diff -ruN leafnode+.old/patches/patch-ac leafnode+/patches/patch-ac
--- leafnode+.old/patches/patch-ac	Thu Dec 24 07:31:51 1998
+++ leafnode+/patches/patch-ac	Thu Jan  1 01:00:00 1970
@@ -1,10 +0,0 @@
---- leafnode.h.orig	Wed Dec 23 23:50:21 1998
-+++ leafnode.h	Wed Dec 23 23:51:38 1998
-@@ -37,6 +37,7 @@
- #define FALSE (0)
- #endif
- 
-+#include <sys/types.h>
- #include <errno.h>
- #include <sys/errno.h>
- 
diff -ruN leafnode+.old/pkg/COMMENT leafnode+/pkg/COMMENT
--- leafnode+.old/pkg/COMMENT	Sat Jan  2 12:35:26 1999
+++ leafnode+/pkg/COMMENT	Mon Feb  1 19:54:31 1999
@@ -1 +1 @@
-Leafnode+ is a multi-user offline news package for small sites.
+Multi-user offline Usenet news package for small sites.

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990201210705.13127.qmail>