summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-07-27 20:42:24 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-07-27 20:42:24 +0000
commit6f860584d8a626de06db1e4bebfe0fcbb1c0e013 (patch)
tree731eb0dc2eb85039cd5fa3879c386cfaea82ca45
parentmedia-sound/lmms: Version bump (diff)
downloadsunrise-6f860584d8a626de06db1e4bebfe0fcbb1c0e013.tar.gz
sunrise-6f860584d8a626de06db1e4bebfe0fcbb1c0e013.tar.bz2
sunrise-6f860584d8a626de06db1e4bebfe0fcbb1c0e013.zip
in portage now
svn path=/sunrise/; revision=713
-rw-r--r--mail-filter/mimedefang/ChangeLog21
-rw-r--r--mail-filter/mimedefang/Manifest24
-rw-r--r--mail-filter/mimedefang/files/digest-mimedefang-2.573
-rw-r--r--mail-filter/mimedefang/files/mimedefang-conf120
-rw-r--r--mail-filter/mimedefang/files/mimedefang-init132
-rw-r--r--mail-filter/mimedefang/metadata.xml8
-rw-r--r--mail-filter/mimedefang/mimedefang-2.57.ebuild55
7 files changed, 0 insertions, 363 deletions
diff --git a/mail-filter/mimedefang/ChangeLog b/mail-filter/mimedefang/ChangeLog
deleted file mode 100644
index a4452b965..000000000
--- a/mail-filter/mimedefang/ChangeLog
+++ /dev/null
@@ -1,21 +0,0 @@
-# ChangeLog for mail-filter/mimedefang
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 26 Jul 2006; Stas Korzovsky <staskorz@gmail.com> mimedefang-2.57.ebuild :
- Use /home/defang as $HOME for the 'defang' as mimedefang won't start with
- /dev/null as $HOME
-
- 25 Jul 2006; Stas Korzovsky <staskorz@gmail.com> mimedefang-2.57.ebuild :
- Use /dev/null as $HOME for the 'defang' user as a workaround for Bug 141619
-
- 24 Jul 2006; Jakub Moc <jakub@gentoo.org> mimedefang-2.57.ebuild :
- Fix for enewuser broken permissions, cosmetics
-
- 24 Jul 2006; Stas Korzovsky <staskorz@gmail.com> :
- Fixed permissions on /var/spool/MIMEDefang
-
-*mimedefang-2.57 (25 Jun 2006)
-
- 25 Jun 2006; Stas Korzovsky <staskorz@gmail.com> :
- Initial import.
diff --git a/mail-filter/mimedefang/Manifest b/mail-filter/mimedefang/Manifest
deleted file mode 100644
index 77b8e7819..000000000
--- a/mail-filter/mimedefang/Manifest
+++ /dev/null
@@ -1,24 +0,0 @@
-AUX mimedefang-conf 3857 RMD160 65431f8686212141fb671d476765142ca1ca3db2 SHA1 9a295b4b35f71a6c55e0df349d00955d9913df5a SHA256 8e3203f714cc879f5e42574b3c80499819dfdb592ae504be32e3d272e6621548
-MD5 c908365e6b06b05f86c286be1fb24228 files/mimedefang-conf 3857
-RMD160 65431f8686212141fb671d476765142ca1ca3db2 files/mimedefang-conf 3857
-SHA256 8e3203f714cc879f5e42574b3c80499819dfdb592ae504be32e3d272e6621548 files/mimedefang-conf 3857
-AUX mimedefang-init 3857 RMD160 00f8fcc3958716985fa824fc03b1747942dede4c SHA1 b10f0163370ce3c2a89fb349f268ee0e6b760be5 SHA256 4351b3190d1a568bfd3ceb88e7f3dea1bab38b21aa47553c6918414bfe8d0dec
-MD5 3c5493b1a60fb87b6fb4b22db4089603 files/mimedefang-init 3857
-RMD160 00f8fcc3958716985fa824fc03b1747942dede4c files/mimedefang-init 3857
-SHA256 4351b3190d1a568bfd3ceb88e7f3dea1bab38b21aa47553c6918414bfe8d0dec files/mimedefang-init 3857
-DIST mimedefang-2.57.tar.gz 316909 RMD160 0816cc397c2d6552007609e6d5bc9728421debbd SHA1 85207097008a06a5cde1c0e6c76270ef719a5769 SHA256 dc69580a0f59c745bc440a9d1f09446e9495b81a681cab25c817712566853435
-EBUILD mimedefang-2.57.ebuild 1776 RMD160 7e851e926668b7a3c7f30fff268a7ab68b457b99 SHA1 a0a057e940159a5210f9cc67e7c3971c01725031 SHA256 8a3dc464e1231ebe34f051db18a83f961a8d70f2520984232b69ed4cc367c4f9
-MD5 7d10a5618c3b40e642cc5ab2493473c9 mimedefang-2.57.ebuild 1776
-RMD160 7e851e926668b7a3c7f30fff268a7ab68b457b99 mimedefang-2.57.ebuild 1776
-SHA256 8a3dc464e1231ebe34f051db18a83f961a8d70f2520984232b69ed4cc367c4f9 mimedefang-2.57.ebuild 1776
-MISC ChangeLog 778 RMD160 ff9699bd0081ca22c429187dfa87581e6c48147c SHA1 9f2090defc06350c0de78c0dbffb0b089a6aa349 SHA256 c7607515a6578aca826a05bd5af1a7d568787bd2ffa8225944f1566f99997904
-MD5 8239f0a06dd0041e34b14b9572fb6afe ChangeLog 778
-RMD160 ff9699bd0081ca22c429187dfa87581e6c48147c ChangeLog 778
-SHA256 c7607515a6578aca826a05bd5af1a7d568787bd2ffa8225944f1566f99997904 ChangeLog 778
-MISC metadata.xml 227 RMD160 703cf9635ad0996b4698255829a98cd85b3abff0 SHA1 7480ffa574d82f2dedb3c981abd687434506cbdd SHA256 7b1bf14b586bf73593adcd5103d1d0cd70249d3ff5c67350e866d9e6eff4f8e6
-MD5 002d6691577d86df4387423b59576012 metadata.xml 227
-RMD160 703cf9635ad0996b4698255829a98cd85b3abff0 metadata.xml 227
-SHA256 7b1bf14b586bf73593adcd5103d1d0cd70249d3ff5c67350e866d9e6eff4f8e6 metadata.xml 227
-MD5 5f323a264758b1c94ae902e0c2e24385 files/digest-mimedefang-2.57 247
-RMD160 41b0590e0bd1ca8743fe26a1bb5020d665cdb606 files/digest-mimedefang-2.57 247
-SHA256 8ff28a162109884e5d91f95c50d78793171f63796d30497bbfde275fa619ef2f files/digest-mimedefang-2.57 247
diff --git a/mail-filter/mimedefang/files/digest-mimedefang-2.57 b/mail-filter/mimedefang/files/digest-mimedefang-2.57
deleted file mode 100644
index e53d1a303..000000000
--- a/mail-filter/mimedefang/files/digest-mimedefang-2.57
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 e55b22dda54c4a3b52e1fbeb9135b0cf mimedefang-2.57.tar.gz 316909
-RMD160 0816cc397c2d6552007609e6d5bc9728421debbd mimedefang-2.57.tar.gz 316909
-SHA256 dc69580a0f59c745bc440a9d1f09446e9495b81a681cab25c817712566853435 mimedefang-2.57.tar.gz 316909
diff --git a/mail-filter/mimedefang/files/mimedefang-conf b/mail-filter/mimedefang/files/mimedefang-conf
deleted file mode 100644
index 7875fa00e..000000000
--- a/mail-filter/mimedefang/files/mimedefang-conf
+++ /dev/null
@@ -1,120 +0,0 @@
-
-# Spool directory
-SPOOLDIR='/var/spool/MIMEDefang'
-
-# The socket used by mimedefang to communicate with sendmail
-# SOCKET=$SPOOLDIR/mimedefang.sock
-
-# Run the multiplexor and filters as this user, not root. RECOMMENDED
-MX_USER=defang
-
-# Syslog facility
-# SYSLOG_FACILITY=mail
-
-# If you want to keep spool directories around if the filter fails,
-# set the next one to yes
-# KEEP_FAILED_DIRECTORIES=no
-
-# "yes" turns on the multiplexor relay checking function
-# MX_RELAY_CHECK=no
-
-# "yes" turns on the multiplexor sender checking function
-# MX_SENDER_CHECK=no
-
-# "yes" turns on the multiplexor recipient checking function
-# MX_RECIPIENT_CHECK=no
-
-# Set to yes if you want the multiplexor to log events to syslog
-MX_LOG=yes
-
-# Set to yes if you want to use an embedded Perl interpreter
-# MX_EMBED_PERL=yes
-
-# Set to full path of socket for Sendmail's SOCKETMAP map, if you
-# want to use it with MIMEDefang
-# MX_MAP_SOCKET=$SPOOLDIR/map.sock
-
-# The multiplexor does not start all slaves at the same time. Instead,
-# it starts one slave every MX_SLAVE_DELAY seconds when the system is idle.
-# (If the system is busy, the multiplexor starts slaves as incoming mail
-# requires attention.)
-# MX_SLAVE_DELAY=3
-
-# The next setting is an absolute limit on slave activation. The multiplexor
-# will NEVER activate a slave within MX_MIN_SLAVE_DELAY seconds of another.
-# The default of zero means that the multiplexor will activate slaves as
-# quickly as necessary to keep up with incoming mail.
-# MX_MIN_SLAVE_DELAY=0
-
-# Set to yes if you want the multiplexor to log stats in
-# /var/log/mimedefang/stats The /var/log/mimedefang directory must
-# exist and be writable by the user you're running MIMEDefang as.
-# MX_STATS=no
-
-# Set to yes if you want the stats file flushed after each entry
-# MX_FLUSH_STATS=no
-
-# Set to yes if you want the multiplexor to log stats to syslog
-# MX_STATS_SYSLOG=no
-
-# The socket used by the multiplexor
-# MX_SOCKET=$SPOOLDIR/mimedefang-multiplexor.sock
-
-# Maximum # of requests a process handles
-# MX_REQUESTS=200
-
-# Minimum number of processes to keep. The default of 0 is probably
-# too low; we suggest 2 instead.
-MX_MINIMUM=2
-
-# Maximum number of processes to run (mail received while this many
-# processes are running is rejected with a temporary failure, so be
-# wary of how many emails you receive at a time). This applies only
-# if you DO use the multiplexor. The default value of 2 is probably
-# too low; we suggest 10 instead
-MX_MAXIMUM=10
-
-# Uncomment to log slave status; it will be logged every
-# MX_LOG_SLAVE_STATUS_INTERVAL seconds
-# MX_LOG_SLAVE_STATUS_INTERVAL=30
-
-# Uncomment next line to have busy slaves send status updates to the
-# multiplexor. NOTE: Consumes one extra file descriptor per slave, plus
-# a bit of CPU time.
-# MX_STATUS_UPDATES=yes
-
-# Limit slave processes' resident-set size to this many kilobytes. Default
-# is unlimited.
-# MX_MAX_RSS=10000
-
-# Limit total size of slave processes' memory space to this many kilobytes.
-# Default is unlimited.
-# MX_MAX_AS=30000
-
-# If you want to use the "notification" facility, set the appropriate port.
-# See the mimedefang-notify man page for details.
-# MX_NOTIFIER=inet:4567
-
-# Number of seconds a process should be idle before checking for
-# minimum number and killed
-# MX_IDLE=300
-
-# Number of seconds a process is allowed to scan an email before it is
-# considered dead. The default is 30 seconds; we suggest 600.
-MX_BUSY=600
-
-# Extra sendmail macros to pass. Actually, you can add any extra
-# mimedefang options here...
-# MD_EXTRA="-a auth_author"
-
-# Change X-Scanned-By header:
-# MD_EXTRA="-x MailFilter"
-
-# Multiplexor queue size -- default is 0 (no queueing)
-# MX_QUEUE_SIZE=10
-
-# Multiplexor queue timeout -- default is 30 seconds
-# MX_QUEUE_TIMEOUT=30
-
-# SUBFILTER specifies which filter rules file to use
-# SUBFILTER=/etc/mail/mimedefang-filter
diff --git a/mail-filter/mimedefang/files/mimedefang-init b/mail-filter/mimedefang/files/mimedefang-init
deleted file mode 100644
index 3826b48da..000000000
--- a/mail-filter/mimedefang/files/mimedefang-init
+++ /dev/null
@@ -1,132 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-# NB: Config is in /etc/conf.d/mimedefang
-
-depend() {
- need net
- before mta
- after antivirus
-}
-
-
-prog='mimedefang'
-
-# Main PID file
-PID="$SPOOLDIR/$prog.pid"
-
-# Multiplexor PID file
-MXPID="$SPOOLDIR/$prog-multiplexor.pid"
-
-PROGDIR=/usr/bin
-
-# Locale should be set to "C" for generating valid date headers
-LC_ALL=C
-export LC_ALL
-
-
-# Make sure required vars are set
-SOCKET=${SOCKET:=$SPOOLDIR/$prog.sock}
-MX_SOCKET=${MX_SOCKET:=$SPOOLDIR/$prog-multiplexor.sock}
-
-start() {
- # Is there /etc/mail/mimedefang-filter ?
- if [ ! -f /etc/mail/mimedefang-filter ]; then
- eerror "Cannot find /etc/mail/mimedefang-filter"
- return 1
- fi
-
- if test -r $PID ; then
- if kill -0 `cat $PID` > /dev/null 2>&1 ; then
- eerror "mimedefang (`cat $PID`) seems to be running."
- return 1
- fi
- fi
-
- if test -r $MXPID ; then
- if kill -0 `cat $MXPID` > /dev/null 2>&1 ; then
- eerror "mimedefang-multiplexor (`cat $MXPID`) seems to be running."
- return 1
- fi
- fi
-
- rm -f $MX_SOCKET > /dev/null 2>&1
- if [ "$MX_EMBED_PERL" = "yes" ] ; then
- EMBEDFLAG=-E
- else
- EMBEDFLAG=""
- fi
-
- ebegin "Starting mimedefang-multiplexor"
- start-stop-daemon --start --quiet \
- --exec $PROGDIR/$prog-multiplexor -- -p $MXPID \
- $EMBEDFLAG \
- `[ -n "$FILTER" ] && echo "-f $FILTER"` \
- `[ -n "$SYSLOG_FACILITY" ] && echo "-S $SYSLOG_FACILITY"` \
- `[ -n "$SUBFILTER" ] && echo "-F $SUBFILTER"` \
- `[ -n "$MX_MINIMUM" ] && echo "-m $MX_MINIMUM"` \
- `[ -n "$MX_MAXIMUM" ] && echo "-x $MX_MAXIMUM"` \
- `[ -n "$MX_MAP_SOCKET" ] && echo "-N $MX_MAP_SOCKET"` \
- `[ -n "$MX_LOG_SLAVE_STATUS_INTERVAL" ] && echo "-L $MX_LOG_SLAVE_STATUS_INTERVAL"` \
- `[ -n "$MX_USER" ] && echo "-U $MX_USER"` \
- `[ -n "$MX_IDLE" ] && echo "-i $MX_IDLE"` \
- `[ -n "$MX_BUSY" ] && echo "-b $MX_BUSY"` \
- `[ -n "$MX_REQUESTS" ] && echo "-r $MX_REQUESTS"` \
- `[ -n "$MX_SLAVE_DELAY" ] && echo "-w $MX_SLAVE_DELAY"` \
- `[ -n "$MX_MIN_SLAVE_DELAY" ] && echo "-W $MX_MIN_SLAVE_DELAY"` \
- `[ -n "$MX_MAX_RSS" ] && echo "-R $MX_MAX_RSS"` \
- `[ -n "$MX_MAX_AS" ] && echo "-M $MX_MAX_AS"` \
- `[ "$MX_LOG" = "yes" ] && echo "-l"` \
- `[ "$MX_STATS" = "yes" ] && echo "-t /var/log/mimedefang/stats"` \
- `[ "$MX_STATS" = "yes" -a "$MX_FLUSH_STATS" = "yes" ] && echo "-u"` \
- `[ "$MX_STATS_SYSLOG" = "yes" ] && echo "-T"` \
- `[ "$MX_STATUS_UPDATES" = "yes" ] && echo "-Z"` \
- `[ -n "$MX_QUEUE_SIZE" ] && echo "-q $MX_QUEUE_SIZE"` \
- `[ -n "$MX_QUEUE_TIMEOUT" ] && echo "-Q $MX_QUEUE_TIMEOUT"` \
- `[ -n "$MX_NOTIFIER" ] && echo "-O $MX_NOTIFIER"` \
- -s $MX_SOCKET
- eend $? "Failed to start mimedefang-multiplexor"
-
-
- rm -f $SOCKET > /dev/null 2>&1
-
- ebegin "Starting mimedefang"
- start-stop-daemon --start --quiet \
- --exec $PROGDIR/$prog -- -P $PID \
- -m $MX_SOCKET \
- `[ -n "$MX_USER" ] && echo "-U $MX_USER"` \
- `[ -n "$SYSLOG_FACILITY" ] && echo "-S $SYSLOG_FACILITY"` \
- `[ "$MX_RELAY_CHECK" = "yes" ] && echo "-r"` \
- `[ "$MX_SENDER_CHECK" = "yes" ] && echo "-s"` \
- `[ "$MX_RECIPIENT_CHECK" = "yes" ] && echo "-t"` \
- `[ "$KEEP_FAILED_DIRECTORIES" = "yes" ] && echo "-k"` \
- `[ "$MD_EXTRA" != "" ] && echo $MD_EXTRA` \
- -p $SOCKET
- eend $? "Failed to start mimedefang"
-}
-
-stop() {
- ebegin "Stopping mimedefang"
- start-stop-daemon --stop --quiet --retry 10 --oknodo --exec $PROGDIR/$prog --pidfile $PID
- RETVAL=$?
-
- if [ $RETVAL -eq "0" ] ; then
- rm -f $PID
- rm -f $SOCKET
- fi
-
- eend $RETVAL "Failed to stop mimedefang"
-
- ebegin "Stopping mimedefang-multiplexor"
- start-stop-daemon --stop --quiet --retry 10 --oknodo --exec $PROGDIR/$prog-multiplexor --pidfile $MXPID
- RETVAL=$?
-
- if [ $RETVAL -eq "0" ] ; then
- rm -f $MXPID
- rm -f $MX_SOCKET
- fi
-
- eend $RETVAL "Failed to stop mimedefang-multiplexor"
-}
diff --git a/mail-filter/mimedefang/metadata.xml b/mail-filter/mimedefang/metadata.xml
deleted file mode 100644
index 5ba5752e2..000000000
--- a/mail-filter/mimedefang/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>mail-filter</herd>
-<maintainer>
- <email>staskorz@gmail.com</email>
-</maintainer>
-</pkgmetadata>
diff --git a/mail-filter/mimedefang/mimedefang-2.57.ebuild b/mail-filter/mimedefang/mimedefang-2.57.ebuild
deleted file mode 100644
index ebead7a3b..000000000
--- a/mail-filter/mimedefang/mimedefang-2.57.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils
-
-DESCRIPTION="MIMEDefang is a mail filtering framework for sendmail"
-HOMEPAGE="http://www.mimedefang.org/"
-SRC_URI="http://www.mimedefang.org/static/${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-DEPEND=">=mail-mta/sendmail-8.13.5-r1
- >=dev-perl/IO-stringy-2.110
- >=perl-core/MIME-Base64-3.05
- >=dev-perl/MailTools-1.67
- >=dev-perl/MIME-tools-5.417
- >=dev-perl/Digest-SHA1-2.10
- >=perl-core/libnet-1.19
- >=dev-perl/Mail-Audit-2.1
- >=perl-core/Time-HiRes-1.82
- >=dev-perl/HTML-Tagset-3.10
- >=dev-perl/HTML-Parser-3.48
- >=dev-perl/Compress-Zlib-1.41
- >=dev-perl/Archive-Zip-1.16"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- enewgroup defang
- enewuser defang -1 -1 /home/defang defang
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- rm -f ${D}/etc/mail/{mimedefang-filter,sa-mimedefang.cf}
- newinitd ${FILESDIR}/mimedefang-init mimedefang
- newconfd ${FILESDIR}/mimedefang-conf mimedefang
- insinto /etc/mail
- newins ${S}/examples/suggested-minimum-filter-for-windows-clients \
- mimedefang-filter.example
- [ -f /etc/mail/spamassassin/local.cf ] && \
- dosym /etc/mail/spamassassin/local.cf /etc/mail/sa-mimedefang.cf
- dodoc Changelog README README.{ANOMY,IRIX,NONROOT,SECURITY,SOPHIE,SPAMASSASSIN}
- dodir /var/spool/{MIMEDefang,MD-Quarantine}
- fperms 0775 /var/spool/MIMEDefang
- fperms 0755 /var/spool/MD-Quarantine
- fowners defang:defang /var/spool/{MIMEDefang,MD-Quarantine}
-}
-
-#pkg_postinst() {
- # portage won't fix the permissions on ${ROOT}/var/spool/MIMEDefang
- # that were created by enewuser - see Bug 141619
-# chmod 0775 ${ROOT}/var/spool/MIMEDefang
-# chown defang:defang ${ROOT}/var/spool/MIMEDefang
-#}