/[gentoo-x86]/mail-filter/ask/ask-2.4.1.ebuild
Gentoo

Contents of /mail-filter/ask/ask-2.4.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Mar 18 02:48:19 2007 UTC (7 years, 6 months ago) by genone
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +16 -16 lines
Replacing einfo with elog
(Portage version: 2.1.2.2)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/mail-filter/ask/ask-2.4.1.ebuild,v 1.5 2005/06/05 11:53:47 hansmi Exp $
4
5 DESCRIPTION="Active Spam Killer: A program to filter spam"
6 HOMEPAGE="http://www.paganini.net/ask/index.html"
7 SRC_URI="mirror://sourceforge/a-s-k/${P}.tar.gz"
8
9 LICENSE="GPL-2"
10 SLOT="0"
11 KEYWORDS="ppc x86"
12
13 IUSE="procmail"
14 RDEPEND=">=dev-lang/python-2.2
15 virtual/mta
16 procmail? ( >=mail-filter/procmail-3.22 )"
17
18 src_install() {
19 into /
20 dobin ask.py asksetup.py askversion.py utils/asksenders.py
21
22 insinto /usr/lib/ask
23 doins askconfig.py asklock.py asklog.py askmail.py askmain.py \
24 askmessage.py askremote.py
25
26 insinto /usr/share/ask/samples
27 doins samples/*
28
29 insinto /usr/share/ask/templates
30 doins templates/*
31
32 insinto /usr/share/ask/utils
33 doins utils/*
34
35 doman docs/*.1
36
37 dodoc ChangeLog TODO docs/ask_doc*
38 }
39
40 pkg_postinst() {
41 elog
42 elog "You MUST run the asksetup.py file to configure ASK!"
43 elog
44 if use procmail; then
45 elog "To use ASK's procmail support these should be your first two procmail rules:"
46 elog
47 elog ":0 fW"
48 elog "|/path_to_ask/ask.py --procmail --loglevel=5 --logfile=/your_home/ask.log"
49 elog
50 elog ":0 e"
51 elog "/dev/null"
52 elog
53 elog "The second rule above instructs procmail to deliver the message to /dev/null"
54 elog "if ASK returns a fail code. If you're truly paranoid, you can save those"
55 elog "messages to a file instead for later inspection."
56 fi
57 }

  ViewVC Help
Powered by ViewVC 1.1.20