Date: Sat, 13 May 2000 02:00:04 -0700 (PDT) From: dirk.meyer@dinoex.sub.org (Dirk Meyer) To: freebsd-ports@FreeBSD.org Subject: Re: ports/17302: New Port c-nocem Message-ID: <200005130900.CAA21039@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/17302; it has been noted by GNATS. From: dirk.meyer@dinoex.sub.org (Dirk Meyer) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/17302: New Port c-nocem Date: Sat, 13 May 2000 10:52:29 +0200 Due to changes in the ports, her is an updated shar archive kind regards Dirk - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany - Tel. +49-5606-6512 # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # c-nocem-3.5 # c-nocem-3.5/pkg # c-nocem-3.5/pkg/COMMENT # c-nocem-3.5/pkg/DESCR # c-nocem-3.5/pkg/PLIST # c-nocem-3.5/files # c-nocem-3.5/files/md5 # c-nocem-3.5/Makefile # c-nocem-3.5/patches # c-nocem-3.5/patches/patch-configure # c-nocem-3.5/patches/patch-fastcancel.c # c-nocem-3.5/patches/patch-c-nocem.in # echo c - c-nocem-3.5 mkdir -p c-nocem-3.5 > /dev/null 2>&1 echo c - c-nocem-3.5/pkg mkdir -p c-nocem-3.5/pkg > /dev/null 2>&1 echo x - c-nocem-3.5/pkg/COMMENT sed 's/^X//' >c-nocem-3.5/pkg/COMMENT << 'END-of-c-nocem-3.5/pkg/COMMENT' XNoCeM for C News and INN END-of-c-nocem-3.5/pkg/COMMENT echo x - c-nocem-3.5/pkg/DESCR sed 's/^X//' >c-nocem-3.5/pkg/DESCR << 'END-of-c-nocem-3.5/pkg/DESCR' X X c-nocem - NoCeM for C News and INN X X This is a program for the easy and efficient application of the NoCeM X protocol on the news spool. Which means, articles for which a NoCeM X with "action=hide" is accepted, will be deleted from your news system X as if they had been cancelled. With the installation described below, X these will be processed as fast as possible and should work like real X cancels. X X Unlike the standard implementation of NoCeM, this version is optimized X for the most common case of "spam cancels". In fact, it can do nothing X else. It can not be run by a normal user, it does not need or X manipulate state like .newsrc files, it processes only "hide" actions, X and that only by actually deleting the articles. X X c-nocem is designed for easy setup and fast run and needs no X maintenance. X XWWW: http://sites.inka.de/~bigred/ END-of-c-nocem-3.5/pkg/DESCR echo x - c-nocem-3.5/pkg/PLIST sed 's/^X//' >c-nocem-3.5/pkg/PLIST << 'END-of-c-nocem-3.5/pkg/PLIST' Xlibexec/cnews/fastcancel Xlibexec/cnews/c-nocem END-of-c-nocem-3.5/pkg/PLIST echo c - c-nocem-3.5/files mkdir -p c-nocem-3.5/files > /dev/null 2>&1 echo x - c-nocem-3.5/files/md5 sed 's/^X//' >c-nocem-3.5/files/md5 << 'END-of-c-nocem-3.5/files/md5' XMD5 (c-nocem-3.5.tar.gz) = f979b760a07d8f38b97ebb5d465bc167 END-of-c-nocem-3.5/files/md5 echo x - c-nocem-3.5/Makefile sed 's/^X//' >c-nocem-3.5/Makefile << 'END-of-c-nocem-3.5/Makefile' X# New ports collection makefile for: c-nocem X# Date created: 19.May 1999 X# Whom: dirk.meyer@dinoex.sub.org X# X# $FreeBSD: $ X XPORTNAME= c-nocem XPORTVERSION= 3.5 XCATEGORIES= news security XMASTER_SITES= http://sites.inka.de/~bigred/sw/ \ X ftp://ftp.lan-ks.de/pub/FreeBSD/distfiles/ X XMAINTAINER= dirk.meyer@dinoex.sub.org X XWRKSRC= ${WRKDIR}/c-nocem XUSE_GMAKE= yes XGNU_CONFIGURE= yes XCONFIGURE_ARGS+= --prefix=${PREFIX} XCONFIGURE_ARGS+= --with-cnews=${WRKDIRPREFIX}/src/local/cnews-cr.g/work X X.include <bsd.port.mk> END-of-c-nocem-3.5/Makefile echo c - c-nocem-3.5/patches mkdir -p c-nocem-3.5/patches > /dev/null 2>&1 echo x - c-nocem-3.5/patches/patch-configure sed 's/^X//' >c-nocem-3.5/patches/patch-configure << 'END-of-c-nocem-3.5/patches/patch-configure' X--- configure.orig Sun Jun 13 18:58:35 1999 X+++ configure Tue Jun 15 08:15:07 1999 X@@ -1271,8 +1271,8 @@ X #define CNEWS 1 X EOF X X- CPPFLAGS="$CPPFLAGS -I$nsrc/libdbz" X- LIBS="-L$nsrc -lcnews $LIBS" X+ CPPFLAGS="$CPPFLAGS -I$prefix/include" X+ LIBS="-L$prefix/lib -lcnews $LIBS" X PROGS="fastcancel" X X newslib=`$AWK '/^'NEWSCTL'[^A-Z_]/ {print $'2'}' $nsrc/conf/substitutions` END-of-c-nocem-3.5/patches/patch-configure echo x - c-nocem-3.5/patches/patch-fastcancel.c sed 's/^X//' >c-nocem-3.5/patches/patch-fastcancel.c << 'END-of-c-nocem-3.5/patches/patch-fastcancel.c' X--- fastcancel.c.orig Wed Nov 3 00:47:28 1999 X+++ fastcancel.c Fri Mar 10 08:22:55 2000 X@@ -243,6 +243,7 @@ X ++sdela; X } X X+#ifdef INN2 X #ifdef HAVE_DBZFETCH_2 X #define DBZfetch(k,v) dbzfetch(k,v) X #else X@@ -254,6 +255,7 @@ X *value=val; X return TRUE; X } X+#endif X #endif X X /* Process one Message-ID. */ END-of-c-nocem-3.5/patches/patch-fastcancel.c echo x - c-nocem-3.5/patches/patch-c-nocem.in sed 's/^X//' >c-nocem-3.5/patches/patch-c-nocem.in << 'END-of-c-nocem-3.5/patches/patch-c-nocem.in' X--- c-nocem.in.orig Wed Nov 3 00:47:28 1999 X+++ c-nocem.in Sat Mar 11 12:07:58 2000 X@@ -1,4 +1,4 @@ X-#!@PERL@ -w X+#!@PERL@ X # and once again for Emacs: -*-perl-*- X X # NoCeM in the spool for C News and INN - grand unified program END-of-c-nocem-3.5/patches/patch-c-nocem.in exit 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?200005130900.CAA21039>