diff options
author | Andrej Kacian <ticho@gentoo.org> | 2005-05-14 22:51:06 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2005-05-14 22:51:06 +0000 |
commit | 8dd0143bdd13eb08dd7fc3195c2f249e56ed7250 (patch) | |
tree | faddfa3a2c27497dd9345e17951b599d69b8e755 /mail-filter | |
parent | removing old versions (diff) | |
download | historical-8dd0143bdd13eb08dd7fc3195c2f249e56ed7250.tar.gz historical-8dd0143bdd13eb08dd7fc3195c2f249e56ed7250.tar.bz2 historical-8dd0143bdd13eb08dd7fc3195c2f249e56ed7250.zip |
Initial import. Bug #59625.
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/clamsmtp/ChangeLog | 11 | ||||
-rw-r--r-- | mail-filter/clamsmtp/Manifest | 15 | ||||
-rw-r--r-- | mail-filter/clamsmtp/clamsmtp-1.4.1.ebuild | 41 | ||||
-rw-r--r-- | mail-filter/clamsmtp/files/clamsmtpd.init | 20 | ||||
-rw-r--r-- | mail-filter/clamsmtp/files/digest-clamsmtp-1.4.1 | 1 | ||||
-rw-r--r-- | mail-filter/clamsmtp/metadata.xml | 6 |
6 files changed, 94 insertions, 0 deletions
diff --git a/mail-filter/clamsmtp/ChangeLog b/mail-filter/clamsmtp/ChangeLog new file mode 100644 index 000000000000..1d7dd59b00e4 --- /dev/null +++ b/mail-filter/clamsmtp/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for mail-filter/clamsmtp +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/clamsmtp/ChangeLog,v 1.1 2005/05/14 22:51:06 ticho Exp $ + +*clamsmtp-1.4.1 (14 May 2005) + + 14 May 2005; Andrej Kacian <ticho@gentoo.org> +files/clamsmtpd.init, + +metadata.xml, +clamsmtp-1.4.1.ebuild: + Initial import. Ebuild submitted by Jeremy Naylor <jnaylor@nc.rr.com>, bug + #59625. + diff --git a/mail-filter/clamsmtp/Manifest b/mail-filter/clamsmtp/Manifest new file mode 100644 index 000000000000..2ec7ddb553cc --- /dev/null +++ b/mail-filter/clamsmtp/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 f13b80aba0721d228909da99be0dbf16 clamsmtp-1.4.1.ebuild 1343 +MD5 4dd4353adf79048a65918f1abe43a834 ChangeLog 443 +MD5 e4238fef843c6ceb78bd9013a90a918f metadata.xml 465 +MD5 baf953395c3097dca31171f7ebade75a files/clamsmtpd.init 462 +MD5 dfac95f01e87493f9f73b59692c19489 files/digest-clamsmtp-1.4.1 66 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFChoDkQlM6RnzZP+IRAnNLAJ0bGgkJ+xruTSX9x4j0DEkVhVS91wCfZfnS +DU8kwaRq6x2nmsGbiFzpWoY= +=vh7j +-----END PGP SIGNATURE----- diff --git a/mail-filter/clamsmtp/clamsmtp-1.4.1.ebuild b/mail-filter/clamsmtp/clamsmtp-1.4.1.ebuild new file mode 100644 index 000000000000..e01fb7c4c266 --- /dev/null +++ b/mail-filter/clamsmtp/clamsmtp-1.4.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/clamsmtp/clamsmtp-1.4.1.ebuild,v 1.1 2005/05/14 22:51:06 ticho Exp $ + +DESCRIPTION="ClamSMTP is an SMTP filter that allows you to check for viruses using the ClamAV anti-virus software." +HOMEPAGE="http://memberwebs.com/nielsen/software/clamsmtp/" + +SRC_URI="http://memberwebs.com/nielsen/software/clamsmtp/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="virtual/libc + >=sys-apps/sed-4" +RDEPEND=">=app-antivirus/clamav-0.75" + +src_install() { + make DESTDIR=${D} install || die + dodoc AUTHORS COPYING ChangeLog README NEWS + newinitd ${FILESDIR}/clamsmtpd.init clamsmtpd + insinto /etc + newins doc/clamsmtpd.conf clamsmtpd.conf + dodir /var/run/clamav + keepdir /var/run/clamav + fowners clamav:root /var/run/clamav + + sed -i \ + -e "s|\#\(ClamAddress\): .*|\1: /var/run/clamav/clamd.sock|" \ + -e "s|\#\(User\): .*|\1: clamav|" \ + ${D}/etc/clamsmtpd.conf +} + +pkg_postinst() { + echo + einfo "For help configuring Postfix to use clamsmtpd, see:" + einfo " http://memberwebs.com/nielsen/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 +} diff --git a/mail-filter/clamsmtp/files/clamsmtpd.init b/mail-filter/clamsmtp/files/clamsmtpd.init new file mode 100644 index 000000000000..74df0aa8ef97 --- /dev/null +++ b/mail-filter/clamsmtp/files/clamsmtpd.init @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need clamd +} + +start() { + ebegin "Starting ClamSMTPd" + start-stop-daemon --start --quiet \ + --exec /usr/sbin/clamsmtpd -- -p /var/run/clamav/clamsmtpd.pid -f /etc/clamsmtpd.conf + eend $? +} + +stop() { + ebegin "Stopping ClamSMTPd" + start-stop-daemon --stop --quiet --pidfile /var/run/clamav/clamsmtpd.pid + eend $? +} diff --git a/mail-filter/clamsmtp/files/digest-clamsmtp-1.4.1 b/mail-filter/clamsmtp/files/digest-clamsmtp-1.4.1 new file mode 100644 index 000000000000..189627de9d08 --- /dev/null +++ b/mail-filter/clamsmtp/files/digest-clamsmtp-1.4.1 @@ -0,0 +1 @@ +MD5 4eb6311f5f46bf76e9b7490247ba59ed clamsmtp-1.4.1.tar.gz 144951 diff --git a/mail-filter/clamsmtp/metadata.xml b/mail-filter/clamsmtp/metadata.xml new file mode 100644 index 000000000000..798cf022ffdd --- /dev/null +++ b/mail-filter/clamsmtp/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-mail</herd> + <longdescription>ClamSMTP is an SMTP filter that allows you to check for viruses using the ClamAV anti-virus software. It accepts SMTP connections and forwards the SMTP commands and responses to another SMTP server. The 'DATA' email body is intercepted and scanned before forwarding.</longdescription> +</pkgmetadata> |