Gentoo Archives: gentoo-commits

From: "Torsten Veller (tove)" <tove@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-perl/Mail-SpamAssassin-Plugin-GoogleSafeBrowsing: ChangeLog Mail-SpamAssassin-Plugin-GoogleSafeBrowsing-1.30.0.ebuild
Date: Tue, 30 Aug 2011 10:42:58
Message-Id: 20110830104246.42C1E2004C@flycatcher.gentoo.org
1 tove 11/08/30 10:42:46
2
3 Modified: ChangeLog
4 Added:
5 Mail-SpamAssassin-Plugin-GoogleSafeBrowsing-1.30.0.ebuild
6 Log:
7 Change version scheme
8
9 (Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.5 dev-perl/Mail-SpamAssassin-Plugin-GoogleSafeBrowsing/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/Mail-SpamAssassin-Plugin-GoogleSafeBrowsing/ChangeLog?rev=1.5&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/Mail-SpamAssassin-Plugin-GoogleSafeBrowsing/ChangeLog?rev=1.5&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/Mail-SpamAssassin-Plugin-GoogleSafeBrowsing/ChangeLog?r1=1.4&r2=1.5
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-perl/Mail-SpamAssassin-Plugin-GoogleSafeBrowsing/ChangeLog,v
21 retrieving revision 1.4
22 retrieving revision 1.5
23 diff -u -r1.4 -r1.5
24 --- ChangeLog 23 Apr 2010 11:47:31 -0000 1.4
25 +++ ChangeLog 30 Aug 2011 10:42:46 -0000 1.5
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-perl/Mail-SpamAssassin-Plugin-GoogleSafeBrowsing
28 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/Mail-SpamAssassin-Plugin-GoogleSafeBrowsing/ChangeLog,v 1.4 2010/04/23 11:47:31 tove Exp $
30 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Mail-SpamAssassin-Plugin-GoogleSafeBrowsing/ChangeLog,v 1.5 2011/08/30 10:42:46 tove Exp $
32 +
33 +*Mail-SpamAssassin-Plugin-GoogleSafeBrowsing-1.30.0 (30 Aug 2011)
34 +
35 + 30 Aug 2011; Torsten Veller <tove@g.o>
36 + +Mail-SpamAssassin-Plugin-GoogleSafeBrowsing-1.30.0.ebuild:
37 + Change version scheme
38
39 23 Apr 2010; Torsten Veller <tove@g.o>
40 Mail-SpamAssassin-Plugin-GoogleSafeBrowsing-1.03-r1.ebuild:
41
42
43
44 1.1 dev-perl/Mail-SpamAssassin-Plugin-GoogleSafeBrowsing/Mail-SpamAssassin-Plugin-GoogleSafeBrowsing-1.30.0.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/Mail-SpamAssassin-Plugin-GoogleSafeBrowsing/Mail-SpamAssassin-Plugin-GoogleSafeBrowsing-1.30.0.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/Mail-SpamAssassin-Plugin-GoogleSafeBrowsing/Mail-SpamAssassin-Plugin-GoogleSafeBrowsing-1.30.0.ebuild?rev=1.1&content-type=text/plain
48
49 Index: Mail-SpamAssassin-Plugin-GoogleSafeBrowsing-1.30.0.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-perl/Mail-SpamAssassin-Plugin-GoogleSafeBrowsing/Mail-SpamAssassin-Plugin-GoogleSafeBrowsing-1.30.0.ebuild,v 1.1 2011/08/30 10:42:46 tove Exp $
54
55 EAPI=4
56
57 MODULE_AUTHOR=DANBORN
58 MODULE_VERSION=1.03
59 inherit perl-module
60
61 DESCRIPTION="SpamAssassin plugin to score mail based on Google blocklists."
62
63 LICENSE="Apache-2.0"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86 ~ppc"
66 IUSE="test"
67
68 RDEPEND="dev-perl/Net-Google-SafeBrowsing-Blocklist
69 dev-perl/Net-Google-SafeBrowsing-UpdateRequest
70 mail-filter/spamassassin"
71 DEPEND="${RDEPEND}
72 test? ( dev-perl/Test-Pod )"
73
74 SRC_TEST="do"
75
76 src_install() {
77 perl-module_src_install
78 insinto /etc/mail/spamassassin
79 doins "${FILESDIR}"/init_google_safebrowsing.pre
80 doins "${FILESDIR}"/24_google_safebrowsing.cf
81 insinto /etc/cron.d/
82 newins "${FILESDIR}"/update_google_safebrowsing.cron update_google_safebrowsing
83 dosbin "${FILESDIR}"/update_google_safebrowsing.sh
84 keepdir /var/lib/spamassassin/google_safebrowsing/
85 }
86
87 pkg_postinst() {
88 if [[ -f ${ROOT}/etc/cron.d/update_google_safebrowsing.sh ]]; then
89 ewarn "You MUST remove ${ROOT}/etc/cron.d/update_google_safebrowsing.sh"
90 fi
91 elog "To use this package:"
92 elog "1. You MUST apply for a free apikey at:"
93 elog " http://code.google.com/apis/safebrowsing/key_signup.html"
94 elog "2. Place the key into /etc/mail/spamassassin/24_google_safebrowsing.cf"
95 elog "3. Manually run the script /usr/sbin/update_google_safebrowsing.sh"
96 elog "4. Enable the plugin by uncommenting the loadplugin entry in"
97 elog " /etc/mail/spamassassin/init_google_safebrowsing.pre"
98 elog "5. Restart spamd"
99 }