Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-filter/spamassassin-botnet: spamassassin-botnet-0.8-r1.ebuild ChangeLog spamassassin-botnet-0.8.ebuild
Date: Sun, 01 Sep 2013 17:02:35
Message-Id: 20130901170226.0EB0E2004C@flycatcher.gentoo.org
1 idella4 13/09/01 17:02:25
2
3 Modified: ChangeLog
4 Added: spamassassin-botnet-0.8-r1.ebuild
5 Removed: spamassassin-botnet-0.8.ebuild
6 Log:
7 revbump -> EAPI5, remove old
8
9 (Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
10
11 Revision Changes Path
12 1.5 mail-filter/spamassassin-botnet/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/spamassassin-botnet/ChangeLog?rev=1.5&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/spamassassin-botnet/ChangeLog?rev=1.5&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/spamassassin-botnet/ChangeLog?r1=1.4&r2=1.5
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/mail-filter/spamassassin-botnet/ChangeLog,v
21 retrieving revision 1.4
22 retrieving revision 1.5
23 diff -u -r1.4 -r1.5
24 --- ChangeLog 17 Jun 2012 15:06:13 -0000 1.4
25 +++ ChangeLog 1 Sep 2013 17:02:25 -0000 1.5
26 @@ -1,6 +1,12 @@
27 # ChangeLog for mail-filter/spamassassin-botnet
28 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin-botnet/ChangeLog,v 1.4 2012/06/17 15:06:13 ago Exp $
30 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin-botnet/ChangeLog,v 1.5 2013/09/01 17:02:25 idella4 Exp $
32 +
33 +*spamassassin-botnet-0.8-r1 (01 Sep 2013)
34 +
35 + 01 Sep 2013; Ian Delaney <idella4@g.o>
36 + +spamassassin-botnet-0.8-r1.ebuild, -spamassassin-botnet-0.8.ebuild:
37 + revbump -> EAPI5, remove old
38
39 17 Jun 2012; Agostino Sarubbo <ago@g.o>
40 -spamassassin-botnet-0.7.ebuild:
41 @@ -21,4 +27,3 @@
42 23 Feb 2007; Patrick McLean <chutzpah@g.o> +metadata.xml,
43 +spamassassin-botnet-0.7.ebuild:
44 Initial import.
45 -
46
47
48
49 1.1 mail-filter/spamassassin-botnet/spamassassin-botnet-0.8-r1.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/spamassassin-botnet/spamassassin-botnet-0.8-r1.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/spamassassin-botnet/spamassassin-botnet-0.8-r1.ebuild?rev=1.1&content-type=text/plain
53
54 Index: spamassassin-botnet-0.8-r1.ebuild
55 ===================================================================
56 # Copyright 1999-2013 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin-botnet/spamassassin-botnet-0.8-r1.ebuild,v 1.1 2013/09/01 17:02:25 idella4 Exp $
59
60 EAPI=5
61
62 inherit perl-module
63
64 MY_PN="${PN/b/B}"
65 MY_PN="${MY_PN/spamassassin-/}"
66 MY_P="${MY_PN}-${PV}"
67 DESCRIPTION="SpamAssassin plugin that attempts to detect messages sent by a botnet"
68 HOMEPAGE="http://people.ucsc.edu/~jrudd/spamassassin/"
69 SRC_URI="http://people.ucsc.edu/~jrudd/spamassassin/${MY_P}.tar"
70
71 LICENSE="GPL-2"
72 SLOT="0"
73 KEYWORDS="~amd64 ~x86"
74 IUSE=""
75
76 DEPEND=">=mail-filter/spamassassin-3.0.0"
77 RDEPEND="${DEPEND}"
78
79 S="${WORKDIR}"
80
81 src_compile() {
82 # make sure it doesn't try to look for the .pm in the same dir as the .cf
83 sed -rie 's/^(loadplugin.+)[ ]+Botnet.pm/\1/' Botnet.cf
84 }
85
86 src_install() {
87 perlinfo
88
89 local plugin_dir=${VENDOR_LIB}/Mail/SpamAssassin/Plugin
90
91 insinto ${plugin_dir}
92 doins ${MY_PN}.pm
93
94 insinto /etc/mail/spamassassin/
95 doins ${MY_PN}.cf
96
97 dodoc ${MY_PN}{{.{api,credits,variants},}.txt,.pl}
98 }
99
100 pkg_postinst() {
101 echo
102 elog "You need to restart spamassassin (as root) before this plugin will work:"
103 elog "/etc/init.d/spamd restart"
104 echo
105 }