aboutsummaryrefslogtreecommitdiffstats
path: root/news/c-nocem
diff options
context:
space:
mode:
authornbm <nbm@FreeBSD.org>2000-08-02 18:24:57 +0800
committernbm <nbm@FreeBSD.org>2000-08-02 18:24:57 +0800
commitbcbf94e986bcc56b277c59f2288d77e4aaf9cd8c (patch)
tree76413f313a49e264ea6873499567f59de00c76b2 /news/c-nocem
parentc77c352adb57bab946e4985a07c1d43b46b1f050 (diff)
downloadfreebsd-ports-gnome-bcbf94e986bcc56b277c59f2288d77e4aaf9cd8c.tar.gz
freebsd-ports-gnome-bcbf94e986bcc56b277c59f2288d77e4aaf9cd8c.tar.zst
freebsd-ports-gnome-bcbf94e986bcc56b277c59f2288d77e4aaf9cd8c.zip
Add c-nocem, a fast filter to remove spam (works with cnews)
PR: ports/17302 Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org>
Diffstat (limited to 'news/c-nocem')
-rw-r--r--news/c-nocem/Makefile22
-rw-r--r--news/c-nocem/distinfo1
-rw-r--r--news/c-nocem/files/patch-configure13
-rw-r--r--news/c-nocem/pkg-comment1
-rw-r--r--news/c-nocem/pkg-descr20
-rw-r--r--news/c-nocem/pkg-plist2
6 files changed, 59 insertions, 0 deletions
diff --git a/news/c-nocem/Makefile b/news/c-nocem/Makefile
new file mode 100644
index 000000000000..8af1431b6a67
--- /dev/null
+++ b/news/c-nocem/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: pgpmoose
+# Date created: 19.May 1999
+# Whom: dirk.meyer@dinoex.sub.org
+#
+# $FreeBSD$
+
+PORTNAME= c-nocem
+PORTVERSION= 3.5
+CATEGORIES= news security
+MASTER_SITES= http://sites.inka.de/~bigred/sw/ \
+ ftp://ftp.lan-ks.de/pub/FreeBSD/distfiles/
+
+MAINTAINER= dirk.meyer@dinoex.sub.org
+
+BUILD_DEPENDS= /nonexistent:${PORTSDIR}/news/cnews:patch
+
+WRKSRC= ${WRKDIR}/c-nocem
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-cnews=${WRKDIRPREFIX}/${PORTSDIR}/news/cnews/work
+
+.include <bsd.port.mk>
diff --git a/news/c-nocem/distinfo b/news/c-nocem/distinfo
new file mode 100644
index 000000000000..51e22f0eee6f
--- /dev/null
+++ b/news/c-nocem/distinfo
@@ -0,0 +1 @@
+MD5 (c-nocem-3.5.tar.gz) = f979b760a07d8f38b97ebb5d465bc167
diff --git a/news/c-nocem/files/patch-configure b/news/c-nocem/files/patch-configure
new file mode 100644
index 000000000000..6e65449f6b71
--- /dev/null
+++ b/news/c-nocem/files/patch-configure
@@ -0,0 +1,13 @@
+--- configure.orig Sun Jun 13 18:58:35 1999
++++ configure Tue Jun 15 08:15:07 1999
+@@ -1271,8 +1271,8 @@
+ #define CNEWS 1
+ EOF
+
+- CPPFLAGS="$CPPFLAGS -I$nsrc/libdbz"
+- LIBS="-L$nsrc -lcnews $LIBS"
++ CPPFLAGS="$CPPFLAGS -I$prefix/include"
++ LIBS="-L$prefix/lib -lcnews $LIBS"
+ PROGS="fastcancel"
+
+ newslib=`$AWK '/^'NEWSCTL'[^A-Z_]/ {print $'2'}' $nsrc/conf/substitutions`
diff --git a/news/c-nocem/pkg-comment b/news/c-nocem/pkg-comment
new file mode 100644
index 000000000000..2f6e47dcc5b5
--- /dev/null
+++ b/news/c-nocem/pkg-comment
@@ -0,0 +1 @@
+NoCeM for C News and INN
diff --git a/news/c-nocem/pkg-descr b/news/c-nocem/pkg-descr
new file mode 100644
index 000000000000..be0d926aeb88
--- /dev/null
+++ b/news/c-nocem/pkg-descr
@@ -0,0 +1,20 @@
+
+ c-nocem - NoCeM for C News and INN
+
+ This is a program for the easy and efficient application of the NoCeM
+ protocol on the news spool. Which means, articles for which a NoCeM
+ with "action=hide" is accepted, will be deleted from your news system
+ as if they had been cancelled. With the installation described below,
+ these will be processed as fast as possible and should work like real
+ cancels.
+
+ Unlike the standard implementation of NoCeM, this version is optimized
+ for the most common case of "spam cancels". In fact, it can do nothing
+ else. It can not be run by a normal user, it does not need or
+ manipulate state like .newsrc files, it processes only "hide" actions,
+ and that only by actually deleting the articles.
+
+ c-nocem is designed for easy setup and fast run and needs no
+ maintenance.
+
+WWW: http://sites.inka.de/~bigred/
diff --git a/news/c-nocem/pkg-plist b/news/c-nocem/pkg-plist
new file mode 100644
index 000000000000..ee089196aa48
--- /dev/null
+++ b/news/c-nocem/pkg-plist
@@ -0,0 +1,2 @@
+libexec/cnews/fastcancel
+libexec/cnews/c-nocem