summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorNeil Blakey-Milner <nbm@FreeBSD.org>2000-08-02 10:24:57 +0000
committerNeil Blakey-Milner <nbm@FreeBSD.org>2000-08-02 10:24:57 +0000
commit65f03f9abeff3f224c9cac872a046bb5f5e0955f (patch)
tree9c70ef6b9358cb099bc4717ddf090e6f250e321f /news
parentRe-add grub in sysutils, it having previously removed from misc.. (diff)
Add c-nocem, a fast filter to remove spam (works with cnews)
PR: ports/17302 Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org>
Notes
Notes: svn path=/head/; revision=31251
Diffstat (limited to 'news')
-rw-r--r--news/Makefile1
-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
7 files changed, 60 insertions, 0 deletions
diff --git a/news/Makefile b/news/Makefile
index c6a4feeaf060..5ee83f63c1df 100644
--- a/news/Makefile
+++ b/news/Makefile
@@ -4,6 +4,7 @@
SUBDIR += atp
SUBDIR += aub
SUBDIR += bgrab
+ SUBDIR += c-nocem
SUBDIR += cnews
SUBDIR += dejasearch
SUBDIR += diablo
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