summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Martin <slarti@gentoo.org>2004-08-28 12:48:52 +0000
committerTom Martin <slarti@gentoo.org>2004-08-28 12:48:52 +0000
commit8fe5a48a9badb38e00fdaf4973b33adb6034f37a (patch)
tree88c41f8471b3a35c95701b65972beb0ec097da9f /mail-filter/clamassassin
parentRemoved empty src_compile (Manifest recommit) (diff)
downloadgentoo-2-8fe5a48a9badb38e00fdaf4973b33adb6034f37a.tar.gz
gentoo-2-8fe5a48a9badb38e00fdaf4973b33adb6034f37a.tar.bz2
gentoo-2-8fe5a48a9badb38e00fdaf4973b33adb6034f37a.zip
Fix issues with Portage exporting , resolves #61806.
Diffstat (limited to 'mail-filter/clamassassin')
-rw-r--r--mail-filter/clamassassin/ChangeLog11
-rw-r--r--mail-filter/clamassassin/Manifest5
-rw-r--r--mail-filter/clamassassin/clamassassin-1.2.0-r1.ebuild29
-rw-r--r--mail-filter/clamassassin/files/digest-clamassassin-1.2.0-r11
4 files changed, 43 insertions, 3 deletions
diff --git a/mail-filter/clamassassin/ChangeLog b/mail-filter/clamassassin/ChangeLog
index 193d3318c6c2..cf9085a310cb 100644
--- a/mail-filter/clamassassin/ChangeLog
+++ b/mail-filter/clamassassin/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for mail-filter/clamassassin
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/clamassassin/ChangeLog,v 1.3 2004/08/06 12:02:58 slarti Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/clamassassin/ChangeLog,v 1.4 2004/08/28 12:48:52 slarti Exp $
+
+*clamassassin-1.2.0-r1 (28 Aug 2004)
+
+ 28 Aug 2004; Tom Martin <slarti@gentoo.org> +clamassassin-1.2.0-r1.ebuild:
+ Fix issues with Portage exporting $TMP and breaking the script - $TMP was
+ going inside /var/tmp/portage/clamassassin-${VER}/temp, which is not
+ writeable by anyone so caused data loss. Thanks to Andrej Kacian
+ <andrej@kacian.sk> for the fix, and spider <spider@gentoo.org> for
+ reporting. Bug 61806.
06 Aug 2004; Tom Martin <slarti@gentoo.org> clamassassin-1.2.0.ebuild:
Use $() instead of ``, replace use_enable subject_rewrite with subject-rewrite.
diff --git a/mail-filter/clamassassin/Manifest b/mail-filter/clamassassin/Manifest
index 729bb9002ab0..3a22e3439629 100644
--- a/mail-filter/clamassassin/Manifest
+++ b/mail-filter/clamassassin/Manifest
@@ -1,4 +1,5 @@
-MD5 ed289834be2030aa15496e4c5fb82767 clamassassin-1.2.0.ebuild 886
-MD5 f58227f807a325be8020f83659b5b301 ChangeLog 575
+MD5 78c71b0d7eb11b61069a2b2b4042801b clamassassin-1.2.0-r1.ebuild 1004
+MD5 65610b9eed9d6a16ceacc0c71c108264 ChangeLog 998
MD5 8a1c6c5f4c13a4109f6f4198fdd1874b metadata.xml 223
+MD5 16aa47c42167085b678a375f78fce9ef files/digest-clamassassin-1.2.0-r1 69
MD5 16aa47c42167085b678a375f78fce9ef files/digest-clamassassin-1.2.0 69
diff --git a/mail-filter/clamassassin/clamassassin-1.2.0-r1.ebuild b/mail-filter/clamassassin/clamassassin-1.2.0-r1.ebuild
new file mode 100644
index 000000000000..8a407d45484e
--- /dev/null
+++ b/mail-filter/clamassassin/clamassassin-1.2.0-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/clamassassin/clamassassin-1.2.0-r1.ebuild,v 1.1 2004/08/28 12:48:52 slarti Exp $
+
+DESCRIPTION="clamassassin is a simple script for virus scanning (through clamav) an e-mail message as a
+filter (like spamassassin)"
+HOMEPAGE="http://drivel.com/clamassassin/"
+SRC_URI="http://drivel.com/clamassassin/${P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="subject-rewrite"
+DEPEND=">=app-antivirus/clamav-0.71
+ sys-apps/debianutils
+ sys-apps/which
+ virtual/mda" # This is because clamassassin needs formail which is
+ # both in procmail and maildrop. Is this the right
+ # dependency?
+
+src_compile() {
+ econf $(use_enable subject-rewrite) || die
+ # Fix problems with Portage exporting TMP and breaking clamassassin. #61806
+ sed -i -e "s:${TMP}:/tmp:" clamassassin
+}
+
+src_install() {
+ dobin clamassassin
+ dodoc CHANGELOG LICENSE README
+}
diff --git a/mail-filter/clamassassin/files/digest-clamassassin-1.2.0-r1 b/mail-filter/clamassassin/files/digest-clamassassin-1.2.0-r1
new file mode 100644
index 000000000000..2f13e99ac998
--- /dev/null
+++ b/mail-filter/clamassassin/files/digest-clamassassin-1.2.0-r1
@@ -0,0 +1 @@
+MD5 8179d82ab8a58fb29b53a4218ae8add4 clamassassin-1.2.0.tar.gz 30832