exim 4.50 is out, which includes exiscan-acl. I'm attaching an ebuild, based on the exim-4.43-r2 ebuild.
Created attachment 52104 [details] exim-4.50.ebuild
this will hopefully be in portage tomorrow night, I planned to do it tonight, but just ran out of time.
After upgrading to the latest version I get the following error message: --- > /etc/init.d/exim start * Starting exim ... 2005-03-04 15:15:15 Exim configuration error in line 53 of /etc/exim/exim.conf: main option "av_scanner" unknown [ !! ] exiscan-acl USE flag is set.
Created attachment 52652 [details, diff] exim-4.50-r1_pre patch The reason for the first error message was a bug in the ebuild: The options "WITH_CONTENT_SCAN" and "WITH_OLD_DEMIME" don't exist in the Makefile. I made a patch but now I get the following error message and I don't know how to fix it: --- > /etc/init.d/exim start * Starting exim ... 2005-03-04 16:05:44 Exim configuration error in line 175 of /etc/exim/exim.conf: error in ACL: unknown ACL condition/modifier in "demime = *" --- exiscan seems to get recognized now but...
If you don't have any luck, feel free to email me the .conf you're using, I'm not going to get a chance to look at it until monday evening at the latest.
Created attachment 52692 [details] exim-4.50-r1.ebuild New exim-4.50-r1.ebuild which fixes two bugs in the old one (effects mentioned in my two former posts): 1) options "WITH_CONTENT_SCAN" and "WITH_OLD_DEMIME" don't exist in the Makefile => replaced with src/EDITME 2) typo (tabulator instead of space) which causes old demime to get omitted during compile Please release as soon as possible.
I don't get it. My ebuild did the changes to Local/Makefile in the right order - first sed src/EDITME into Local/Makefile, then apply any further changes to that file. The ebuild in portage seds Makefile first (which can't be there at that point) and then seds src/EDITME into Local/Makefile. My ebuild: # Includes Typo fix for bug 47106 sed -e "48i\CFLAGS=${CFLAGS}" \ -e "s:# AUTH_CRAM_MD5=yes:AUTH_CRAM_MD5=yes:" \ -e "s:# AUTH_PLAINTEXT=yes:AUTH_PLAINTEXT=yes:" \ -e "s:BIN_DIRECTORY=/usr/exim/bin:BIN_DIRECTORY=/usr/sbin:" \ -e "s:COMPRESS_COMMAND=/opt/gnu/bin/gzip:COMPRESS_COMMAND=/usr/bin/gzip:" \ -e "s:ZCAT_COMMAND=/opt/gnu/bin/zcat:ZCAT_COMMAND=/usr/bin/zcat:" \ -e "s:CONFIGURE_FILE=/usr/exim/configure:CONFIGURE_FILE=/etc/exim/exim.conf:" \ -e "s:EXIM_MONITOR=eximon.bin:# EXIM_MONITOR=eximon.bin:" \ -e "s:# INFO_DIRECTORY=/usr/local/info:INFO_DIRECTORY=/usr/share/info:" \ -e "s:# LOG_FILE_PATH=/var/log/exim_%slog:LOG_FILE_PATH=/var/log/exim/exim_%s.log:" \ -e "s:# PID_FILE_PATH=/var/lock/exim.pid:PID_FILE_PATH=/var/run/exim.pid:" \ -e "s:# SPOOL_DIRECTORY=/var/spool/exim:SPOOL_DIRECTORY=/var/spool/exim:" \ -e "s:# SUPPORT_MAILDIR=yes:SUPPORT_MAILDIR=yes:" \ -e "s:# SUPPORT_MAILSTORE=yes:SUPPORT_MAILSTORE=yes:" \ -e "s:EXIM_USER=:EXIM_USER=mail:" \ -e "s:# AUTH_SPA=yes:AUTH_SPA=yes:" \ -e "s:^ZCAT_COMMAND.*$:ZCAT_COMMAND=/bin/zcat:" \ -e "s:# LOOKUP_PASSWD=yes:LOOKUP_PASSWD=yes:" \ src/EDITME > Local/Makefile cd Local # exiscan-acl is now integrated - enabled it when use-flag set if use exiscan-acl; then sed -i "s:# WITH_CONTENT_SCAN=yes:WITH_CONTENT_SCAN=yes:" Makefile sed -i "s:# WITH_OLD_DEMIME=yes:WITH_OLD_DEMIME=yes:" Makefile fi ebuild in portage: # exiscan-acl is now integrated - enabled it when use-flag set if use exiscan-acl; then sed -i "s:# WITH_CONTENT_SCAN=yes:WITH_CONTENT_SCAN=yes:" Makefile sed -i "s:# WITH_OLD_DEMIME=yes:WITH_OLD_DEMIME=yes:" Makefile fi # Includes Typo fix for bug 47106 sed -e "48i\CFLAGS=${CFLAGS}" \ -e "s:# AUTH_CRAM_MD5=yes:AUTH_CRAM_MD5=yes:" \ -e "s:# AUTH_PLAINTEXT=yes:AUTH_PLAINTEXT=yes:" \ -e "s:BIN_DIRECTORY=/usr/exim/bin:BIN_DIRECTORY=/usr/sbin:" \ -e "s:COMPRESS_COMMAND=/opt/gnu/bin/gzip:COMPRESS_COMMAND=/usr/bin/gzip:" \ -e "s:ZCAT_COMMAND=/opt/gnu/bin/zcat:ZCAT_COMMAND=/usr/bin/zcat:" \ -e "s:CONFIGURE_FILE=/usr/exim/configure:CONFIGURE_FILE=/etc/exim/exim.conf:" \ -e "s:EXIM_MONITOR=eximon.bin:# EXIM_MONITOR=eximon.bin:" \ -e "s:# INFO_DIRECTORY=/usr/local/info:INFO_DIRECTORY=/usr/share/info:" \ -e "s:# LOG_FILE_PATH=/var/log/exim_%slog:LOG_FILE_PATH=/var/log/exim/exim_%s.log:" \ -e "s:# PID_FILE_PATH=/var/lock/exim.pid:PID_FILE_PATH=/var/run/exim.pid:" \ -e "s:# SPOOL_DIRECTORY=/var/spool/exim:SPOOL_DIRECTORY=/var/spool/exim:" \ -e "s:# SUPPORT_MAILDIR=yes:SUPPORT_MAILDIR=yes:" \ -e "s:# SUPPORT_MAILSTORE=yes:SUPPORT_MAILSTORE=yes:" \ -e "s:EXIM_USER=:EXIM_USER=mail:" \ -e "s:# AUTH_SPA=yes:AUTH_SPA=yes:" \ -e "s:^ZCAT_COMMAND.*$:ZCAT_COMMAND=/bin/zcat:" \ -e "s:# LOOKUP_PASSWD=yes:LOOKUP_PASSWD=yes:" \ src/EDITME > Local/Makefile Also, there's no tab in my ebuild :P No offense, but just commit my ebuild into portage, and all bugs reported here are fixed. There are no other differences than the two bugs reported here.
Yes, please commit his ebuild or the one from me ;)
the reason you don't get it, is that I didn't blindly add your ebuild into portage, however I did get the order wrong when updating, (I think missed the line moves). I'll update portage tonight when I get home from work.
*** Bug 84245 has been marked as a duplicate of this bug. ***
apologies if my last but one comment was taken the wrong way, it really needed some smilies :) Anyhow, exim-4.50-r1 is now in portage and should fix this issue, (the patch that was applied didn't fulled edit Local/Makefile either, missing the OLD_DEMIME statement for some reason).
This seems to have been resolved, closing.