Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83269 - exim 4.50 version bump
Summary: exim 4.50 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
: 84245 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-25 01:26 UTC by Dennis Freise
Modified: 2005-06-18 16:33 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
exim-4.50.ebuild (exim-4.50.ebuild,7.82 KB, text/plain)
2005-02-25 01:27 UTC, Dennis Freise
Details
exim-4.50-r1_pre patch (exim-4.50-r1_pre.patch,548 bytes, patch)
2005-03-04 07:09 UTC, Andreas Bulling
Details | Diff
exim-4.50-r1.ebuild (exim-4.50-r1.ebuild,7.74 KB, text/plain)
2005-03-04 17:41 UTC, Andreas Bulling
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Freise 2005-02-25 01:26:31 UTC
exim 4.50 is out, which includes exiscan-acl.
I'm attaching an ebuild, based on the exim-4.43-r2 ebuild.
Comment 1 Dennis Freise 2005-02-25 01:27:25 UTC
Created attachment 52104 [details]
exim-4.50.ebuild
Comment 2 Colin Morey (RETIRED) gentoo-dev 2005-03-02 13:57:43 UTC
this will hopefully be in portage tomorrow night, I planned to do it tonight, but just ran out of time. 
Comment 3 Andreas Bulling 2005-03-04 06:16:36 UTC
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.
Comment 4 Andreas Bulling 2005-03-04 07:09:53 UTC
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...
Comment 5 Colin Morey (RETIRED) gentoo-dev 2005-03-04 07:31:18 UTC
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.
Comment 6 Andreas Bulling 2005-03-04 17:41:39 UTC
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.
Comment 7 Dennis Freise 2005-03-05 01:13:35 UTC
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.
Comment 8 Andreas Bulling 2005-03-08 07:03:09 UTC
Yes, please commit his ebuild or the one from me ;)
Comment 9 Colin Morey (RETIRED) gentoo-dev 2005-03-08 08:15:24 UTC
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.
Comment 10 Colin Morey (RETIRED) gentoo-dev 2005-03-08 11:26:16 UTC
*** Bug 84245 has been marked as a duplicate of this bug. ***
Comment 11 Colin Morey (RETIRED) gentoo-dev 2005-03-08 12:04:36 UTC
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).
Comment 12 Andrej Kacian (RETIRED) gentoo-dev 2005-06-18 16:33:32 UTC
This seems to have been resolved, closing.