From nobody@FreeBSD.org  Tue Feb 27 06:02:09 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id E62CE37B71B
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 Feb 2001 06:02:08 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f1RE28778474;
	Tue, 27 Feb 2001 06:02:08 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200102271402.f1RE28778474@freefall.freebsd.org>
Date: Tue, 27 Feb 2001 06:02:08 -0800 (PST)
From: greg@greg.rim.or.jp
To: freebsd-gnats-submit@FreeBSD.org
Subject: suck dose not check history file
X-Send-Pr-Version: www-1.0

>Number:         25411
>Category:       ports
>Synopsis:       suck dose not check history file
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    dinoex
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 27 06:10:01 PST 2001
>Closed-Date:    Sat Mar 17 05:42:03 PST 2001
>Last-Modified:  Mon Jul 15 19:50:55 PDT 2002
>Originator:     Kensaku MASUDA
>Release:        4-STABLE
>Organization:
>Environment:
FreeBSD apollon.greg.rim.or.jp 4.2-STABLE FreeBSD 4.2-STABLE #1: Tue Jan 23 23:57:38 JST 2001     greg@apollon.greg.rim.or.jp:/a/uzume/export/src/system-4-stable/src/sys/compile/apollon.greg.rim.or.jp  i386

>Description:
    suck dose not check artile message-id
in inn's history file. Because inn version is 2.X
but suck are confiured for 1.X.

>How-To-Repeat:

>Fix:
diffs for net/suck are present.

begin 644 suck.diff.gz
M'XL("!:RFSH"`W-U8VLN9&EF9@"M56MSXC84_6S_BCM#OQF_()ML/,,,$!/B
M73`9(#.[^X7Q0\8NCLQ(<FG:Z7_OE0SAD;3-M/48V9+//=(]]TBD19:!R>H0
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ZN:SD'0OM5JU/"LDJB\H3V
M).]/WL$%NXB*P[8DSS%)4]Q.CZ/YY&@:B#ALY`;=GQW\-',A,[=`_Q/KHP*1
$'0@``,$%
`
end

>Release-Note:
>Audit-Trail:

From: dirk.meyer@dinoex.sub.org (Dirk Meyer)
To: freebsd-gnats-submit@FreeBSD.org, jseger@FreeBSD.org
Cc:  
Subject: Re: ports/25411
Date: Sat, 17 Mar 2001 12:55:50 +0100

 - Updated to 4.2.5
 - New Master Site, Old Site is not avaiible
 - included History-Check for cnews and inn2.2
 - Maintainer inactive?
 
 kind regards Dirk
 
 - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
 
 diff suck/Makefile suck-4.2.5-cnews-db/Makefile
 --- suck/Makefile	Sun Apr  9 19:33:25 2000
 +++ suck-4.2.5-cnews-db/Makefile	Sat Mar 17 12:31:44 2001
 @@ -6,15 +6,30 @@
  #
  
  PORTNAME=	suck
 -PORTVERSION=	4.2.3
 +PORTVERSION=	4.2.5
  CATEGORIES=	news
 -MASTER_SITES=	http://home.att.net/~bobyetman/
 +MASTER_SITES=	${MASTER_SITE_SUNSITE}
 +MASTER_SITE_SUBDIR=     system/news/transport
  
  MAINTAINER=	jseger@FreeBSD.org
  
  USE_GMAKE=	yes
  GNU_CONFIGURE=	yes
  MAN1=		suck.1 rpost.1 testhost.1 lmove.1
 +
 +.if defined(NEWSBIN)
 +EXTRA_PATCHES+=	${FILESDIR}/cnews.patch
 +.else
 +EXTRA_PATCHES+=	${FILESDIR}/inn2.patch
 +BUILD_DEPENDS=	/nonexistent:${PORTSDIR}/news/inn:configure
 +.endif
 +
 +post-patch:
 +	@${PERL5} -pi -e "s=/usr/local/=${LOCALBASE}/=" ${WRKSRC}/Makefile.in
 +	@${PERL5} -pi -e "s=/usr/local/lib/suck=${PREFIX}/lib/suck=" \
 +		${WRKSRC}/suck_config.h
 +	@${PERL5} -pi -e "s=/usr/local/news/lib=${LOCALBASE}/news/lib=" \
 +		${WRKSRC}/suck_config.h
  
  post-install:
  	${MKDIR} ${PREFIX}/share/examples/suck
 diff suck/distinfo suck-4.2.5-cnews-db/distinfo
 --- suck/distinfo	Wed Mar 22 17:13:54 2000
 +++ suck-4.2.5-cnews-db/distinfo	Sat Mar 17 12:01:15 2001
 @@ -1 +1 @@
 -MD5 (suck-4.2.3.tar.gz) = fb170ad64f0f73ff944c8aecebd83e0d
 +MD5 (suck-4.2.5.tar.gz) = 18dc6902ed40b9a25557423f3c2d9582
 diff suck/files/cnews.patch suck-4.2.5-cnews-db/files/cnews.patch
 --- suck/files/cnews.patch	Thu Jan  1 01:00:00 1970
 +++ suck-4.2.5-cnews-db/files/cnews.patch	Sat Mar 17 12:05:41 2001
 @@ -0,0 +1,43 @@
 +--- Makefile.in.orig	Sat Dec  2 13:19:00 2000
 ++++ Makefile.in	Sat Mar 17 12:05:28 2001
 +@@ -6,7 +6,8 @@
 + ############################################################################
 + 
 + # Step 1: Define ONE of the CHKHISTORY 
 +-CHKHISTORY=chkhistory.o		# use flat file history routine
 ++#CHKHISTORY=chkhistory.o		# use flat file history routine
 ++CHKHISTORY=chkhistory_db.o
 + #CHKHISTORY=chkhistory_db.o	# use DB history routine, if you use 
 +                                 # DBM, GDBM, NDBM, or DBZ
 +                                 # in order to use DBZ with INN you will need
 +@@ -22,6 +23,7 @@
 + #DB_TYPE=-DUSE_DBZ	# for inn-1.X.X users
 + #DB_TYPE=-DUSE_INN2	# for inn-2.1-2.X users
 + #DB_TYPE=-DUSE_INN23	# for inn-2.3.X users
 ++DB_TYPE=-DUSE_DBZ
 + 
 + # Step 3: Define ONE Library that contains the functions
 + # If you are using INN-2.X, and the compiler complains 
 +@@ -33,11 +35,13 @@
 + #DB_LIB=-ldbz
 + #DB_LIB=-linn -lstorage	# see note above
 + #DB_LIB=-linn		# INN puts DBZ code in here
 ++DB_LIB=-lcnews		# cnews puts DBZ code in here
 + 
 + # Step 4: IF your DB Library/Includes are in a non-standard place, 
 + # define These
 + #DB_INC_LOC=-I/usr/src/inn-2.3/include
 + #DB_LIB_LOC=-L/usr/src/inn-2.3/lib
 ++DB_LIB_LOC=-L/usr/local/lib
 + 
 + # Step 5: If you want to use embedded PERL functions as kill routines
 + # define these. 
 +@@ -111,7 +115,7 @@
 + @SET_MAKE@
 + 
 + CFLAGS = @CFLAGS@
 +-CPPFLAGS = -I. -I$(srcdir) @CPPFLAGS@
 ++CPPFLAGS = -I. -I$(srcdir) -I/usr/local/include @CPPFLAGS@
 + LDFLAGS = @LDFLAGS@ $(DMALLOC_LD) $(OS2_LD)
 + DEFS = @DEFS@ -DSUCK_VERSION=\"$(VERSION)\" $(DMALLOC_DEFS) $(OS2_DEFS) $(DMALLOC_INC)
 + LIBS = @LIBS@ $(DMALLOC_LIB)
 diff suck/files/inn2.patch suck-4.2.5-cnews-db/files/inn2.patch
 --- suck/files/inn2.patch	Thu Jan  1 01:00:00 1970
 +++ suck-4.2.5-cnews-db/files/inn2.patch	Sat Mar 17 12:28:48 2001
 @@ -0,0 +1,44 @@
 +--- Makefile.in.orig	Sat Dec  2 13:19:00 2000
 ++++ Makefile.in	Sat Mar 17 12:05:28 2001
 +@@ -6,7 +6,8 @@
 + ############################################################################
 + 
 + # Step 1: Define ONE of the CHKHISTORY 
 +-CHKHISTORY=chkhistory.o		# use flat file history routine
 ++#CHKHISTORY=chkhistory.o		# use flat file history routine
 ++CHKHISTORY=chkhistory_db.o
 + #CHKHISTORY=chkhistory_db.o	# use DB history routine, if you use 
 +                                 # DBM, GDBM, NDBM, or DBZ
 +                                 # in order to use DBZ with INN you will need
 +@@ -22,6 +23,7 @@
 + #DB_TYPE=-DUSE_DBZ	# for inn-1.X.X users
 + #DB_TYPE=-DUSE_INN2	# for inn-2.1-2.X users
 + #DB_TYPE=-DUSE_INN23	# for inn-2.3.X users
 ++DB_TYPE=-DUSE_INN2 -DDO_TAGGED_HASH	# for inn-2.X.X users
 + 
 + # Step 3: Define ONE Library that contains the functions
 + # If you are using INN-2.X, and the compiler complains 
 +@@ -33,11 +35,14 @@
 + #DB_LIB=-ldbz
 + #DB_LIB=-linn -lstorage	# see note above
 + #DB_LIB=-linn		# INN puts DBZ code in here
 ++DB_LIB=-linn -lstorage
 + 
 + # Step 4: IF your DB Library/Includes are in a non-standard place, 
 + # define These
 + #DB_INC_LOC=-I/usr/src/inn-2.3/include
 + #DB_LIB_LOC=-L/usr/src/inn-2.3/lib
 ++DB_INC_LOC=-I../../../inn/work/inn-2.3.0/include/
 ++DB_LIB_LOC=-L/usr/local/news/lib
 + 
 + # Step 5: If you want to use embedded PERL functions as kill routines
 + # define these. 
 +@@ -111,7 +115,7 @@
 + @SET_MAKE@
 + 
 + CFLAGS = @CFLAGS@
 +-CPPFLAGS = -I. -I$(srcdir) @CPPFLAGS@
 ++CPPFLAGS = -I. -I$(srcdir) -I/usr/local/include @CPPFLAGS@
 + LDFLAGS = @LDFLAGS@ $(DMALLOC_LD) $(OS2_LD)
 + DEFS = @DEFS@ -DSUCK_VERSION=\"$(VERSION)\" $(DMALLOC_DEFS) $(OS2_DEFS) $(DMALLOC_INC)
 + LIBS = @LIBS@ $(DMALLOC_LIB)
 diff suck/files/patch-ac suck-4.2.5-cnews-db/files/patch-ac
 --- suck/files/patch-ac	Sun Oct  5 07:06:27 1997
 +++ suck-4.2.5-cnews-db/files/patch-ac	Thu Jan  1 01:00:00 1970
 @@ -1,19 +0,0 @@
 ---- killprg.c.orig	Thu Aug 21 10:16:02 1997
 -+++ killprg.c	Sun Oct  5 14:00:23 1997
 -@@ -7,6 +7,8 @@
 - #include <unistd.h>
 - #endif
 - 
 -+#include <sys/types.h>
 -+
 - #ifdef HAVE_DIRENT_H
 - # include <dirent.h>
 - #else
 -@@ -36,7 +38,6 @@
 - #endif
 - 
 - #include <string.h>
 --#include <sys/types.h>
 - #include <sys/stat.h>
 - #include <sys/param.h>
 - 
 diff suck/files/patch-ae suck-4.2.5-cnews-db/files/patch-ae
 --- suck/files/patch-ae	Wed Mar 22 17:13:55 2000
 +++ suck-4.2.5-cnews-db/files/patch-ae	Thu Jan  1 01:00:00 1970
 @@ -1,10 +0,0 @@
 ---- rpost.c.orig	Wed Mar 22 11:05:03 2000
 -+++ rpost.c	Wed Mar 22 11:05:28 2000
 -@@ -6,6 +6,7 @@
 - #include <netdb.h>
 - #include <sys/stat.h>
 - #include <sys/types.h>
 -+#include <sys/syslimits.h>
 - #ifdef HAVE_UNISTD_H
 - #include <unistd.h>
 - #endif
State-Changed-From-To: open->closed 
State-Changed-By: dinoex 
State-Changed-When: Sat Mar 17 05:42:03 PST 2001 
State-Changed-Why:  
Committed, Thanks. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=25411 
>Unformatted:
