2015-04-12 01:44:22 +00:00
|
|
|
# Template file for 'spamassassin'
|
|
|
|
pkgname=spamassassin
|
2015-08-18 10:47:23 +00:00
|
|
|
version=3.4.1
|
|
|
|
revision=1
|
2015-04-12 01:44:22 +00:00
|
|
|
build_style=perl-module
|
|
|
|
# Missing optional dependencies:
|
|
|
|
# Digest::SHA1, Mail::SPF, Geo::IP, Razor2, IO::Socket::INET6, IO::Socket::SSL,
|
|
|
|
# Mail::DKIM, LWP::UserAgent, Encode::Detect, Net::Patricia
|
2015-04-12 01:57:08 +00:00
|
|
|
depends="perl perl-HTML-Parser perl-Net-DNS perl-NetAddr-IP perl-HTTP-Date perl-DBI gnupg curl"
|
2015-04-12 01:44:22 +00:00
|
|
|
makedepends="$depends"
|
2015-04-12 01:57:08 +00:00
|
|
|
hostmakedepends="$depends"
|
2015-04-12 01:44:22 +00:00
|
|
|
short_desc="Tool that serves as a mail filter to identify Spam"
|
|
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
|
|
license="Apache"
|
|
|
|
homepage="https://spamassassin.apache.org/"
|
|
|
|
distfiles="http://www.us.apache.org/dist/${pkgname}/source/Mail-SpamAssassin-${version}.tar.gz"
|
2015-08-18 10:47:23 +00:00
|
|
|
checksum=9b7a95a594cdca4f265707364478b57813b82a0ec7e520d9bc818bfbcafdd726
|
2015-04-12 01:44:22 +00:00
|
|
|
wrksrc="Mail-SpamAssassin-${version}"
|
|
|
|
conf_files="
|
|
|
|
/etc/mail/spamassassin/v312.pre
|
|
|
|
/etc/mail/spamassassin/v330.pre
|
|
|
|
/etc/mail/spamassassin/v340.pre
|
|
|
|
/etc/mail/spamassassin/v310.pre
|
|
|
|
/etc/mail/spamassassin/v320.pre
|
|
|
|
/etc/mail/spamassassin/init.pre
|
|
|
|
/etc/mail/spamassassin/local.cf"
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall $FILESDIR/sa-update 755 /etc/cron.weekly
|
|
|
|
vsv spamd
|
|
|
|
}
|