summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-06-13 11:57:41 +0000
committerJustin Lecher <jlec@gentoo.org>2011-06-13 11:57:41 +0000
commit62a9e0f96abde3c399293052da3cd9b335633f4f (patch)
tree8672ccc679243f4b0b4a19b5b7884365f6c1d59b /mail-filter/anomy-sanitizer
parentRemove retired maintainer and proxy. (diff)
downloadgentoo-2-62a9e0f96abde3c399293052da3cd9b335633f4f.tar.gz
gentoo-2-62a9e0f96abde3c399293052da3cd9b335633f4f.tar.bz2
gentoo-2-62a9e0f96abde3c399293052da3cd9b335633f4f.zip
No binaryfiles in VCS please, #370867
(Portage version: 2.2.0_alpha40/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter/anomy-sanitizer')
-rw-r--r--mail-filter/anomy-sanitizer/ChangeLog7
-rw-r--r--mail-filter/anomy-sanitizer/anomy-sanitizer-1.67.ebuild105
-rw-r--r--mail-filter/anomy-sanitizer/anomy-sanitizer-1.70.ebuild105
-rw-r--r--mail-filter/anomy-sanitizer/anomy-sanitizer-1.76-r1.ebuild14
-rw-r--r--mail-filter/anomy-sanitizer/anomy-sanitizer-1.76.ebuild108
-rw-r--r--mail-filter/anomy-sanitizer/files/sample_e-mail-architecture.pngbin15409 -> 0 bytes
6 files changed, 14 insertions, 325 deletions
diff --git a/mail-filter/anomy-sanitizer/ChangeLog b/mail-filter/anomy-sanitizer/ChangeLog
index 8d45477e157e..3ee1daaa9652 100644
--- a/mail-filter/anomy-sanitizer/ChangeLog
+++ b/mail-filter/anomy-sanitizer/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-filter/anomy-sanitizer
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/anomy-sanitizer/ChangeLog,v 1.15 2011/06/09 20:21:01 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/anomy-sanitizer/ChangeLog,v 1.16 2011/06/13 11:57:41 jlec Exp $
+
+ 13 Jun 2011; Justin Lecher <jlec@gentoo.org> -anomy-sanitizer-1.67.ebuild,
+ -anomy-sanitizer-1.70.ebuild, -anomy-sanitizer-1.76.ebuild,
+ anomy-sanitizer-1.76-r1.ebuild, -files/sample_e-mail-architecture.png:
+ No binaryfiles in VCS please, #370867
09 Jun 2011; Torsten Veller <tove@gentoo.org> metadata.xml:
Move to maintainer-needed
diff --git a/mail-filter/anomy-sanitizer/anomy-sanitizer-1.67.ebuild b/mail-filter/anomy-sanitizer/anomy-sanitizer-1.67.ebuild
deleted file mode 100644
index a15f5608a3f8..000000000000
--- a/mail-filter/anomy-sanitizer/anomy-sanitizer-1.67.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2007 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.67.ebuild,v 1.11 2007/07/15 02:43:38 mr_bones_ 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="~x86 ~ppc ~amd64"
-IUSE=""
-
-RDEPEND="dev-lang/perl
- >=virtual/perl-MIME-Base64-2.12-r2
- >=dev-perl/Mail-Audit-2.1-r1
- 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 ""
- elog "There is a howto for the integration of sanitizer"
- elog "into your (postfix) mail system at"
- elog "\thttp://advosys.ca/papers/postfix-filtering.html"
- elog "Please find example scripts to be used to integrate sanitizer"
- elog "into your (postfix) mail system at"
- elog "\t${ROOT}/${DEST}"
- elog "There is also a png and kivio document about a possible"
- elog "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/anomy-sanitizer-1.70.ebuild b/mail-filter/anomy-sanitizer/anomy-sanitizer-1.70.ebuild
deleted file mode 100644
index d4cae8eb5132..000000000000
--- a/mail-filter/anomy-sanitizer/anomy-sanitizer-1.70.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2007 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.70.ebuild,v 1.5 2007/07/15 02:43:38 mr_bones_ 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="~x86 ~ppc ~amd64"
-IUSE=""
-
-RDEPEND="dev-lang/perl
- >=virtual/perl-MIME-Base64-2.12-r2
- >=dev-perl/Mail-Audit-2.1-r1
- 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 ""
- elog "There is a howto for the integration of sanitizer"
- elog "into your (postfix) mail system at"
- elog "\thttp://advosys.ca/papers/postfix-filtering.html"
- elog "Please find example scripts to be used to integrate sanitizer"
- elog "into your (postfix) mail system at"
- elog "\t${ROOT}/${DEST}"
- elog "There is also a png and kivio document about a possible"
- elog "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/anomy-sanitizer-1.76-r1.ebuild b/mail-filter/anomy-sanitizer/anomy-sanitizer-1.76-r1.ebuild
index d67d6da3a4f2..02e252a38e12 100644
--- a/mail-filter/anomy-sanitizer/anomy-sanitizer-1.76-r1.ebuild
+++ b/mail-filter/anomy-sanitizer/anomy-sanitizer-1.76-r1.ebuild
@@ -1,12 +1,14 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2011 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-r1.ebuild,v 1.2 2007/03/18 02:46:49 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/anomy-sanitizer/anomy-sanitizer-1.76-r1.ebuild,v 1.3 2011/06/13 11:57:41 jlec Exp $
inherit eutils
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"
+SRC_URI="
+ http://dev.gentoo.org/~jlec/distfiles/sample_e-mail-architecture.png.tar
+ http://mailtools.anomy.net/dist/${PN}-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -35,11 +37,11 @@ src_install() {
mv "${S}/contrib" "${D}/usr/share/doc/${PF}/"
insinto /usr/share/doc/${PF}/examples
- doins ${FILESDIR}/*.{sh,png,flw}
+ doins "${FILESDIR}"/*.{sh,flw} "${WORKDIR}"/*.png
keepdir ${SANI_CONFDIR}
insinto ${SANI_CONFDIR}
- doins ${FILESDIR}/*.conf
+ doins "${FILESDIR}"/*.conf
keepdir ${SANI_WORKDIR}
dodir ${DEST}
@@ -52,7 +54,7 @@ src_install() {
_di=`echo $i | sed -e "s/^anomy//g; s/^\///g"` &>/dev/null
insinto ${DEST}/$_di
- _sublist=`find ${WORKDIR}/$i/* -type f -maxdepth 0`
+ _sublist=`find "${WORKDIR}"/$i/* -maxdepth 0 -type f`
for l in $_sublist; do
echo &>/dev/null
doins $l
diff --git a/mail-filter/anomy-sanitizer/anomy-sanitizer-1.76.ebuild b/mail-filter/anomy-sanitizer/anomy-sanitizer-1.76.ebuild
deleted file mode 100644
index fc211b0ff74d..000000000000
--- a/mail-filter/anomy-sanitizer/anomy-sanitizer-1.76.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2007 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.4 2007/07/15 02:43:38 mr_bones_ 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
- >=virtual/perl-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 ""
- elog "There is a howto for the integration of sanitizer"
- elog "into your (postfix) mail system at"
- elog "\thttp://advosys.ca/papers/postfix-filtering.html"
- elog "Please find example scripts to be used to integrate sanitizer"
- elog "into your (postfix) mail system at"
- elog "\t${ROOT}/${DEST}"
- elog "There is also a png and kivio document about a possible"
- elog "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/sample_e-mail-architecture.png b/mail-filter/anomy-sanitizer/files/sample_e-mail-architecture.png
deleted file mode 100644
index 8df1a11dbd2a..000000000000
--- a/mail-filter/anomy-sanitizer/files/sample_e-mail-architecture.png
+++ /dev/null
Binary files differ