Merge lp:~cyphermox/ubuntu/lucid/resolvconf/lucid into lp:ubuntu/lucid/resolvconf
- Lucid (10.04)
- lucid
- Merge into lucid
Proposed by
Mathieu Trudel-Lapierre
Status: | Merged |
---|---|
Merge reported by: | Mathieu Trudel-Lapierre |
Merged at revision: | not available |
Proposed branch: | lp:~cyphermox/ubuntu/lucid/resolvconf/lucid |
Merge into: | lp:ubuntu/lucid/resolvconf |
Diff against target: |
287 lines (+202/-13) 6 files modified
debian/changelog (+29/-0) debian/control (+1/-1) debian/po/eu.po (+152/-0) debian/postinst (+10/-10) debian/postrm (+3/-2) man/resolvconf.8 (+7/-0) |
To merge this branch: | bzr merge lp:~cyphermox/ubuntu/lucid/resolvconf/lucid |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu branches | Pending | ||
Review via email: mp+16081@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
- 18. By Mathieu Trudel-Lapierre
-
* debian/postinst:
- make sure all run files are sent to /var/run, not /lib/init/rw - 19. By Mathieu Trudel-Lapierre
-
update regex to check that /var/run is a tmpfs (LP: #386822)
- 20. By Mathieu Trudel-Lapierre
-
fix typo in comments
- 21. By Mathieu Trudel-Lapierre
-
* debian/postrm:
- remove /var/run/resolvconf, not /lib/init/ rw/resolvconf - 22. By Mathieu Trudel-Lapierre
-
also purge /var/run/
resolvconf/ interface
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'debian/changelog' | |||
2 | --- debian/changelog 2009-06-04 16:38:43 +0000 | |||
3 | +++ debian/changelog 2009-12-30 21:24:14 +0000 | |||
4 | @@ -1,3 +1,32 @@ | |||
5 | 1 | resolvconf (1.45ubuntu1) lucid; urgency=low | ||
6 | 2 | |||
7 | 3 | * Merge from debian unstable, remaining changes (LP: #495998): | ||
8 | 4 | - bin/resolvconf: | ||
9 | 5 | + fail with non-zero exit code when /etc/resolv.conf is not a symlink. | ||
10 | 6 | - debian/postinst: | ||
11 | 7 | + use default /var/run. | ||
12 | 8 | - debian/rules: | ||
13 | 9 | + don't install the init script in runlevels 0 and 6. | ||
14 | 10 | * debian/postinst: | ||
15 | 11 | - make sure all run files are sent to /var/run, not /lib/init/rw | ||
16 | 12 | - update regex to check that /var/run is a tmpfs (LP: #386822) | ||
17 | 13 | - fix typo in comments | ||
18 | 14 | * debian/postrm: | ||
19 | 15 | - remove /var/run/resolvconf, not /lib/init/rw/resolvconf | ||
20 | 16 | - also purge /var/run/resolvconf/interface | ||
21 | 17 | |||
22 | 18 | -- Mathieu Trudel <mathieu-tl@ubuntu.com> Wed, 30 Dec 2009 16:17:58 -0500 | ||
23 | 19 | |||
24 | 20 | resolvconf (1.45) unstable; urgency=low | ||
25 | 21 | |||
26 | 22 | [ Thomas Hood ] | ||
27 | 23 | * Bump standards version | ||
28 | 24 | * Add note to man page that tail file is a good place for a | ||
29 | 25 | resolver "options" line (Closes: #533297) | ||
30 | 26 | * Add eu.po (Closes: #534558) | ||
31 | 27 | |||
32 | 28 | -- Marco Nenciarini <mnencia@debian.org> Thu, 13 Aug 2009 20:01:51 +0200 | ||
33 | 29 | |||
34 | 1 | resolvconf (1.44ubuntu1) karmic; urgency=low | 30 | resolvconf (1.44ubuntu1) karmic; urgency=low |
35 | 2 | 31 | ||
36 | 3 | * Merge from debian unstable, remaining changes (LP: #384131): | 32 | * Merge from debian unstable, remaining changes (LP: #384131): |
37 | 4 | 33 | ||
38 | === modified file 'debian/control' | |||
39 | --- debian/control 2009-06-04 16:38:43 +0000 | |||
40 | +++ debian/control 2009-12-30 21:24:14 +0000 | |||
41 | @@ -9,7 +9,7 @@ | |||
42 | 9 | Vcs-Browser: http://svn.debian.org/wsvn/resolvconf/resolvconf/trunk | 9 | Vcs-Browser: http://svn.debian.org/wsvn/resolvconf/resolvconf/trunk |
43 | 10 | Homepage: http://alioth.debian.org/projects/resolvconf/ | 10 | Homepage: http://alioth.debian.org/projects/resolvconf/ |
44 | 11 | Dm-Upload-Allowed: yes | 11 | Dm-Upload-Allowed: yes |
46 | 12 | Standards-Version: 3.8.0 | 12 | Standards-Version: 3.8.2 |
47 | 13 | 13 | ||
48 | 14 | Package: resolvconf | 14 | Package: resolvconf |
49 | 15 | Architecture: all | 15 | Architecture: all |
50 | 16 | 16 | ||
51 | === added file 'debian/po/eu.po' | |||
52 | --- debian/po/eu.po 1970-01-01 00:00:00 +0000 | |||
53 | +++ debian/po/eu.po 2009-12-30 21:24:14 +0000 | |||
54 | @@ -0,0 +1,152 @@ | |||
55 | 1 | # translation of resolvconf-eu.po to Euskara | ||
56 | 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | ||
57 | 3 | # This file is distributed under the same license as the PACKAGE package. | ||
58 | 4 | # | ||
59 | 5 | # Piarres Beobide EGaƱa <pi@beobide.net>, 2009. | ||
60 | 6 | msgid "" | ||
61 | 7 | msgstr "" | ||
62 | 8 | "Project-Id-Version: resolvconf-eu\n" | ||
63 | 9 | "Report-Msgid-Bugs-To: resolvconf@packages.debian.org\n" | ||
64 | 10 | "POT-Creation-Date: 2008-02-11 07:44+0100\n" | ||
65 | 11 | "PO-Revision-Date: 2009-06-25 11:48+0200\n" | ||
66 | 12 | "Last-Translator: Piarres Beobide <pi@beobide.net>\n" | ||
67 | 13 | "Language-Team: Euskara <debian-l10n-eu@lists.debian.org>\n" | ||
68 | 14 | "MIME-Version: 1.0\n" | ||
69 | 15 | "Content-Type: text/plain; charset=UTF-8\n" | ||
70 | 16 | "Content-Transfer-Encoding: 8bit\n" | ||
71 | 17 | "X-Generator: KBabel 1.11.4\n" | ||
72 | 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
73 | 19 | |||
74 | 20 | #. Type: boolean | ||
75 | 21 | #. Description | ||
76 | 22 | #: ../templates:2001 | ||
77 | 23 | msgid "Prepare /etc/resolv.conf for dynamic updates?" | ||
78 | 24 | msgstr "Prestatu /etc/resolv.conf eguneraketa dinamikoentzat?" | ||
79 | 25 | |||
80 | 26 | #. Type: boolean | ||
81 | 27 | #. Description | ||
82 | 28 | #: ../templates:2001 | ||
83 | 29 | msgid "" | ||
84 | 30 | "The resolvconf package contains the infrastructure required for dynamic " | ||
85 | 31 | "updating of the resolver configuration file. Part of the necessary " | ||
86 | 32 | "infrastructure is a symbolic link from /etc/resolv.conf to /etc/resolvconf/" | ||
87 | 33 | "run/resolv.conf. If you choose this option then this link will be created; " | ||
88 | 34 | "the existing /etc/resolv.conf file will be preserved as /etc/resolvconf/" | ||
89 | 35 | "resolv.conf.d/original, and will be restored if this package is removed." | ||
90 | 36 | msgstr "" | ||
91 | 37 | "Resolvconf paketeak ebazte konfigurazio fitxategia automatikoki " | ||
92 | 38 | "eguneratzeko beharrezko azpiegitura du. Beharrezko azpiegitura " | ||
93 | 39 | "horren zati bat /etc/resolv.conf eta /etc/resolvconf/run/resolv.conf " | ||
94 | 40 | "arteko lotura sinboliko bat da. Aukera hau hautatuaz gero lotura " | ||
95 | 41 | "hori sortu egingo da; aurreko /etc/resolv.conf fitxategia /etc/resolvconf/" | ||
96 | 42 | "resolv.conf.d/original izenaz gordeko da eta paketea kentzen bada berriz " | ||
97 | 43 | "bere lekuan ipiniko da." | ||
98 | 44 | |||
99 | 45 | #. Type: boolean | ||
100 | 46 | #. Description | ||
101 | 47 | #: ../templates:2001 | ||
102 | 48 | msgid "" | ||
103 | 49 | "Declining this option will prevent future installations from recreating the " | ||
104 | 50 | "symbolic link and therefore the resolver configuration file will not be " | ||
105 | 51 | "dynamically updated. Dynamic updating can then be activated following " | ||
106 | 52 | "instructions in the README file." | ||
107 | 53 | msgstr "" | ||
108 | 54 | "Aukera hau baztertzeak hurrengo instalazioetan lotura sortzea desgaituko du, " | ||
109 | 55 | "beraz ebazte konfigurazio fitxategia ez da dinamikoki eguneratuko. " | ||
110 | 56 | "Eguneraketa dinamikoa README fitxategiko argibideak jarraituaz gaitu daiteke." | ||
111 | 57 | |||
112 | 58 | #. Type: boolean | ||
113 | 59 | #. Description | ||
114 | 60 | #: ../templates:2001 | ||
115 | 61 | msgid "" | ||
116 | 62 | "The presence of resolvconf can affect the behavior of other programs, so it " | ||
117 | 63 | "should not be left installed if unconfigured." | ||
118 | 64 | msgstr "" | ||
119 | 65 | "Resolvconf egoteak beste programa batzuen portamoldea aldatu dezake, beraz " | ||
120 | 66 | "ez litzateke konfiguratu gabe instalaturik utzi beharko." | ||
121 | 67 | |||
122 | 68 | #. Type: note | ||
123 | 69 | #. Description | ||
124 | 70 | #: ../templates:3001 | ||
125 | 71 | msgid "Network interfaces reconfiguration mandatory" | ||
126 | 72 | msgstr "Sare interfaze birkonfigurazioa beharrezkoa" | ||
127 | 73 | |||
128 | 74 | #. Type: note | ||
129 | 75 | #. Description | ||
130 | 76 | #: ../templates:3001 | ||
131 | 77 | msgid "" | ||
132 | 78 | "Once resolvconf is installed, interface configurers supply name server " | ||
133 | 79 | "information to it (which it then makes available to the C library resolver " | ||
134 | 80 | "and to DNS caches). However, they do this only when they bring up " | ||
135 | 81 | "interfaces. Therefore for resolvconf's name server information to be up to " | ||
136 | 82 | "date after initial installation it is necessary to reconfigure interfaces " | ||
137 | 83 | "(that is, to take them down and then to bring them up again) and to restart " | ||
138 | 84 | "DNS caches." | ||
139 | 85 | msgstr "" | ||
140 | 86 | "Behin resolvconf instalaturik dagoela, interfaze konfigurazioak emango dizkio " | ||
141 | 87 | "izen zerbitzariaren argibideak (honek C liburutegi ebazte eta DNS cache-ei " | ||
142 | 88 | "eskurgarri egingo die). Hau bakarrik interfazeak altxatzean egingo dute. Hala ere " | ||
143 | 89 | "resolvconf-ren izen zerbitzari argibideak instalatu ondoren behar bezala egoteko " | ||
144 | 90 | "beharrezkoa da interfazeak birkonfiguratzea (hau da, interfazeak desgaitu eta " | ||
145 | 91 | "berriz gaitzea) eta DNS cache-ak berrabiaraztea." | ||
146 | 92 | |||
147 | 93 | #. Type: boolean | ||
148 | 94 | #. Description | ||
149 | 95 | #: ../templates:4001 | ||
150 | 96 | msgid "Append original file to dynamic file?" | ||
151 | 97 | msgstr "Erantsi jatorrizko fitxategia fitxategi dinamikora?" | ||
152 | 98 | |||
153 | 99 | #. Type: boolean | ||
154 | 100 | #. Description | ||
155 | 101 | #: ../templates:4001 | ||
156 | 102 | msgid "" | ||
157 | 103 | "If the original static resolver configuration file (/etc/resolv.conf) " | ||
158 | 104 | "contains name server addresses, those addresses should be listed on \"dns-" | ||
159 | 105 | "nameservers\" lines in /etc/network/interfaces. For more information, please " | ||
160 | 106 | "consult the resolvconf(8) man page and the README file." | ||
161 | 107 | msgstr "" | ||
162 | 108 | "Jatorrizko ebazpen 'finko' konfigurazio fitxategiak (etc/resolv.conf) izen " | ||
163 | 109 | "zerbitzariak baditu, helbide horiek /etc/network/interfaces fitxategiko " | ||
164 | 110 | "\"dns-nameservers\" lerroetan gehitu beharko dira. Argibide gehiagorako " | ||
165 | 111 | "irakurri itzazu resolvconf(8) manual orrialdea eta README fitxategia." | ||
166 | 112 | |||
167 | 113 | #. Type: boolean | ||
168 | 114 | #. Description | ||
169 | 115 | #: ../templates:4001 | ||
170 | 116 | msgid "" | ||
171 | 117 | "Until /etc/network/interfaces has been edited and the affected interfaces " | ||
172 | 118 | "brought down and up again, the name server addresses will not be included in " | ||
173 | 119 | "the dynamically generated resolver configuration file." | ||
174 | 120 | msgstr "" | ||
175 | 121 | "Behin /etc/network/interfaces editatua izan denean eta dagozkion interfazeak " | ||
176 | 122 | "desgaitu eta gaitu arte izen zerbitzari helbideak ez dira gehituko dinamikoki " | ||
177 | 123 | "sortutako ebazte konfigurazio fitxategian." | ||
178 | 124 | |||
179 | 125 | #. Type: boolean | ||
180 | 126 | #. Description | ||
181 | 127 | #: ../templates:4001 | ||
182 | 128 | msgid "" | ||
183 | 129 | "If you choose this option, a temporary workaround will be put in place: a " | ||
184 | 130 | "symbolic link will be created (if it does not already exist) from /etc/" | ||
185 | 131 | "resolvconf/resolv.conf.d/tail to /etc/resolvconf/resolv.conf.d/original. " | ||
186 | 132 | "This will cause the whole of that original resolver configuration file to be " | ||
187 | 133 | "appended to the dynamically generated file." | ||
188 | 134 | msgstr "" | ||
189 | 135 | "Aukera hau hautatzen baduzu aldiroko portamolde bat erabiliko da, lotura " | ||
190 | 136 | "sinboliko bat sortuko da (dagoeneko ez badago) /etc/resolvconf/" | ||
191 | 137 | "resolv.conf.d/tail eta /etc/resolvconf/resolv.conf.d/original artean. Honela " | ||
192 | 138 | "jatorrizko ebazte konfigurazio fitxategia dinamikoki sortutakoari erantsiko " | ||
193 | 139 | "zaio." | ||
194 | 140 | |||
195 | 141 | #. Type: boolean | ||
196 | 142 | #. Description | ||
197 | 143 | #: ../templates:4001 | ||
198 | 144 | msgid "" | ||
199 | 145 | "After the required \"dns-nameservers\" lines have been added to /etc/network/" | ||
200 | 146 | "interfaces, the /etc/resolvconf/resolv.conf.d/tail link should be replaced " | ||
201 | 147 | "by one to /dev/null." | ||
202 | 148 | msgstr "" | ||
203 | 149 | "Behin beharrezko \"dns-nameservers\" lerroak /etc/network/interfaces " | ||
204 | 150 | "fitxategira gehitu direnean, /etc/resolvconf/resolv.conf.d/tail lotura " | ||
205 | 151 | "/dev/null-erako batez ordeztu beharko zen." | ||
206 | 152 | |||
207 | 0 | 153 | ||
208 | === modified file 'debian/postinst' | |||
209 | --- debian/postinst 2008-08-20 02:32:47 +0000 | |||
210 | +++ debian/postinst 2009-12-30 21:24:14 +0000 | |||
211 | @@ -32,19 +32,19 @@ | |||
212 | 32 | rm -f /etc/resolvconf/run | 32 | rm -f /etc/resolvconf/run |
213 | 33 | elif \ | 33 | elif \ |
214 | 34 | [ "$RUN_CANONICALPATH" = "/dev/shm/resolvconf" ] \ | 34 | [ "$RUN_CANONICALPATH" = "/dev/shm/resolvconf" ] \ |
217 | 35 | && [ -d /lib/init/rw ] \ | 35 | && [ -d /var/run ] \ |
218 | 36 | && [ -w /lib/init/rw ] \ | 36 | && [ -w /var/run ] \ |
219 | 37 | && [ -r /proc/mounts ] \ | 37 | && [ -r /proc/mounts ] \ |
223 | 38 | && grep -qs "^tmpfs[[:space:]]\+/lib/init/rw[[:space:]]\+tmpfs[[:space:]]\+\([^[:space:]]\+,\)\?rw" /proc/mounts \ | 38 | && grep -qs "^none[[:space:]]\+/var/run[[:space:]]\+tmpfs[[:space:]]\+\([^[:space:]]\+,\)\?rw" /proc/mounts \ |
224 | 39 | && { [ -d /lib/init/rw/resolvconf ] || mkdir -v /lib/init/rw/resolvconf ; } \ | 39 | && { [ -d /var/run/resolvconf ] || mkdir -v /var/run/resolvconf ; } \ |
225 | 40 | && { [ -d /lib/init/rw/resolvconf/interface ] || mkdir -v /lib/init/rw/resolvconf/interface ; } \ | 40 | && { [ -d /var/run/resolvconf/interface ] || mkdir -v /var/run/resolvconf/interface ; } \ |
226 | 41 | && F="$(echo /dev/shm/resolvconf/*)" \ | 41 | && F="$(echo /dev/shm/resolvconf/*)" \ |
227 | 42 | && [ "$F" ] \ | 42 | && [ "$F" ] \ |
228 | 43 | && [ "$F" != '/dev/shm/resolvconf/*' ] \ | 43 | && [ "$F" != '/dev/shm/resolvconf/*' ] \ |
230 | 44 | && cp -a /dev/shm/resolvconf/* /lib/init/rw/resolvconf | 44 | && cp -a /dev/shm/resolvconf/* /var/run/resolvconf |
231 | 45 | then | 45 | then |
234 | 46 | report_info "Migrating run-time database from /dev/shm/resolvconf to /lib/init/rw/resolvconf" | 46 | report_info "Migrating run-time database from /dev/shm/resolvconf to /var/run/resolvconf" |
235 | 47 | ln -nsf /lib/init/rw/resolvconf /etc/resolvconf/run | 47 | ln -nsf /var/run/resolvconf /etc/resolvconf/run |
236 | 48 | fi | 48 | fi |
237 | 49 | fi | 49 | fi |
238 | 50 | # Delete it if it isn't a directory or a link to one | 50 | # Delete it if it isn't a directory or a link to one |
239 | @@ -64,12 +64,12 @@ | |||
240 | 64 | # It's a dangling but canonicalizable symlink | 64 | # It's a dangling but canonicalizable symlink |
241 | 65 | mkdir -v "$RUN_CANONICALPATH" "${RUN_CANONICALPATH}/interface" | 65 | mkdir -v "$RUN_CANONICALPATH" "${RUN_CANONICALPATH}/interface" |
242 | 66 | else | 66 | else |
244 | 67 | # It's a nonexistent | 67 | # It's nonexistent |
245 | 68 | # Use /var/run. | 68 | # Use /var/run. |
246 | 69 | if \ | 69 | if \ |
247 | 70 | [ -d /var/run ] \ | 70 | [ -d /var/run ] \ |
248 | 71 | && [ -w /var/run ] \ | 71 | && [ -w /var/run ] \ |
250 | 72 | && grep -qs "^tmpfs[[:space:]]\+/var/run[[:space:]]\+tmpfs[[:space:]]\+\([^[:space:]]\+,\)\?rw" /proc/mounts \ | 72 | && grep -qs "^none[[:space:]]\+/var/run[[:space:]]\+tmpfs[[:space:]]\+\([^[:space:]]\+,\)\?rw" /proc/mounts \ |
251 | 73 | && { [ -d /var/run/resolvconf ] || mkdir -v /var/run/resolvconf ; } \ | 73 | && { [ -d /var/run/resolvconf ] || mkdir -v /var/run/resolvconf ; } \ |
252 | 74 | && { [ -d /var/run/resolvconf/interface ] || mkdir -v /var/run/resolvconf/interface ; } | 74 | && { [ -d /var/run/resolvconf/interface ] || mkdir -v /var/run/resolvconf/interface ; } |
253 | 75 | then | 75 | then |
254 | 76 | 76 | ||
255 | === modified file 'debian/postrm' | |||
256 | --- debian/postrm 2009-06-02 18:02:23 +0000 | |||
257 | +++ debian/postrm 2009-12-30 21:24:14 +0000 | |||
258 | @@ -31,8 +31,9 @@ | |||
259 | 31 | rm -f /etc/resolvconf/resolv.conf.d/tail | 31 | rm -f /etc/resolvconf/resolv.conf.d/tail |
260 | 32 | rm -f /etc/resolvconf/resolv.conf.d/original | 32 | rm -f /etc/resolvconf/resolv.conf.d/original |
261 | 33 | rm -f /etc/default/resolvconf | 33 | rm -f /etc/default/resolvconf |
264 | 34 | rmdir /lib/init/rw/resolvconf/interface || : | 34 | rm -f /var/run/resolvconf/interface/* |
265 | 35 | rmdir /lib/init/rw/resolvconf || : | 35 | rmdir /var/run/resolvconf/interface || : |
266 | 36 | rmdir /var/run/resolvconf || : | ||
267 | 36 | ;; | 37 | ;; |
268 | 37 | esac | 38 | esac |
269 | 38 | 39 | ||
270 | 39 | 40 | ||
271 | === modified file 'man/resolvconf.8' | |||
272 | --- man/resolvconf.8 2008-12-07 15:12:34 +0000 | |||
273 | +++ man/resolvconf.8 2009-12-30 21:24:14 +0000 | |||
274 | @@ -234,6 +234,13 @@ | |||
275 | 234 | .I /etc/resolvconf/resolv.conf.d/tail | 234 | .I /etc/resolvconf/resolv.conf.d/tail |
276 | 235 | File to be appended to the dynamically generated resolver configuration file. | 235 | File to be appended to the dynamically generated resolver configuration file. |
277 | 236 | To append nothing, make this an empty file. | 236 | To append nothing, make this an empty file. |
278 | 237 | This file is a good place to put a resolver | ||
279 | 238 | .B options | ||
280 | 239 | line if one is needed, e.g., | ||
281 | 240 | |||
282 | 241 | .EX | ||
283 | 242 | options inet6 | ||
284 | 243 | .EE | ||
285 | 237 | .SH BUGS | 244 | .SH BUGS |
286 | 238 | Currently | 245 | Currently |
287 | 239 | .B resolvconf | 246 | .B resolvconf |