diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2004-06-03 07:28:42 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2004-06-03 07:28:42 +0000 |
commit | 11279bf664cfe472d8e985922361819de3100cbf (patch) | |
tree | a12f398a9f9c689f371c7ad772e7acc72ed5ce33 /mail-filter | |
parent | Moved from net-mail/rblcheck to mail-filter/rblcheck (diff) | |
download | historical-11279bf664cfe472d8e985922361819de3100cbf.tar.gz historical-11279bf664cfe472d8e985922361819de3100cbf.tar.bz2 historical-11279bf664cfe472d8e985922361819de3100cbf.zip |
Moved from net-mail/razor to mail-filter/razor.
Diffstat (limited to 'mail-filter')
20 files changed, 627 insertions, 0 deletions
diff --git a/mail-filter/razor/ChangeLog b/mail-filter/razor/ChangeLog new file mode 100644 index 000000000000..beb39bbaa3d8 --- /dev/null +++ b/mail-filter/razor/ChangeLog @@ -0,0 +1,76 @@ +# ChangeLog for net-mail/razor +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/razor/ChangeLog,v 1.1 2004/06/03 07:28:42 seemant Exp $ + +*razor-2.40-r1 (03 Jun 2004) + + 03 Jun 2004; Seemant Kulleen <seemant@gentoo.org> +metadata.xml, + +files/no-install-razor-agents.patch, +files/razor-taint.patch, + +files/razor_uninstall.patch, +razor-2.12.ebuild, +razor-2.14.ebuild, + +razor-2.20.ebuild, +razor-2.36-r1.ebuild, +razor-2.36.ebuild, + +razor-2.40-r1.ebuild, +razor-2.40.ebuild: + Moved from net-mail/razor to mail-filter/razor. + +*razor-2.40-r1 (19 May 2004) + + 19 May 2004; Robin H. Johnson <robbat2@gentoo.org> razor-2.40-r1.ebuild: + bug #49069, better 2.40 ebuild + +*razor-2.40 (06 May 2004) + + 06 May 2004; Zack Gilburd <klasikahl@gentoo.org> razor-2.40.ebuild: + Bumping to version 2.40 + + 14 Apr 2004; Daniel Ahlberg <aliz@gentoo.org> razor-2.36-r1.ebuild: + Added amd64 keyword. + + 25 Jan 2004; <gustavoz@gentoo.org> razor-2.36-r1.ebuild: + stable on sparc + + 23 Jan 2004; Robin H. Johnson <robbat2@gentoo.org> razor-2.36-r1.ebuild: + bump 2.36-r1 to x86 stable to solve #31248 + + 21 Jan 2004; Robin H. Johnson <robbat2@gentoo.org> + files/no-install-razor-agents.patch: + vapier forgot to add teh patch! from 31365 + +*razor-2.36-r1 (26 Sep 2003) + + 20 Jan 2004; Mike Frysinger <vapier@gentoo.org> : + Add install patch back in #31365. + + 14 Jan 2004; Aron Griffis <agriffis@gentoo.org> razor-2.36-r1.ebuild: + add ~alpha (bug 21240) + + 26 Sep 2003; <rac@gentoo.org> razor-2.36-r1.ebuild, files/razor-taint.patch: + Add taint-mode patch from SpamAssassin 2.60 - see bug 29156 + +*razor-2.36 (11 Aug 2003) + + 11 Aug 2003; Michael Cummings <mcummings@gentoo.org> razor-2.36.ebuild: + Serious version bump - bug 18858 + +*razor-2.20 (05 Jan 2003) + + 10 Feb 2003; Seemant Kulleen <seemant@gentoo.org> razor-2.20.ebuild : + + Changed the ` to ' in the einfo section. Closes bug #15424 by Wayne Davison + <gentoo@blorf.net> + + 05 Jan 2003; Michael Cummings <mcummings@gentoo.org>: version bump + + This includes a patch for the razor ebuild (razor wants to clean up old + copies of itself during installation) + +*razor-2.14 (05 Jan 2003) + + 05 Jan 2003; Michael Cummings <mcummings@gentoo.org>: version bump + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + +*razor-2.12 (09 Jul 2002) + + 09 Jul 2002; Maik Schreiber <blizzy@gentoo.org> : + + Initial import, also closes bug #3964. + ebuild submitted by Jeremiah Mahler <jmahler@pacbell.net> diff --git a/mail-filter/razor/Manifest b/mail-filter/razor/Manifest new file mode 100644 index 000000000000..61c2fc8ed672 --- /dev/null +++ b/mail-filter/razor/Manifest @@ -0,0 +1,19 @@ +MD5 d0a8bbc852b9805e6d3d8538a26e890e files/digest-razor-2.12 68 +MD5 1f098b2f3af4b936a9abf9b3ff35f5d9 files/digest-razor-2.14 68 +MD5 e384efda6a508c06a7ce0c4b196d2fb9 files/digest-razor-2.20 68 +MD5 86ce0f71341d41a9cf561083b241c9fb files/digest-razor-2.36 68 +MD5 86ce0f71341d41a9cf561083b241c9fb files/digest-razor-2.36-r1 68 +MD5 d3e9a49fe82b4c304cafaadb03eedb08 files/razor-taint.patch 2125 +MD5 cf27167873572ac8be99c5195762d630 files/razor_uninstall.patch 1765 +MD5 eb86375c84c8a7db9512ca1943fd5a7a files/no-install-razor-agents.patch 292 +MD5 24b659c729fbfbf960ca1521df9840da files/digest-razor-2.40 68 +MD5 24b659c729fbfbf960ca1521df9840da files/digest-razor-2.40-r1 68 +MD5 ffd829187013a5ae3b91960fed26106e ChangeLog 2149 +MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161 +MD5 189a2b8436bc73c2c6bb15deaf1f5cb2 razor-2.12.ebuild 663 +MD5 8306cb9f1b551f6d6e98053dd11610c6 razor-2.14.ebuild 665 +MD5 6c2c29e0c6c98f139bce5527e9cb88fe razor-2.20.ebuild 2655 +MD5 1ccd844b8a2554477822bf3cd98c2c77 razor-2.36-r1.ebuild 2845 +MD5 340ee18283c74c3122362cae6629d9b6 razor-2.36.ebuild 2674 +MD5 7d8e9ba9667e2e1a9a0f9befdbe84c8c razor-2.40.ebuild 2674 +MD5 3f2ac27aac855f5527b282e189543d66 razor-2.40-r1.ebuild 2738 diff --git a/mail-filter/razor/files/digest-razor-2.12 b/mail-filter/razor/files/digest-razor-2.12 new file mode 100644 index 000000000000..17c11198a183 --- /dev/null +++ b/mail-filter/razor/files/digest-razor-2.12 @@ -0,0 +1 @@ +MD5 1528a40a7ce0929971f2b745b5e88ee9 razor-agents-2.12.tar.gz 54332 diff --git a/mail-filter/razor/files/digest-razor-2.14 b/mail-filter/razor/files/digest-razor-2.14 new file mode 100644 index 000000000000..8add786905e7 --- /dev/null +++ b/mail-filter/razor/files/digest-razor-2.14 @@ -0,0 +1 @@ +MD5 08c5bd4a438bf3f892a891a423056e05 razor-agents-2.14.tar.gz 59890 diff --git a/mail-filter/razor/files/digest-razor-2.20 b/mail-filter/razor/files/digest-razor-2.20 new file mode 100644 index 000000000000..de960e2bdff2 --- /dev/null +++ b/mail-filter/razor/files/digest-razor-2.20 @@ -0,0 +1 @@ +MD5 0c36212f0c40407ce5035d337eac0b79 razor-agents-2.20.tar.gz 75517 diff --git a/mail-filter/razor/files/digest-razor-2.36 b/mail-filter/razor/files/digest-razor-2.36 new file mode 100644 index 000000000000..1f6263834c7d --- /dev/null +++ b/mail-filter/razor/files/digest-razor-2.36 @@ -0,0 +1 @@ +MD5 5deaae3ea2300bf480b6904f8a69a7f1 razor-agents-2.36.tar.gz 78709 diff --git a/mail-filter/razor/files/digest-razor-2.36-r1 b/mail-filter/razor/files/digest-razor-2.36-r1 new file mode 100644 index 000000000000..1f6263834c7d --- /dev/null +++ b/mail-filter/razor/files/digest-razor-2.36-r1 @@ -0,0 +1 @@ +MD5 5deaae3ea2300bf480b6904f8a69a7f1 razor-agents-2.36.tar.gz 78709 diff --git a/mail-filter/razor/files/digest-razor-2.40 b/mail-filter/razor/files/digest-razor-2.40 new file mode 100644 index 000000000000..8dcadaab6935 --- /dev/null +++ b/mail-filter/razor/files/digest-razor-2.40 @@ -0,0 +1 @@ +MD5 ca1a340e13464661aa0efebd869fcebc razor-agents-2.40.tar.gz 79800 diff --git a/mail-filter/razor/files/digest-razor-2.40-r1 b/mail-filter/razor/files/digest-razor-2.40-r1 new file mode 100644 index 000000000000..8dcadaab6935 --- /dev/null +++ b/mail-filter/razor/files/digest-razor-2.40-r1 @@ -0,0 +1 @@ +MD5 ca1a340e13464661aa0efebd869fcebc razor-agents-2.40.tar.gz 79800 diff --git a/mail-filter/razor/files/no-install-razor-agents.patch b/mail-filter/razor/files/no-install-razor-agents.patch new file mode 100644 index 000000000000..109eec039524 --- /dev/null +++ b/mail-filter/razor/files/no-install-razor-agents.patch @@ -0,0 +1,11 @@ +--- razor-agents-2.36/Makefile.old 2003-12-20 21:27:37.000000000 -0500 ++++ razor-agents-2.36/Makefile 2003-12-20 21:27:55.000000000 -0500 +@@ -816,7 +816,7 @@ + + # begin razor-agents + install_razor_agents :: +- $(INST_SCRIPT)/razor-client ++# $(INST_SCRIPT)/razor-client + # end razor-agents + + diff --git a/mail-filter/razor/files/razor-taint.patch b/mail-filter/razor/files/razor-taint.patch new file mode 100644 index 000000000000..da3295a55624 --- /dev/null +++ b/mail-filter/razor/files/razor-taint.patch @@ -0,0 +1,56 @@ +--- lib/Razor2/Client/Agent.pm~ Tue Nov 19 16:26:05 2002 ++++ lib/Razor2/Client/Agent.pm Sun Sep 21 23:20:47 2003 +@@ -981,6 +981,7 @@ + my @fns; + if (opendir D,$self->{razorhome}) { + @fns = map "$self->{razorhome}/$_", grep /^server\.[\S]+\.conf$/, readdir D; ++ @fns = map { /^(\S+)$/, $1 } @fns; # untaint + closedir D; + } + foreach (@fns) { +--- lib/Razor2/Client/Config.pm~ Thu Nov 14 14:47:01 2002 ++++ lib/Razor2/Client/Config.pm Sun Sep 21 23:18:52 2003 +@@ -333,9 +333,11 @@ + if ($fn =~ /^(.*)\/([^\/]+)$/) { + my $dir = $1; + $fn = readlink $fn; ++ $fn = $1 if $fn =~ /^(\S+)$/; # untaint readlink + $fn = "$dir/$fn" unless $fn =~ /^\//; + } else { + $fn = readlink $fn; ++ $fn = $1 if $fn =~ /^(\S+)$/; # untaint readlink + } + } + } +@@ -376,13 +378,13 @@ + chomp; + next if /^\s*#/; + if ($nothash) { +- s/^\s+//; s/\s+$//; ++ next unless s/^\s*(.+?)\s*$/$1/; # untaint + $conf->{$_} = 7; + push @lines, $_; + } else { + next unless /=/; +- my ($attribute, $value) = split /\=/, $_, 2; +- $attribute =~ s/^\s+//; $attribute =~ s/\s+$//; ++ my ($attribute, $value) = /^\s*(.+?)\s*=\s*(.+?)\s*$/; # untaint ++ next unless (defined $attribute && defined $value); + $conf->{$attribute} = $self->parse_value($value); + } + $total++; +--- lib/Razor2/Client/Core.pm~ Wed Nov 13 12:01:10 2002 ++++ lib/Razor2/Client/Core.pm Sun Sep 21 23:20:21 2003 +@@ -218,8 +218,10 @@ + foreach $rr ($query->answer) { + my $pushed = 0; + if ($rr->type eq "A") { +- push @list, $rr->address; +- $pushed = 1; ++ if ($rr->address =~ m/^(\d+\.\d+\.\d+\.\d+)$/) { ++ push @list, $1; ++ $pushed = 1; ++ } + } elsif ($rr->type eq "CNAME") { + if ($rr->cname eq 'list.terminator') { + pop @list if $pushed; diff --git a/mail-filter/razor/files/razor_uninstall.patch b/mail-filter/razor/files/razor_uninstall.patch new file mode 100644 index 000000000000..08ff31eb788e --- /dev/null +++ b/mail-filter/razor/files/razor_uninstall.patch @@ -0,0 +1,49 @@ +--- ./Makefile 2003-01-05 14:02:33.000000000 -0500 ++++ ./Makefile.mpc 2003-01-05 14:01:09.000000000 -0500 +@@ -275,12 +275,13 @@ + # need any changes to the core distribution and works with older perls + EQUALIZE_TIMESTAMP = $(PERLRUN) "-MExtUtils::Command" -e eqtime + ++# MPC - we disable this because this is what package autocleaning is for :) + # Here we warn users that an old packlist file was found somewhere, + # and that they should call some uninstall routine +-WARN_IF_OLD_PACKLIST = $(PERL) -we 'exit unless -f $$ARGV[0];' \ +--e 'print "WARNING: I have found an old package in\n";' \ +--e 'print "\t$$ARGV[0].\n";' \ +--e 'print "Please make sure the two installations are not conflicting\n";' ++#WARN_IF_OLD_PACKLIST = $(PERL) -we 'exit unless -f $$ARGV[0];' \ ++#-e 'print "WARNING: I have found an old package in\n";' \ ++#-e 'print "\t$$ARGV[0].\n";' \ ++#-e 'print "Please make sure the two installations are not conflicting\n";' + + UNINST=0 + VERBINST=0 +@@ -682,7 +683,7 @@ + + # --- MakeMaker install section: + +-install :: all pure_install doc_install install_razor_agents ++install :: all pure_install doc_install + + install_perl :: all pure_perl_install doc_perl_install + +@@ -710,8 +711,7 @@ + $(INST_SCRIPT) $(INSTALLSCRIPT) \ + $(INST_MAN1DIR) $(INSTALLMAN1DIR) \ + $(INST_MAN5DIR) $(INSTALLMAN5DIR) \ +- $(INST_MAN3DIR) $(INSTALLMAN3DIR) +- $(WARN_IF_OLD_PACKLIST) \ ++ $(INST_MAN3DIR) $(INSTALLMAN3DIR) \ + $(SITEARCHEXP)/auto/$(FULLEXT) + + +@@ -724,8 +724,7 @@ + $(INST_BIN) $(INSTALLSITEBIN) \ + $(INST_SCRIPT) $(INSTALLSCRIPT) \ + $(INST_MAN1DIR) $(INSTALLSITEMAN1DIR) \ +- $(INST_MAN3DIR) $(INSTALLSITEMAN3DIR) +- $(WARN_IF_OLD_PACKLIST) \ ++ $(INST_MAN3DIR) $(INSTALLSITEMAN3DIR) \ + $(PERL_ARCHLIB)/auto/$(FULLEXT) + + pure_vendor_install :: diff --git a/mail-filter/razor/metadata.xml b/mail-filter/razor/metadata.xml new file mode 100644 index 000000000000..51f94e3fbe0e --- /dev/null +++ b/mail-filter/razor/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-mail</herd> +</pkgmetadata> diff --git a/mail-filter/razor/razor-2.12.ebuild b/mail-filter/razor/razor-2.12.ebuild new file mode 100644 index 000000000000..2e03fca81df2 --- /dev/null +++ b/mail-filter/razor/razor-2.12.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/razor/razor-2.12.ebuild,v 1.1 2004/06/03 07:28:42 seemant Exp $ + +inherit perl-module + +S="${WORKDIR}/razor-agents-${PV}" + +DESCRIPTION="Vipul's Razor is a distributed, collaborative spam detection and filtering network" +HOMEPAGE="http://razor.sourceforge.net" +SRC_URI="mirror://sourceforge/razor/razor-agents-${PV}.tar.gz" + +SLOT="0" +LICENSE="Artistic" +KEYWORDS="x86 ppc sparc" + +RDEPEND="dev-lang/perl + dev-perl/Net-DNS + dev-perl/Time-HiRes + dev-perl/Digest-SHA1 + dev-perl/URI + dev-perl/Digest-Nilsimsa" diff --git a/mail-filter/razor/razor-2.14.ebuild b/mail-filter/razor/razor-2.14.ebuild new file mode 100644 index 000000000000..129b898218c7 --- /dev/null +++ b/mail-filter/razor/razor-2.14.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/razor/razor-2.14.ebuild,v 1.1 2004/06/03 07:28:42 seemant Exp $ + +inherit perl-module + +S="${WORKDIR}/razor-agents-${PV}" + +DESCRIPTION="Vipul's Razor is a distributed, collaborative spam detection and filtering network" +HOMEPAGE="http://razor.sourceforge.net" +SRC_URI="mirror://sourceforge/razor/razor-agents-${PV}.tar.gz" +LICENSE="Artistic" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc" + +RDEPEND="dev-lang/perl + dev-perl/Net-DNS + dev-perl/Time-HiRes + dev-perl/Digest-SHA1 + dev-perl/URI + dev-perl/Digest-Nilsimsa" diff --git a/mail-filter/razor/razor-2.20.ebuild b/mail-filter/razor/razor-2.20.ebuild new file mode 100644 index 000000000000..d2ea2af2931f --- /dev/null +++ b/mail-filter/razor/razor-2.20.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/razor/razor-2.20.ebuild,v 1.1 2004/06/03 07:28:42 seemant Exp $ + +inherit perl-module + +S="${WORKDIR}/razor-agents-${PV}" + +DESCRIPTION="Vipul's Razor is a distributed, collaborative spam detection and filtering network" +HOMEPAGE="http://razor.sourceforge.net" +SRC_URI="mirror://sourceforge/razor/razor-agents-${PV}.tar.gz" +LICENSE="Artistic" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc" + +RDEPEND="dev-lang/perl + dev-perl/Net-DNS + dev-perl/Time-HiRes + dev-perl/Digest-SHA1 + dev-perl/URI + dev-perl/Digest-Nilsimsa" + +src_install() { + + patch -p1 < ${FILESDIR}/razor_uninstall.patch + + perl-module_src_install +} + +pkg_postinst() { + +# insures appropriate symlinks have been created + /usr/bin/razor-client + +einfo "Run 'razor-admin -create' to create a default config file in your" +einfo "home directory under /home/user/.razor. (Remember to change user to" +einfo "your username from root before running razor-admin)" +einfo "" +einfo "Razor v2 requires reporters to be registered so their reputations can" +einfo "be computed over time and they can participate in the revocation" +einfo "mechanism. Registration is done with razor-admin -register. It has to be" +einfo "manually invoked in either of the following ways:" +einfo "" +einfo "To register user foo with 's1kret' as password: " +einfo "" +einfo "razor-admin -register -user=foo -pass=s1kr3t" +einfo "" +einfo "To register with an email address and have the password assigned:" +einfo "" +einfo "razor-admin -register -user=foo@bar.com " +einfo "" +einfo "To have both (random) username and password assgined: " +einfo "" +einfo "razor-admin -register " +einfo "" +einfo "razor-admin -register negotiates a registration with the Nomination Server" +einfo "and writes the identity information in" +einfo "/home/user/.razor/identity-username, or /etc/razor/identity-username" +einfo "when invoked as root." +einfo "" +einfo "You can edit razor-agent.conf to change the defaults. Config options" +einfo "and their values are defined in the razor-agent.conf(5) manpage." + +einfo "The next step is to integrate razor-check, razor-report and" +einfo "razor-revoke in your mail system. If you are running Razor v1, the" +einfo "change will be transparent, new versions of razor agents will overwrite" +einfo "the old ones. You would still need to plugin razor-revoke in your MUA," +einfo "since it's a new addition in Razor v2. If you are not running Razor v1," +einfo "refer to manpages of razor-check(1), razor-report(1), and" +einfo "razor-revoke(1) for integration instructions." +} diff --git a/mail-filter/razor/razor-2.36-r1.ebuild b/mail-filter/razor/razor-2.36-r1.ebuild new file mode 100644 index 000000000000..5ac7289f534c --- /dev/null +++ b/mail-filter/razor/razor-2.36-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/razor/razor-2.36-r1.ebuild,v 1.1 2004/06/03 07:28:42 seemant Exp $ + +inherit perl-module eutils + +DESCRIPTION="a distributed & collaborative spam detection and filtering network" +HOMEPAGE="http://razor.sourceforge.net/" +SRC_URI="mirror://sourceforge/razor/razor-agents-${PV}.tar.gz" + +LICENSE="Artistic" +SLOT="0" +KEYWORDS="x86 ~ppc sparc ~alpha ~amd64" + +RDEPEND="dev-lang/perl + dev-perl/Net-DNS + dev-perl/net-ping + dev-perl/Time-HiRes + dev-perl/Digest-SHA1 + dev-perl/URI + dev-perl/Digest-Nilsimsa" + +S=${WORKDIR}/razor-agents-${PV} + +src_unpack() { + unpack ${A} + cd ${S} + EPATCH_OPTS="--no-backup-if-mismatch" \ + epatch ${FILESDIR}/razor-taint.patch #29156 +} + +src_install() { + epatch ${FILESDIR}/no-install-razor-agents.patch #31365 + perl-module_src_install +} + +pkg_postinst() { + # insures appropriate symlinks have been created + /usr/bin/razor-client + + einfo "Run 'razor-admin -create' to create a default config file in your" + einfo "home directory under /home/user/.razor. (Remember to change user to" + einfo "your username from root before running razor-admin)" + einfo "" + einfo "Razor v2 requires reporters to be registered so their reputations can" + einfo "be computed over time and they can participate in the revocation" + einfo "mechanism. Registration is done with razor-admin -register. It has to be" + einfo "manually invoked in either of the following ways:" + einfo "" + einfo "To register user foo with 's1kret' as password: " + einfo "" + einfo "razor-admin -register -user=foo -pass=s1kr3t" + einfo "" + einfo "To register with an email address and have the password assigned:" + einfo "" + einfo "razor-admin -register -user=foo@bar.com " + einfo "" + einfo "To have both (random) username and password assgined: " + einfo "" + einfo "razor-admin -register " + einfo "" + einfo "razor-admin -register negotiates a registration with the Nomination Server" + einfo "and writes the identity information in" + einfo "/home/user/.razor/identity-username, or /etc/razor/identity-username" + einfo "when invoked as root." + einfo "" + einfo "You can edit razor-agent.conf to change the defaults. Config options" + einfo "and their values are defined in the razor-agent.conf(5) manpage." + + einfo "The next step is to integrate razor-check, razor-report and" + einfo "razor-revoke in your mail system. If you are running Razor v1, the" + einfo "change will be transparent, new versions of razor agents will overwrite" + einfo "the old ones. You would still need to plugin razor-revoke in your MUA," + einfo "since it's a new addition in Razor v2. If you are not running Razor v1," + einfo "refer to manpages of razor-check(1), razor-report(1), and" + einfo "razor-revoke(1) for integration instructions." +} diff --git a/mail-filter/razor/razor-2.36.ebuild b/mail-filter/razor/razor-2.36.ebuild new file mode 100644 index 000000000000..651dc58f94e7 --- /dev/null +++ b/mail-filter/razor/razor-2.36.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/razor/razor-2.36.ebuild,v 1.1 2004/06/03 07:28:42 seemant Exp $ + +inherit perl-module + +S="${WORKDIR}/razor-agents-${PV}" + +DESCRIPTION="Vipul's Razor is a distributed, collaborative spam detection and filtering network" +HOMEPAGE="http://razor.sourceforge.net" +SRC_URI="mirror://sourceforge/razor/razor-agents-${PV}.tar.gz" +LICENSE="Artistic" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc" + +RDEPEND="dev-lang/perl + dev-perl/Net-DNS + dev-perl/net-ping + dev-perl/Time-HiRes + dev-perl/Digest-SHA1 + dev-perl/URI + dev-perl/Digest-Nilsimsa" + +src_install() { + + patch -p1 < ${FILESDIR}/razor_uninstall.patch + + perl-module_src_install +} + +pkg_postinst() { + +# insures appropriate symlinks have been created + /usr/bin/razor-client + +einfo "Run 'razor-admin -create' to create a default config file in your" +einfo "home directory under /home/user/.razor. (Remember to change user to" +einfo "your username from root before running razor-admin)" +einfo "" +einfo "Razor v2 requires reporters to be registered so their reputations can" +einfo "be computed over time and they can participate in the revocation" +einfo "mechanism. Registration is done with razor-admin -register. It has to be" +einfo "manually invoked in either of the following ways:" +einfo "" +einfo "To register user foo with 's1kret' as password: " +einfo "" +einfo "razor-admin -register -user=foo -pass=s1kr3t" +einfo "" +einfo "To register with an email address and have the password assigned:" +einfo "" +einfo "razor-admin -register -user=foo@bar.com " +einfo "" +einfo "To have both (random) username and password assgined: " +einfo "" +einfo "razor-admin -register " +einfo "" +einfo "razor-admin -register negotiates a registration with the Nomination Server" +einfo "and writes the identity information in" +einfo "/home/user/.razor/identity-username, or /etc/razor/identity-username" +einfo "when invoked as root." +einfo "" +einfo "You can edit razor-agent.conf to change the defaults. Config options" +einfo "and their values are defined in the razor-agent.conf(5) manpage." + +einfo "The next step is to integrate razor-check, razor-report and" +einfo "razor-revoke in your mail system. If you are running Razor v1, the" +einfo "change will be transparent, new versions of razor agents will overwrite" +einfo "the old ones. You would still need to plugin razor-revoke in your MUA," +einfo "since it's a new addition in Razor v2. If you are not running Razor v1," +einfo "refer to manpages of razor-check(1), razor-report(1), and" +einfo "razor-revoke(1) for integration instructions." +} diff --git a/mail-filter/razor/razor-2.40-r1.ebuild b/mail-filter/razor/razor-2.40-r1.ebuild new file mode 100644 index 000000000000..0d9f0940390f --- /dev/null +++ b/mail-filter/razor/razor-2.40-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/razor/razor-2.40-r1.ebuild,v 1.1 2004/06/03 07:28:42 seemant Exp $ + +inherit perl-module eutils + +DESCRIPTION="Vipul's Razor is a distributed, collaborative spam detection and filtering network" +HOMEPAGE="http://razor.sourceforge.net/" +SRC_URI="mirror://sourceforge/razor/razor-agents-${PV}.tar.gz" +LICENSE="Artistic" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64" +S=${WORKDIR}/razor-agents-${PV} + +RDEPEND="dev-lang/perl + dev-perl/Net-DNS + dev-perl/net-ping + dev-perl/Time-HiRes + dev-perl/Digest-SHA1 + dev-perl/URI + dev-perl/Digest-Nilsimsa" + + +src_install() { + epatch ${FILESDIR}/no-install-razor-agents.patch #31365 + perl-module_src_install +} + +pkg_postinst() { + # insures appropriate symlinks have been created + /usr/bin/razor-client + + einfo "Run 'razor-admin -create' to create a default config file in your" + einfo "home directory under /home/user/.razor. (Remember to change user to" + einfo "your username from root before running razor-admin)" + einfo "" + einfo "Razor v2 requires reporters to be registered so their reputations can" + einfo "be computed over time and they can participate in the revocation" + einfo "mechanism. Registration is done with razor-admin -register. It has to be" + einfo "manually invoked in either of the following ways:" + einfo "" + einfo "To register user foo with 's1kret' as password: " + einfo "" + einfo "razor-admin -register -user=foo -pass=s1kr3t" + einfo "" + einfo "To register with an email address and have the password assigned:" + einfo "" + einfo "razor-admin -register -user=foo@bar.com " + einfo "" + einfo "To have both (random) username and password assgined: " + einfo "" + einfo "razor-admin -register " + einfo "" + einfo "razor-admin -register negotiates a registration with the Nomination Server" + einfo "and writes the identity information in" + einfo "/home/user/.razor/identity-username, or /etc/razor/identity-username" + einfo "when invoked as root." + einfo "" + einfo "You can edit razor-agent.conf to change the defaults. Config options" + einfo "and their values are defined in the razor-agent.conf(5) manpage." + + einfo "The next step is to integrate razor-check, razor-report and" + einfo "razor-revoke in your mail system. If you are running Razor v1, the" + einfo "change will be transparent, new versions of razor agents will overwrite" + einfo "the old ones. You would still need to plugin razor-revoke in your MUA," + einfo "since it's a new addition in Razor v2. If you are not running Razor v1," + einfo "refer to manpages of razor-check(1), razor-report(1), and" + einfo "razor-revoke(1) for integration instructions." +} diff --git a/mail-filter/razor/razor-2.40.ebuild b/mail-filter/razor/razor-2.40.ebuild new file mode 100644 index 000000000000..76efb04c686e --- /dev/null +++ b/mail-filter/razor/razor-2.40.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/razor/razor-2.40.ebuild,v 1.1 2004/06/03 07:28:42 seemant Exp $ + +inherit perl-module + +S="${WORKDIR}/razor-agents-${PV}" + +DESCRIPTION="Vipul's Razor is a distributed, collaborative spam detection and filtering network" +HOMEPAGE="http://razor.sourceforge.net" +SRC_URI="mirror://sourceforge/razor/razor-agents-${PV}.tar.gz" +LICENSE="Artistic" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc" + +RDEPEND="dev-lang/perl + dev-perl/Net-DNS + dev-perl/net-ping + dev-perl/Time-HiRes + dev-perl/Digest-SHA1 + dev-perl/URI + dev-perl/Digest-Nilsimsa" + +src_install() { + + patch -p1 < ${FILESDIR}/razor_uninstall.patch + + perl-module_src_install +} + +pkg_postinst() { + +# insures appropriate symlinks have been created + /usr/bin/razor-client + +einfo "Run 'razor-admin -create' to create a default config file in your" +einfo "home directory under /home/user/.razor. (Remember to change user to" +einfo "your username from root before running razor-admin)" +einfo "" +einfo "Razor v2 requires reporters to be registered so their reputations can" +einfo "be computed over time and they can participate in the revocation" +einfo "mechanism. Registration is done with razor-admin -register. It has to be" +einfo "manually invoked in either of the following ways:" +einfo "" +einfo "To register user foo with 's1kret' as password: " +einfo "" +einfo "razor-admin -register -user=foo -pass=s1kr3t" +einfo "" +einfo "To register with an email address and have the password assigned:" +einfo "" +einfo "razor-admin -register -user=foo@bar.com " +einfo "" +einfo "To have both (random) username and password assgined: " +einfo "" +einfo "razor-admin -register " +einfo "" +einfo "razor-admin -register negotiates a registration with the Nomination Server" +einfo "and writes the identity information in" +einfo "/home/user/.razor/identity-username, or /etc/razor/identity-username" +einfo "when invoked as root." +einfo "" +einfo "You can edit razor-agent.conf to change the defaults. Config options" +einfo "and their values are defined in the razor-agent.conf(5) manpage." + +einfo "The next step is to integrate razor-check, razor-report and" +einfo "razor-revoke in your mail system. If you are running Razor v1, the" +einfo "change will be transparent, new versions of razor agents will overwrite" +einfo "the old ones. You would still need to plugin razor-revoke in your MUA," +einfo "since it's a new addition in Razor v2. If you are not running Razor v1," +einfo "refer to manpages of razor-check(1), razor-report(1), and" +einfo "razor-revoke(1) for integration instructions." +} |