summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2008-02-23 12:08:01 +0000
committerAlfredo Tupone <tupone@gentoo.org>2008-02-23 12:08:01 +0000
commitcb12e5342fce125b305a16f59b041c00436b6651 (patch)
treed6d8f13da0cd6975b889d6ba893b20f46266268a /mail-filter
parentmask joomla; aggregate web-apps security masks (diff)
downloadhistorical-cb12e5342fce125b305a16f59b041c00436b6651.tar.gz
historical-cb12e5342fce125b305a16f59b041c00436b6651.tar.bz2
historical-cb12e5342fce125b305a16f59b041c00436b6651.zip
Version bump to 1.4.0
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/simscan/ChangeLog7
-rw-r--r--mail-filter/simscan/Manifest10
-rw-r--r--mail-filter/simscan/simscan-1.4.0.ebuild106
3 files changed, 118 insertions, 5 deletions
diff --git a/mail-filter/simscan/ChangeLog b/mail-filter/simscan/ChangeLog
index aa7f402ff450..9de23f5faea1 100644
--- a/mail-filter/simscan/ChangeLog
+++ b/mail-filter/simscan/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-filter/simscan
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/simscan/ChangeLog,v 1.4 2008/02/22 23:34:12 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/simscan/ChangeLog,v 1.5 2008/02/23 12:08:01 tupone Exp $
+
+*simscan-1.4.0 (23 Feb 2008)
+
+ 23 Feb 2008; Tupone Alfredo <tupone@gentoo.org> +simscan-1.4.0.ebuild:
+ Version bump to 1.4.0
22 Feb 2008; Tupone Alfredo <tupone@gentoo.org> simscan-1.3.1.ebuild:
No need for qmail at buildtime. Bug #199534 by Diego Pettenò
diff --git a/mail-filter/simscan/Manifest b/mail-filter/simscan/Manifest
index 7a6d0ffd9b5a..e94887c50295 100644
--- a/mail-filter/simscan/Manifest
+++ b/mail-filter/simscan/Manifest
@@ -4,13 +4,15 @@ Hash: SHA1
AUX simscan-1.3.1-destdir.patch 935 RMD160 d5db9529ae9c00f22674a14ac5163f6e2b678d66 SHA1 0923a2a9e31c50f7d02b4951282195bcb3ddce29 SHA256 3b1e2ba3b5c6e69f25d079857c42960b591b3641a184d54bb55c7ecbda158936
AUX simscan-1.3.1-printf.patch 328 RMD160 4d21f6479403818d70feef6d04f5ae6010d33365 SHA1 6333e8f55fe27549d3cf969eda67a7f01c744e87 SHA256 edc1ffb01ee4188ece0ce4b9c48c7e816e3d58ebde1ea9ee883253f3c84c995b
DIST simscan-1.3.1.tar.gz 276310 RMD160 a5f33b2d9d06cf2cd0752048577e715f4b71807a SHA1 6562b30e4cf609ca7d77aefbe3163bc5297d8a7b SHA256 1ad31a0d8df9115d091e60fa2bb0c8d8fdd39bb12ac85dfcf69b851a8efe7f0a
+DIST simscan-1.4.0.tar.gz 271617 RMD160 c32c54a6d16381bc0b2d28892506dfc2b8c51d56 SHA1 af6a81741d5eb34431434ea33069f03f74f246d1 SHA256 b89d145206ad26420cfbf2f5b25ebf52e236f8ac00cd70ae449e72f3ec935781
EBUILD simscan-1.3.1.ebuild 2802 RMD160 4cc541c1cd9bc402c15777f119a18fa890a65f31 SHA1 317d4bdee71524201ee39959676a0944cab9eab7 SHA256 19713b125a709fdeb55dcbed3c74c4b1a7100c120f6b46feedaf026e7f550718
-MISC ChangeLog 755 RMD160 ab9bda987bc2fbe01b89e5ad7be29da6188d251e SHA1 d0c220507f9946865eea93ce1f137e87b7c0b06f SHA256 53b690de454e06ffda1fef009786162113fbb230a16b1527e17d974459789313
+EBUILD simscan-1.4.0.ebuild 2777 RMD160 655f639863855e45ad59459b9863911133451c17 SHA1 31b1d27c32620cb48bac516678eb22b77b9108e1 SHA256 7840e0ff03359cd5e256350efda02aaa88238b0438798ba7748d9cb877a82e9f
+MISC ChangeLog 883 RMD160 d1b19e8b599283f1e4f6b293b261d9db3d7da29b SHA1 7d1902606046ed3ba5f005726cfb511f86726483 SHA256 4520c73d5af611a826c6f918a9c713418f6e3ac1b001824cbcc74176adc2c40c
MISC metadata.xml 274 RMD160 b34739abe171522004ed69a7df6db178429ed47b SHA1 0714382cdd6138d1a7949f730c60df5e8058b483 SHA256 ae84918a025442981b8832fba60cb274de53724bbe092258d8388985d265bf1e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFHv1v+8qKy9+b2Hl0RAu31AKCXVwLx0YDVnPQTFjmxkhgUkmo/qgCeJa29
-C541pL1IXHTyG8gF0aU2HBw=
-=VTcb
+iD8DBQFHwAyr8qKy9+b2Hl0RAqA2AKD0KJaOLe0702dmoZf/cg8uB5nZjwCeMXnL
+zMPHq+n1q0xiHTZJEeigMqA=
+=bMd0
-----END PGP SIGNATURE-----
diff --git a/mail-filter/simscan/simscan-1.4.0.ebuild b/mail-filter/simscan/simscan-1.4.0.ebuild
new file mode 100644
index 000000000000..2f7a79871d43
--- /dev/null
+++ b/mail-filter/simscan/simscan-1.4.0.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/simscan/simscan-1.4.0.ebuild,v 1.1 2008/02/23 12:08:01 tupone Exp $
+
+inherit autotools toolchain-funcs eutils fixheadtails flag-o-matic
+
+DESCRIPTION="Simscan, a qmail scanner"
+HOMEPAGE="http://inter7.com/?page=simscan"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="attachment clamav dropmsg passthru per-domain quarantine regex received spamassassin"
+
+RESTRICT="test"
+
+DEPEND="attachment? ( net-mail/ripmime )
+ clamav? ( app-antivirus/clamav )
+ spamassassin? ( mail-filter/spamassassin )
+ regex? ( dev-libs/libpcre )"
+
+RDEPEND="${DEPEND}
+ virtual/qmail"
+
+pkg_setup() {
+ test -z "${SIMSCAN_HITS}" && SIMSCAN_HITS=10
+
+ enewgroup simscan
+ enewuser simscan -1 -1 /dev/null simscan
+
+ use clamav && usermod -a -G simscan,nofiles clamav
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-destdir.patch \
+ "${FILESDIR}"/${P}-printf.patch
+
+ sed -i \
+ -e "s:daily.cvd:main.cvd:g" \
+ configure.in \
+ simscanmk.c \
+ || die "sed failed"
+
+ eautoreconf
+}
+
+src_compile() {
+ econf \
+ --enable-qmaildir=/var/qmail \
+ --enable-qmail-queue=/var/qmail/bin/qmail-queue \
+ $(use_enable attachment attach) \
+ $(use_enable clamav) \
+ $(use_enable clamav clamdscan /usr/bin/clamdscan) \
+ $(use_enable clamav clamavdb-path /var/lib/clamav) \
+ $(use_enable dropmsg) \
+ $(use_enable spamassassin spam) \
+ $(use_enable spamassassin spamc /usr/bin/spamc) \
+ $(use_enable spamassassin spam-hits ${SIMSCAN_HITS}) \
+ $(use_enable passthru spam-passthru) \
+ $(use_enable quarantine quarantinedir /var/qmail/quarantine) \
+ $(use_enable regex) \
+ $(use_enable received) \
+ $(use_enable per-domain) || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README TODO
+
+ keepdir /var/qmail/control
+ keepdir /var/qmail/simscan
+
+ if use clamav; then
+ echo -n ":clam=yes," > "${D}"/var/qmail/control/simcontrol
+ else
+ echo -n ":clam=no," > "${D}"/var/qmail/control/simcontrol
+ fi
+
+ if use spamassassin; then
+ echo "spam=yes,spam_hits=${SIMSCAN_HITS}" >> "${D}"/var/qmail/control/simcontrol
+ else
+ echo "spam=no" >> "${D}"/var/qmail/control/simcontrol
+ fi
+}
+
+pkg_postinst() {
+ ewarn "Updating simscan configuration files ..."
+ /var/qmail/bin/simscanmk
+
+ ewarn
+ ewarn "You have to do that every time you update clamav or spamassassin"
+ ewarn
+
+ einfo
+ einfo "In order use simscan update the QMAILQUEUE environment variable"
+ einfo "and point it to /var/qmail/bin/simscan"
+ einfo
+ einfo "Read the documentation and customize /var/qmail/control/simcontrol"
+ einfo
+}