summaryrefslogtreecommitdiff
path: root/mail-filter/clamsmtp/clamsmtp-1.10.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'mail-filter/clamsmtp/clamsmtp-1.10.ebuild')
-rw-r--r--mail-filter/clamsmtp/clamsmtp-1.10.ebuild39
1 files changed, 0 insertions, 39 deletions
diff --git a/mail-filter/clamsmtp/clamsmtp-1.10.ebuild b/mail-filter/clamsmtp/clamsmtp-1.10.ebuild
deleted file mode 100644
index d582f2536455..000000000000
--- a/mail-filter/clamsmtp/clamsmtp-1.10.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-DESCRIPTION="An SMTP filter to check for viruses using the ClamAV anti-virus software"
-HOMEPAGE="http://thewalter.net/stef/software/clamsmtp/"
-
-SRC_URI="http://thewalter.net/stef/software/${PN}/${P}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 hppa ~sparc x86"
-IUSE=""
-
-DEPEND=">=sys-apps/sed-4"
-RDEPEND=">=app-antivirus/clamav-0.75"
-
-src_install() {
- make DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog README NEWS
- newinitd "${FILESDIR}"/clamsmtpd.init clamsmtpd
- insinto /etc
- newins doc/clamsmtpd.conf clamsmtpd.conf
-
- sed -i \
- -e "s|\#\(ClamAddress\): .*|\1: /var/run/clamav/clamd.sock|" \
- -e "s|\#\(User\): .*|\1: clamav|" \
- "${D}"/etc/clamsmtpd.conf
-}
-
-pkg_postinst() {
- echo
- elog "For help configuring Postfix to use clamsmtpd, see:"
- elog " http://thewalter.net/stef/software/clamsmtp/postfix.html"
- echo
- ewarn "You'll need to have ScanMail support turned on in clamav.conf"
- ewarn "Also, make sure the clamd scanning daemon is running (not just freshclam)"
- echo
-}