From sjr@home.net  Sun Jan  3 16:28:15 1999
Received: from istari.home.net (cc158233-a.catv1.md.home.com [24.3.25.17])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA29502
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 3 Jan 1999 16:28:14 -0800 (PST)
          (envelope-from sjr@home.net)
Received: (from sjr@localhost)
	by istari.home.net (8.9.1/8.8.6) id TAA27765;
	Sun, 3 Jan 1999 19:27:48 -0500 (EST)
Message-Id: <199901040027.TAA27765@istari.home.net>
Date: Sun, 3 Jan 1999 19:27:48 -0500 (EST)
From: sjr@home.net
Reply-To: sjr@home.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: Y2K problem with knews port
X-Send-Pr-Version: 3.2

>Number:         9298
>Category:       ports
>Synopsis:       Y2K problem with knews port
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    andreas
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan  3 16:30:01 PST 1999
>Closed-Date:    Tue Feb 16 22:45:13 PST 1999
>Last-Modified:  Tue Feb 16 22:46:46 PST 1999
>Originator:     Stephen J. Roznowski
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:

	

>Description:

	Knews suffers from 2 Y2K related problems. One occurs during
	the generation of the NNTP NEWGROUPS command. The other occurs
	because knews doesn't think that 2000 is a leap year.

>How-To-Repeat:

	

>Fix:

	Both of these are fixed in knews-1.0b.1
>Release-Note:
>Audit-Trail:

From: Brian Handy <handy@lambic.physics.montana.edu>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/9298
Date: Sun, 3 Jan 1999 18:13:21 -0700 (MST)

 diff -ur knews.orig/Makefile knews/Makefile
 --- knews.orig/Makefile	Sun Jan  3 10:57:58 1999
 +++ knews/Makefile	Sun Jan  3 10:59:36 1999
 @@ -1,12 +1,12 @@
  # New ports collection makefile for:	knews
 -# Version required:     0.9.8
 +# Version required:     1.0b1
  # Date created:         Sun Apr 14 09:23:59 MET DST 1996
  # Whom:                 Andreas Klemm <andreas@klemm.gtn.com>
  #
  # $Id: Makefile,v 1.22 1998/11/21 07:27:39 steve Exp $
  #
  
 -DISTNAME=	knews-1.0b.0
 +DISTNAME=	knews-1.0b.1
  CATEGORIES=	news
  MASTER_SITES=	http://www.matematik.su.se/~kjj/
  
 @@ -17,7 +17,6 @@
  		png.2:${PORTSDIR}/graphics/png
  RUN_DEPENDS=    newsp:${PORTSDIR}/print/mp-letter
  
 -WRKSRC=		${WRKDIR}/knews
  USE_IMAKE=	yes
  MAKE_FLAGS=	BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man/man1 \
  		XAPPLOADDIR=${PREFIX}/lib/X11/app-defaults  -f
 diff -ur knews.orig/files/md5 knews/files/md5
 --- knews.orig/files/md5	Sun Jan  3 10:57:57 1999
 +++ knews/files/md5	Sun Jan  3 10:58:44 1999
 @@ -1 +1 @@
 -MD5 (knews-1.0b.0.tar.gz) = 6ce4c5abc6378cbb043735b42d65a1ad
 +MD5 (knews-1.0b.1.tar.gz) = 850ebff7772d576314060ebe6ef81b73
 diff -ur knews.orig/patches/patch-aa knews/patches/patch-aa
 --- knews.orig/patches/patch-aa	Sun Jan  3 10:57:58 1999
 +++ knews/patches/patch-aa	Sun Jan  3 11:04:22 1999
 @@ -1,5 +1,5 @@
 ---- configure.h.orig	Fri Jan  9 18:16:11 1998
 -+++ configure.h	Sat Mar 14 16:36:46 1998
 +--- configure.h.orig	Tue Dec 29 03:47:02 1998
 ++++ configure.h	Sun Jan  3 11:04:11 1999
  @@ -14,7 +14,7 @@
    *
    *  If you don't have sendmail, use /bin/false :-).
 @@ -9,30 +9,18 @@
   /* #define MAIL_COMMAND "/usr/lib/sendmail -t"  */
   
   
 -@@ -34,7 +34,10 @@
 - /* #define DOMAIN_FILE "/your/file/here"  */
 - /* #define DOMAIN_NAME "your_domain_here" */
 - 
 --#define DOMAIN_HACK	1
 -+#define DOMAIN_HACK	0	/* if set to 1 and if you have a dialup 
 -+				   connection to internet and use the 
 -+				   resolver, then knews causes a dialup 
 -+				   on start */
 - 
 - 
 - 
 -@@ -86,8 +89,8 @@
 -  *  library search paths in knews.tmpl for libjpeg and libpng.
 +@@ -84,8 +84,8 @@
 +  *  libcompface.
    */
   
  -#define HAVE_JPEG	0
  -#define HAVE_PNG	0
  +#define HAVE_JPEG	1
  +#define HAVE_PNG	1
 + #define HAVE_COMPFACE	0
   
   
 - 
 -@@ -139,7 +142,7 @@
 +@@ -138,7 +138,7 @@
    *
    *  Knews*backgroundPixmap:	~/dir/texture.xpm
    */
 diff -ur knews.orig/patches/patch-ab knews/patches/patch-ab
 --- knews.orig/patches/patch-ab	Sun Jan  3 10:57:58 1999
 +++ knews/patches/patch-ab	Sun Jan  3 11:04:44 1999
 @@ -1,5 +1,5 @@
 ---- src/Knews.ad.orig	Fri Jan  9 18:16:22 1998
 -+++ src/Knews.ad	Sat Mar 14 16:59:53 1998
 +--- src/Knews.ad.orig	Mon Dec 28 06:48:08 1998
 ++++ src/Knews.ad	Sun Jan  3 11:04:25 1999
  @@ -35,6 +35,7 @@
   !Knews.editCommand:	xterm -e $EDITOR +%i %s
   !Knews.editCommand:	xemacs +%i %s
 @@ -24,7 +24,7 @@
   
   
   ! Whether knews should generate a Path header.
 -@@ -224,8 +226,8 @@
 +@@ -237,8 +239,8 @@
   ! Some people want double clicking on a subject to go directly into thread
   ! mode. This will do it.
   !
 diff -ur knews.orig/patches/patch-ac knews/patches/patch-ac
 --- knews.orig/patches/patch-ac	Sun Jan  3 10:57:58 1999
 +++ knews/patches/patch-ac	Sun Jan  3 11:06:20 1999
 @@ -1,16 +1,15 @@
 ---- knews.tmpl.orig	Sat Mar 21 14:23:28 1998
 -+++ knews.tmpl	Sat Mar 21 14:24:52 1998
 -@@ -74,12 +74,12 @@
 -  *  be changed to -lz.
 +--- knews.tmpl.orig	Tue Dec 29 04:14:55 1998
 ++++ knews.tmpl	Sun Jan  3 11:06:01 1999
 +@@ -74,7 +74,7 @@
 +  *  be changed to -lgz.
    */
   
  -JPEG_LIB	= -ljpeg
 --PNG_LIB		= -lpng -lgz -lm
  +JPEG_LIB	= -L!!LOCALBASE!!/lib -ljpeg
 -+PNG_LIB		= -lpng -lz -lm
 + PNG_LIB		= -lpng -lz -lm
 + COMPFACE_LIB	= -lcompface
   
 - 
 - /*
 +@@ -83,4 +83,4 @@
    *  If you need to add include paths for e.g. libjpeg, libpng or libzlib
    *  include files, do it here.
    */
 
Responsible-Changed-From-To: freebsd-ports->andreas 
Responsible-Changed-By: steve 
Responsible-Changed-When: Mon Jan 4 16:59:52 PST 1999 
Responsible-Changed-Why:  
Over to port's maintainer. 
State-Changed-From-To: open->closed 
State-Changed-By: andreas 
State-Changed-When: Tue Feb 16 22:45:13 PST 1999 
State-Changed-Why:  
knews has been updated to new version knews-1.0b.1  
date: 1999/01/07 20:37:40;  author: andreas; 
this version fixes these problems 
>Unformatted:
