summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2012-10-29 05:42:10 +0000
committerPatrick Lauer <patrick@gentoo.org>2012-10-29 05:42:10 +0000
commit5c1d45022dce2f9c2b2514cca2bb4e9c39fc0c63 (patch)
treed78e56be05f63983dcdc831245c8771fe9582216 /mail-filter
parentManifest fix (diff)
downloadhistorical-5c1d45022dce2f9c2b2514cca2bb4e9c39fc0c63.tar.gz
historical-5c1d45022dce2f9c2b2514cca2bb4e9c39fc0c63.tar.bz2
historical-5c1d45022dce2f9c2b2514cca2bb4e9c39fc0c63.zip
Bump
Package-Manager: portage-2.2.0_alpha142/cvs/Linux x86_64
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/assp/ChangeLog7
-rw-r--r--mail-filter/assp/Manifest4
-rw-r--r--mail-filter/assp/assp-1.9.4.7.ebuild178
3 files changed, 187 insertions, 2 deletions
diff --git a/mail-filter/assp/ChangeLog b/mail-filter/assp/ChangeLog
index 9d7581b91e7d..44ba3018a37f 100644
--- a/mail-filter/assp/ChangeLog
+++ b/mail-filter/assp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-filter/assp
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/assp/ChangeLog,v 1.48 2012/10/17 09:43:12 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/assp/ChangeLog,v 1.49 2012/10/29 05:41:59 patrick Exp $
+
+*assp-1.9.4.7 (29 Oct 2012)
+
+ 29 Oct 2012; Patrick Lauer <patrick@gentoo.org> +assp-1.9.4.7.ebuild:
+ Bump
*assp-1.9.4.6 (17 Oct 2012)
diff --git a/mail-filter/assp/Manifest b/mail-filter/assp/Manifest
index 0e2aa0559723..7e19b4ad36d8 100644
--- a/mail-filter/assp/Manifest
+++ b/mail-filter/assp/Manifest
@@ -6,10 +6,12 @@ DIST ASSP_1.9.3.9-Install.zip 863847 SHA256 563eecfc6be4d4de323d57903cdf62814c65
DIST ASSP_1.9.4.0-Install.zip 866260 SHA256 965489c475794e25a7ecf03aae2027b80e9fe2e324638aead4cf219acbe7e160 SHA512 71fafff6b2e8d03b7b1d0915671373e033577dc643682c2134b305da7b8b4cafbe097744247b4d9a59620d547b639f70e8676126f103175c9ed8f2d1e628acfa WHIRLPOOL e862b3d5a6ead965ff1e9c50ebef9ae6252a220a312d3d5dbac463b9e8dcf041d49e8bf601528fbb89ff3f9cb4e5cefee4fca4f044abf8eea4f9a3f5ec56b566
DIST ASSP_1.9.4.5-Install.zip 1460362 SHA256 845ce11969f9980a0c277c693f915d48d6c0460d4dde121a6a5e7e1ac302fdce SHA512 1e69b05c431429c323d6d7263b4cfa737fe13d4b5162df614d5290beecc9a412a785186d662fd4197f84ba62550d1c2c2ee17d8c0a3633a43f9234e89cfeee36 WHIRLPOOL 132c54f689ae87f33e72c0e00956481f4d4577484b587e1e125e8dda8b9e8a85afd630635566386abdeaf783caf0e09a9758732e21deae2d035d9b72a62f7bc2
DIST ASSP_1.9.4.6-Install.zip 1472945 SHA256 f40415a88d2e70cf0728fa0243aa6915148ee45548c5b7e07de25ff4a2309524 SHA512 9e47e86fcdaf029f12ff91737e34620c0581e6ab0be4ac0aa73d8cbaee65240b07d8b3b20e3d2cf01eb5ca7d95f824f8be7ef64732eeb64420d994cd772361b8 WHIRLPOOL 0e95564cfa9e6362fbdcc4c7087aa84b0b9d8a412e91131df2336870cb11f078a2cd9e78229bef6dccc4290559a854a65e4ff9912bcfda8a5dedf3ab0dbbe3dd
+DIST ASSP_1.9.4.7-Install.zip 1461151 SHA256 47180d185624a96d4b218fa48d30997cb048cf5a01ea43140b203ce9cab6edb9 SHA512 02083320630831fee048e13d6101dd844aceadddf36a5f2b5bff6f203d67be2e456fb992a71e903a9dace48992962a6d26f90998025b8666e24f3f4aaec76cfc WHIRLPOOL 07bd6c83f9a70c7cadbc5834979c49221fe053e5ab42cb747d09aec402553c8b3ee1677a786276f536c242ff6622405d43dada55bbf8744cf647b6c13c8251f3
EBUILD assp-1.8.5.9.ebuild 5910 SHA256 abcd768783c1014d1874994386260884c438f1286a64fd483bc27db085ef75ba SHA512 5fd41d38b8e7341337139a49a57ee00cca2ecdbf836fc20f41a8315b25cdf6cc85b3d6f79bd2c6ad58dc875279a1c1ff5167193557897b19a461882e9862d417 WHIRLPOOL c0b99d715af8e04af6e2ad88e96faad5c9dc5a9917b72a414f999819669b7d9445a23dbb05ce98463d8ee0abc4f09e257bb77d7cc9099d2b18fdc31e6dc51b4d
EBUILD assp-1.9.3.9.ebuild 5960 SHA256 ee79f9b510b51746926f53816ce03eda1c8ee2d9bf40639630530e13addb8d73 SHA512 fe487d03e7d145205e92cdf3d305ae5b8df50dc8477811fcaec9897318a22aa6795d07b668db575166bb164db609fb6be7b84b83e3af68a2929a180b1a07c58b WHIRLPOOL 6ac1e635b01cee74d7e51b14f74b4c9eb84c146908382a13e5b07a424f3da826f8afb7e48304cc3ca74b8c8426aa52963d84015386bfcd68ffd6ed5abb53d7c7
EBUILD assp-1.9.4.0.ebuild 5960 SHA256 0e730306d4ebaa85d36787a976ca8b2bd3dd5fcb8669593bb1a601be6c95d7b8 SHA512 270d997d754a279b29a04986fad400a27ee92a575d07ee41fad7127e142dcab692eb4bf2486c5c94a568c2c32876492e66f431554f6066d48456492366d3d033 WHIRLPOOL 550f1f4f42083203d18c28c63eb008dc38084f0ba5658686fa1dfd550e05a6119be3290e8c12e099906c44ece416308a9147b47696963bda01189b1960e6090c
EBUILD assp-1.9.4.5.ebuild 5960 SHA256 75e21b01ecb84e914f5b7d9b603e97a0207f994946f13a2d55779e2ea242e71c SHA512 9c7c81e2318d3c5a742140b67e210d92686289d84e72cd90c1a9bdc6e3a1311bff69149a6a7369ac651ce35819512f5f5505dc25175c6f326c5d7ab747152fe7 WHIRLPOOL d8ab05dc2e5451c0dd6f3926ee5db5c1bdc76d3b1add8a66b52ce2da162d356cf65b4b665a47778c8b3dc2db8eccac58fe2ea7a53f87b31b00b2b7a5d0511a56
EBUILD assp-1.9.4.6.ebuild 5960 SHA256 e585c52f415cb6e9a2641f4d3fa523fa13e8c87170e9e183edb14133b3fd6b1a SHA512 aaf409b91a77f8a74b1081f9a24c8b8d328358653f9df781137155913777d8b409d7746eb5bdf98d6a737db2997c5577379b6c8bb34a762dc28bb468e56d677f WHIRLPOOL 22491b0a795a93e296011aa56a507bfda69124244742fe02b248d899e97396d613f078c2c0622f49a6f7bddc1c749d5d3189b83538eadd12be06fce3d3d0ad65
-MISC ChangeLog 9325 SHA256 589f0a39936979a6f418c3364c1ba6ffb97133645507b65b946d01edcfcbd320 SHA512 be4e778f43b9d2c949150c38d32f9814bfb99108a769d13ffe2ddb176cf8a89f0845bafa8111b05ab86c639ea33d8dc485907e5bee360d6b2bb8271a1154d822 WHIRLPOOL 8becf6f02475a8cae176d7ec4ad959ef13959950d64bcdf3a1b111bb4d48e58e01d30dcaad570235cca7a2f6c2bd101a23bb49fbd246154bbf47447d5c21091b
+EBUILD assp-1.9.4.7.ebuild 5960 SHA256 4ddc8e3145bd7a6297e8c840792d0864697a03cddb63ad2fc5569e995d06dfde SHA512 8e12abb00e1560d0f9f83b9f46f89c49f88f216a128cd248ceb7a74d71aa44cbbb9191cfad72946cb1687cb3e121112d20d27b3de365140dffa75320cedbd919 WHIRLPOOL 207e38e54fbb1f2063fa2f1d3b9c04c4d0a1e495ce76b8df4b273682b27bbbed60846bd836067d7595046190d9d807737a1ac3847efd6b48d63e87da66b492d8
+MISC ChangeLog 9434 SHA256 cded92b9c7809d6954c873568a93c253f0dff258df69bd4817e6e34d6a4462fb SHA512 ab9baf9b1900fd186aac06d63ba53007f59a875affd6d52725fa328ed3ab2102a07aa61ae4e835e7c389fe988bf7f48ab86d75750f54144887d1efc8d1c1d88a WHIRLPOOL 75491924a65708aa86a16b6b4e812ea5cd70ab173b504f2945207f733db1afcc0865c2cb611b1c970bdbc814c0ea43e62da6676207242d00543a00f7b9a04047
MISC metadata.xml 952 SHA256 47420d03c557612984522bc0c831d8a7ceacdeb1fbe78aa835daae8da681324c SHA512 1e577714f95a0fea0a5a2e212e8089339572170a1a9085aefebfb94eabc2899639931cb24befcc8c9cf2d89c6822fdc3ca0016153c7b1cec23e35228829a98f1 WHIRLPOOL f5884508d5615c36cbbbefe035be3d4187e6bfc213d5f3d2ee1c4f89c58344ec3bd94bb63997c1bde246387ea12a552e07b7710d8a9a46366708fc035d88c434
diff --git a/mail-filter/assp/assp-1.9.4.7.ebuild b/mail-filter/assp/assp-1.9.4.7.ebuild
new file mode 100644
index 000000000000..49d9c3479c02
--- /dev/null
+++ b/mail-filter/assp/assp-1.9.4.7.ebuild
@@ -0,0 +1,178 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/assp/assp-1.9.4.7.ebuild,v 1.1 2012/10/29 05:41:59 patrick Exp $
+
+inherit eutils user
+
+DESCRIPTION="Anti-Spam SMTP Proxy written in Perl."
+HOMEPAGE="http://assp.sourceforge.net/"
+MY_PN=ASSP_${PV}-Install
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}.zip"
+LICENSE="GPL-2"
+SLOT="0"
+
+# this is a pre-release, so no keywords for now
+KEYWORDS="~amd64 ~x86"
+
+IUSE="ipv6 ldap sasl spf srs ssl syslog"
+
+DEPEND="app-arch/unzip"
+
+RDEPEND="dev-lang/perl
+ dev-perl/Net-DNS
+ dev-perl/File-ReadBackwards
+ virtual/perl-IO-Compress
+ dev-perl/Email-MIME
+ dev-perl/Email-Send
+ dev-perl/Email-Valid
+ dev-perl/libwww-perl
+ dev-perl/mime-construct
+ dev-perl/Net-CIDR-Lite
+ virtual/perl-Digest-MD5
+ virtual/perl-Time-HiRes
+ ipv6? ( dev-perl/IO-Socket-INET6 )
+ sasl? ( dev-perl/Authen-SASL )
+ spf? ( dev-perl/Mail-SPF )
+ srs? ( dev-perl/Mail-SRS )
+ ssl? ( dev-perl/IO-Socket-SSL )
+ syslog? ( perl-core/Sys-Syslog )
+ ldap? ( dev-perl/perl-ldap )"
+
+S=${WORKDIR}/${MY_PN}/ASSP
+
+pkg_setup() {
+ enewgroup assp
+ enewuser assp -1 -1 /dev/null assp
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ local FILES="
+ assp.pl
+ rebuildspamdb.pl
+ stat.pl
+ "
+ # just being safe
+ for file in ${FILES}; do
+ edos2unix ${file}
+ done
+
+ # portable changes via sed vs patch
+ sed -i -e 's|file:files/|file:/etc/assp/|' \
+ -e 's|$base/images|/usr/share/assp/images|' \
+ -e 's|logs/maillog.txt|/var/log/assp/maillog.txt|' \
+ -e 's|PID File'\'',40,textinput,'\''pid'\''|PID File'\'',40,textinput,'\''asspd.pid'\''|' \
+ -e 's|Daemon\*\*'\'',0,checkbox,0|Daemon\*\*'\'',0,checkbox,1|' \
+ -e 's|UID\*\*'\'',20,textinput,'\'''\''|UID\*\*'\'',20,textinput,'\''assp'\''|' \
+ -e 's|GID\*\*'\'',20,textinput,'\'''\''|GID\*\*'\'',20,textinput,'\''assp'\''|' \
+ -e 's|popFileEditor'\('\\'\''pb/pbdb\.\([^\.]*\)\.db\\'\'',|popFileEditor(\\'\''/var/lib/assp/pb/pbdb.\1.db\\'\'',|g' \
+ -e 's|$base/assp.cfg|/etc/assp/assp.cfg|g' \
+ -e 's|$base/$pidfile|/var/run/assp/asspd.pid|' \
+ -e 's|mkdir "$base/$logdir",0700 if $logdir;||' \
+ -e 's|mkdir "$base/$logdir",0700;||' \
+ -e 's|$base/$logfile|$logfile|' \
+ -e 's|$base/$logdir|$logdir|' \
+ -e 's|"maillog.log"|"/var/log/assp/maillog.log"|' \
+ -e 's|-d "$base/logs" or mkdir "$base/logs",0700;||' \
+ -e 's|-d "$base/notes" or mkdir "$base/notes",0700;||' \
+ -e 's|-d "$base/docs" or mkdir "$base/docs",0777;||' \
+ -e 's|$base/$archivelogfile|$archivelogfile|' \
+ -e 's|"$base/$file",$sub,"$this|"/etc/assp/$file",$sub,"$this|' \
+ -e 's|"$base/$file",'\'''\'',"$this|"/etc/assp/$file",'\'''\'',"$this|' \
+ -e 's|my $fil=$1; $fil="$base/$fil" if $fil!~/^\\Q$base\\E/i;|my $fil=$1;|' \
+ -e 's|$fil="$base/$fil" if $fil!~/^\\Q$base\\E/i;|$fil="/etc/assp/$fil" if $fil!~/^\\/etc\\/assp\\/\|\\/var\\/lib\\/assp\\/\/i;|' \
+ -e 's|$fil="$base/$fil" if $fil!~/^((\[a-z\]:)?\[\\/\\\\\]\|\\Q$base\\E)/;||' \
+ -e 's|if ($fil !~ /^\\Q$base\\E/i) {|if ($fil !~ /^\\/usr\\/share\\/assp\\//i) {|' \
+ -e 's|$fil = "$base/$fil";|$fil = "/usr/share/assp/$fil";|' \
+ -e 's|Q$base\\E|Q\\/etc\\/assp\\/\\E|' \
+ -e 's|$fil="$base/$fil"|$fil="/etc/assp/$fil"|' \
+ -e 's|$base/$bf|/etc/assp/$bf|g' \
+ -e 's|rebuildrun.txt|/var/lib/assp/rebuildrun.txt|' \
+ assp.pl || die
+
+ # sed rebuildspamdb.pl
+ sed -i -e 's|assp.cfg|/etc/assp/assp.cfg|' \
+ -e 's|} && "$Config{base}/$Config{logfile}" \|\| '\''maillog.txt'\'';|};|' \
+ -e 's|tmaxtick('\''rebuild'\'');|tmaxtick('\''/var/lib/assp/rebuild'\'');|' \
+ -e 's|goodhosts|/var/lib/assp/goodhosts|g' \
+ -e 's|rebuildrun.txt|/var/lib/assp/rebuildrun.txt|' \
+ -e 's|$base/$DropList|$DropList|' \
+ -e 's|&fixPath($base) . "/|"|' \
+ -e 's|= "/var/lib/assp/rebuildrun.txt";|= "/var/lib/assp/rebuildrun.txt";\n $RebuildLog = "/var/lib/assp/rebuild.log";|' \
+ -e 's|"$base//|"/|g' \
+ rebuildspamdb.pl || die
+
+ # remove windows stuff
+ rm "${S}/addservice.pl" || die "Could not remove ${S}/addservice.pl"
+ rm -f "${S}/Win32-quickstart-guide.txt" || die "Could not remove ${S}/Win32-quickstart-guide.txt"
+}
+
+src_install() {
+ # Configuration directory
+ dodir /etc/assp/notes
+
+ insinto /etc/assp
+ # Installs files that are used by assp for black/gray lists,
+ # and domain country lookup. To be changed by admin as needed.
+ doins files/*.txt || die
+
+ fowners assp:assp /etc/assp -R
+ fperms 770 /etc/assp /etc/assp/notes
+
+ # Setup directories for mail to be stored for filter
+ keepdir /var/lib/assp/spam /var/lib/assp/notspam
+ keepdir /var/lib/assp/errors/spam /var/lib/assp/errors/notspam
+
+ # Logs directory
+ keepdir /var/log/assp
+ fowners assp:assp -R /var/log/assp
+ fperms 770 /var/log/assp
+
+ # Install the app
+ exeinto /usr/share/assp
+ doexe *.pl *.sh || die
+ insinto /usr/share/assp
+ doins -r images/ || die
+
+ # Lock down the files/data
+ fowners assp:assp -R /usr/share/assp
+ fperms 770 /usr/share/assp
+
+ # Data storage
+ fowners assp:assp -R /var/lib/assp
+ fperms 770 /var/lib/assp
+
+ # PID directory
+ dodir /var/run/assp
+ keepdir /var/run/assp
+ fowners assp:assp -R /var/run/assp
+ fperms 770 /var/run/assp
+
+ # Install the init.d script to listen
+ newinitd "${FILESDIR}/asspd.init" asspd
+
+ dohtml docs/*.htm || die "Failed to install html docs"
+}
+
+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
+ elog "If upgrading, please update your old config to set both"
+ elog "redre.txt and nodelay.txt path of /etc/assp. There are"
+ elog "also many new options that you should review."
+ elog
+}