improved resubmit: simplify updating of config files after pkg_add -r

2007-09-23 Thread Ingo Schwarze
In http://marc.info/?l=openbsd-portsm=117587445905884w=2 i submitted a patch to ease @sample handling after pkg_add -r. See below for the full rationale. Marc liked the general idea but wanted to do some refactoring. So here's a reminder, improved in a few respects: - Do not create and advertise

Re: simplify updating of config files after pkg_add -r

2007-04-11 Thread Marc Espie
On Fri, Apr 06, 2007 at 05:39:43PM +0200, Ingo Schwarze wrote: When a file installed by a @sample packing list directive was changed locally, manually updating it can be tedious after pkg_add -r. Even worse, after updating many packages using pkg_add -u, finding out which config files need

Re: simplify updating of config files after pkg_add -r

2007-04-11 Thread Ingo Schwarze
Hi Marc, Marc Espie wrote on Wed, Apr 11, 2007 at 09:30:28AM +0200: the idea is fine, don't worry about the polishing, I'll refactor it a bit to avoid having so much code in there. Great, thanks, so i'll just wait and see. Tell me when i can help with anything (e.g., testing). - using

simplify updating of config files after pkg_add -r

2007-04-06 Thread Ingo Schwarze
When a file installed by a @sample packing list directive was changed locally, manually updating it can be tedious after pkg_add -r. Even worse, after updating many packages using pkg_add -u, finding out which config files need updating is non-trivial. The following patch prepares a diff between