Update to 2.14. Substantial changes documented at:

http://razor.sourceforge.net/docs/whatsnew.html

ok lebel@
This commit is contained in:
marcm 2002-09-20 02:18:15 +00:00
parent 15eaf8441e
commit 312b46fdc0
5 changed files with 71 additions and 35 deletions

View File

@ -1,14 +1,14 @@
# $OpenBSD: Makefile,v 1.5 2002/09/19 06:42:00 marcm Exp $ # $OpenBSD: Makefile,v 1.6 2002/09/20 02:18:15 marcm Exp $
COMMENT= "agent for Razor spam filtering networks" COMMENT= "agent for Razor spam filtering networks"
VERSION= 1.20 DISTNAME= razor-agents-2.14
DISTNAME= razor-agents-${VERSION}
CATEGORIES= mail CATEGORIES= mail
HOMEPAGE= http://razor.sourceforge.net/ HOMEPAGE= http://razor.sourceforge.net/
MAINTAINER= Marc Matteo <marcm@openbsd.org> MAINTAINER= Marc Matteo <marcm@openbsd.org>
# Artistic License
PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_CDROM= Yes
@ -16,14 +16,19 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=razor/} MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=razor/}
# Uh, the razor SDK uses Mail-Tools 1.40... but it's not in the BUILD_DEPENDS= :p5-Digest-Nilsimsa->=0.06:security/p5-Digest-Nilsimsa \
# ports tree (yet) :p5-Net-DNS->=0.23:net/p5-Net-DNS \
BUILD_DEPENDS= :p5-Net-DNS->=0.12:net/p5-Net-DNS \ :p5-Test-Simple->=0.44:devel/p5-Test-Simple \
:p5-Time-HiRes->=1.20:devel/p5-Time-HiRes \ :p5-Time-HiRes->=1.20:devel/p5-Time-HiRes \
:p5-Digest-SHA1->=2.00:security/p5-Digest-SHA1 \ :p5-URI->=1.19:www/p5-URI
:p5-Mail-Tools->=1.15:mail/p5-Mail-Tools
RUN_DEPENDS= ${BUILD_DEPENDS} RUN_DEPENDS= ${BUILD_DEPENDS}
CONFIGURE_STYLE= perl CONFIGURE_STYLE= perl
post-install:
@ln -s razor-client ${PREFIX}/bin/razor-check
@ln -s razor-client ${PREFIX}/bin/razor-register
@ln -s razor-client ${PREFIX}/bin/razor-report
@ln -s razor-client ${PREFIX}/bin/razor-revoke
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (razor-agents-1.20.tar.gz) = 3612455aca8221718d2bf4b94ca67197 MD5 (razor-agents-2.14.tar.gz) = 08c5bd4a438bf3f892a891a423056e05
RMD160 (razor-agents-1.20.tar.gz) = c1c8f0e60e60705a910da1b328ed698157312b74 RMD160 (razor-agents-2.14.tar.gz) = 4fe881aeec5fb7771b89999350f08372bdc055c5
SHA1 (razor-agents-1.20.tar.gz) = 97a03890762fcb2c9a8765e12f030418227acfe3 SHA1 (razor-agents-2.14.tar.gz) = e3cde67899908d79b8c2d8ed082902d6e3346f35

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-lib_Razor2_Client_Agent_pm,v 1.1 2002/09/20 02:18:15 marcm Exp $
--- lib/Razor2/Client/Agent.pm.orig Sat Sep 14 00:01:51 2002
+++ lib/Razor2/Client/Agent.pm Sat Sep 14 00:02:11 2002
@@ -44,7 +44,7 @@ sub new {
foreach (@valid_program_names) { $breed =~ /$_$/ and $ok = $_; }
unless ($ok) {
if ($breed =~ /razor-client$/) {
- create_symlinks(@valid_program_names);
+ #create_symlinks(@valid_program_names);
exit 0;
}
die "Invalid program name, must be one of: @valid_program_names\n";

View File

@ -1,16 +1,11 @@
Vipul's Razor is a distributed, collaborative, spam detection and Vipul's Razor is a distributed, collaborative, spam detection and
filtering network. Razor establishes a distributed and constantly filtering network. Through user contribution, Razor establishes a
updating catalogue of spam in propagation. This catalogue is used by distributed and constantly updating catalogue of spam in propagation
clients to filter out known spam. On receiving a spam, a Razor Reporting that is consulted by email clients to filter out known spam. Detection
Agent (run by an end-user or a troll box) calculates and submits a is done with statistical and randomized signatures that efficiently
20-character unique identification of the spam (a SHA Digest) to its spot mutating spam content. User input is validated through reputation
closest Razor Catalogue Server. The Catalogue Server echos this assignments based on consensus on report and revoke assertions which
signature to other trusted servers after storing it in its database. in turn is used for computing confidence values associated with
Prior to manual processing or transport-level reception, Razor Filtering individual signatures.
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.
WWW: ${HOMEPAGE} WWW: ${HOMEPAGE}

View File

@ -1,16 +1,40 @@
@comment $OpenBSD: PLIST,v 1.3 2002/06/03 13:14:57 lebel Exp $ @comment $OpenBSD: PLIST,v 1.4 2002/09/20 02:18:15 marcm Exp $
bin/razor-check bin/razor-check
bin/razor-discover bin/razor-client
bin/razor-register
bin/razor-report bin/razor-report
${P5SITE}/Razor/Agent.pm bin/razor-revoke
${P5SITE}/Razor/Client.pm ${P5SITE}/Razor2/Client/Agent.pm
${P5SITE}/Razor/Config.pm @comment ${P5SITE}/Razor2/Client/Agent.pm.orig
${P5SITE}/Razor/Errorhandler.pm ${P5SITE}/Razor2/Client/Config.pm
${P5SITE}/Razor/String.pm ${P5SITE}/Razor2/Client/Core.pm
${P5SITE}/Razor/Version.pm ${P5SITE}/Razor2/Client/Engine.pm
${P5ARCH}/auto/razor-agents/.packlist ${P5SITE}/Razor2/Client/Version.pm
${P5SITE}/Razor2/Errorhandler.pm
${P5SITE}/Razor2/Logger.pm
${P5SITE}/Razor2/Preproc/Manager.pm
${P5SITE}/Razor2/Preproc/VR1.pm
${P5SITE}/Razor2/Preproc/deBase64.pm
${P5SITE}/Razor2/Preproc/deHTML.pm
${P5SITE}/Razor2/Preproc/deNewline.pm
${P5SITE}/Razor2/Preproc/deQP.pm
${P5SITE}/Razor2/Preproc/enBase64.pm
${P5SITE}/Razor2/Signature/Ephemeral.pm
${P5SITE}/Razor2/String.pm
@comment ${P5ARCH}/auto/razor-agents/.packlist
man/man1/razor-admin.1
man/man1/razor-check.1 man/man1/razor-check.1
man/man1/razor-discover.1
man/man1/razor-report.1 man/man1/razor-report.1
man/man1/razor-revoke.1
man/man3p/Razor2::Errorhandler.3p
man/man5/razor-agent.conf.5
man/man5/razor-agents.5
man/man5/razor-whitelist.5
@comment @dirrm man/man3p
@dirrm ${P5ARCH}/auto/razor-agents @dirrm ${P5ARCH}/auto/razor-agents
@dirrm ${P5SITE}/Razor @comment @dirrm ${P5ARCH}/auto
@comment @dirrm ${P5ARCH}
@dirrm ${P5SITE}/Razor2/Signature
@dirrm ${P5SITE}/Razor2/Preproc
@dirrm ${P5SITE}/Razor2/Client
@dirrm ${P5SITE}/Razor2