Merge lp:~cyphermox/ubuntu/lucid/resolvconf/lucid into lp:ubuntu/lucid/resolvconf

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
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+16081@code.launchpad.net
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
=== modified file 'debian/changelog'
--- debian/changelog 2009-06-04 16:38:43 +0000
+++ debian/changelog 2009-12-30 21:24:14 +0000
@@ -1,3 +1,32 @@
1resolvconf (1.45ubuntu1) lucid; urgency=low
2
3 * Merge from debian unstable, remaining changes (LP: #495998):
4 - bin/resolvconf:
5 + fail with non-zero exit code when /etc/resolv.conf is not a symlink.
6 - debian/postinst:
7 + use default /var/run.
8 - debian/rules:
9 + don't install the init script in runlevels 0 and 6.
10 * debian/postinst:
11 - make sure all run files are sent to /var/run, not /lib/init/rw
12 - update regex to check that /var/run is a tmpfs (LP: #386822)
13 - fix typo in comments
14 * debian/postrm:
15 - remove /var/run/resolvconf, not /lib/init/rw/resolvconf
16 - also purge /var/run/resolvconf/interface
17
18 -- Mathieu Trudel <mathieu-tl@ubuntu.com> Wed, 30 Dec 2009 16:17:58 -0500
19
20resolvconf (1.45) unstable; urgency=low
21
22 [ Thomas Hood ]
23 * Bump standards version
24 * Add note to man page that tail file is a good place for a
25 resolver "options" line (Closes: #533297)
26 * Add eu.po (Closes: #534558)
27
28 -- Marco Nenciarini <mnencia@debian.org> Thu, 13 Aug 2009 20:01:51 +0200
29
1resolvconf (1.44ubuntu1) karmic; urgency=low30resolvconf (1.44ubuntu1) karmic; urgency=low
231
3 * Merge from debian unstable, remaining changes (LP: #384131):32 * Merge from debian unstable, remaining changes (LP: #384131):
433
=== modified file 'debian/control'
--- debian/control 2009-06-04 16:38:43 +0000
+++ debian/control 2009-12-30 21:24:14 +0000
@@ -9,7 +9,7 @@
9Vcs-Browser: http://svn.debian.org/wsvn/resolvconf/resolvconf/trunk9Vcs-Browser: http://svn.debian.org/wsvn/resolvconf/resolvconf/trunk
10Homepage: http://alioth.debian.org/projects/resolvconf/10Homepage: http://alioth.debian.org/projects/resolvconf/
11Dm-Upload-Allowed: yes11Dm-Upload-Allowed: yes
12Standards-Version: 3.8.012Standards-Version: 3.8.2
1313
14Package: resolvconf14Package: resolvconf
15Architecture: all15Architecture: all
1616
=== added file 'debian/po/eu.po'
--- debian/po/eu.po 1970-01-01 00:00:00 +0000
+++ debian/po/eu.po 2009-12-30 21:24:14 +0000
@@ -0,0 +1,152 @@
1# translation of resolvconf-eu.po to Euskara
2# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3# This file is distributed under the same license as the PACKAGE package.
4#
5# Piarres Beobide EGaƱa <pi@beobide.net>, 2009.
6msgid ""
7msgstr ""
8"Project-Id-Version: resolvconf-eu\n"
9"Report-Msgid-Bugs-To: resolvconf@packages.debian.org\n"
10"POT-Creation-Date: 2008-02-11 07:44+0100\n"
11"PO-Revision-Date: 2009-06-25 11:48+0200\n"
12"Last-Translator: Piarres Beobide <pi@beobide.net>\n"
13"Language-Team: Euskara <debian-l10n-eu@lists.debian.org>\n"
14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n"
17"X-Generator: KBabel 1.11.4\n"
18"Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
20#. Type: boolean
21#. Description
22#: ../templates:2001
23msgid "Prepare /etc/resolv.conf for dynamic updates?"
24msgstr "Prestatu /etc/resolv.conf eguneraketa dinamikoentzat?"
25
26#. Type: boolean
27#. Description
28#: ../templates:2001
29msgid ""
30"The resolvconf package contains the infrastructure required for dynamic "
31"updating of the resolver configuration file. Part of the necessary "
32"infrastructure is a symbolic link from /etc/resolv.conf to /etc/resolvconf/"
33"run/resolv.conf. If you choose this option then this link will be created; "
34"the existing /etc/resolv.conf file will be preserved as /etc/resolvconf/"
35"resolv.conf.d/original, and will be restored if this package is removed."
36msgstr ""
37"Resolvconf paketeak ebazte konfigurazio fitxategia automatikoki "
38"eguneratzeko beharrezko azpiegitura du. Beharrezko azpiegitura "
39"horren zati bat /etc/resolv.conf eta /etc/resolvconf/run/resolv.conf "
40"arteko lotura sinboliko bat da. Aukera hau hautatuaz gero lotura "
41"hori sortu egingo da; aurreko /etc/resolv.conf fitxategia /etc/resolvconf/"
42"resolv.conf.d/original izenaz gordeko da eta paketea kentzen bada berriz "
43"bere lekuan ipiniko da."
44
45#. Type: boolean
46#. Description
47#: ../templates:2001
48msgid ""
49"Declining this option will prevent future installations from recreating the "
50"symbolic link and therefore the resolver configuration file will not be "
51"dynamically updated. Dynamic updating can then be activated following "
52"instructions in the README file."
53msgstr ""
54"Aukera hau baztertzeak hurrengo instalazioetan lotura sortzea desgaituko du, "
55"beraz ebazte konfigurazio fitxategia ez da dinamikoki eguneratuko. "
56"Eguneraketa dinamikoa README fitxategiko argibideak jarraituaz gaitu daiteke."
57
58#. Type: boolean
59#. Description
60#: ../templates:2001
61msgid ""
62"The presence of resolvconf can affect the behavior of other programs, so it "
63"should not be left installed if unconfigured."
64msgstr ""
65"Resolvconf egoteak beste programa batzuen portamoldea aldatu dezake, beraz "
66"ez litzateke konfiguratu gabe instalaturik utzi beharko."
67
68#. Type: note
69#. Description
70#: ../templates:3001
71msgid "Network interfaces reconfiguration mandatory"
72msgstr "Sare interfaze birkonfigurazioa beharrezkoa"
73
74#. Type: note
75#. Description
76#: ../templates:3001
77msgid ""
78"Once resolvconf is installed, interface configurers supply name server "
79"information to it (which it then makes available to the C library resolver "
80"and to DNS caches). However, they do this only when they bring up "
81"interfaces. Therefore for resolvconf's name server information to be up to "
82"date after initial installation it is necessary to reconfigure interfaces "
83"(that is, to take them down and then to bring them up again) and to restart "
84"DNS caches."
85msgstr ""
86"Behin resolvconf instalaturik dagoela, interfaze konfigurazioak emango dizkio "
87"izen zerbitzariaren argibideak (honek C liburutegi ebazte eta DNS cache-ei "
88"eskurgarri egingo die). Hau bakarrik interfazeak altxatzean egingo dute. Hala ere "
89"resolvconf-ren izen zerbitzari argibideak instalatu ondoren behar bezala egoteko "
90"beharrezkoa da interfazeak birkonfiguratzea (hau da, interfazeak desgaitu eta "
91"berriz gaitzea) eta DNS cache-ak berrabiaraztea."
92
93#. Type: boolean
94#. Description
95#: ../templates:4001
96msgid "Append original file to dynamic file?"
97msgstr "Erantsi jatorrizko fitxategia fitxategi dinamikora?"
98
99#. Type: boolean
100#. Description
101#: ../templates:4001
102msgid ""
103"If the original static resolver configuration file (/etc/resolv.conf) "
104"contains name server addresses, those addresses should be listed on \"dns-"
105"nameservers\" lines in /etc/network/interfaces. For more information, please "
106"consult the resolvconf(8) man page and the README file."
107msgstr ""
108"Jatorrizko ebazpen 'finko' konfigurazio fitxategiak (etc/resolv.conf) izen "
109"zerbitzariak baditu, helbide horiek /etc/network/interfaces fitxategiko "
110"\"dns-nameservers\" lerroetan gehitu beharko dira. Argibide gehiagorako "
111"irakurri itzazu resolvconf(8) manual orrialdea eta README fitxategia."
112
113#. Type: boolean
114#. Description
115#: ../templates:4001
116msgid ""
117"Until /etc/network/interfaces has been edited and the affected interfaces "
118"brought down and up again, the name server addresses will not be included in "
119"the dynamically generated resolver configuration file."
120msgstr ""
121"Behin /etc/network/interfaces editatua izan denean eta dagozkion interfazeak "
122"desgaitu eta gaitu arte izen zerbitzari helbideak ez dira gehituko dinamikoki "
123"sortutako ebazte konfigurazio fitxategian."
124
125#. Type: boolean
126#. Description
127#: ../templates:4001
128msgid ""
129"If you choose this option, a temporary workaround will be put in place: a "
130"symbolic link will be created (if it does not already exist) from /etc/"
131"resolvconf/resolv.conf.d/tail to /etc/resolvconf/resolv.conf.d/original. "
132"This will cause the whole of that original resolver configuration file to be "
133"appended to the dynamically generated file."
134msgstr ""
135"Aukera hau hautatzen baduzu aldiroko portamolde bat erabiliko da, lotura "
136"sinboliko bat sortuko da (dagoeneko ez badago) /etc/resolvconf/"
137"resolv.conf.d/tail eta /etc/resolvconf/resolv.conf.d/original artean. Honela "
138"jatorrizko ebazte konfigurazio fitxategia dinamikoki sortutakoari erantsiko "
139"zaio."
140
141#. Type: boolean
142#. Description
143#: ../templates:4001
144msgid ""
145"After the required \"dns-nameservers\" lines have been added to /etc/network/"
146"interfaces, the /etc/resolvconf/resolv.conf.d/tail link should be replaced "
147"by one to /dev/null."
148msgstr ""
149"Behin beharrezko \"dns-nameservers\" lerroak /etc/network/interfaces "
150"fitxategira gehitu direnean, /etc/resolvconf/resolv.conf.d/tail lotura "
151"/dev/null-erako batez ordeztu beharko zen."
152
0153
=== modified file 'debian/postinst'
--- debian/postinst 2008-08-20 02:32:47 +0000
+++ debian/postinst 2009-12-30 21:24:14 +0000
@@ -32,19 +32,19 @@
32 rm -f /etc/resolvconf/run32 rm -f /etc/resolvconf/run
33 elif \33 elif \
34 [ "$RUN_CANONICALPATH" = "/dev/shm/resolvconf" ] \34 [ "$RUN_CANONICALPATH" = "/dev/shm/resolvconf" ] \
35 && [ -d /lib/init/rw ] \35 && [ -d /var/run ] \
36 && [ -w /lib/init/rw ] \36 && [ -w /var/run ] \
37 && [ -r /proc/mounts ] \37 && [ -r /proc/mounts ] \
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 \
39 && { [ -d /lib/init/rw/resolvconf ] || mkdir -v /lib/init/rw/resolvconf ; } \39 && { [ -d /var/run/resolvconf ] || mkdir -v /var/run/resolvconf ; } \
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 ; } \
41 && F="$(echo /dev/shm/resolvconf/*)" \41 && F="$(echo /dev/shm/resolvconf/*)" \
42 && [ "$F" ] \42 && [ "$F" ] \
43 && [ "$F" != '/dev/shm/resolvconf/*' ] \43 && [ "$F" != '/dev/shm/resolvconf/*' ] \
44 && cp -a /dev/shm/resolvconf/* /lib/init/rw/resolvconf44 && cp -a /dev/shm/resolvconf/* /var/run/resolvconf
45 then45 then
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"
47 ln -nsf /lib/init/rw/resolvconf /etc/resolvconf/run47 ln -nsf /var/run/resolvconf /etc/resolvconf/run
48 fi48 fi
49 fi49 fi
50 # Delete it if it isn't a directory or a link to one50 # Delete it if it isn't a directory or a link to one
@@ -64,12 +64,12 @@
64 # It's a dangling but canonicalizable symlink64 # It's a dangling but canonicalizable symlink
65 mkdir -v "$RUN_CANONICALPATH" "${RUN_CANONICALPATH}/interface"65 mkdir -v "$RUN_CANONICALPATH" "${RUN_CANONICALPATH}/interface"
66 else66 else
67 # It's a nonexistent67 # It's nonexistent
68 # Use /var/run.68 # Use /var/run.
69 if \69 if \
70 [ -d /var/run ] \70 [ -d /var/run ] \
71 && [ -w /var/run ] \71 && [ -w /var/run ] \
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 \
73 && { [ -d /var/run/resolvconf ] || mkdir -v /var/run/resolvconf ; } \73 && { [ -d /var/run/resolvconf ] || mkdir -v /var/run/resolvconf ; } \
74 && { [ -d /var/run/resolvconf/interface ] || mkdir -v /var/run/resolvconf/interface ; }74 && { [ -d /var/run/resolvconf/interface ] || mkdir -v /var/run/resolvconf/interface ; }
75 then75 then
7676
=== modified file 'debian/postrm'
--- debian/postrm 2009-06-02 18:02:23 +0000
+++ debian/postrm 2009-12-30 21:24:14 +0000
@@ -31,8 +31,9 @@
31 rm -f /etc/resolvconf/resolv.conf.d/tail31 rm -f /etc/resolvconf/resolv.conf.d/tail
32 rm -f /etc/resolvconf/resolv.conf.d/original32 rm -f /etc/resolvconf/resolv.conf.d/original
33 rm -f /etc/default/resolvconf33 rm -f /etc/default/resolvconf
34 rmdir /lib/init/rw/resolvconf/interface || :34 rm -f /var/run/resolvconf/interface/*
35 rmdir /lib/init/rw/resolvconf || :35 rmdir /var/run/resolvconf/interface || :
36 rmdir /var/run/resolvconf || :
36 ;;37 ;;
37esac38esac
3839
3940
=== modified file 'man/resolvconf.8'
--- man/resolvconf.8 2008-12-07 15:12:34 +0000
+++ man/resolvconf.8 2009-12-30 21:24:14 +0000
@@ -234,6 +234,13 @@
234.I /etc/resolvconf/resolv.conf.d/tail234.I /etc/resolvconf/resolv.conf.d/tail
235File to be appended to the dynamically generated resolver configuration file.235File to be appended to the dynamically generated resolver configuration file.
236To append nothing, make this an empty file.236To append nothing, make this an empty file.
237This file is a good place to put a resolver
238.B options
239line if one is needed, e.g.,
240
241.EX
242 options inet6
243.EE
237.SH BUGS244.SH BUGS
238Currently245Currently
239.B resolvconf246.B resolvconf

Subscribers

People subscribed via source and target branches