summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2009-07-02 20:53:50 +0000
committerFabian Groffen <grobian@gentoo.org>2009-07-02 20:53:50 +0000
commit92218518fe8de0da4c0bfe891b82e51581b66334 (patch)
tree650d82ba2e419af1d0c842edebe076c95d68c254 /mail-mta/exim
parentFixed dependencies, bug 248569. (diff)
downloadhistorical-92218518fe8de0da4c0bfe891b82e51581b66334.tar.gz
historical-92218518fe8de0da4c0bfe891b82e51581b66334.tar.bz2
historical-92218518fe8de0da4c0bfe891b82e51581b66334.zip
exiscan.conf file is no longer in FILESDIR, remove system_filter from FILESDIR, since we have it on the mirrors also, should make people more happy on bug #120459
Package-Manager: portage-2.2.00.13755-prefix/cvs/Darwin powerpc
Diffstat (limited to 'mail-mta/exim')
-rw-r--r--mail-mta/exim/ChangeLog8
-rw-r--r--mail-mta/exim/Manifest7
-rw-r--r--mail-mta/exim/exim-4.69-r2.ebuild8
-rw-r--r--mail-mta/exim/exim-4.69.ebuild13
-rw-r--r--mail-mta/exim/files/system_filter.exim220
5 files changed, 22 insertions, 234 deletions
diff --git a/mail-mta/exim/ChangeLog b/mail-mta/exim/ChangeLog
index 2f59376e462a..03d5aac4e9f5 100644
--- a/mail-mta/exim/ChangeLog
+++ b/mail-mta/exim/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-mta/exim
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.138 2009/07/02 20:45:12 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.139 2009/07/02 20:53:49 grobian Exp $
+
+ 02 Jul 2009; Fabian Groffen <grobian@gentoo.org> exim-4.69.ebuild,
+ exim-4.69-r2.ebuild, -files/system_filter.exim:
+ exiscan.conf file is no longer in FILESDIR, remove system_filter from
+ FILESDIR, since we have it on the mirrors also, should make people more
+ happy on bug #120459
02 Jul 2009; Fabian Groffen <grobian@gentoo.org> exim-4.69.ebuild,
exim-4.69-r2.ebuild:
diff --git a/mail-mta/exim/Manifest b/mail-mta/exim/Manifest
index 815b21e76ec2..700f8a579b7e 100644
--- a/mail-mta/exim/Manifest
+++ b/mail-mta/exim/Manifest
@@ -10,11 +10,10 @@ AUX exim.logrotate 194 RMD160 a92ecf3088d66e712797180a229a76c8130d7dae SHA1 0186
AUX exim.rc6 738 RMD160 6935a02ff63db979a71cd834675f1aff066b296b SHA1 a4504387906a8386904a40c0aabadd69cb8a4c2a SHA256 db96d7bf9b11dcac4d9d9dab0d111a9d8a36910473918d8903ade9a03963bffd
AUX mailer.conf 259 RMD160 6412ac421b836f9425af443084dbaa49feb14df6 SHA1 690b15bdb334ed2bfda927a156227385823353f2 SHA256 c1dfa59d617c5744ebd119c37b408d7135f1fa6be4322d2f77db8ba9cb30d359
AUX pam.d-exim 101 RMD160 8ad4e0a05068ae20d5e8d401146456945d068322 SHA1 bdca3fb37937baa5da5e656c07ec333abfaa0f7d SHA256 80d94cb0b3ded20ed1513f4d5627969c4ce85d3006c702eb24920ffa01eec674
-AUX system_filter.exim 8120 RMD160 267545af6dd333e0e5f05e1d4d02a0e8ee638d45 SHA1 a9eaf04538cd35eae726e2920cb0d115bc2ab2e0 SHA256 35539f6d20f2847b4093824618797b4d602dcc5b7d920e49bf5c26f0fd89858e
DIST exim-4.69.tar.bz2 1658939 RMD160 ae97c807c63f858ba4a0ab402677225da9337d05 SHA1 321e238b6e6b32498110511ce72a911538305a39 SHA256 18e856cfdb682ba8e8ccb943ab538734d34d0ecefd63465ecc5430bc15915069
DIST exiscan.conf 22113 RMD160 e52b77f656b3ba2105e833075d1368f41e414d64 SHA1 74dc6e30f49402f5e6fefc280ea325d17f6af8c4 SHA256 f8cc731d3225a902461e05c0997df23bfd231ea8d5bf33a9aba5783bc6e0c964
DIST system_filter.exim.gz 3075 RMD160 47bcc6de402d896b73fd01d7f0d3c3ecbad9cf0b SHA1 384d138d8612f3a80b2b68f272b43cd69bc4411a SHA256 3a3471b486a09e0a0153f7b520e1eaf26d21b97d73ea8348bdc593c00eb1e437
-EBUILD exim-4.69-r2.ebuild 10193 RMD160 7a6d510c3c0d6ed3394e75114d6cb8b893a1e61a SHA1 412f6aef42ba750659cfa5389d1a21472b086c9f SHA256 e7a2e9efa3ffe7e2a101abb0787bc4be071ab31cca7fc3dc4c8b3af9d2d12a8b
-EBUILD exim-4.69.ebuild 9827 RMD160 9b07bb21c704f209f2baf7ea9d4c837cb9bf94cb SHA1 aba951c803e39c022bfc516b83ff480edd9b832c SHA256 e1352ad51d6228e3df78d438d7fd5d7cab7b433a420604af1b8d4fdc428f09d7
-MISC ChangeLog 31106 RMD160 68048f1e85d45d2b9794a832fab29ecddb708cad SHA1 d842c08a494fed4b5b829ddbc56fdea3eedf471f SHA256 dfbf91be2749ba53c54c95325522980e28e83f7f93bb3d07b67e32a66102e932
+EBUILD exim-4.69-r2.ebuild 10197 RMD160 dfc79fa5fd4f7ea88b6dcec9f62ca54736d5e88b SHA1 0b50bd56819dd552fb7da7cc01af0cb6c0e50d29 SHA256 412c6b9008749af748b47b79fe40bcad78bcb1303fc0a7e84d0318d0739d8383
+EBUILD exim-4.69.ebuild 9906 RMD160 9b244dbbde9d454ea7be15bc46071e99943ec163 SHA1 ab0cfcfbe15b98681d79e077dab3195b0c1aadbe SHA256 6f5a4c76b40df44e203d86afbeba637b1a752349e0e3568cc08127fea204f915
+MISC ChangeLog 31395 RMD160 1848d504721b9c001da401bbd28ffaf03d56c8d7 SHA1 7a60925ad55a6ae0c1d913ee6581cfb99b6c6158 SHA256 bd7f5b0430e7a3db3c66adf09342011eef762d318021439c2c42b3d4e7a291b4
MISC metadata.xml 1586 RMD160 c9b4546115c6db062a7fb9370039bb7e3b44ebd5 SHA1 933e217c55a4ee72b166119ab4f0dde986cc9825 SHA256 40a3ea558abbab45d65e7b79df9c56280be359e5bafca10195bd9d4b30e3c60d
diff --git a/mail-mta/exim/exim-4.69-r2.ebuild b/mail-mta/exim/exim-4.69-r2.ebuild
index caef03edca16..de8bf0847de0 100644
--- a/mail-mta/exim/exim-4.69-r2.ebuild
+++ b/mail-mta/exim/exim-4.69-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.69-r2.ebuild,v 1.5 2009/07/02 20:45:12 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.69-r2.ebuild,v 1.6 2009/07/02 20:53:49 grobian Exp $
inherit eutils toolchain-funcs
@@ -8,8 +8,8 @@ IUSE="tcpd ssl postgres mysql ldap pam exiscan-acl mailwrapper lmtp ipv6 sasl dn
DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.bz2
-mirror://gentoo/exiscan.conf
-mirror://gentoo/system_filter.exim.gz"
+ mirror://gentoo/exiscan.conf
+ mirror://gentoo/system_filter.exim.gz"
HOMEPAGE="http://www.exim.org/"
SLOT="0"
@@ -251,7 +251,7 @@ src_install () {
fperms 4755 /usr/sbin/exim
dodir /usr/bin /usr/sbin /usr/lib
- if [ ! -e /usr/lib/sendmail ];
+ if [[ ! -e /usr/lib/sendmail ]];
then
dosym /usr/sbin/sendmail /usr/lib/sendmail
fi
diff --git a/mail-mta/exim/exim-4.69.ebuild b/mail-mta/exim/exim-4.69.ebuild
index 41ccc1ef0d28..90614a7021f2 100644
--- a/mail-mta/exim/exim-4.69.ebuild
+++ b/mail-mta/exim/exim-4.69.ebuild
@@ -1,13 +1,15 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.69.ebuild,v 1.13 2009/07/02 20:45:12 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.69.ebuild,v 1.14 2009/07/02 20:53:49 grobian Exp $
inherit eutils toolchain-funcs
IUSE="tcpd ssl postgres mysql ldap pam exiscan-acl mailwrapper lmtp ipv6 sasl dnsdb perl mbx mbox X exiscan nis syslog spf srs gnutls sqlite dovecot-sasl radius domainkeys"
DESCRIPTION="A highly configurable, drop-in replacement for sendmail"
-SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.bz2 mirror://gentoo/exiscan.conf"
+SRC_URI="ftp://ftp.exim.org/pub/exim/exim4/${P}.tar.bz2
+ mirror://gentoo/exiscan.conf
+ mirror://gentoo/system_filter.exim.gz"
HOMEPAGE="http://www.exim.org/"
SLOT="0"
@@ -231,6 +233,7 @@ src_unpack() {
}
src_compile() {
+ # build system not parallel-safe at all
emake -j1 CC="$(tc-getCC)" || die "make failed"
}
@@ -245,7 +248,7 @@ src_install () {
fperms 4755 /usr/sbin/exim
dodir /usr/bin /usr/sbin /usr/lib
- if \[ ! -e /usr/lib/sendmail \];
+ if [[ ! -e /usr/lib/sendmail ]];
then
dosym /usr/sbin/sendmail /usr/lib/sendmail
fi
@@ -280,11 +283,11 @@ src_install () {
if use exiscan-acl; then
newins "${S}"/src/configure.default exim.conf.exiscan-acl
fi
- doins "${FILESDIR}"/system_filter.exim
+ doins "${WORKDIR}"/system_filter.exim
doins "${FILESDIR}"/auth_conf.sub
if use exiscan; then
newins "${S}"/src/configure.default exim.conf.exiscan
- doins "${FILESDIR}"/exiscan.conf
+ doins "${DISTDIR}"/exiscan.conf
fi
if use pam
diff --git a/mail-mta/exim/files/system_filter.exim b/mail-mta/exim/files/system_filter.exim
deleted file mode 100644
index 8817cc00d2db..000000000000
--- a/mail-mta/exim/files/system_filter.exim
+++ /dev/null
@@ -1,220 +0,0 @@
-# Exim filter
-## Version: 0.13
-# $Id: system_filter.exim,v 1.1 2004/05/30 02:35:58 robbat2 Exp $
-
-## If you haven't worked with exim filters before, read
-## the install notes at the end of this file.
-
-#
-# Only run any of this stuff on the first pass through the
-# filter - this is an optomisation for messages that get
-# queued and have several delivery attempts
-#
-# we express this in reverse so we can just bail out
-# on inappropriate messages
-#
-if not first_delivery
-then
- finish
-endif
-
-# Check for MS buffer overruns as per latest BUGTRAQ.
-# http://www.securityfocus.com/frames/?content=/templates/article.html%3Fid%3D61
-# This could happen in error messages, hence its placing
-# here...
-# We substract the first n characters of the date header
-# and test if its the same as the date header... which
-# is a lousy way of checking if the date is longer than
-# n chars long
-if ${length_80:$header_date:} is not $header_date:
-then
- fail text "This message has been rejected because it has\n\
- \tan overlength date field which can be used\n\
- \tto subvert Microsoft mail programs\n\
- \tThe following URL has further information\n\
- \thttp://www.securityfocus.com/frames/?content=/templates/article.html%3Fid%3D61"
- seen finish
-endif
-
-# This is a nasty compromise.
-# This crud is now being sent with a <> envelope sender, but
-# blocking all error messages that pattern match prevents
-# bounces getting back.... so we fudge it somewhat
-if $header_from: contains "@sexyfun.net"
-then
- fail text "This message has been rejected since it has\n\
- \tthe signature of a known virus in the header."
- seen finish
-endif
-if error_message and $header_from: contains "Mailer-Daemon@"
-then
- # looks like a real error message - just ignore it
- finish
-endif
-
-# Look for single part MIME messages with suspicious name extensions
-# Check Content-Type header using quoted filename [content_type_quoted_fn_match]
-if $header_content-type: matches "(?:file)?name=(\"[^\"]+\\\\.(?:vb[se]|ws[fh]|jse?|exe|com|cmd|shs|hta|bat|scr|pif)\")"
-then
- fail text "This message has been rejected because it has\n\
- \tpotentially executable content $1\n\
- \tThis form of attachment has been used by\n\
- \trecent viruses or other malware.\n\
- \tIf you meant to send this file then please\n\
- \tpackage it up as a zip file and resend it."
- seen finish
-endif
-# same again using unquoted filename [content_type_unquoted_fn_match]
-if $header_content-type: matches "(?:file)?name=([\\\\w.-]+\\\\.(?:vb[se]|ws[fh]|jse?|exe|com|cmd|shs|hta|bat|scr|pif))"
-then
- fail text "This message has been rejected because it has\n\
- \tpotentially executable content $1\n\
- \tThis form of attachment has been used by\n\
- \trecent viruses or other malware.\n\
- \tIf you meant to send this file then please\n\
- \tpackage it up as a zip file and resend it."
- seen finish
-endif
-
-
-# Attempt to catch embedded VBS attachments
-# in emails. These were used as the basis for
-# the ILOVEYOU virus and its variants
-# Quoted filename - [body_quoted_fn_match]
-if $message_body matches "(?:Content-(?:Type:(?>\\\\s*)[\\\\w-]+/[\\\\w-]+|Disposition:(?>\\\\s*)attachment);(?>\\\\s*)(?:file)?name=|begin(?>\\\\s+)[0-7]{3,4}(?>\\\\s+))(\"[^\"]+\\\\.(?:vb[se]|ws[fh]|jse?|exe|com|cmd|shs|hta|bat|scr|pif)\")[\\\\s;]"
-then
- fail text "This message has been rejected because it has\n\
- \ta potentially executable attachment $1\n\
- \tThis form of attachment has been used by\n\
- \trecent viruses or other malware.\n\
- \tIf you meant to send this file then please\n\
- \tpackage it up as a zip file and resend it."
- seen finish
-endif
-# same again using unquoted filename [body_unquoted_fn_match]
-if $message_body matches "(?:Content-(?:Type:(?>\\\\s*)[\\\\w-]+/[\\\\w-]+|Disposition:(?>\\\\s*)attachment);(?>\\\\s*)(?:file)?name=|begin(?>\\\\s+)[0-7]{3,4}(?>\\\\s+))([\\\\w.-]+\\\\.(?:vb[se]|ws[fh]|jse?|exe|com|cmd|shs|hta|bat|scr|pif))[\\\\s;]"
-then
- fail text "This message has been rejected because it has\n\
- \ta potentially executable attachment $1\n\
- \tThis form of attachment has been used by\n\
- \trecent viruses or other malware.\n\
- \tIf you meant to send this file then please\n\
- \tpackage it up as a zip file and resend it."
- seen finish
-endif
-
-#### Version history
-#
-# 0.01 5 May 2000
-# Initial release
-# 0.02 8 May 2000
-# Widened list of content-types accepted, added WSF extension
-# 0.03 8 May 2000
-# Embedded the install notes in for those that don't do manuals
-# 0.04 9 May 2000
-# Check global content-type header. Efficiency mods to REs
-# 0.05 9 May 2000
-# More minor efficiency mods, doc changes
-# 0.06 20 June 2000
-# Added extension handling - thx to Douglas Gray Stephens & Jeff Carnahan
-# 0.07 19 July 2000
-# Latest MS Outhouse bug catching
-# 0.08 19 July 2000
-# Changed trigger length to 80 chars, fixed some spelling
-# 0.09 29 September 2000
-# More extensions... its getting so we should just allow 2 or 3 through
-# 0.10 18 January 2001
-# Removed exclusion for error messages - this is a little nasty
-# since it has other side effects, hence we do still exclude
-# on unix like error messages
-# 0.11 20 March, 2001
-# Added CMD extension, tidied docs slightly, added RCS tag
-# ** Missed changing version number at top of file :-(
-# 0.12 10 May, 2001
-# Added HTA extension
-# 0.13 22 May, 2001
-# Reformatted regexps and code to build them so that they are
-# shorter than the limits on pre exim 3.20 filters. This will
-# make them significantly less efficient, but I am getting so
-# many queries about this that requiring 3.2x appears unsupportable.
-#
-#### Install Notes
-#
-# Exim filters run the exim filter language - a very primitive
-# scripting language - in place of a user .forward file, or on
-# a per system basis (on all messages passing through).
-# The filtering capability is documented in the main set of manuals
-# a copy of which can be found on the exim web site
-# http://www.exim.org/
-#
-# To install, copy the filter file (with appropriate permissions)
-# to /etc/exim/system_filter.exim and add to your exim config file
-# [location is installation depedant - typicaly /etc/exim/config ]
-# at the top the line:-
-# message_filter = /etc/exim/system_filter.exim
-# message_body_visible = 5000
-#
-# You may also want to set the message_filter_user & message_filter_group
-# options, but they default to the standard exim user and so can
-# be left untouched. The other message_filter_* options are only
-# needed if you modify this to do other functions such as deliveries.
-# The main exim documentation is quite thorough and so I see no need
-# to expand it here...
-#
-# Any message that matches the filter will then be bounced.
-# If you wish you can change the error message by editing it
-# in the section above - however be careful you don't break it.
-#
-# After install exim should be restarted - a kill -HUP to the
-# daemon will do this.
-#
-#### LIMITATIONS
-#
-# This filter tries to parse MIME with a regexp... that doesn't
-# work too well. It will also only see the amount of the body
-# specified in message_body_visible
-#
-#### BASIS
-#
-# The regexp that is used to pickup MIME/uuencoded parts is replicated
-# below (in perl format). You need to remember that exim converts
-# newlines to spaces in the message_body variable.
-#
-# (?:Content- # start of content header
-# (?:Type: (?>\s*) # rest of c/t header
-# [\w-]+/[\w-]+ # content-type (any)
-# |Disposition: (?>\s*) # content-disposition hdr
-# attachment) # content-disposition
-# ;(?>\s*) # ; space or newline
-# (?:file)?name= # filename=/name=
-# |begin (?>\s+) [0-7]{3,4} (?>\s+)) # begin octal-mode
-# (\"[^\"]+\. # quoted filename.
-# (?:vb[se] # list of extns
-# |ws[fh]
-# |jse?
-# |exe
-# |com
-# |cmd
-# |shs
-# |hta
-# |bat
-# |scr
-# |pif)
-# \" # end quote
-# |[\w.-]+\. # unquoted filename.ext
-# (?:vb[se] # list of extns
-# |ws[fh]
-# |jse?
-# |exe
-# |com
-# |cmd
-# |shs
-# |hta
-# |bat
-# |scr
-# |pif)
-# ) # end of filename capture
-# [\s;] # trailing ;/space/newline
-#
-#
-### [End]