mail-filter/assp: new version
This commit is contained in:
parent
718f96182b
commit
0f0eee7fb4
|
@ -1,6 +1,7 @@
|
|||
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_15059_install.zip 1560794 SHA256 e2f5f841a4b85968abf3be26c3674900fc1a09ab7bc2bb348132964fbf0dfa2d SHA512 dd48456d451655a5bb449a7503e3c9028adca911215ea16f1ae78f75f756bb5792fb602836198fbc8c4aab9a5a7ed3c091ad041adb2aee0c187a4cb812b7b2f1 WHIRLPOOL a24bf988043a03d14b04aa6e0df217b5699bd4f15b0001cf9554c46327f1636661fb40b3b1caa2240f061c9f6cc6a4ccbb00be26fa34cbdc625d3e8ef8763ae5
|
||||
DIST ASSP_2.4.3_15075_install.zip 1562804 SHA256 a78cc642abdbc2e1a97e6be2a68ae2f9801fbf29f0298efa75bf80ba4eef217b SHA512 8f7fc580146e750ac2a3692310a2b16d1765b7b8abd19dc52db6b68f9ff94e225e6a14d49aad7352ecdad097f0e6f285abfd565c72358e157ea857b453731153 WHIRLPOOL 2ea3218a11e2b958cc943139c9e1f53bac7c75b0d460c57bfca5ac89b565fc9bab84de47188c0289c0fedebadbfa0a9e6cf8d09f7e083563140ff3b24eb80ebe
|
||||
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_DCC_2.01.zip 6018 SHA256 9b40e8fe9dd4f8bef741fadaf867084c26106fea61a0863c01bdd2cdf9d85753 SHA512 caec1fbbac8b2f31373c31e0fe637d3020f34dd02f7f010e7af42c7c28f62d7673d0ca93036608b524711b7d1958dd6657cc089df16f48dfd84ed5067c1d0521 WHIRLPOOL c012559e934b94427004bf0636245e6c49aeee5f1c7618719a3c53487ed24dec8ea40126667edcaec737b1677d5130b2c4be57a7bac55f5efcd4e2967ec6602f
|
||||
|
@ -8,3 +9,4 @@ DIST ASSP_OCR_2.20.zip 7837 SHA256 dd1005b7758482659a90713ce163e53b26768b8406362
|
|||
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-r15059.ebuild 4916 SHA256 f1cf5779e6e8f33782a54e3597514d5b73bc675ef579aef377c9b951bccdcae5 SHA512 6178bc06d21a2507c39ef9e94f5ae99757979eac6685abe033b62d7fadd897e90bddc57eb56428b30fe8be9664616d646f11126b31d64c171f60fd4a8c24d316 WHIRLPOOL 766b3703fddaa6ec8a28ea187c502e053be4358e76d13de3bd42d04e562db3207b894b3738c92e94459899051d4791c80f535cb9004ec1ec7111615b424ca49b
|
||||
EBUILD assp-2.4.3-r15075.ebuild 4916 SHA256 f1cf5779e6e8f33782a54e3597514d5b73bc675ef579aef377c9b951bccdcae5 SHA512 6178bc06d21a2507c39ef9e94f5ae99757979eac6685abe033b62d7fadd897e90bddc57eb56428b30fe8be9664616d646f11126b31d64c171f60fd4a8c24d316 WHIRLPOOL 766b3703fddaa6ec8a28ea187c502e053be4358e76d13de3bd42d04e562db3207b894b3738c92e94459899051d4791c80f535cb9004ec1ec7111615b424ca49b
|
||||
|
|
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue