Other posible conffile handling...
- To: Ben Collins <bcollins@debian.org>
- Cc: Jules Bean <jmlb2@hermes.cam.ac.uk>, Daniel Burrows <Daniel_Burrows@brown.edu>, wakkerma@debian.org, debian-dpkg@lists.debian.org, debian-devel@lists.debian.org, 4950@bugs.debian.org, recipient list not shown: ;
- Subject: Other posible conffile handling...
- From: Nicolás Lichtmaier <nick@debian.org>
- Date: Mon, 11 Oct 1999 19:12:49 -0300
- Message-id: <[🔎] 19991011191249.F2248@debian.org>
- Mail-followup-to: Ben Collins <bcollins@debian.org>, Jules Bean <jmlb2@hermes.cam.ac.uk>, Daniel Burrows <Daniel_Burrows@brown.edu>, wakkerma@debian.org, debian-dpkg@lists.debian.org, debian-devel@lists.debian.org, 4950@bugs.debian.org, recipient list not shown: ;
- In-reply-to: <[🔎] 19991011123212.G14233@lappy.djj.state.va.us>
- References: <[🔎] 19991011115029.A19115@bluegreen.dhis.org> <[🔎] Pine.SOL.4.10a.9910111705460.13312-100000@red.csi.cam.ac.uk> <[🔎] 19991011123212.G14233@lappy.djj.state.va.us>
Each installed conffile would be copied to a private dpkg directory. This
would allow dpkg to have the previos unmodified conffile that was packaged,
so dpkg would be able to:
1) Calculate the delta between both packaged conffiles ( d(1,2) ).
2) Show that to the user.
3) Optionally merge with existing conffile = p(m, d(1,2) ) .
1--------2
\
\
m
Without the special dir there are other nice things that can be done as
well:
1) Make the diff between the user-modified file and the new packaged
version = d(m,2).
2) Let the user edit the patch choosing wich modifications he would like
to have applied.
The latter form is what I'm already using for conffile handling myself.
Reply to: