Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21302 - exim ebuild should use new exiscan-acl patch
Summary: exim ebuild should use new exiscan-acl patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Jack Morgan (RETIRED)
URL: http://duncanthrax.net/exiscan-acl/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-19 19:13 UTC by Tim Schafer
Modified: 2003-06-27 18:02 UTC (History)
0 users

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


Attachments
Updated ebuild for Exim 4.20 with exiscan and exiscan-acl USE (exim-4.20.ebuild,5.52 KB, text/plain)
2003-06-05 20:23 UTC, Tim Schafer
Details
Updated ebuild for exim 4.20 with exiscan and exiscan-acl USE (exim-4.20.ebuild,5.49 KB, text/plain)
2003-06-06 12:42 UTC, Tim Schafer
Details
Updated ebuild for exim 4.20 with exiscan and exiscan-acl USE (exim-4.20.ebuild,5.33 KB, text/plain)
2003-06-06 20:44 UTC, Tim Schafer
Details
Updated ebuild for exim 4.20 with exiscan and exiscan-acl USE (exim-4.20.ebuild,5.54 KB, text/plain)
2003-06-12 16:00 UTC, Tim Schafer
Details
Updated ebuild for exim 4.20 with exiscan and exiscan-acl USE (exim-4.20.ebuild,5.69 KB, text/plain)
2003-06-19 17:43 UTC, Tim Schafer
Details
Updated ebuild for exim 4.20 with exiscan and exiscan-acl USE (exim-4.20.ebuild,5.89 KB, text/plain)
2003-06-23 09:52 UTC, Tim Schafer
Details
Updated ebuild for exim 4.20 with exiscan and exiscan-acl USE (exim-4.20.ebuild,6.02 KB, text/plain)
2003-06-27 12:15 UTC, Tim Schafer
Details
files/exim-maildir-4.20-00.patch (exim-maildir-4.20-00.patch,390 bytes, patch)
2003-06-27 12:18 UTC, Tim Schafer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Schafer 2003-05-19 19:13:53 UTC
exiscan patch for Exim is deprecated and should be replaced with
exiscan-acl

current version of exiscan-acl:
4.20-06

for Exim 4.20
Comment 1 David Bauman 2003-05-24 18:16:39 UTC
That'd break the existing configs due to lack of backwards compatability. 
 
If you just want an updated exim ebuild with out exiscan-acl, see bug 20613. 
Comment 2 Tim Schafer 2003-05-26 01:06:22 UTC
I actually want exiscan-acl

The new configuration through exim ACLs is much cleaner

If the old exiscan must be supported then I suggest making it a choice in the
new ebuild,  however I believe all features can be migrated to the new acl
format. IMHO migrating now is the way to go, the old exiscan is NOT being
maintained.


Additionally I propose a new USE variable exiscan-acl that would optionally
add exiscan-acl to exim.  This USE variable would be on by default, but could
be turned off by those that want a more stock exim.

If the old exiscan is still desired by many, then an exiscan USE variable could
also be added.  This USE variable would be off by default but could be turned
on by those that want to use the old exiscan.  The ebuild should provide a
warning that exiscan is not being maintained, and that security/stability is
at their own risk.


The USE variable approach could also be used to support SA-Exim.  An alternative Exim patch related to SpamAssassin.  I will file another bug 
report proposing a USE variable sa-exim for the purpose of enabling SA-Exim
patch.
Comment 3 David Bauman 2003-05-31 01:14:25 UTC
Yea, I like exiscan-acl as well, and I very much want to use it. However I don't want an ebuild to clobber my existing config file or break my existing system by not being backwards compatible, either. When I'm ready to switch to exiscan-acl, I'd like to be able to do so at my schedule, rather than have portage tell me when to do it...
Comment 4 Tim Schafer 2003-06-01 17:28:06 UTC
exiscan could be default USE variable
with a warning about new exiscan-acl USE variable

this way no one upgrading exim would inadvertenly switch to exiscan-acl
but those that want exiscan-acl can have it
Comment 5 Tim Schafer 2003-06-05 20:23:34 UTC
Created attachment 12857 [details]
Updated ebuild for Exim 4.20 with exiscan and exiscan-acl USE

This should allow for building Exim 4.20 with exiscan or exiscan-acl

TODO
set a default
make the choice exclusive,  don't allow both patches to be made
Comment 6 Tim Schafer 2003-06-06 12:42:24 UTC
Created attachment 12885 [details]
Updated ebuild for exim 4.20 with exiscan and exiscan-acl USE

Changed the line for pam integration to follow the convention of other ebuilds
Comment 7 Tim Schafer 2003-06-06 20:44:57 UTC
Created attachment 12900 [details]
Updated ebuild for exim 4.20 with exiscan and exiscan-acl USE

Clean up
fix small permissions problems with /etc/exim files (was 744, should be 644)
move auth_conf.sub from doc to /etc/exim
change /etc/pam.d/pam.d-exim to /etc/pam.d/exim (this is actually in the last
one)

This should be ready to go
Barring problems with this, I will begin to integrate sa-exim
per bug 21696
Comment 8 Tim Schafer 2003-06-12 16:00:57 UTC
Created attachment 13173 [details]
Updated ebuild for exim 4.20 with exiscan and exiscan-acl USE

Fixed borked symlinks from previous "clean up" (sorry about that)
Added support for lmtp USE per bug 21513
Supplied default value for SYSTEM_ALIASES_FILE per bug 21480
Comment 9 FieldySnuts 2003-06-16 08:31:27 UTC
I'm having problems getting the digest for exiscan:

# USE="exiscan" GENTOO_MIRRORS="" emerge -b exim
Calculating dependencies ...done!
>>> emerge (1 of 1) net-mail/exim-4.20 to /
>>> md5 ;-) exim-4.20.tar.gz
>>> No message digest entry found for archive "exiscan-4.20-26.tar.gz."
!!! Most likely a temporary problem. Try 'emerge rsync' again later.
!!! If you are certain of the authenticity of the file then you may type
!!! the following to generate a new digest:
!!!   ebuild /usr/portage/category/package/package-version.ebuild digest

Did an rsync later, problem not solved.

I don't generally like to do this, but I wanted to see what would happen:

# ebuild /usr/portage/net-mail/exim/exim-4.20.ebuild digest
>>> Generating digest file...
>>> Computed message digests.

# USE="exiscan" GENTOO_MIRRORS="" emerge -b exim
Calculating dependencies ...done!
>>> emerge (1 of 1) net-mail/exim-4.20 to /
>>> md5 ;-) exim-4.20.tar.gz
>>> No message digest entry found for archive "exiscan-4.20-26.tar.gz."
!!! Most likely a temporary problem. Try 'emerge rsync' again later.
!!! If you are certain of the authenticity of the file then you may type
!!! the following to generate a new digest:
!!!   ebuild /usr/portage/category/package/package-version.ebuild digest

Longshot:

# ebuild /usr/portage/distfiles/exiscan-4.20-26.tar.gz digest
!!! doebuild:  /usr/portage/distfiles/exiscan-4.20-26.tar.gz does not appear to be an ebuild file.

Didn't think so.

exiscan of course isn't it's own ebuild, so I'm unable to calculate digests apparently.
Comment 10 Tim Schafer 2003-06-16 09:42:49 UTC
The new digests were not added to CVS
so rsyncing won't help until they are, Jack?

In the meantime you can calc the digest locally by doing:

USE="exiscan exiscan-acl" ebuild /usr/portage/net-mail/exim/exim-4.20.ebuild digest


The USE vars that cause the ebuild to download the files to be digested have to be on when the digest command is given
Comment 11 FieldySnuts 2003-06-16 12:27:00 UTC
That did it.

Thanks for the assistance, much appreciated.
Comment 12 Tim Schafer 2003-06-19 17:43:54 UTC
Created attachment 13579 [details]
Updated ebuild for exim 4.20 with exiscan and exiscan-acl USE

Fixes pid file in build

Change logging to use /var/log/exim directory by default
syslog can still be enabled in /etc/exim/exim.conf
Comment 13 Tim Schafer 2003-06-23 09:52:02 UTC
Created attachment 13728 [details]
Updated ebuild for exim 4.20 with exiscan and exiscan-acl USE

Provide original exim.conf file along with patched version
for exiscan or exiscan-acl
Comment 14 Tim Schafer 2003-06-27 12:15:40 UTC
Created attachment 13941 [details]
Updated ebuild for exim 4.20 with exiscan and exiscan-acl USE

patch /etc/exim/exim.conf for maildir delivery if maildir USE is set
Comment 15 Tim Schafer 2003-06-27 12:18:05 UTC
Created attachment 13942 [details, diff]
files/exim-maildir-4.20-00.patch

patch exim.conf for maildir delivery
Comment 16 Todd Berman (RETIRED) gentoo-dev 2003-06-27 18:02:15 UTC
committed