summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2004-06-03 07:20:45 +0000
committerSeemant Kulleen <seemant@gentoo.org>2004-06-03 07:20:45 +0000
commit0b5d5784189fc2b2692da2a84492507f15e365f8 (patch)
tree697e94a5a7d67a37ab3e49a66c8ad2c85f90acfb /mail-filter
parentMoving to mail-filter/mailfilter (diff)
downloadhistorical-0b5d5784189fc2b2692da2a84492507f15e365f8.tar.gz
historical-0b5d5784189fc2b2692da2a84492507f15e365f8.tar.bz2
historical-0b5d5784189fc2b2692da2a84492507f15e365f8.zip
Moved from net-mail/mailfilter to mail-filter/mailfilter.
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/dcc/Manifest4
-rw-r--r--mail-filter/mailfilter/ChangeLog30
-rw-r--r--mail-filter/mailfilter/Manifest8
-rw-r--r--mail-filter/mailfilter/files/digest-mailfilter-0.4.01
-rw-r--r--mail-filter/mailfilter/files/digest-mailfilter-0.61
-rw-r--r--mail-filter/mailfilter/files/rcfile.example1117
-rw-r--r--mail-filter/mailfilter/files/rcfile.example2129
-rw-r--r--mail-filter/mailfilter/mailfilter-0.4.0.ebuild38
-rw-r--r--mail-filter/mailfilter/mailfilter-0.6.ebuild38
-rw-r--r--mail-filter/mailfilter/metadata.xml5
10 files changed, 369 insertions, 2 deletions
diff --git a/mail-filter/dcc/Manifest b/mail-filter/dcc/Manifest
index b94f09f2b7c3..829afad94d3e 100644
--- a/mail-filter/dcc/Manifest
+++ b/mail-filter/dcc/Manifest
@@ -1,4 +1,4 @@
-MD5 28242c59b16ea7c8b8f3070bd4d816d8 dcc-1.2.28.ebuild 3071
-MD5 10595585d817c28e26035aab612a4b32 ChangeLog 370
+MD5 2f6ac68333aa3554accc6a3803cc72ad dcc-1.2.28.ebuild 3075
+MD5 9472bf0d507a03bb167dc24e28891d41 ChangeLog 674
MD5 2f5d2faaf988e9e5fdad1e48c66f6fc4 metadata.xml 224
MD5 f4024b299ddf4d0921ef9dc6cce1b0c3 files/digest-dcc-1.2.28 67
diff --git a/mail-filter/mailfilter/ChangeLog b/mail-filter/mailfilter/ChangeLog
new file mode 100644
index 000000000000..be6e97b48908
--- /dev/null
+++ b/mail-filter/mailfilter/ChangeLog
@@ -0,0 +1,30 @@
+# ChangeLog for net-mail/mailfilter
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/mailfilter/ChangeLog,v 1.1 2004/06/03 07:20:45 seemant Exp $
+
+*mailfilter-0.4.0 (03 Jun 2004)
+
+ 03 Jun 2004; Seemant Kulleen <seemant@gentoo.org> +metadata.xml,
+ +files/rcfile.example1, +files/rcfile.example2, +mailfilter-0.4.0.ebuild,
+ +mailfilter-0.6.ebuild:
+ Moved from net-mail/mailfilter to mail-filter/mailfilter.
+
+*mailfilter-0.6 (07 Nov 2003)
+
+ 07 Nov 2003; Greg Fitzgerald <gregf@gentoo.org> mailfilter-0.6.ebuild:
+ Version Bump.
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*mailfilter-0.4.0 (5 June 2002)
+
+ 5 June 2002; Ryan Phillips <rphillips@gentoo.org> mailfilter-0.4.0.ebuild :
+
+ Updated submitted by mike polniak <mikpolniak at adelphia.net>
+
+*mailfilter-0.3.1 (10 Feb 2002)
+
+ 10 Feb 2002; mike polniak <mikpolniak@adelphia.net> mailfilter-0.3.1.ebuild
+
+
+ Mailfilter is a utility to get rid of unwanted spam mails
diff --git a/mail-filter/mailfilter/Manifest b/mail-filter/mailfilter/Manifest
new file mode 100644
index 000000000000..75ebe15f1718
--- /dev/null
+++ b/mail-filter/mailfilter/Manifest
@@ -0,0 +1,8 @@
+MD5 3457f1485350c4c53437139255477fb2 ChangeLog 778
+MD5 7b4b8025a9637a033af7a169090223ba mailfilter-0.4.0.ebuild 965
+MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
+MD5 56a083a5a3b41c6d7685d9783f89bc96 mailfilter-0.6.ebuild 965
+MD5 99319faac6b64efd8bd8b5eeac8cdde7 files/digest-mailfilter-0.4.0 68
+MD5 24547a38bf50c5c24811a8ac677ce1a7 files/rcfile.example1 3478
+MD5 d457aec252645036a2747352e8fd82b5 files/rcfile.example2 4197
+MD5 cf24facc40700b1105ed164678ea9c31 files/digest-mailfilter-0.6 66
diff --git a/mail-filter/mailfilter/files/digest-mailfilter-0.4.0 b/mail-filter/mailfilter/files/digest-mailfilter-0.4.0
new file mode 100644
index 000000000000..bc1134a332c6
--- /dev/null
+++ b/mail-filter/mailfilter/files/digest-mailfilter-0.4.0
@@ -0,0 +1 @@
+MD5 0afe3eb14a5d45d1908b8cf9ec3e9948 mailfilter-0.4.0.tar.gz 371817
diff --git a/mail-filter/mailfilter/files/digest-mailfilter-0.6 b/mail-filter/mailfilter/files/digest-mailfilter-0.6
new file mode 100644
index 000000000000..cbe7eb2bc498
--- /dev/null
+++ b/mail-filter/mailfilter/files/digest-mailfilter-0.6
@@ -0,0 +1 @@
+MD5 00066598d56cd2d9d3ac5c4b43cf1638 mailfilter-0.6.tar.gz 482738
diff --git a/mail-filter/mailfilter/files/rcfile.example1 b/mail-filter/mailfilter/files/rcfile.example1
new file mode 100644
index 000000000000..900fd4750bfa
--- /dev/null
+++ b/mail-filter/mailfilter/files/rcfile.example1
@@ -0,0 +1,117 @@
+# -----------------------------------------------------------
+# Example rcfile from the INSTALL document
+# -----------------------------------------------------------
+
+
+# -----------------------------------------------------------
+# Logile path (be sure you have write permission in this
+# directory; you MUST specify a logfile)
+
+LOGFILE=/home/tux/logs/.mailfilter.log
+
+
+# -----------------------------------------------------------
+# Level of verbosity
+
+VERBOSE=3
+
+
+# -----------------------------------------------------------
+# POP3 server list (do not change the order of the fields!)
+# Note: Port 110 is usually the port POP3 servers use.
+# Currently only POP3 is supported.
+
+SERVER=pop.server.com
+USER=username
+PASS=password
+PROTOCOL=pop3
+PORT=110
+
+SERVER=pop.secondserver.com
+USER=anotherusername
+PASS=anotherusername
+PROTOCOL=pop3
+PORT=110
+
+
+# -----------------------------------------------------------
+# Do you want case sensitive e-mail filters? { yes | no }
+
+REG_CASE=no
+
+
+# -----------------------------------------------------------
+# Sets the type of Regular Expression used { extended | basic }
+#
+# (The default is 'basic', don't change unless you know what you
+# are doing. Extended REs are more complex to set up.)
+
+REG_TYPE=basic
+
+
+# -----------------------------------------------------------
+# Maximum e-mail size in bytes that should not be exceeded.
+
+MAXSIZE_DENY=1000000
+
+
+# -----------------------------------------------------------
+# Set maximum line length of any field in the message header
+# (default is 998 characters per line; 0 to disable option)
+
+MAXLENGTH=998
+
+
+# ----------------------------------------------------------
+# Filter rules for detecting spam (each rule must be placed
+# in a seperate line)
+
+# These filters detect certain unpleasant e-mail subjects:
+DENY=^Subject:.*Get penis enlargement
+DENY=^Subject:.*WIN MONEY
+
+# This one filters mail from a certain person:
+DENY=^From:.*spammer@any_spam_organisation.com
+
+# This one filters mail from everyone at a certain organisation:
+DENY=^From:.*@any_provider_that_spams.org
+
+# We don't want any of those 'LEGAL' messages either
+# while stuff with 'legal' in the subject still interests us:
+DENY_CASE=^Subject:.*LEGAL
+
+
+# -----------------------------------------------------------
+# Normalises the subject strings before parsing, e.g.
+# ',L.E-G,A.L; ,C.A-B`L`E, +.B-O`X` ;D`E`S,C;R,A.MB;L,E.R-]'
+# becomes 'LEGAL CABLE BOX DESCRAMBLER' which can be filtered.
+#
+# If NORMAL is switched on, Mailfilter tries to apply filters
+# to both the normalised and the original subject.
+
+NORMAL=yes
+
+
+# -----------------------------------------------------------
+# The maximum e-mail size in bytes that messages from friends
+# should not exceed. Set this to 0 if all your friends (ALLOW)
+# can send messages as long as they want.
+
+MAXSIZE_ALLOW=0
+
+
+# ----------------------------------------------------------
+# Set list of friends that always pass, if they do not
+# exceed the message length of MAXSIZE_ALLOW
+
+# This rule allows all mail from a friend who was unlucky enough
+# to have signed up with a spam organisation. With DENY we
+# block everyone else from that domain though! See above!
+ALLOW=^From:.*a_friend_with_account@any_provider_that_spams.org
+
+# Of course we allow e-mail from anyone who has something to say about
+# mailfilter:
+ALLOW=^Subject:.*mailfilter
+
+# We also let our girlfriend send any e-mail she wants:
+ALLOW=^From:.*my_girlfriend@any_provider.com
diff --git a/mail-filter/mailfilter/files/rcfile.example2 b/mail-filter/mailfilter/files/rcfile.example2
new file mode 100644
index 000000000000..9439ca38d589
--- /dev/null
+++ b/mail-filter/mailfilter/files/rcfile.example2
@@ -0,0 +1,129 @@
+# -----------------------------------------------------------
+# Example configuration based upon the INSTALL document, but
+# showing some advanced features such as 'Negative Filters',
+# extended Regular Expressions, etc.
+# -----------------------------------------------------------
+
+
+# -----------------------------------------------------------
+# Logile path (be sure you have write permission in this
+# directory; you MUST specify a logfile)
+
+LOGFILE=/home/tux/logs/.mailfilter.log
+
+
+# -----------------------------------------------------------
+# Level of verbosity
+
+VERBOSE=4
+
+
+# -----------------------------------------------------------
+# POP3 server list (do not change the order of the fields!)
+# Note: Port 110 is usually the port POP3 servers use.
+# Currently only POP3 is supported.
+
+SERVER=pop.server.com
+USER=username
+PASS=password
+PROTOCOL=pop3
+PORT=110
+
+SERVER=pop.secondserver.com
+USER=anotherusername
+PASS=anotherusername
+PROTOCOL=pop3
+PORT=110
+
+
+# -----------------------------------------------------------
+# Do you want case sensitive e-mail filters? { yes | no }
+
+REG_CASE=no
+
+
+# -----------------------------------------------------------
+# Sets the type of Regular Expression used { extended | basic }
+#
+# (The default is 'basic', don't change unless you know what you
+# are doing. Extended REs are more complex to set up.)
+
+# We want some additional smartness in our rules. That's why only
+# extended Regular Expressions work for this sample set-up.
+REG_TYPE=extended
+
+
+# -----------------------------------------------------------
+# Maximum e-mail size in bytes that should not be exceeded.
+
+# Accept only 250 KBytes message size. Friends can send more though.
+# (See MAXSIZE_ALLOW for further information.)
+MAXSIZE_DENY=250000
+
+
+# -----------------------------------------------------------
+# Set maximum line length of any field in the message header
+# (default is 998 characters per line; 0 to disable option)
+
+MAXLENGTH=998
+
+
+# ----------------------------------------------------------
+# Filter rules for detecting spam (each rule must be placed
+# in a seperate line)
+
+# This one filters mail from a certain person.
+# (We need the back slash before the '.com' since we are using
+# extended Regular Expressions.)
+DENY=^From:.*spammer@any_spam_organisation\.com
+
+# This one filters mail from everyone at a certain organisation:
+DENY=^From:.*@any_provider_that_spams\.org
+
+# We don't want any of those 'LEGAL' messages either
+# while stuff with 'legal' in the subject still interests us:
+DENY_CASE=^Subject:.*LEGAL
+
+# This one demonstrates the use of 'Negative Filters' and the
+# logical OR '|' in Regular Expressions.
+# (Again, the example works only with extended Regular Expressions.)
+# Kill everything not directly addressed to own account:
+DENY<>(^To|^Cc):(.*username@server\.com|.*anotherusername@secondserver\.com)
+
+
+# -----------------------------------------------------------
+# Normalises the subject strings before parsing, e.g.
+# ',L.E-G,A.L; ,C.A-B`L`E, +.B-O`X` ;D`E`S,C;R,A.MB;L,E.R-]'
+# becomes 'LEGAL CABLE BOX DESCRAMBLER' which can be filtered.
+#
+# If NORMAL is switched on, Mailfilter tries to apply filters
+# to both the normalised and the original subject.
+
+NORMAL=yes
+
+
+# -----------------------------------------------------------
+# The maximum e-mail size in bytes that messages from friends
+# should not exceed. Set this to 0 if all your friends (ALLOW)
+# can send messages as long as they want.
+
+# Accept only up to 0.5 MBytes message size from those listed
+# in the ALLOW rules
+MAXSIZE_ALLOW=500000
+
+
+# ----------------------------------------------------------
+# Set list of friends that always pass, if they do not
+# exceed the message length of MAXSIZE_ALLOW
+
+# This rule allows all mail from a friend who was unlucky enough
+# to have signed up with a spam organisation. With DENY we
+# block everyone else from that domain though! See above!
+ALLOW=^From:.*a_friend_with_account@any_provider_that_spams\.org
+
+# Of course we allow e-mail from anyone who has something to say about
+# mailfilter:
+ALLOW=^Subject:.*mailfilter
+
+# We also let our girlfriend send any e-mail she wants:
+ALLOW=^From:.*my_girlfriend@any_provider\.com
diff --git a/mail-filter/mailfilter/mailfilter-0.4.0.ebuild b/mail-filter/mailfilter/mailfilter-0.4.0.ebuild
new file mode 100644
index 000000000000..4472c89c0915
--- /dev/null
+++ b/mail-filter/mailfilter/mailfilter-0.4.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/mailfilter/mailfilter-0.4.0.ebuild,v 1.1 2004/06/03 07:20:45 seemant Exp $
+
+IUSE="nls"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Mailfilter is a utility to get rid of unwanted spam mails"
+SRC_URI="mirror://sourceforge/mailfilter/${P}.tar.gz"
+HOMEPAGE="http://mailfilter.sourceforge.net/index.html"
+
+DEPEND="virtual/glibc"
+RDEPEND="nls? ( sys-devel/gettext )"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 sparc"
+
+src_compile() {
+
+ local myconf
+ use nls || myconf="${myconf} --disable-nls"
+
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man ${myconf} || die "./configure failed"
+ make || die
+}
+
+src_install () {
+
+ make DESTDIR=${D} install || die
+ dodoc INSTALL doc/FAQ doc/rcfile.example1 doc/rcfile.example2
+ dodoc README THANKS ChangeLog AUTHORS NEWS TODO
+
+}
diff --git a/mail-filter/mailfilter/mailfilter-0.6.ebuild b/mail-filter/mailfilter/mailfilter-0.6.ebuild
new file mode 100644
index 000000000000..d3a18b7525d8
--- /dev/null
+++ b/mail-filter/mailfilter/mailfilter-0.6.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/mailfilter/mailfilter-0.6.ebuild,v 1.1 2004/06/03 07:20:45 seemant Exp $
+
+IUSE="nls"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Mailfilter is a utility to get rid of unwanted spam mails"
+SRC_URI="mirror://sourceforge/mailfilter/${P}.tar.gz"
+HOMEPAGE="http://mailfilter.sourceforge.net/index.html"
+
+DEPEND="virtual/glibc"
+RDEPEND="nls? ( sys-devel/gettext )"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~sparc"
+
+src_compile() {
+
+ local myconf
+ use nls || myconf="${myconf} --disable-nls"
+
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man ${myconf} || die "./configure failed"
+ make || die
+}
+
+src_install () {
+
+ make DESTDIR=${D} install || die
+ dodoc INSTALL doc/FAQ doc/rcfile.example1 doc/rcfile.example2
+ dodoc README THANKS ChangeLog AUTHORS NEWS TODO
+
+}
diff --git a/mail-filter/mailfilter/metadata.xml b/mail-filter/mailfilter/metadata.xml
new file mode 100644
index 000000000000..51f94e3fbe0e
--- /dev/null
+++ b/mail-filter/mailfilter/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>