mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Add c-nocem, a fast filter to remove spam (works with cnews)
PR: ports/17302 Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org>
This commit is contained in:
parent
e7047f6949
commit
65f03f9abe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31251
@ -4,6 +4,7 @@
|
||||
SUBDIR += atp
|
||||
SUBDIR += aub
|
||||
SUBDIR += bgrab
|
||||
SUBDIR += c-nocem
|
||||
SUBDIR += cnews
|
||||
SUBDIR += dejasearch
|
||||
SUBDIR += diablo
|
||||
|
22
news/c-nocem/Makefile
Normal file
22
news/c-nocem/Makefile
Normal file
@ -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>
|
1
news/c-nocem/distinfo
Normal file
1
news/c-nocem/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (c-nocem-3.5.tar.gz) = f979b760a07d8f38b97ebb5d465bc167
|
13
news/c-nocem/files/patch-configure
Normal file
13
news/c-nocem/files/patch-configure
Normal file
@ -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`
|
1
news/c-nocem/pkg-comment
Normal file
1
news/c-nocem/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
NoCeM for C News and INN
|
20
news/c-nocem/pkg-descr
Normal file
20
news/c-nocem/pkg-descr
Normal file
@ -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/
|
2
news/c-nocem/pkg-plist
Normal file
2
news/c-nocem/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
libexec/cnews/fastcancel
|
||||
libexec/cnews/c-nocem
|
Loading…
Reference in New Issue
Block a user