summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbm <nbm@FreeBSD.org>2000-08-02 10:24:57 +0000
committernbm <nbm@FreeBSD.org>2000-08-02 10:24:57 +0000
commitbcbf94e986bcc56b277c59f2288d77e4aaf9cd8c (patch)
tree76413f313a49e264ea6873499567f59de00c76b2
parentc77c352adb57bab946e4985a07c1d43b46b1f050 (diff)
downloadFreeBSD-ports-bcbf94e986bcc56b277c59f2288d77e4aaf9cd8c.zip
FreeBSD-ports-bcbf94e986bcc56b277c59f2288d77e4aaf9cd8c.tar.gz
Add c-nocem, a fast filter to remove spam (works with cnews)
PR: ports/17302 Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org>
-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 c6a4feea..5ee83f6 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 0000000..8af1431
--- /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 0000000..51e22f0
--- /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 0000000..6e65449
--- /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 0000000..2f6e47d
--- /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 0000000..be0d926
--- /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 0000000..ee08919
--- /dev/null
+++ b/news/c-nocem/pkg-plist
@@ -0,0 +1,2 @@
+libexec/cnews/fastcancel
+libexec/cnews/c-nocem
OpenPOWER on IntegriCloud