Skip site navigation (1)Skip section navigation (2)
Date:      6 Apr 1999 16:35:30 -0000
From:      Tom Hukins <tom@eborcom.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/10982: Minor Port Fix: leafnode+
Message-ID:  <19990406163530.15168.qmail@eborcom.com>

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

>Number:         10982
>Category:       ports
>Synopsis:       Minor Port Fix: leafnode+
>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:   Tue Apr  6 10:10:02 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Tom Hukins
>Release:        FreeBSD 2.2.8-STABLE i386
>Organization:
eBORcOM
>Environment:

	

>Description:

If not upgrading from a previous version of Leafnode or Leafnode+,
incorrect installation instructions are displayed. The patch below
fixes this, and makes some other minor changes.

I am the port's maintainer.

files/INSTALL.message has been removed, pkg/MESSAGE has been added.

>How-To-Repeat:

	

>Fix:
	
diff -ruN leafnode+.old/Makefile leafnode+/Makefile
--- leafnode+.old/Makefile	Sun Apr  4 19:19:08 1999
+++ leafnode+/Makefile	Tue Apr  6 17:25:21 1999
@@ -12,6 +12,8 @@
 
 MAINTAINER=	tom@eborcom.com
 
+WWW_SITE=	http://www.io.com/~kazushi/freeware/leafnode+.html
+
 MAN8=		checkgroups.8 fetchnews.8 leafnode.8 texpire.8
 
 .if defined(NOPORTDOCS)
@@ -41,6 +43,6 @@
 
 post-install:
 	@test -d /var/spool/news -a -d ${PREFIX}/lib/leafnode || \
-		${CAT} ${FILESDIR}/INSTALL.mesg
+		${CAT} ${PKGDIR}/MESSAGE
 
 .include <bsd.port.mk>
diff -ruN leafnode+.old/files/INSTALL.mesg leafnode+/files/INSTALL.mesg
--- leafnode+.old/files/INSTALL.mesg	Sun Apr  4 19:19:08 1999
+++ leafnode+/files/INSTALL.mesg	Thu Jan  1 01:00:00 1970
@@ -1,4 +0,0 @@
-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/new, type:
-% make installall
diff -ruN leafnode+.old/patches/patch-aa leafnode+/patches/patch-aa
--- leafnode+.old/patches/patch-aa	Sun Apr  4 19:19:09 1999
+++ leafnode+/patches/patch-aa	Tue Apr  6 17:12:43 1999
@@ -1,5 +1,5 @@
---- Makefile.orig	Thu Dec 24 01:41:37 1998
-+++ Makefile	Sun Dec 27 17:04:30 1998
+--- Makefile.orig	Sun Jan 31 19:17:52 1999
++++ Makefile	Tue Apr  6 17:12:29 1999
 @@ -1,11 +1,8 @@
  # -*- makefile -*-
  # $Orig-Id: Makefile,v 1.16 1997/07/20 00:28:31 agulbra Exp $
@@ -22,6 +22,15 @@
  
  all: leafnode fetchnews texpire checkgroups leaftool
  
+@@ -79,7 +76,7 @@
+ 	@if [ -f $(BINDIR)/fetch ]; then echo don"'"t forget to change the name of a command in scripts and crontab from fetch into fetchnews.; fi
+ 	@if [ -f $(BINDIR)/newsfetch ]; then echo don"'"t forget to change the name of a command in scripts and crontab from newsfetch into fetchnews.; fi
+ 
+-installall: install
++installall:
+ 	-mkdir -p $(SPOOLDIR) $(LIBDIR)
+ 	-mkdir -p $(SPOOLDIR)/message.id
+ 	-mkdir -p $(SPOOLDIR)/interesting.groups
 @@ -91,7 +88,6 @@
  				$${a}$${b}6 $${a}$${b}7 $${a}$${b}8 \
  				$${a}$${b}9 ; \
diff -ruN leafnode+.old/pkg/MESSAGE leafnode+/pkg/MESSAGE
--- leafnode+.old/pkg/MESSAGE	Thu Jan  1 01:00:00 1970
+++ leafnode+/pkg/MESSAGE	Tue Apr  6 17:28:43 1999
@@ -0,0 +1,5 @@
+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/new, type:
+% cd work/leafnode+-2.6
+% make installall

>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?19990406163530.15168.qmail>