There are two things I'd like to see added to the features of etc-update: 1) Similar to the "Automerge all remaining config files" option, etc-update should allow a user to do the following: Choose to automerge from a user specified list (ie: option -7). Continually ask which files to automerge until -1 is entered by the user. Confirm the automerge of all these files. 2) Another option that should be proposed to the user is to automerge all untouched files. This can be accomplished with any config file that uses the standard "hash means comment" convention. Essentially, before a config file is made available to the public, a hash (MD5 or other) should be taken and appended in a comment at the bottom (or anywhere) of the file. Then, when a user chooses to automerge all untouched files, etc-update will: -Check each config file for the hash comment convention. -If a config file uses the convention, search for a comment containing the hash of the file in a specified format. This hash will be called the "original hash." -etc-update will then take a hash of the file ("generated hash") with the line containing the "original hash" comment stripped out. -If the "original hash" and the "generated hash" match, replace the original file with the update. Reproducible: Always Steps to Reproduce: 1. 2. 3.
As I understood it Karl is working on the new etc-update.
You should check bugs: http://bugs.gentoo.org/show_bug.cgi?id=14666 and http://bugs.gentoo.org/show_bug.cgi?id=4709 The first provides MD5 sum based automerging that works pretty well; the second implements a different solution that I haven't tried yet. --- SER
This is adressed in dispatch-conf and a duplicate of 4709 *** This bug has been marked as a duplicate of 4709 ***