Gentoo Archives: gentoo-user-fr

From: Jerome Poggi <Jerome.Poggi@×××.fr>
To: gentoo-user-fr@l.g.o
Subject: Re: [gentoo-user-fr] /etc need updating
Date: Fri, 05 Aug 2005 10:11:38
Message-Id: 20050805101106.GU13494@efflam.hsc.fr
In Reply to: Re: [gentoo-user-fr] /etc need updating by granger@ensil.unilim.fr
1 On Fri, 05 Aug 2005, granger@××××××××××××.fr wrote:
2
3 > Salut,
4 > pour moi ma technique est simple, et j'aimerais aussi que les autres me
5 > disent ce qu'ils en pense, pour les fichiers dont je n'ai jamais touché je
6 > fais un update, pour les autres où j'ai pu apporter une modif, je vérifie
7 > vite fait si il y a une modif à effectuer à la main, sinon je garde celui
8 > que j'ai modifié pour ne pas tout me retaper..
9
10 Pour faire simple, il faut utiliser etc-update avec une config du type :
11 /etc/dispatch-conf.conf
12 # Directory to archive replaced configs
13 archive-dir=/etc/config-archive
14 # Use rcs for storing files in the archive directory?
15 # (yes or no)
16 use-rcs=no
17 # Diff for display
18 # %s old file
19 # %s new file
20 diff="diff -Nu %s %s | less --no-init --QUIT-AT-EOF"
21 # Diff for interactive merges.
22 # %s output file
23 # %s old file
24 # %s new file
25 merge="sdiff --suppress-common-lines --output=%s %s %s"
26 # Automerge files comprising only CVS interpolations (e.g. Header or Id)
27 # (yes or no)
28 replace-cvs=yes
29 # Automerge files comprising only whitespace and/or comments
30 # (yes or no)
31 replace-wscomments=no
32 # Automerge files that the user hasn't modified
33 # (yes or no)
34 replace-unmodified=no
35 # Per-session log file of changes made to configuration files
36 #log-file=/var/log/dispatch-conf.log
37
38 Jerome.
39
40 --
41 Jerome POGGI Jerome.Poggi@×××.fr
42 Herve Schauer Consultants -=- Consultant Sécurité Informatique, CISSP
43 http://www.hsc.fr/ Tèl : +33 141 409 700
44
45 --
46 gentoo-user-fr@g.o mailing list

Replies

Subject Author
Re: [gentoo-user-fr] /etc need updating Jerome Poggi <Jerome.Poggi@×××.fr>
Re: [gentoo-user-fr] /etc need updating Anthony Jacob <anthonyjacob@×××××××.fr>