summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuan Van <langthang@gentoo.org>2004-07-27 22:03:18 +0000
committerTuan Van <langthang@gentoo.org>2004-07-27 22:03:18 +0000
commit54a979297f975e5ea618485b0f3a2cdbcebfcea3 (patch)
tree30a0b14324d28116bde187d42497ff33c081b4ba /mail-filter/amavis
parentmask out kde-3.3.0_beta2 (diff)
downloadgentoo-2-54a979297f975e5ea618485b0f3a2cdbcebfcea3.tar.gz
gentoo-2-54a979297f975e5ea618485b0f3a2cdbcebfcea3.tar.bz2
gentoo-2-54a979297f975e5ea618485b0f3a2cdbcebfcea3.zip
remove old ebuild.
Diffstat (limited to 'mail-filter/amavis')
-rw-r--r--mail-filter/amavis/amavis-0.2.1-r3.ebuild84
-rw-r--r--mail-filter/amavis/files/amavis-0.2.1-gentoo.diff23
-rw-r--r--mail-filter/amavis/files/amavis-0.2.1-securetar.patch13
-rw-r--r--mail-filter/amavis/files/digest-amavis-0.2.1-r31
4 files changed, 0 insertions, 121 deletions
diff --git a/mail-filter/amavis/amavis-0.2.1-r3.ebuild b/mail-filter/amavis/amavis-0.2.1-r3.ebuild
deleted file mode 100644
index 8a9817393a0d..000000000000
--- a/mail-filter/amavis/amavis-0.2.1-r3.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavis/amavis-0.2.1-r3.ebuild,v 1.4 2004/07/14 16:36:57 agriffis Exp $
-
-inherit eutils
-
-DESCRIPTION="Virus Scanner"
-HOMEPAGE="http://www.amavis.org/"
-SRC_URI="http://www.amavis.org/dist/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 -sparc"
-IUSE=""
-
-DEPEND="mail-filter/maildrop
- >=net-mail/tnef-0.13
- >=app-antivirus/vlnx-407e
- mail-mta/qmail"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-securetar.patch
-}
-
-src_compile() {
- ./reconf
- epatch ${FILESDIR}/${P}-gentoo.diff
- econf \
- --with-logdir=/var/log/scanmail \
- --with-virusdir=/var/tmp/virusmails \
- --enable-qmail || die
- make || die
-}
-
-src_install() {
- make prefix=${D}/usr install || die
- dodoc AUTHORS BUGS COPYING ChangeLog FAQ HINTS NEWS README* TODO
- dodoc doc/amavis.txt
- dohtml -r doc
- dodir /var/log/scanmail
- dodir /var/tmp/virusmails
- chmod 1777 ${D}/var/log/scanmail
- chmod 1777 ${D}/var/tmp/virusmails
-}
-
-pkg_setup() {
- # from "createaccount" that was designed to run during the
- # installation phase
-
- error="no"
- whoami=`/usr/bin/id | cut -d'(' -f2 | cut -d')' -f1`
-
- aliases=/etc/mail/aliases
-
- if test "`echo \"virusalert\" | grep \"@\" | wc -l`" -eq 1; then
- echo "WARNING: using off-site mail account: \"virusalert\""
- echo "WARNING: be sure it is able to receive mail"
- else
- if test "`ls /home | grep -w \"virusalert\" | wc -l`" -eq 1; then
- true
- else
- if test -n "$aliases"; then
- if test "`grep \"virusalert\" $aliases | wc -l`" -lt 1; then
- if test -w "$aliases"; then
- echo "virusalert: $whoami" >> $aliases
- else
- echo "WARNING: $aliases is not writable by \"$whoami\""
- error="yes"
- fi
- fi
- else
- echo "WARNING: mail aliases file not found: /etc/aliases"
- error="yes"
- fi
- fi
- fi
-
- if test "$error" = "yes"; then
- einfo "WARNING: could not create mail account: \"virusalert\""
- einfo "WARNING: be sure to create it manually"
- fi
-}
diff --git a/mail-filter/amavis/files/amavis-0.2.1-gentoo.diff b/mail-filter/amavis/files/amavis-0.2.1-gentoo.diff
deleted file mode 100644
index 570ee8fa7594..000000000000
--- a/mail-filter/amavis/files/amavis-0.2.1-gentoo.diff
+++ /dev/null
@@ -1,23 +0,0 @@
---- configure Thu Sep 5 12:15:04 2002
-+++ configure Thu Sep 5 12:15:19 2002
-@@ -3225,7 +3225,7 @@
- ;;
- *)
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
-- ac_dummy="$PATH:/usr/bin:/usr/local/bin"
-+ ac_dummy="$PATH:/usr/bin:/usr/local/bin:/opt/vlnx"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
-
---- src/scanmails/Makefile.in Thu Sep 5 11:49:46 2002
-+++ src/scanmails/Makefile.in Thu Sep 5 11:49:58 2002
-@@ -226,7 +226,7 @@
- installcheck: installcheck-am
- install-exec-am: install-sbinSCRIPTS
- @$(NORMAL_INSTALL)
-- $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
-+ $(MAKE) $(AM_MAKEFLAGS)
- install-exec: install-exec-am
-
- install-data-am:
diff --git a/mail-filter/amavis/files/amavis-0.2.1-securetar.patch b/mail-filter/amavis/files/amavis-0.2.1-securetar.patch
deleted file mode 100644
index fabb157315da..000000000000
--- a/mail-filter/amavis/files/amavis-0.2.1-securetar.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/securetar/securetar.c Thu Sep 5 11:50:50 2002
-+++ src/securetar/securetar.c Thu Sep 5 13:32:15 2002
-@@ -231,8 +231,8 @@
- /************************************/
- /* Write out the corresponding data */
- /************************************/
-- while( FileSize>0 ) {
-- FileSize-=(long)count=read(fdin,&block,sizeof(block));
-+ while( FileSize>0 && (count=read(fdin,&block,sizeof(block))) ) {
-+ FileSize-=(long)count;
- write( fdout, &block, count );
- }
- }
diff --git a/mail-filter/amavis/files/digest-amavis-0.2.1-r3 b/mail-filter/amavis/files/digest-amavis-0.2.1-r3
deleted file mode 100644
index 07a826c27a74..000000000000
--- a/mail-filter/amavis/files/digest-amavis-0.2.1-r3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 8d2ce5007d5ad841498ba0294350d492 amavis-0.2.1.tar.gz 236011