Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180874 - mail-mta/postfix: end config file with a comment
Summary: mail-mta/postfix: end config file with a comment
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Lowest enhancement (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-04 16:19 UTC by Martin von Gagern
Modified: 2008-03-21 15:19 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2007-06-04 16:19:26 UTC
It would be nice if the postfix config file main.cf were to end with a comment. I guess it is common to place additional custom configuration directives after the gentooish part. Right now the official part ends with readme_directory. Whenever a new release comes along and I ask etc-update to do a side-by-side merge, I get a single change form the old readme with all my customizations to the new readme with no customizations. To get the new readme directory and my customizations, I have to edit the config. If you were to append a comment that stays fixed in future versions, there would be two different changes, so that I can change the readme directory by pressing r and keep my customizations by pressing l. Appending a single "# End of Gentoo configuration, customizations below" to the file in the ebuild should be easy.
Comment 1 Raphael Marichez (Falco) (RETIRED) gentoo-dev 2008-03-21 15:19:13 UTC
i don't really want to customize main.cf since it directly comes from upstream, and that would add more complexity in the ebuild.

For your etc-update upgrades work, i suggest you use /usr/sbin/dispatch-conf (provided by portage), which will learn from your changes/nochanges. The next time it will upgrade the readme_directory path without touching your customizations.