summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArcady Genkin <agenkin@gentoo.org>2003-04-14 18:46:22 +0000
committerArcady Genkin <agenkin@gentoo.org>2003-04-14 18:46:22 +0000
commit7499fb52bc8617374a8966bfc95149fc981a3d9d (patch)
tree8981321b9c2db30acd93031494d5be965ddc8bbe /net-mail/tmda
parentVersion bumped. (diff)
downloadgentoo-2-7499fb52bc8617374a8966bfc95149fc981a3d9d.tar.gz
gentoo-2-7499fb52bc8617374a8966bfc95149fc981a3d9d.tar.bz2
gentoo-2-7499fb52bc8617374a8966bfc95149fc981a3d9d.zip
Version bump.
Diffstat (limited to 'net-mail/tmda')
-rw-r--r--net-mail/tmda/ChangeLog10
-rw-r--r--net-mail/tmda/files/digest-tmda-0.741
-rw-r--r--net-mail/tmda/tmda-0.74.ebuild58
3 files changed, 68 insertions, 1 deletions
diff --git a/net-mail/tmda/ChangeLog b/net-mail/tmda/ChangeLog
index 69ad6d806cbe..13accf83f3fa 100644
--- a/net-mail/tmda/ChangeLog
+++ b/net-mail/tmda/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-mail/tmda
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/tmda/ChangeLog,v 1.29 2003/03/09 04:25:46 agenkin Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/tmda/ChangeLog,v 1.30 2003/04/14 18:46:22 agenkin Exp $
+
+*tmda-0.74 (14 Apr 2003)
+
+ 14 Apr 2003; Arcady Genkin <agenkin@gentoo.org> :
+ Updated to 0.74.
+ tmda-cgi is now distributed separately, so somebody would have to write
+ an ebuild for that package now.
+ Made sure all the stuff under contrib/ gets installed.
*tmda-0.71 ( 08 Mar 2003 )
diff --git a/net-mail/tmda/files/digest-tmda-0.74 b/net-mail/tmda/files/digest-tmda-0.74
new file mode 100644
index 000000000000..82f7f797eb44
--- /dev/null
+++ b/net-mail/tmda/files/digest-tmda-0.74
@@ -0,0 +1 @@
+MD5 4bf03a315f7d34be226a6716af00d6a6 tmda-0.74.tgz 299407
diff --git a/net-mail/tmda/tmda-0.74.ebuild b/net-mail/tmda/tmda-0.74.ebuild
new file mode 100644
index 000000000000..93538d00382b
--- /dev/null
+++ b/net-mail/tmda/tmda-0.74.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2002 Arcady Genkin <agenkin@thpoon.com>
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/tmda/tmda-0.74.ebuild,v 1.1 2003/04/14 18:46:22 agenkin Exp $
+
+DESCRIPTION="Python-based SPAM reduction system"
+HOMEPAGE="http://www.tmda.net/"
+LICENSE="GPL-2"
+
+DEPEND=">=dev-lang/python-2.1
+ virtual/mta"
+
+SRC_URI="http://tmda.net/releases/${P}.tgz
+ http://tmda.net/releases/old/${P}.tgz"
+
+SLOT="0"
+KEYWORDS="x86 ~sparc"
+
+S="${WORKDIR}/${P}"
+
+src_compile () {
+ ./compileall || die
+}
+
+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
+
+ # Contributed binaries and stuff
+ cd ${S}/contrib
+
+ exeinto /usr/lib/tmda/contrib
+ doexe collectaddys def2html getuserinfo-vpopmail.sh 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
+
+}