Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2002 14:47:47 +0100 (CET)
From:      Matthias Andree <matthias.andree@web.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/46612: CRITICAL BUGFIX update port: news/leafnode-1.9.31 
Message-ID:  <200212291347.gBTDllEb037109@libertas.emma.line.org>

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

>Number:         46612
>Category:       ports
>Synopsis:       CRITICAL BUGFIX update port: news/leafnode-1.9.31
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 29 05:50:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD libertas.emma.line.org 4.7-STABLE FreeBSD 4.7-STABLE #9: Fri Dec 27 15:26:29 CET 2002 toor@libertas.emma.line.org:/usr/src/sys/compile/LIBERTAS i386


	
>Description:
Leafnode 1.9.31 contains some critical bugfixes over leafnode 1.9.29, among
them two fixes for an infinite loop or hang.  Please obtain approval for
updating this package in spite of the ports freeze.

Supersedes PR #ports/46023.
	
>How-To-Repeat:
	
>Fix:

diff -Nur /usr/ports/news/leafnode/Makefile leafnode/Makefile
--- /usr/ports/news/leafnode/Makefile	Wed Nov 13 15:45:51 2002
+++ leafnode/Makefile	Sun Dec 29 14:42:09 2002
@@ -2,11 +2,12 @@
 # Whom:			Brian Somers <brian@FreeBSD.org>
 # Date created:		1997-06-27
 #
-# $FreeBSD: ports/news/leafnode/Makefile,v 1.26 2002/11/12 16:50:18 naddy Exp $
+# $FreeBSD: ports/news/leafnode/Makefile,v 1.25 2002/09/25 07:07:51 brian Exp $
 #
 
 PORTNAME=	leafnode
-PORTVERSION=	1.9.29
+PORTVERSION=	1.9.31
+PORTREVISION=	0
 CATEGORIES=	news
 MASTER_SITES=	http://dl.sourceforge.net/sourceforge/leafnode/ \
 		http://www.dt.e-technik.uni-dortmund.de/~ma/${PORTNAME}/ \
@@ -26,11 +27,18 @@
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--quiet --sysconfdir=${LOCALBASE}/etc/leafnode \
 		--with-lockfile=/var/spool/lock/news/leafnode.lck \
-		--with-spooldir=/var/spool/news
+		--with-spooldir=/var/spool/news --prefix=${LOCALBASE}
 MAKE_ARGS=
 MAN1=		newsq.1
 MAN8=		applyfilter.8 checkgroups.8 fetchnews.8 leafnode.8 texpire.8
 
+# The next two parts work around a packaging error in the tarball.
+post-extract:
+		${RM} ${WRKSRC}/leafnode.cron.daily
+
+pre-build:
+		cd ${WRKSRC} && ${MAKE} leafnode.cron.daily
+
 post-install:
 		${INSTALL_SCRIPT} ${WRKSRC}/setup-daemontools.sh ${LOCALBASE}/sbin/
 .if !defined(NOPORTDOCS)
@@ -38,7 +46,7 @@
 		for i in ChangeLog COPYING CREDITS FAQ.txt FAQ.pdf FAQ.html \
 			 INSTALL NEWS README \
 			 README-FQDN README-FQDN.html README-daemontools \
-			 README.FIRST TODO ; do \
+			 README.FIRST TODO leafnode.cron.daily ; do \
 		  ${INSTALL_MAN} ${WRKSRC}/$$i \
 			${LOCALBASE}/share/doc/${PORTNAME} ; done
 		${MKDIR} ${LOCALBASE}/share/doc/${PORTNAME}/doc_german
diff -Nur /usr/ports/news/leafnode/distinfo leafnode/distinfo
--- /usr/ports/news/leafnode/distinfo	Wed Nov 13 15:45:51 2002
+++ leafnode/distinfo	Sun Dec 29 14:10:03 2002
@@ -1 +1 @@
-MD5 (leafnode-1.9.29.rel.tar.bz2) = 75ac2cace12326c44613635ae6dd4b9d
+MD5 (leafnode-1.9.31.rel.tar.bz2) = f3f687933694816ea8d9260b46c49a70
diff -Nur /usr/ports/news/leafnode/files/patch-aa leafnode/files/patch-aa
--- /usr/ports/news/leafnode/files/patch-aa	Tue Nov 12 17:50:18 2002
+++ leafnode/files/patch-aa	Thu Jan  1 01:00:00 1970
@@ -1,22 +0,0 @@
-diff -u leafnode-1/CREDITS:1.7 leafnode-1/CREDITS:1.8
---- CREDITS:1.7	Tue Sep 24 18:24:13 2002
-+++ CREDITS	Wed Nov  6 02:44:42 2002
-@@ -81,6 +81,7 @@
- Heiko Nock <zifnab@wtal.de>
- Holger Graf <Holger.Graf@gmx.net>
- Holger Repp <retaliator@sbsd.de>
-+Jan Knutar <jknutar@nic.fi>
- Jarle Rongved <rongved@online.no>
- Jeff East <an972@freenet.carleton.ca>
- Jeff Grossman <jeff@stikman.com>
-diff -u leafnode-1/nntpd.c:1.81 leafnode-1/nntpd.c:1.83
---- nntpd.c:1.81	Tue Sep 24 18:04:01 2002
-+++ nntpd.c	Fri Nov  8 18:14:41 2002
-@@ -521,6 +521,7 @@
- 			markgroup = group->name;
- 			break;
- 		    }
-+		    p = q;
- 		}
- 	    }
- 	    /* if we don't have a localartno, then we need to mark this
diff -Nur /usr/ports/news/leafnode/pkg-plist leafnode/pkg-plist
--- /usr/ports/news/leafnode/pkg-plist	Wed Nov 13 15:45:51 2002
+++ leafnode/pkg-plist	Sun Dec 29 14:27:21 2002
@@ -1,7 +1,8 @@
-@comment $FreeBSD: ports/news/leafnode/pkg-plist,v 1.11 2002/11/12 16:50:18 naddy Exp $
+@comment $FreeBSD:$
 bin/leafnode-version
 bin/newsq
 etc/leafnode/config.example
+etc/leafnode/filters.example
 etc/leafnode/nntp.rules.dist
 etc/leafnode/run.tcpd.dist
 etc/leafnode/run.tcpserver.dist
@@ -27,6 +28,7 @@
 share/doc/leafnode/README-daemontools
 share/doc/leafnode/README.FIRST
 share/doc/leafnode/TODO
+share/doc/leafnode/leafnode.cron.daily
 share/doc/leafnode/doc_german/INSTALL_de
 share/doc/leafnode/doc_german/LIESMICH-daemontools
 share/doc/leafnode/doc_german/README
	


>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?200212291347.gBTDllEb037109>