summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorheinz <heinz>2002-10-06 04:10:23 +0000
committerheinz <heinz>2002-10-06 04:10:23 +0000
commit162f83871989986cc8cc7b8f683048c7446aa5e5 (patch)
tree99cf9687607948c86bebfe56f243aaed0ba93cf4 /mail
parent21e59abe3c9834826161374dc46b9544147e3360 (diff)
downloadpkgsrc-162f83871989986cc8cc7b8f683048c7446aa5e5.tar.gz
Update to 2.14
Changes: - almost a complete (compatible) rewrite of Razor v1. - uses new (fuzzy) signature algorithms to better spot 'mutating' messages - Spam reports are now validated based on 'reputation' of the submitter in order to make it easier to eliminate false positives. - Registration for submitters required. - Revocation of spam reports is now possible.
Diffstat (limited to 'mail')
-rw-r--r--mail/p5-razor-agents/DESCR27
-rw-r--r--mail/p5-razor-agents/Makefile23
-rw-r--r--mail/p5-razor-agents/PLIST6
-rw-r--r--mail/p5-razor-agents/distinfo7
-rw-r--r--mail/p5-razor-agents/patches/patch-aa13
5 files changed, 48 insertions, 28 deletions
diff --git a/mail/p5-razor-agents/DESCR b/mail/p5-razor-agents/DESCR
index e6e84cc0451..754a90ee927 100644
--- a/mail/p5-razor-agents/DESCR
+++ b/mail/p5-razor-agents/DESCR
@@ -1,14 +1,13 @@
-Vipul's Razor is a distributed, collaborative, spam detection and
-filtering network. Razor establishes a distributed and constantly
-updating catalogue of spam in propagation. This catalogue is used
-by clients to filter out known spam. On receiving a spam, a Razor
-Reporting Agent (run by an end-user or a troll box) calculates and
-submits a 20-character unique identification of the spam (a SHA
-Digest) to its closest Razor Catalogue Server. The Catalogue Server
-echos this signature to other trusted servers after storing it in its
-database. Prior to manual processing or transport-level reception,
-Razor Filtering Agents (end-users and MTAs) check their incoming mail
-against a Catalogue Server and filter out or deny transport in case of
-a signature match. Catalogued spam, once identified and reported by a
-Reporting Agent, can be blocked out by the rest of the Filtering Agents
-on the network.
+Vipul's Razor is a distributed, collaborative, spam detection and
+filtering network. Through user contribution, Razor establishes a
+distributed and constantly updating catalogue of spam in propagation that
+is consulted by email clients to filter out known spam. Detection is done
+with statistical and randomized signatures that efficiently spot mutating
+spam content. User input is validated through reputation assignments based
+on consensus on report and revoke assertions which in turn is used for
+computing confidence values associated with individual signatures.
+
+Razor Agents are written in Perl and will work on most Unix operating
+systems and others OSes for which perl is available.
+
+Vipul's Razor v2 is almost a complete rewrite of Razor v1.
diff --git a/mail/p5-razor-agents/Makefile b/mail/p5-razor-agents/Makefile
index 5e45b69f69d..33622bdd878 100644
--- a/mail/p5-razor-agents/Makefile
+++ b/mail/p5-razor-agents/Makefile
@@ -1,27 +1,30 @@
-# $NetBSD: Makefile,v 1.3 2002/07/05 07:04:29 tron Exp $
+# $NetBSD: Makefile,v 1.4 2002/10/06 04:10:24 heinz Exp $
-DISTNAME= razor-agents-1.19
+DISTNAME= razor-agents-2.14
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5ra
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=razor/}
-#MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://razor.sourceforge.net/
-COMMENT= collaborative spam filtering network
+COMMENT= distributed and collaborative spam detection network
-DEPENDS+= p5-Net-[0-9]*:../../net/p5-Net
DEPENDS+= p5-Net-DNS-[0-9]*:../../net/p5-Net-DNS
DEPENDS+= p5-Time-HiRes-[0-9]*:../../time/p5-Time-HiRes
DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
-DEPENDS+= p5-MailTools-[0-9]*:../../mail/p5-MailTools
+DEPENDS+= p5-Digest-Nilsimsa-[0-9]*:../../security/p5-Digest-Nilsimsa
+DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
-USE_BUILDLINK_ONLY= YES
+# because Net::Ping, Getopt::Long, File::Copy are needed
+BUILDLINK_DEPENDS.perl= perl>=5.6.0
+USE_BUILDLINK2= YES
+
+PERL5_CONFIGURE= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/razor-agents/.packlist
-do-configure:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+test: build
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKEFLAGS} test
-.include "../../lang/perl5/buildlink.mk"
+.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/p5-razor-agents/PLIST b/mail/p5-razor-agents/PLIST
index fc4cb746381..cef0d1cdb45 100644
--- a/mail/p5-razor-agents/PLIST
+++ b/mail/p5-razor-agents/PLIST
@@ -1 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/01/31 10:56:29 simonb Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/10/06 04:10:24 heinz Exp $
+bin/razor-admin
+bin/razor-check
+bin/razor-report
+bin/razor-revoke
diff --git a/mail/p5-razor-agents/distinfo b/mail/p5-razor-agents/distinfo
index 675c3794198..17c68f6b5de 100644
--- a/mail/p5-razor-agents/distinfo
+++ b/mail/p5-razor-agents/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/01/31 10:56:29 simonb Exp $
+$NetBSD: distinfo,v 1.2 2002/10/06 04:10:24 heinz Exp $
-SHA1 (razor-agents-1.19.tar.gz) = 75376cc785cd27376646be80dad8a1d765421161
-Size (razor-agents-1.19.tar.gz) = 19521 bytes
+SHA1 (razor-agents-2.14.tar.gz) = e3cde67899908d79b8c2d8ed082902d6e3346f35
+Size (razor-agents-2.14.tar.gz) = 59890 bytes
+SHA1 (patch-aa) = a00a3831b7f912804490921e5e34a477ba033238
diff --git a/mail/p5-razor-agents/patches/patch-aa b/mail/p5-razor-agents/patches/patch-aa
new file mode 100644
index 00000000000..031862fc1a4
--- /dev/null
+++ b/mail/p5-razor-agents/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2002/10/06 04:10:25 heinz Exp $
+
+--- Makefile.PL.orig Thu Jul 25 23:09:31 2002
++++ Makefile.PL
+@@ -126,7 +126,7 @@
+
+ $inherited =~ s/(\$\(INSTALLMAN1DIR\))/$1$man5/gm;
+ $inherited =~ s/install :: all pure_install doc_install/install :: all pure_install doc_install install_razor_agents/;
+- $inherited .= "\ninstall_razor_agents::\n\t " . '$(INST_SCRIPT)/razor-client';
++ $inherited .= "\ninstall_razor_agents::\n\t " . '$(INSTALLSCRIPT)/razor-client';
+ $inherited;
+
+ }