summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Knight <tomk@gentoo.org>2004-08-07 16:44:41 +0000
committerTom Knight <tomk@gentoo.org>2004-08-07 16:44:41 +0000
commit5a7eb1435533c5f984f4228f91610b30e137937b (patch)
treecaca774548512098e3e8ff8371bad88bbfa458b4 /mail-filter/ask
parentStable on alpha. (diff)
downloadhistorical-5a7eb1435533c5f984f4228f91610b30e137937b.tar.gz
historical-5a7eb1435533c5f984f4228f91610b30e137937b.tar.bz2
historical-5a7eb1435533c5f984f4228f91610b30e137937b.zip
Initial import, thanks to Saleem A. for submitting this ebuild in bug #25952
Diffstat (limited to 'mail-filter/ask')
-rw-r--r--mail-filter/ask/ChangeLog9
-rw-r--r--mail-filter/ask/Manifest4
-rw-r--r--mail-filter/ask/ask-2.4.1.ebuild64
-rw-r--r--mail-filter/ask/files/digest-ask-2.4.11
-rw-r--r--mail-filter/ask/metadata.xml5
5 files changed, 83 insertions, 0 deletions
diff --git a/mail-filter/ask/ChangeLog b/mail-filter/ask/ChangeLog
new file mode 100644
index 000000000000..e772b9cee13a
--- /dev/null
+++ b/mail-filter/ask/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for mail-filter/ask
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/ask/ChangeLog,v 1.1 2004/08/07 16:44:41 tomk Exp $
+
+*ask-2.4.1 (07 Aug 2004)
+
+ 07 Aug 2004; Tom Knight <tomk@gentoo.org> +ask-2.4.1.ebuild:
+ Thanks to Saleem A. for submitting this ebuild in bug #25952
+
diff --git a/mail-filter/ask/Manifest b/mail-filter/ask/Manifest
new file mode 100644
index 000000000000..7f562cdd2d90
--- /dev/null
+++ b/mail-filter/ask/Manifest
@@ -0,0 +1,4 @@
+MD5 4dfdba495014ce46ab824a5a73c4cb00 ask-2.4.1.ebuild 1657
+MD5 61589a8f81e251b5ecf1d02dc67701b8 ChangeLog 354
+MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
+MD5 6d9189406cd0e6df7ea50a6e1d49ecfc files/digest-ask-2.4.1 61
diff --git a/mail-filter/ask/ask-2.4.1.ebuild b/mail-filter/ask/ask-2.4.1.ebuild
new file mode 100644
index 000000000000..33e58ae971a8
--- /dev/null
+++ b/mail-filter/ask/ask-2.4.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/ask/ask-2.4.1.ebuild,v 1.1 2004/08/07 16:44:41 tomk Exp $
+
+DESCRIPTION="Active Spam Killer: A program to filter spam"
+HOMEPAGE="http://www.paganini.net/ask/index.html"
+SRC_URI="mirror://sourceforge/a-s-k/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="procmail"
+RDEPEND=">=dev-lang/python-2.2
+ virtual/mta
+ procmail? ( >=mail-filter/procmail-3.22 )"
+
+src_install() {
+ into /
+ dobin ask.py asksetup.py askversion.py utils/asksenders.py
+
+ dodir /usr/lib/ask
+ insinto /usr/lib/ask
+ doins askconfig.py asklock.py asklog.py askmail.py askmain.py \
+ askmessage.py askremote.py
+
+ dodir /usr/share/ask/samples
+ insinto /usr/share/ask/samples
+ doins samples/*
+
+ dodir /usr/share/ask/templates
+ insinto /usr/share/ask/templates
+ doins templates/*
+
+ dodir /usr/share/ask/utils
+ insinto /usr/share/ask/utils
+ doins utils/*
+
+ doman docs/*.1
+
+ dodoc COPYING ChangeLog TODO
+
+ cd docs
+ dodoc ask_doc.*
+}
+
+pkg_postinst() {
+ einfo
+ einfo "You MUST run the asksetup.py file to configure ASK!"
+ einfo
+ if use procmail; then
+ einfo "To use ASK's procmail support these should be your first two procmail rules:"
+ einfo
+ einfo ":0 fW"
+ einfo "|/path_to_ask/ask.py --procmail --loglevel=5 --logfile=/your_home/ask.log"
+ einfo
+ einfo ":0 e"
+ einfo "/dev/null"
+ einfo
+ einfo "The second rule above instructs procmail to deliver the message to /dev/null"
+ einfo "if ASK returns a fail code. If you're truly paranoid, you can save those"
+ einfo "messages to a file instead for later inspection."
+ fi
+}
diff --git a/mail-filter/ask/files/digest-ask-2.4.1 b/mail-filter/ask/files/digest-ask-2.4.1
new file mode 100644
index 000000000000..cc6524302a60
--- /dev/null
+++ b/mail-filter/ask/files/digest-ask-2.4.1
@@ -0,0 +1 @@
+MD5 91de4625710755e76d7f44e32d5fd763 ask-2.4.1.tar.gz 102631
diff --git a/mail-filter/ask/metadata.xml b/mail-filter/ask/metadata.xml
new file mode 100644
index 000000000000..51f94e3fbe0e
--- /dev/null
+++ b/mail-filter/ask/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-mail</herd>
+</pkgmetadata>