/[gentoo-x86]/mail-filter/razor/razor-2.85.ebuild
Gentoo

Contents of /mail-filter/razor/razor-2.85.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Mar 25 15:01:01 2012 UTC (3 years, 2 months ago) by armin76
Branch: MAIN
Changes since 1.1: +3 -3 lines
Drop ia64, sparc stable wrt #397053

(Portage version: 2.1.10.49/cvs/Linux ia64, RepoMan options: --force)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/mail-filter/razor/razor-2.85.ebuild,v 1.1 2010/03/25 00:39:36 robbat2 Exp $
4
5 inherit perl-app
6
7 DESCRIPTION="Vipul's Razor is a distributed, collaborative spam detection and filtering network"
8 HOMEPAGE="http://razor.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/razor/razor-agents-${PV}.tar.bz2"
10 LICENSE="Artistic"
11 SLOT="0"
12 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
13 IUSE=""
14
15 DEPEND="dev-lang/perl"
16
17 RDEPEND="dev-perl/Net-DNS
18 virtual/perl-net-ping
19 virtual/perl-Time-HiRes
20 || ( virtual/perl-Digest-SHA dev-perl/Digest-SHA1 )
21 dev-perl/URI
22 dev-perl/Digest-Nilsimsa"
23
24 PATCHES=( "${FILESDIR}/${PN}-2.85-use-sha-not-sha1.patch" )
25
26 S=${WORKDIR}/razor-agents-${PV}
27
28 pkg_postinst() {
29 elog
30 elog "Run 'razor-admin -create' to create a default config file in your"
31 elog "home directory under /home/user/.razor. (Remember to change user to"
32 elog "your username from root before running razor-admin)"
33 elog
34 elog "Razor v2 requires reporters to be registered so their reputations can"
35 elog "be computed over time and they can participate in the revocation"
36 elog "mechanism. Registration is done with razor-admin -register. It has to be"
37 elog "manually invoked in either of the following ways:"
38 elog
39 elog "To register user foo with 's1kr3t' as password: "
40 elog
41 elog "razor-admin -register -user=foo -pass=s1kr3t"
42 elog
43 elog "To register with an email address and have the password assigned:"
44 elog
45 elog "razor-admin -register -user=foo@bar.com "
46 elog
47 elog "To have both (random) username and password assgined: "
48 elog
49 elog "razor-admin -register "
50 elog
51 elog "razor-admin -register negotiates a registration with the Nomination Server"
52 elog "and writes the identity information in"
53 elog "/home/user/.razor/identity-username, or /etc/razor/identity-username"
54 elog "when invoked as root."
55 elog
56 elog "You can edit razor-agent.conf to change the defaults. Config options"
57 elog "and their values are defined in the razor-agent.conf(5) manpage."
58 elog
59 elog "The next step is to integrate razor-check, razor-report and"
60 elog "razor-revoke in your mail system. If you are running Razor v1, the"
61 elog "change will be transparent, new versions of razor agents will overwrite"
62 elog "the old ones. You would still need to plugin razor-revoke in your MUA,"
63 elog "since it's a new addition in Razor v2. If you are not running Razor v1,"
64 elog "refer to manpages of razor-check(1), razor-report(1), and"
65 elog "razor-revoke(1) for integration instructions."
66 elog
67 }

  ViewVC Help
Powered by ViewVC 1.1.20