diff options
author | Michael Cummings <mcummings@gentoo.org> | 2006-01-08 15:55:39 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2006-01-08 15:55:39 +0000 |
commit | b1a472dc1e96b6cfc88ea79b3d0483b7ecd06bdf (patch) | |
tree | 30cef99c9ac32bd94437792c873a0071ea59fd3f /mail-filter | |
parent | Marked stable on x86 for bug #116310. Changed dependencies back to match only... (diff) | |
download | historical-b1a472dc1e96b6cfc88ea79b3d0483b7ecd06bdf.tar.gz historical-b1a472dc1e96b6cfc88ea79b3d0483b7ecd06bdf.tar.bz2 historical-b1a472dc1e96b6cfc88ea79b3d0483b7ecd06bdf.zip |
Version bump; also closes bug 100592
Package-Manager: portage-2.1_pre1
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/anomy-sanitizer/ChangeLog | 10 | ||||
-rw-r--r-- | mail-filter/anomy-sanitizer/Manifest | 16 | ||||
-rw-r--r-- | mail-filter/anomy-sanitizer/anomy-sanitizer-1.76.ebuild | 110 | ||||
-rw-r--r-- | mail-filter/anomy-sanitizer/files/digest-anomy-sanitizer-1.76 | 1 |
4 files changed, 128 insertions, 9 deletions
diff --git a/mail-filter/anomy-sanitizer/ChangeLog b/mail-filter/anomy-sanitizer/ChangeLog index f6d8f368e0ca..7e264af7c2de 100644 --- a/mail-filter/anomy-sanitizer/ChangeLog +++ b/mail-filter/anomy-sanitizer/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for mail-filter/anomy-sanitizer -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/anomy-sanitizer/ChangeLog,v 1.9 2005/05/25 14:22:49 mcummings Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/anomy-sanitizer/ChangeLog,v 1.10 2006/01/08 15:55:39 mcummings Exp $ + +*anomy-sanitizer-1.76 (08 Jan 2006) + + 08 Jan 2006; Michael Cummings <mcummings@gentoo.org> + +anomy-sanitizer-1.76.ebuild: + Version bump; also closes bug 100592 25 May 2005; Michael Cummings <mcummings@gentoo.org> anomy-sanitizer-1.70.ebuild: diff --git a/mail-filter/anomy-sanitizer/Manifest b/mail-filter/anomy-sanitizer/Manifest index 4acfd7ebbc16..9b3970545ea7 100644 --- a/mail-filter/anomy-sanitizer/Manifest +++ b/mail-filter/anomy-sanitizer/Manifest @@ -1,21 +1,23 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 ded64f993bf1999a1a529304aaf26423 ChangeLog 1757 +MD5 0fc1a67ccdaffb7361b7e47c21ffe086 ChangeLog 1922 MD5 1f14ac3e402e2ef4c2c88e07d9994f63 anomy-sanitizer-1.67.ebuild 2952 -MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305 MD5 1590db5859441100b158c2b0bee838a4 anomy-sanitizer-1.70.ebuild 2952 +MD5 b2ebc537a4ec3e164e78d4269b0c27a8 anomy-sanitizer-1.76.ebuild 3021 MD5 9d08cc149086d19bbf4d2f7f0d17e105 files/anomy.conf 6714 MD5 bfbe48e53cc13347c50082c700ca1981 files/digest-anomy-sanitizer-1.67 72 +MD5 ca5a2e524fc83140e046ae2c0c8f0e3e files/digest-anomy-sanitizer-1.70 72 +MD5 1bdbd19274c7e18905755393bf54a9f1 files/digest-anomy-sanitizer-1.76 72 MD5 28080935c9282efa29386151ab7036ab files/sample2_mailfilter.sh 1898 MD5 ea517247fe8f9611e41361de67d49d52 files/sample_e-mail-architecture.png 15409 MD5 e516d95d8691b03784d4868f0d4dc9ac files/sample_e-mail-architektur.flw 7001 MD5 021c6f48e4dd016e195dfe39afd39522 files/sample_mailfiler.sh 1725 -MD5 ca5a2e524fc83140e046ae2c0c8f0e3e files/digest-anomy-sanitizer-1.70 72 +MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) +Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFClIpOtG5z4I8BtQoRAsIbAKCJQVjY/SPy265JGObUOKnEh3E1CwCfboHF -kApcCDQKhDOutnsBhrVA2Kk= -=Zb8X +iD8DBQFDwTYGtG5z4I8BtQoRAg39AJ9bKxD51BEue5iCcUoa0QuCHEyzDwCeKZ8l +hcjmIxEr6bYps98eEv74gaE= +=lky6 -----END PGP SIGNATURE----- diff --git a/mail-filter/anomy-sanitizer/anomy-sanitizer-1.76.ebuild b/mail-filter/anomy-sanitizer/anomy-sanitizer-1.76.ebuild new file mode 100644 index 000000000000..027961de887e --- /dev/null +++ b/mail-filter/anomy-sanitizer/anomy-sanitizer-1.76.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/anomy-sanitizer/anomy-sanitizer-1.76.ebuild,v 1.1 2006/01/08 15:55:39 mcummings Exp $ + +DESCRIPTION="Perl based e-mail filtering tool, sensitive to html tags, mime types and attachments" +HOMEPAGE="http://mailtools.anomy.net/" +SRC_URI="http://mailtools.anomy.net/dist/${PN}-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="dev-lang/perl + >=perl-core/MIME-Base64-2.12-r2 + >=dev-perl/Mail-Audit-2.1-r1 + dev-perl/Convert-TNEF + dev-perl/MIME-tools + dev-perl/libwww-perl + virtual/mta" +DEPEND="${RDEPEND}" + + +DEST="/usr/share/${PN}" +SANI_WORKDIR="/var/spool/sanitizer" + + +src_install() { + keepdir ${SANI_WORKDIR} + dodir ${DEST} + insinto ${DEST} + +# generate lists for doins + _list="anomy anomy/bin anomy/bin/Anomy anomy/bin/Anomy/Sanitizer anomy/contrib anomy/testcases anomy/testcases/results.def" + + for i in $_list; do + _di=`echo $i | sed -e "s/^anomy//g; s/^\///g"` + insinto ${DEST}/$_di + + _sublist=`find ${WORKDIR}/$i/* -type f -maxdepth 0` + for l in $_sublist; do + echo + doins $l + done + done + + insinto ${DEST} + doins ${FILESDIR}/*.conf + doins ${FILESDIR}/*.sh + doins ${FILESDIR}/*.png + doins ${FILESDIR}/*.flw + + keepdir /etc/mail/anomy-sanitizer + dosym ${DEST}/anomy.conf /etc/mail/anomy-sanitizer/anomy.conf +} + +pkg_postinst() { + if [ -z "`grep ^sanitizer: ${ROOT}/etc/group`" ]; then + groupadd sanitizer + fi + + if [ -z "`grep ^sanitizer: ${ROOT}/etc/shadow`" ]; then + useradd sanitizer -d ${SANI_WORKDIR} -g sanitizer -s /bin/false + fi + + if [ -z "`grep ^sanitizer:.*sanitizer /etc/group`" ]; then + usermod -G sanitizer sanitizer + fi + + chown -R sanitizer:sanitizer ${ROOT}/${SANI_WORKDIR} + chmod -R a-rwx,g+X,u+rwX ${ROOT}/${SANI_WORKDIR} + chown -R sanitizer:sanitizer ${ROOT}/${DEST} + chmod -R a-rwx,g+rX,u+rX ${ROOT}/${DEST} + chmod u+x ${ROOT}/${DEST}/bin/*.pl + chmod u+x ${ROOT}/${DEST}/contrib/*.pl + chmod u+x ${ROOT}/${DEST}/testcases/*.sh + chmod u+w ${ROOT}/${DEST}/* + chmod u+w ${ROOT}/${DEST}/bin + chmod u+w ${ROOT}/${DEST}/bin/Anomy + chmod u+w ${ROOT}/${DEST}/bin/Anomy/Sanitizer + chmod u+w ${ROOT}/${DEST}/contrib + chmod u+w ${ROOT}/${DEST}/testcases + chmod u+w ${ROOT}/${DEST}/testcases/results.def + + echo "" + echo "" + einfo "There is a howto for the integration of sanitizer" + einfo "into your (postfix) mail system at" + einfo "\thttp://advosys.ca/papers/postfix-filtering.html" + einfo "Please find example scripts to be used to integrate sanitizer" + einfo "into your (postfix) mail system at" + einfo "\t${ROOT}/${DEST}" + einfo "There is also a png and kivio document about a possible" + einfo "e-mail architecture" + echo "" + echo "" +} + +pkg_postrm() { + rm -f ${ROOT}/${DEST}/anomy.conf + + # remove groups and users + if [ -n "`grep ^sanitizer: ${ROOT}/etc/group`" ]; then + groupdel sanitizer + fi + + if [ -n "`grep ^sanitizer: ${ROOT}/etc/shadow`" ]; then + userdel -r sanitizer + fi +} diff --git a/mail-filter/anomy-sanitizer/files/digest-anomy-sanitizer-1.76 b/mail-filter/anomy-sanitizer/files/digest-anomy-sanitizer-1.76 new file mode 100644 index 000000000000..0ff0d0c1b401 --- /dev/null +++ b/mail-filter/anomy-sanitizer/files/digest-anomy-sanitizer-1.76 @@ -0,0 +1 @@ +MD5 1f53b7da3cc4f3d78631546335ff9dcd anomy-sanitizer-1.76.tar.gz 172722 |