diff options
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/Manifest.gz | bin | 11028 -> 11025 bytes | |||
-rw-r--r-- | mail-filter/assp/Manifest | 4 | ||||
-rw-r--r-- | mail-filter/assp/assp-1.9.4.7.ebuild | 179 | ||||
-rw-r--r-- | mail-filter/assp/assp-1.9.4.8.ebuild | 179 |
4 files changed, 0 insertions, 362 deletions
diff --git a/mail-filter/Manifest.gz b/mail-filter/Manifest.gz Binary files differindex 3803313bf60d..e68b51328bee 100644 --- a/mail-filter/Manifest.gz +++ b/mail-filter/Manifest.gz diff --git a/mail-filter/assp/Manifest b/mail-filter/assp/Manifest index 3e6dc09f41b7..16e77cfbe4fd 100644 --- a/mail-filter/assp/Manifest +++ b/mail-filter/assp/Manifest @@ -1,12 +1,8 @@ AUX asspd.init 557 BLAKE2B b73f8361139a8103048009783d039ed63c7d96c7200167da316d02359bcefd56cd9003df6f28922661af5a0804e2468085289993564e8fa9b32222c349539b96 SHA512 ca762f84f123146a2e17c8c429ca03960d4cb82d74166ce3cead0d70529112eae2ce02f5ffa47d4730b21ff151c6eb05b1b28fa12d87d7f16d2859773c2845d7 DIST ASSP_1.8.5.9-Install.zip 750552 BLAKE2B 6118ce4c66990632a7915a4fc9b13b89ec3aaf4893c911d87c9b541ea55d7d71ed97bdd5337128cba04e0e4f95eff824679dc792d2085633628cf9bb357965f9 SHA512 146f86b8ddd235cca784057a73ae45395d4dc81591001f28a63275e6cf0e234145086029f112953e26aa8433ba434002e5ca85acc2e63af1615e7b9f58764f1c -DIST ASSP_1.9.4.7-Install.zip 1461151 BLAKE2B 243d7a9457c8562dcebd396d0c97697c36915fc741f287bb82df35e830d8346a8e48f7c7824428e915f55b2cf72715788af5bbb5681c223249777cbb9ef43b0a SHA512 02083320630831fee048e13d6101dd844aceadddf36a5f2b5bff6f203d67be2e456fb992a71e903a9dace48992962a6d26f90998025b8666e24f3f4aaec76cfc -DIST ASSP_1.9.4.8-Install.zip 1462121 BLAKE2B 6f156a45c357fbebcbe180e90716c0c5ccb00c7633f3bf5c5db8da76763a2153b53d501d1152bff92f1bde2b16f1fc4bcdd9b682600d251ad35876e93e4099e8 SHA512 4888bfb4e8577608ee638391c6c9f38901f70e60fa29829d0f5a56102f13ba08b8363d9041bfb64d9d238526bc4051d5d97faddd6d819909d6dd4e6aa0a96225 DIST ASSP_1.9.4.9-Install.zip 1461140 BLAKE2B ce79146c42a2c48da125b603dc1084688baf4dc020a5fc4e8305a7afd5467f2e2a978d2fdc2e06055e8f7ab94a9a8b11b7ec40cf23f566dd8a76f9c8c21b2ccb SHA512 a049a8e36193aee12c7abc7bbfdc41a92a7a33f6f01f7e6cded406f1f84ddf3c514808ca1c4c6a25c3a441b3a2792b4451ca218021bb09dad508a56434c8656b DIST ASSP_1.98_13030_install.zip 874117 BLAKE2B c23e51dea63a9ecfa94a4110dbe4cd7dee44faf89107a0f1ba72441acbd28cf7a09928c1a2f0b5e39f7e47d5a197651740c82e0a6ec8ddd61f7bd29b3354b954 SHA512 46c067c9ffe98f860669166fca69346c974bc82a1c0a5046f607aae8344fe18d41f7a87c2f79bdfcaa24c6233a88a590031deab66c76d42fee78fec64dc2a2a1 EBUILD assp-1.8.5.9.ebuild 5808 BLAKE2B 7080afa1842713cecdca76d7a57af7527a86103ab2a77492fd0705c6a9ec3c2b3e39150f033450a0c19c27a0341e5be2e24522a877729b46291a68edfc88d7fb SHA512 aead31f7b7b93154430eed8a66568d858ae569540016606890697538da62374553f90b5bf9be29e6244e76c765e5493c5d481d12252bb4ce2f5a37b763de50dc -EBUILD assp-1.9.4.7.ebuild 5858 BLAKE2B 7cf3fe11ba05b1b864598458a71d8516a2622045155db4d85d84108e88cbcc177e09b1f475fb72cbbf3e59f745a58bbad11b1de888e870753fd5cfe568e87700 SHA512 32f7d74cac895f26f33f0e4a248b3d370c179afcfcebe2d6154ffc7880bcf1cc0d1d4327c639bc40e2f2052bc3768a8ceb24f94f1ac3ada41510b556f1cb1979 -EBUILD assp-1.9.4.8.ebuild 5858 BLAKE2B 7cf3fe11ba05b1b864598458a71d8516a2622045155db4d85d84108e88cbcc177e09b1f475fb72cbbf3e59f745a58bbad11b1de888e870753fd5cfe568e87700 SHA512 32f7d74cac895f26f33f0e4a248b3d370c179afcfcebe2d6154ffc7880bcf1cc0d1d4327c639bc40e2f2052bc3768a8ceb24f94f1ac3ada41510b556f1cb1979 EBUILD assp-1.9.4.9.ebuild 5858 BLAKE2B 7cf3fe11ba05b1b864598458a71d8516a2622045155db4d85d84108e88cbcc177e09b1f475fb72cbbf3e59f745a58bbad11b1de888e870753fd5cfe568e87700 SHA512 32f7d74cac895f26f33f0e4a248b3d370c179afcfcebe2d6154ffc7880bcf1cc0d1d4327c639bc40e2f2052bc3768a8ceb24f94f1ac3ada41510b556f1cb1979 EBUILD assp-1.9.8.13030.ebuild 5869 BLAKE2B de1572ea63ad737b9c11577e148f9fe8b9614cbfabb9c117b7a3172d12870d5f850c7e03bc56f5a22caafa11777f6158691caaa2d109fd456214c5ca174b6997 SHA512 6fa4a530524fe24e9c11b33b0ed052b5dba3a2640bd7df53cfb0cf8d7ea46df2fc5299fb2dc646519ddcf9668ce5484c53625c6f4917368bab14037f4dae6ac4 MISC metadata.xml 1012 BLAKE2B a1d7936ab341bb80ed931ea07d09eafb9f5d0bd9e84f18fad315693e6585e39cd098aaff4ba63dc51b942d864f9b6b97d1c84d9d6939c13591ce35ba3000a958 SHA512 32be6692f834f853e7c7382422075851a8c86c115e5ac119a583d9c66b21350939e62197a9bbca3ef1d1b988833572de82cc2118eae9cc0b9eed260ce0838066 diff --git a/mail-filter/assp/assp-1.9.4.7.ebuild b/mail-filter/assp/assp-1.9.4.7.ebuild deleted file mode 100644 index 28803fea46ce..000000000000 --- a/mail-filter/assp/assp-1.9.4.7.ebuild +++ /dev/null @@ -1,179 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -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? ( virtual/perl-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 -} diff --git a/mail-filter/assp/assp-1.9.4.8.ebuild b/mail-filter/assp/assp-1.9.4.8.ebuild deleted file mode 100644 index 28803fea46ce..000000000000 --- a/mail-filter/assp/assp-1.9.4.8.ebuild +++ /dev/null @@ -1,179 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -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? ( virtual/perl-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 -} |