Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Mar 2001 04:10:06 -0800 (PST)
From:      dirk.meyer@dinoex.sub.org (Dirk Meyer)
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/25411
Message-ID:  <200103171210.f2HCA6a00275@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/25411; it has been noted by GNATS.

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

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?200103171210.f2HCA6a00275>