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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sun Jul 13 09:49:20 2014 UTC (2 months, 2 weeks ago) by zlogene
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Drop old.

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xC42EB5D6)

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

  ViewVC Help
Powered by ViewVC 1.1.20