New package: spamassassin-3.4.0
This commit is contained in:
parent
f11c281cda
commit
a324511395
3 changed files with 37 additions and 0 deletions
2
srcpkgs/spamassassin/files/sa-update
Normal file
2
srcpkgs/spamassassin/files/sa-update
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
sa-update && sv reload spamd > /dev/null
|
4
srcpkgs/spamassassin/files/spamd/run
Executable file
4
srcpkgs/spamassassin/files/spamd/run
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
[ -r conf ] && . ./conf
|
||||||
|
[ -d /var/lib/spamassassin ] || sa-update
|
||||||
|
exec spamd ${OPTS}
|
31
srcpkgs/spamassassin/template
Normal file
31
srcpkgs/spamassassin/template
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Template file for 'spamassassin'
|
||||||
|
pkgname=spamassassin
|
||||||
|
version=3.4.0
|
||||||
|
revision=1
|
||||||
|
build_style=perl-module
|
||||||
|
hostmakedepends="perl curl"
|
||||||
|
# Missing optional dependencies:
|
||||||
|
# Digest::SHA1, Mail::SPF, Geo::IP, Razor2, IO::Socket::INET6, IO::Socket::SSL,
|
||||||
|
# Mail::DKIM, LWP::UserAgent, Encode::Detect, Net::Patricia
|
||||||
|
depends="perl perl-HTML-Parser perl-Net-DNS perl-NetAddr-IP perl-HTTP-Date perl-DBI"
|
||||||
|
makedepends="$depends"
|
||||||
|
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"
|
||||||
|
checksum=244914c30976844878a7f129fd503eb40986c68a3800f416c3a68b14507c0a64
|
||||||
|
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
|
||||||
|
}
|
Loading…
Reference in a new issue