diff options
author | Andrej Kacian <ticho@gentoo.org> | 2004-09-29 17:26:28 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2004-09-29 17:26:28 +0000 |
commit | f6bbefd01515bafe1f75a4564fe42b99c5da3ea4 (patch) | |
tree | 0b471ac6e6ea82e074ef1ad9df43c486cbff8c02 /mail-filter | |
parent | Version bumped. Added ~ppc64 which existed in 0.160.0. Removed old ebuild. (diff) | |
download | historical-f6bbefd01515bafe1f75a4564fe42b99c5da3ea4.tar.gz historical-f6bbefd01515bafe1f75a4564fe42b99c5da3ea4.tar.bz2 historical-f6bbefd01515bafe1f75a4564fe42b99c5da3ea4.zip |
Revision bump. Fix multipart-handling patch indentation. Closes #65753.
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/tmda/ChangeLog | 10 | ||||
-rw-r--r-- | mail-filter/tmda/Manifest | 12 | ||||
-rw-r--r-- | mail-filter/tmda/files/digest-tmda-1.0.3-r2 | 1 | ||||
-rw-r--r-- | mail-filter/tmda/files/tmda-1.0-multipart-handling.patch | 2 | ||||
-rw-r--r-- | mail-filter/tmda/tmda-1.0.3-r2.ebuild | 60 |
5 files changed, 78 insertions, 7 deletions
diff --git a/mail-filter/tmda/ChangeLog b/mail-filter/tmda/ChangeLog index 29f93f294e22..59a1ebdcc733 100644 --- a/mail-filter/tmda/ChangeLog +++ b/mail-filter/tmda/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for mail-filter/tmda # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/tmda/ChangeLog,v 1.8 2004/09/25 19:25:26 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/tmda/ChangeLog,v 1.9 2004/09/29 17:26:28 ticho Exp $ + +*tmda-1.0.3-r2 (29 Sep 2004) + + 29 Sep 2004; Andrej Kacian <ticho@gentoo.org> + files/tmda-1.0-multipart-handling.patch, +tmda-1.0.3-r2.ebuild: + Revision bump. Fix multipart-handling patch indentation, so it applies + cleanly. Thanks to Jesse D. Guardiani <jesse@wingnet.net> for fixing this. + Closes 65753. 25 Sep 2004; Andrej Kacian <ticho@gentoo.org> +files/tmda-1.0-multipart-handling.patch, diff --git a/mail-filter/tmda/Manifest b/mail-filter/tmda/Manifest index c861d6dff9dc..ec8886371be1 100644 --- a/mail-filter/tmda/Manifest +++ b/mail-filter/tmda/Manifest @@ -1,7 +1,8 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 75f6abc814c6b93fd4da6b21685e3107 ChangeLog 7444 +MD5 135eb14b2636a4c5cfb6f0219a401321 ChangeLog 7755 +MD5 b054d3c7bd392afff7c8544079f8f3ae tmda-1.0.3-r2.ebuild 1662 MD5 952475b22dac3406d5d71fdd44c6cde2 tmda-1.0-r1.ebuild 1634 MD5 477c54625aa12fe135542e36d6939d51 tmda-1.0.3-r1.ebuild 1662 MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161 @@ -12,12 +13,13 @@ MD5 5953212bfef29b28dc63d4602b7fb9fc files/digest-tmda-1.0 57 MD5 5953212bfef29b28dc63d4602b7fb9fc files/digest-tmda-1.0-r1 57 MD5 7bb9e7641e04129bd8f857fb7feb59e3 files/digest-tmda-0.92 58 MD5 c7e7e04f751268e6e20f08b217c81e47 files/digest-tmda-1.0.3 59 +MD5 c7e7e04f751268e6e20f08b217c81e47 files/digest-tmda-1.0.3-r2 59 MD5 c7e7e04f751268e6e20f08b217c81e47 files/digest-tmda-1.0.3-r1 59 -MD5 644add9bcbc9a3492abd25dfbe1b7a3b files/tmda-1.0-multipart-handling.patch 918 +MD5 19cf6a631b8348843ef86773c916d835 files/tmda-1.0-multipart-handling.patch 919 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) -iD8DBQFBVcYx10xuJSrg3/sRAhupAJ9hG2UaM6v/M3yXGMpPLhUfmnL/TgCfWBls -XWp/+6YPO2a+PJS5Ihk0jPI= -=mmcs +iD8DBQFBWvBN10xuJSrg3/sRAiz+AJsG9yqQByHE9//bIT3KMmNL3OQUEwCfUU+C +w4S6mcRVtsaealas4uJtdVA= +=MgUd -----END PGP SIGNATURE----- diff --git a/mail-filter/tmda/files/digest-tmda-1.0.3-r2 b/mail-filter/tmda/files/digest-tmda-1.0.3-r2 new file mode 100644 index 000000000000..ceb38dfa04d8 --- /dev/null +++ b/mail-filter/tmda/files/digest-tmda-1.0.3-r2 @@ -0,0 +1 @@ +MD5 e5710270586d52444f5d94ecbb0f318f tmda-1.0.3.tgz 392608 diff --git a/mail-filter/tmda/files/tmda-1.0-multipart-handling.patch b/mail-filter/tmda/files/tmda-1.0-multipart-handling.patch index cfd6362e222a..8651385bf072 100644 --- a/mail-filter/tmda/files/tmda-1.0-multipart-handling.patch +++ b/mail-filter/tmda/files/tmda-1.0-multipart-handling.patch @@ -11,7 +11,7 @@ + if type(payload) == type([]) and msg.is_multipart(): + return self._handle_multipart(msg) + else: -+ raise TypeError, 'string payload expected: %s' % type(payload) ++ raise TypeError, 'string payload expected: %s' % type(payload) + # AGW end if self._mangle_from_: payload = fcre.sub('>From ', payload) diff --git a/mail-filter/tmda/tmda-1.0.3-r2.ebuild b/mail-filter/tmda/tmda-1.0.3-r2.ebuild new file mode 100644 index 000000000000..aefe74a515e7 --- /dev/null +++ b/mail-filter/tmda/tmda-1.0.3-r2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/tmda/tmda-1.0.3-r2.ebuild,v 1.1 2004/09/29 17:26:28 ticho Exp $ + +inherit eutils + +DESCRIPTION="Python-based SPAM reduction system" +HOMEPAGE="http://www.tmda.net/" +LICENSE="GPL-2" + +DEPEND=">=dev-lang/python-2.2 + virtual/mta" + +SRC_URI="http://www.tmda.net/releases/stable/${P}.tgz" +SLOT="0" +KEYWORDS="~x86 ~sparc ~ppc" +IUSE="" + +src_compile () { + # Fix multipart mail handling. (See bug #60367) -ticho + epatch ${FILESDIR}/tmda-1.0-multipart-handling.patch + + ./compileall || die "tmda compilation failed" +} + +src_install () { + # Figure out python version + # below hack should be replaced w/ pkg-config, when we get it working + local pv=`python -V 2>&1 | sed -e 's:Python \([0-9].[0-9]\).*:\1:'` + + # Executables + dobin bin/tmda-* + + # The Python TMDA module + insinto "/usr/lib/python${pv}/site-packages/TMDA" + doins TMDA/*.py* + insinto "/usr/lib/python${pv}/site-packages/TMDA/pythonlib/email" + doins TMDA/pythonlib/email/*.py* + + # The templates + insinto /etc/tmda + doins templates/*.txt + + # Documentation + dodoc COPYING ChangeLog README THANKS UPGRADE CRYPTO CODENAMES INSTALL + dohtml -r htdocs/*.html + dohtml -r htdocs/img + + # Contributed binaries and stuff + cd ${S}/contrib + + exeinto /usr/lib/tmda/contrib + doexe collectaddys def2html printcdb printdbm \ + sendit.sh smtp-check-sender update-internaldomains vadduser-tmda \ + vmailmgr-vdir.sh vpopmail-vdir.sh wrapfd3.sh + + insinto /usr/lib/tmda/contrib + doins ChangeLog sample.config tmda.el tmda.spec \ + tofmipd.init tofmipd.sysconfig vtmdarc +} |