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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sun Mar 25 15:01:01 2012 UTC (2 years, 5 months ago) by armin76
Branch: MAIN
Changes since 1.7: +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.84.ebuild,v 1.7 2010/01/01 18:23:45 fauli 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 dev-perl/Digest-SHA1
21 dev-perl/URI
22 dev-perl/Digest-Nilsimsa"
23
24 S=${WORKDIR}/razor-agents-${PV}
25
26 pkg_postinst() {
27 elog
28 elog "Run 'razor-admin -create' to create a default config file in your"
29 elog "home directory under /home/user/.razor. (Remember to change user to"
30 elog "your username from root before running razor-admin)"
31 elog
32 elog "Razor v2 requires reporters to be registered so their reputations can"
33 elog "be computed over time and they can participate in the revocation"
34 elog "mechanism. Registration is done with razor-admin -register. It has to be"
35 elog "manually invoked in either of the following ways:"
36 elog
37 elog "To register user foo with 's1kr3t' as password: "
38 elog
39 elog "razor-admin -register -user=foo -pass=s1kr3t"
40 elog
41 elog "To register with an email address and have the password assigned:"
42 elog
43 elog "razor-admin -register -user=foo@bar.com "
44 elog
45 elog "To have both (random) username and password assgined: "
46 elog
47 elog "razor-admin -register "
48 elog
49 elog "razor-admin -register negotiates a registration with the Nomination Server"
50 elog "and writes the identity information in"
51 elog "/home/user/.razor/identity-username, or /etc/razor/identity-username"
52 elog "when invoked as root."
53 elog
54 elog "You can edit razor-agent.conf to change the defaults. Config options"
55 elog "and their values are defined in the razor-agent.conf(5) manpage."
56 elog
57 elog "The next step is to integrate razor-check, razor-report and"
58 elog "razor-revoke in your mail system. If you are running Razor v1, the"
59 elog "change will be transparent, new versions of razor agents will overwrite"
60 elog "the old ones. You would still need to plugin razor-revoke in your MUA,"
61 elog "since it's a new addition in Razor v2. If you are not running Razor v1,"
62 elog "refer to manpages of razor-check(1), razor-report(1), and"
63 elog "razor-revoke(1) for integration instructions."
64 elog
65 }

  ViewVC Help
Powered by ViewVC 1.1.20