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
commitc398f479e5e92dcba9c7895546e8c1fbc7a6bc45 (patch)
tree931fc7a9fdd24217c2aea897994f1ff5ddfcced0 /mail-filter/ask
parentStable on alpha. (Manifest recommit) (diff)
downloadgentoo-2-c398f479e5e92dcba9c7895546e8c1fbc7a6bc45.tar.gz
gentoo-2-c398f479e5e92dcba9c7895546e8c1fbc7a6bc45.tar.bz2
gentoo-2-c398f479e5e92dcba9c7895546e8c1fbc7a6bc45.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/Manifest3
-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, 82 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..d8a7e9f0f557
--- /dev/null
+++ b/mail-filter/ask/Manifest
@@ -0,0 +1,3 @@
+MD5 d99bba6d1c1fca3032589ba3f524d0e1 ask-2.4.1.ebuild 1571
+MD5 18a007e3b7163d193b927747336436e9 ChangeLog 269
+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>