ASSP: new version 2.4.3(15059)

This commit is contained in:
Jörg Deckert 2015-03-10 10:18:00 +01:00
parent d62c3637cf
commit 9437d8a7dc
3 changed files with 174 additions and 3 deletions

View File

@ -1,8 +1,10 @@
AUX asspd.init 641 SHA256 6d773e95fb681a82c7a4ddcccaa1c5bf6e9315db4b4d8533293f8c6b58dcc9e9 SHA512 11ff2e81f0e1828891f066afb773b7dc54d4d5ec1a9a24bf1485606fd5bb57a78f91a711c26add444c2643659aa2ede344488fe0b3f7a574b8be7de8b0db9ff5 WHIRLPOOL e52dcfa11cff23afb09966d32bba63506b743c4ba8645351af96c651a51e8970c71d5f01a650c6695a2abc9182d8038ae458aacd26c81460a191712094882eb7 AUX asspd.init 667 SHA256 2cbf24c314e73b05c78ab9fc4f8f455e1e3802a7a46fc3548019b8a408df92ea SHA512 4e8764824b337f13e3ff37b502c5c068c7a2e7ab792a4764fb406cc3ff8f9d2ec903f88d869c7c273e59a0d2faab1ff46caa4ad764012d5b837ed69571c6eacb WHIRLPOOL 1ebf24735d8ed710b2f8f23a5c55368616525258359c5a4d5030666666e492ac8d20636391e998178d41adb2ad9b4adacd9869eb964fc9796af9f7f2072c4380
DIST ASSP_2.4.3_14258_install.zip 1530651 SHA256 e3c0f850b4c790242787f90bc5c4d49dc9e10eea7c8f1f3de2fe0b7b0b0e3650 SHA512 a852081e767a6c6944e79fc98c3bd21d96683507586fd6368c0962df1ee925307db5744394daca7815d43987b1f2fba425b27ddf40f5f2ad48828c907a8cf776 WHIRLPOOL f76b03a41aaf450717199fc46b74d05f761d58a942944945ee0e7c70b8ada8ffa87db2158ccbcec6de04a3ae6ff336c08b34143a1f126bc2cf933f08e1448398 DIST ASSP_2.4.3_14258_install.zip 1530651 SHA256 e3c0f850b4c790242787f90bc5c4d49dc9e10eea7c8f1f3de2fe0b7b0b0e3650 SHA512 a852081e767a6c6944e79fc98c3bd21d96683507586fd6368c0962df1ee925307db5744394daca7815d43987b1f2fba425b27ddf40f5f2ad48828c907a8cf776 WHIRLPOOL f76b03a41aaf450717199fc46b74d05f761d58a942944945ee0e7c70b8ada8ffa87db2158ccbcec6de04a3ae6ff336c08b34143a1f126bc2cf933f08e1448398
DIST ASSP_2.4.3_15059_install.zip 1560794 SHA256 e2f5f841a4b85968abf3be26c3674900fc1a09ab7bc2bb348132964fbf0dfa2d SHA512 dd48456d451655a5bb449a7503e3c9028adca911215ea16f1ae78f75f756bb5792fb602836198fbc8c4aab9a5a7ed3c091ad041adb2aee0c187a4cb812b7b2f1 WHIRLPOOL a24bf988043a03d14b04aa6e0df217b5699bd4f15b0001cf9554c46327f1636661fb40b3b1caa2240f061c9f6cc6a4ccbb00be26fa34cbdc625d3e8ef8763ae5
DIST ASSP_AFC_3.11.zip 14293 SHA256 17922aa14229e6f9bf40f41ac42543a02a043565b25a61f1dd45702099f6dbcc SHA512 6552ccdd5d68b2d8ea9961a12eaeb0f5a50a7cfb19c6b4728cee5aa4f3f67ff183b9ea693eb7461a8852c35ac937d07a4ec309d1814c2ea5441c66a40ef409bc WHIRLPOOL 59fb7cd5f5e4631af970ad8ac21a301720cd5897262013c0bce2eba29abeb6ecd99355d56fdd861b354e539259e32945e97362b9ca2e0bb2894ef48592faff7c DIST ASSP_AFC_3.11.zip 14293 SHA256 17922aa14229e6f9bf40f41ac42543a02a043565b25a61f1dd45702099f6dbcc SHA512 6552ccdd5d68b2d8ea9961a12eaeb0f5a50a7cfb19c6b4728cee5aa4f3f67ff183b9ea693eb7461a8852c35ac937d07a4ec309d1814c2ea5441c66a40ef409bc WHIRLPOOL 59fb7cd5f5e4631af970ad8ac21a301720cd5897262013c0bce2eba29abeb6ecd99355d56fdd861b354e539259e32945e97362b9ca2e0bb2894ef48592faff7c
DIST ASSP_ARC_2.05.zip 9104 SHA256 a53cbe763f4a939e173d63ea78025c3bf8bef106f5ff3946f55d919cd893c60f SHA512 64c8d136cf2bd60544ca9c2c84635604e56b4be8b92d2dfb654eb8fa471398f9ce028da9a0944a0e2d7dac0c612e074d94d90f4de6aef929b076339262ffa11a WHIRLPOOL 50b27ca94487cb4b1f17ca2d5a93d5a733787e85e341587c71bfa9d9ab289a23a62aaa06dc8281a35438b9edcf9a88663304def9de95fc45bb80b41369ab8823 DIST ASSP_ARC_2.05.zip 9104 SHA256 a53cbe763f4a939e173d63ea78025c3bf8bef106f5ff3946f55d919cd893c60f SHA512 64c8d136cf2bd60544ca9c2c84635604e56b4be8b92d2dfb654eb8fa471398f9ce028da9a0944a0e2d7dac0c612e074d94d90f4de6aef929b076339262ffa11a WHIRLPOOL 50b27ca94487cb4b1f17ca2d5a93d5a733787e85e341587c71bfa9d9ab289a23a62aaa06dc8281a35438b9edcf9a88663304def9de95fc45bb80b41369ab8823
DIST ASSP_DCC_2.01.zip 6018 SHA256 9b40e8fe9dd4f8bef741fadaf867084c26106fea61a0863c01bdd2cdf9d85753 SHA512 caec1fbbac8b2f31373c31e0fe637d3020f34dd02f7f010e7af42c7c28f62d7673d0ca93036608b524711b7d1958dd6657cc089df16f48dfd84ed5067c1d0521 WHIRLPOOL c012559e934b94427004bf0636245e6c49aeee5f1c7618719a3c53487ed24dec8ea40126667edcaec737b1677d5130b2c4be57a7bac55f5efcd4e2967ec6602f DIST ASSP_DCC_2.01.zip 6018 SHA256 9b40e8fe9dd4f8bef741fadaf867084c26106fea61a0863c01bdd2cdf9d85753 SHA512 caec1fbbac8b2f31373c31e0fe637d3020f34dd02f7f010e7af42c7c28f62d7673d0ca93036608b524711b7d1958dd6657cc089df16f48dfd84ed5067c1d0521 WHIRLPOOL c012559e934b94427004bf0636245e6c49aeee5f1c7618719a3c53487ed24dec8ea40126667edcaec737b1677d5130b2c4be57a7bac55f5efcd4e2967ec6602f
DIST ASSP_OCR_2.20.zip 7837 SHA256 dd1005b7758482659a90713ce163e53b26768b84063628931c6ec5f2dca631e2 SHA512 9e51df6ae8146afb5984edccac1eed2eeb89167877bb4122d3bc1c54fc7ef2455a9e0679f632c2d486d76168718b688ffcd372f4d2b2bdd7f8d8a61a1c8949b6 WHIRLPOOL f8123ec79fdea8222bfba737647ed905ea64171e6f242189b345b9db2dee88477245220247de9b5e7df801897ca687a470daa9576a7046661e96c92aa1a65a50 DIST ASSP_OCR_2.20.zip 7837 SHA256 dd1005b7758482659a90713ce163e53b26768b84063628931c6ec5f2dca631e2 SHA512 9e51df6ae8146afb5984edccac1eed2eeb89167877bb4122d3bc1c54fc7ef2455a9e0679f632c2d486d76168718b688ffcd372f4d2b2bdd7f8d8a61a1c8949b6 WHIRLPOOL f8123ec79fdea8222bfba737647ed905ea64171e6f242189b345b9db2dee88477245220247de9b5e7df801897ca687a470daa9576a7046661e96c92aa1a65a50
DIST ASSP_Razor_1.09.zip 4308 SHA256 9da4791bdbbea05f8308e9eda67916f74c8acf26e1361239e7e1282ee9bfdd1c SHA512 b68860610b2fc5c4322c2a236d85030c0b290338708926e379071318966e355666e9f3edf5838412b186ab72a2f9ddaa7dea1c723d8468e2a0e515ef854a3d7f WHIRLPOOL 070c72f7cf3f8320f2b2f3fad6f6cdb7ee3dc3f50264a14ebe5626bd5cdfde1243cafb18fa237088888d990aec43966adf25f64112d9b8dc145318b19ab9f5e6 DIST ASSP_Razor_1.09.zip 4308 SHA256 9da4791bdbbea05f8308e9eda67916f74c8acf26e1361239e7e1282ee9bfdd1c SHA512 b68860610b2fc5c4322c2a236d85030c0b290338708926e379071318966e355666e9f3edf5838412b186ab72a2f9ddaa7dea1c723d8468e2a0e515ef854a3d7f WHIRLPOOL 070c72f7cf3f8320f2b2f3fad6f6cdb7ee3dc3f50264a14ebe5626bd5cdfde1243cafb18fa237088888d990aec43966adf25f64112d9b8dc145318b19ab9f5e6
EBUILD assp-2.4.3-r14258.ebuild 4916 SHA256 f1cf5779e6e8f33782a54e3597514d5b73bc675ef579aef377c9b951bccdcae5 SHA512 6178bc06d21a2507c39ef9e94f5ae99757979eac6685abe033b62d7fadd897e90bddc57eb56428b30fe8be9664616d646f11126b31d64c171f60fd4a8c24d316 WHIRLPOOL 766b3703fddaa6ec8a28ea187c502e053be4358e76d13de3bd42d04e562db3207b894b3738c92e94459899051d4791c80f535cb9004ec1ec7111615b424ca49b EBUILD assp-2.4.3-r14258.ebuild 4916 SHA256 f1cf5779e6e8f33782a54e3597514d5b73bc675ef579aef377c9b951bccdcae5 SHA512 6178bc06d21a2507c39ef9e94f5ae99757979eac6685abe033b62d7fadd897e90bddc57eb56428b30fe8be9664616d646f11126b31d64c171f60fd4a8c24d316 WHIRLPOOL 766b3703fddaa6ec8a28ea187c502e053be4358e76d13de3bd42d04e562db3207b894b3738c92e94459899051d4791c80f535cb9004ec1ec7111615b424ca49b
EBUILD assp-2.4.3-r15059.ebuild 4916 SHA256 f1cf5779e6e8f33782a54e3597514d5b73bc675ef579aef377c9b951bccdcae5 SHA512 6178bc06d21a2507c39ef9e94f5ae99757979eac6685abe033b62d7fadd897e90bddc57eb56428b30fe8be9664616d646f11126b31d64c171f60fd4a8c24d316 WHIRLPOOL 766b3703fddaa6ec8a28ea187c502e053be4358e76d13de3bd42d04e562db3207b894b3738c92e94459899051d4791c80f535cb9004ec1ec7111615b424ca49b

View File

@ -0,0 +1,169 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-filter/assp/assp-1.9.8.13030.ebuild,v 1.3 2014/08/10 21:15:28 slyfox Exp $
EAPI=5
inherit eutils user
VERSION_PLUGIN_AFC=3.11
VERSION_PLUGIN_ARC=2.05
VERSION_PLUGIN_DCC=2.01
VERSION_PLUGIN_OCR=2.20
VERSION_PLUGIN_RAZOR=1.09
DESCRIPTION="Anti-Spam SMTP Proxy written in Perl"
HOMEPAGE="http://assp.sourceforge.net/"
MY_PN=ASSP_${PV}_${PR/r/}_install
SRC_URI="mirror://sourceforge/project/${PN}/ASSP%20V2%20multithreading/${PV}%20${PR/r/}/${MY_PN}.zip
afc? ( mirror://sourceforge/project/${PN}/ASSP%20V2%20multithreading/Plugins/ASSP_AFC%20-%20AttachmentFullCheck%20Plugin/ASSP_AFC_${VERSION_PLUGIN_AFC}.zip )
arc? ( mirror://sourceforge/project/${PN}/ASSP%20V2%20multithreading/Plugins/ASSP_ARC%20-%20Archive%20Plugin/ASSP_ARC_${VERSION_PLUGIN_ARC}.zip )
dcc? ( mirror://sourceforge/project/${PN}/ASSP%20V2%20multithreading/Plugins/ASSP_DCC%20-%20DCC%20Plugin/ASSP_DCC_${VERSION_PLUGIN_DCC}.zip )
ocr? ( mirror://sourceforge/project/${PN}/ASSP%20V2%20multithreading/Plugins/ASSP_OCR%20-%20OCR%20Plugin/ASSP_OCR_${VERSION_PLUGIN_OCR}.zip )
razor? ( mirror://sourceforge/project/${PN}/ASSP%20V2%20multithreading/Plugins/ASSP_Razor%20-%20Razor2%20Plugin%20for%20ASSP/ASSP_Razor_${VERSION_PLUGIN_RAZOR}.zip )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="afc arc berkdb clamav dcc ipv6 ldap mysql ocr odbc postgres razor sasl snmp spf srs ssl syslog"
DEPEND="app-arch/unzip"
RDEPEND="dev-lang/perl[ithreads]
dev-perl/libwww-perl
dev-perl/Archive-Extract
dev-perl/Archive-Zip
dev-perl/CAM-PDF
dev-perl/Convert-Scalar
dev-perl/Convert-TNEF
dev-perl/Crypt-CBC
dev-perl/Crypt-GOST
dev-perl/Crypt-OpenSSL-AES
dev-perl/Crypt-RC4
dev-perl/Crypt-SMIME
dev-perl/DBD-Sprite
dev-perl/Devel-Size
dev-perl/Digest-SHA1
virtual/perl-Digest-MD5
dev-perl/Email-MIME
dev-perl/Email-Send
dev-perl/Email-Valid
dev-perl/File-chmod
dev-perl/File-Find-Rule
dev-perl/File-ReadBackwards
dev-perl/File-Slurp
dev-perl/File-Type
dev-perl/File-Which
virtual/perl-IO-Compress
dev-perl/IO-Compress-Lzma
dev-perl/IO-stringy
dev-perl/LEOCHARRE-Class2
dev-perl/LEOCHARRE-CLI
dev-perl/LEOCHARRE-DEBUG
dev-perl/Lingua-Identify
dev-perl/Lingua-Stem-Snowball
dev-perl/Lingua-StopWords
dev-perl/Linux-usermod
dev-perl/Mail-DKIM
dev-perl/mime-construct
dev-perl/NetAddr-IP
dev-perl/Net-CIDR-Lite
dev-perl/Net-DNS
dev-perl/Net-IP-Match-Regexp
dev-perl/Net-SenderBase
dev-perl/Net-Syslog
dev-perl/Number-Compare
dev-perl/PDF-API2
dev-perl/PDF-GetImages
dev-perl/PDF-Burst
dev-perl/Regexp-Optimizer
dev-perl/Schedule-Cron
dev-perl/Smart-Comments
dev-perl/Sys-CpuAffinity
dev-perl/Sys-MemInfo
dev-perl/Text-Glob
dev-perl/Text-PDF
dev-perl/Text-Unidecode
dev-perl/Thread-State
dev-perl/Tie-DBI
virtual/perl-Time-HiRes
dev-perl/Unicode-LineBreak
dev-perl/YAML
clamav? ( dev-perl/File-Scan-ClamAV )
ipv6? ( dev-perl/IO-Socket-INET6 )
sasl? ( dev-perl/Authen-SASL )
snmp? ( dev-perl/Net-SNMP )
spf? ( dev-perl/Mail-SPF-Query
dev-perl/Mail-SPF )
srs? ( dev-perl/Mail-SRS )
ocr? ( dev-perl/Image-OCR-Tesseract
dev-perl/PDF-OCR
dev-perl/PDF-OCR2 )
ssl? ( dev-perl/IO-Socket-SSL
dev-perl/Net-SSLeay
dev-perl/Net-SMTP-SSL )
berkdb? ( sys-libs/db:6.0
dev-perl/BerkeleyDB )
mysql? ( dev-perl/DBD-mysql )
odbc? ( dev-perl/DBD-ODBC )
postgres? ( dev-perl/DBD-PgPP )
syslog? ( virtual/perl-Sys-Syslog )
ldap? ( dev-perl/perl-ldap
dev-perl/DBD-LDAP )"
S=${WORKDIR}/${PN}
pkg_setup() {
enewgroup assp
enewuser assp -1 -1 /dev/null assp
}
src_unpack() {
unpack ${A}
cd "${S}"
mkdir quarantine
if use afc; then
mv "${WORKDIR}"/ASSP_AFC.pm Plugins/ || die
fi
if use arc; then
mv "${WORKDIR}"/ASSP_ARC.pm Plugins/ || die
fi
if use dcc; then
mv "${WORKDIR}"/ASSP_DCC.pm Plugins/ || die
fi
if use ocr; then
mv "${WORKDIR}"/ASSP_OCR.pm Plugins/ || die
fi
if use razor; then
mv "${WORKDIR}"/ASSP_Razor.pm Plugins/ || die
fi
}
src_install() {
dodir /opt/assp
cp -r . ${D}/opt/assp
fowners assp:assp -R /opt/assp
fperms 755 /opt/assp/assp-monitor.pl /opt/assp/assp.pl /opt/assp/assp_pop3.pl
# Install the init.d script to listen
newinitd "${FILESDIR}/asspd.init" asspd
}
pkg_postinst() {
elog
elog "To configure ASSP, start /etc/init.d/asspd then point"
elog "your browser to http://localhost:55555"
elog "Username: admin Password: nospam4me (CHANGE ASAP!)"
elog
elog "File permissions have been set to use assp:assp"
elog "with mode 770 on directories. When you configure"
elog "ASSP, make sure and use the user assp."
elog
elog "Don't change any path related options."
elog
elog "See the on-line docs for a complete tutorial."
elog "http://assp.sourceforge.net/docs.html"
elog
}

View File

@ -10,13 +10,13 @@ depend() {
start() { start() {
ebegin "Starting ASSP" ebegin "Starting ASSP"
start-stop-daemon -b --start --quiet --startas /opt/assp/assp.pl \ start-stop-daemon -b --start --quiet --startas /opt/assp/assp.pl \
--pidfile /opt/assp/pid -- /opt/assp/ --interpreted --pidfile /opt/assp/pid -- /opt/assp/
2<&1 > /dev/null 2<&1 > /dev/null
eend $? eend $?
} }
stop() { stop() {
ebegin "Stopping ASSP" ebegin "Stopping ASSP"
start-stop-daemon --stop --retry=TERM/50/KILL/5 --quiet --pidfile /opt/assp/pid start-stop-daemon --stop --retry=TERM/120/KILL/5 --progress --quiet --pidfile /opt/assp/pid
eend $? eend $?
} }