Merge ~paelzer/ubuntu/+source/autofs:5.1.6-4-hirsute into ubuntu/+source/autofs:debian/sid

Proposed by Christian Ehrhardt 
Status: Merged
Approved by: Christian Ehrhardt 
Approved revision: e01afff8cbe6c8c0d249d3c5ef37d59a4d6b9b69
Merge reported by: Christian Ehrhardt 
Merged at revision: e01afff8cbe6c8c0d249d3c5ef37d59a4d6b9b69
Proposed branch: ~paelzer/ubuntu/+source/autofs:5.1.6-4-hirsute
Merge into: ubuntu/+source/autofs:debian/sid
Diff against target: 137 lines (+83/-1)
5 files modified
debian/changelog (+27/-0)
debian/control (+2/-1)
debian/patches/lp1680224-fix-and-double-quoting-in-auto_smb.patch (+26/-0)
debian/patches/lp1680224-fix-double-quoting-in-auto_smb.patch (+26/-0)
debian/patches/series (+2/-0)
Reviewer Review Type Date Requested Status
Bryce Harrington (community) Approve
Canonical Server packageset reviewers Pending
Canonical Server Pending
Review via email: mp+394184@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Essentially the same (e.g. reasoning why delta is still needed) as
https://code.launchpad.net/~ahasenack/ubuntu/+source/autofs/+git/autofs/+merge/389124

PPA: https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/4340/

It is really trivial, but since I had them I pushed the tags along:

To ssh://git.launchpad.net/~usd-import-team/ubuntu/+source/autofs
 * [new tag] lp9999999/logical/5.1.6-3ubuntu1 -> lp9999999/logical/5.1.6-3ubuntu1
 * [new tag] lp9999999/new/debian -> lp9999999/new/debian
 * [new tag] lp9999999/old/debian -> lp9999999/old/debian
 * [new tag] lp9999999/old/ubuntu -> lp9999999/old/ubuntu
 * [new tag] lp9999999/reconstruct/5.1.6-3ubuntu1 -> lp9999999/reconstruct/5.1.6-3ubuntu1
 * [new tag] lp9999999/split/5.1.6-3ubuntu1 -> lp9999999/split/5.1.6-3ubuntu1

Revision history for this message
Bryce Harrington (bryce) wrote :

+1 straightforward carry of delta to new version. LGTM

review: Approve
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

No tests listed because only exceptions are shown - gladly my cli tool can unveil them :-)
https://bileto.ubuntu.com/excuses/4340/hirsute.html
All tests good - uploading

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

To ssh://git.launchpad.net/~usd-import-team/ubuntu/+source/autofs
 * [new tag] upload/5.1.6-4ubuntu1 -> upload/5.1.6-4ubuntu1

Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading autofs_5.1.6-4ubuntu1.dsc: done.
  Uploading autofs_5.1.6.orig.tar.xz: done.
  Uploading autofs_5.1.6-4ubuntu1.debian.tar.xz: done.
  Uploading autofs_5.1.6-4ubuntu1_source.buildinfo: done.
  Uploading autofs_5.1.6-4ubuntu1_source.changes: done.
Successfully uploaded packages.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hrm while this built fine yesterday in https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/4340/ as of today it fails at https://launchpad.net/ubuntu/+source/autofs/5.1.6-4ubuntu1 with "Missing build dependencies: python3 (< 3.9)".

And indeed python3 was started 14h ago
https://launchpad.net/ubuntu/+source/python3-defaults/3.9.0-3

Autofs has no own build-dep to this python version, it must be a secondary one due to indirect dependencies.

I guess we have to do nothing, but retrying the build once this settled.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index b6dbcfe..3e16f47 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,12 @@
6+autofs (5.1.6-4ubuntu1) hirsute; urgency=medium
7+
8+ * Merge with Debian unstable. Remaining changes:
9+ - Allow administrative shares to work (LP 1680224):
10+ + d/p/lp1680224-fix-double-quoting-in-auto_smb.patch
11+ + d/p/lp1680224-fix-and-double-quoting-in-auto_smb.patch
12+
13+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Thu, 19 Nov 2020 16:05:17 +0100
14+
15 autofs (5.1.6-4) unstable; urgency=medium
16
17 * debian/patches:
18@@ -9,6 +18,15 @@ autofs (5.1.6-4) unstable; urgency=medium
19
20 -- Mike Gabriel <sunweaver@debian.org> Mon, 26 Oct 2020 21:46:29 +0100
21
22+autofs (5.1.6-3ubuntu1) groovy; urgency=medium
23+
24+ * Merge with Debian unstable. Remaining changes:
25+ - Allow administrative shares to work (LP #1680224):
26+ + d/p/lp1680224-fix-double-quoting-in-auto_smb.patch
27+ + d/p/lp1680224-fix-and-double-quoting-in-auto_smb.patch
28+
29+ -- Andreas Hasenack <andreas@canonical.com> Tue, 11 Aug 2020 17:57:17 -0300
30+
31 autofs (5.1.6-3) unstable; urgency=medium
32
33 * debian/patches:
34@@ -20,6 +38,15 @@ autofs (5.1.6-3) unstable; urgency=medium
35
36 -- Mike Gabriel <sunweaver@debian.org> Mon, 29 Jun 2020 13:21:47 +0200
37
38+autofs (5.1.6-2ubuntu1) groovy; urgency=medium
39+
40+ [ Andreas Hasenack ]
41+ * Allow administrative shares to work (LP: #1680224):
42+ - d/p/lp1680224-fix-double-quoting-in-auto_smb.patch
43+ - d/p/lp1680224-fix-and-double-quoting-in-auto_smb.patch
44+
45+ -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com> Wed, 03 Jun 2020 00:30:58 +0000
46+
47 autofs (5.1.6-2) unstable; urgency=medium
48
49 [ Andreas Hasenack ]
50diff --git a/debian/control b/debian/control
51index 9db5882..d272719 100644
52--- a/debian/control
53+++ b/debian/control
54@@ -1,7 +1,8 @@
55 Source: autofs
56 Section: utils
57 Priority: optional
58-Maintainer: Mike Gabriel <sunweaver@debian.org>
59+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
60+XSBC-Original-Maintainer: Mike Gabriel <sunweaver@debian.org>
61 Uploaders:
62 Debian Edu Packaging Team <debian-edu-pkg-team@lists.alioth.debian.org>,
63 Standards-Version: 4.5.0
64diff --git a/debian/patches/lp1680224-fix-and-double-quoting-in-auto_smb.patch b/debian/patches/lp1680224-fix-and-double-quoting-in-auto_smb.patch
65new file mode 100644
66index 0000000..3654ba3
67--- /dev/null
68+++ b/debian/patches/lp1680224-fix-and-double-quoting-in-auto_smb.patch
69@@ -0,0 +1,26 @@
70+Description: fix double quoting for AND in auto.smb
71+
72+The example program mount script installed to /etc/auto.smb incorrectly adds a
73+quote for the trailing AND signal of special Windows mounts. But they are
74+already surrounded by double quotes. This may have been handled by mount.cifs
75+at some point but it's failing now.
76+
77+NOTE: This hasn't been done in upstream yet, although upstream maintainer said
78+it should. Please verify if this patch can be updated by the official one next
79+time this package is managed.
80+
81+Author: Rafael David Tinoco <rafaeldtinoco@ubuntu.com>
82+Forwarded: https://www.spinics.net/lists/autofs/msg02231.html
83+Bug-Ubuntu: https://launchpad.net/bugs/1680224
84+Last-Update: 2020-06-03
85+
86+--- autofs-5.1.6.orig/samples/auto.smb
87++++ autofs-5.1.6/samples/auto.smb
88+@@ -75,7 +75,6 @@ $SMBCLIENT $smbopts -gL "$key" 2>/dev/nu
89+ dir = $2
90+ loc = $2
91+ # Enclose mount dir and location in quotes
92+- gsub(/\&/,"\\\\&",loc)
93+ print " \\\n\t \"/" dir "\"", "\"://" key "/" loc "\""
94+ }
95+ END { if (!first) print "\n"; else exit 1 }
96diff --git a/debian/patches/lp1680224-fix-double-quoting-in-auto_smb.patch b/debian/patches/lp1680224-fix-double-quoting-in-auto_smb.patch
97new file mode 100644
98index 0000000..c7bed6f
99--- /dev/null
100+++ b/debian/patches/lp1680224-fix-double-quoting-in-auto_smb.patch
101@@ -0,0 +1,26 @@
102+Description: autofs-5.1.6 - fix double quoting in auto.smb
103+
104+The example program mount script installed to /etc/auto.smb incorrectly adds a
105+quote for the trailing dollar of special Windows mounts. But they are already
106+surrounded by double quotes. This may have been handled by mount.cifs at some
107+point but it's failing now.
108+
109+Signed-off-by: Ian Kent <raven@themaw.net>
110+
111+Author: Ian Kent <raven@themaw.net>
112+Origin: upstream, https://tinyurl.com/ydavbsel
113+Bug-Ubuntu: https://launchpad.net/bugs/1680224
114+Reviewed-By: Rafael David Tinoco <rafaeldtinoco@ubuntu.com>
115+Last-Update: 2020-06-03
116+
117+--- autofs-5.1.6.orig/samples/auto.smb
118++++ autofs-5.1.6/samples/auto.smb
119+@@ -75,8 +75,6 @@ $SMBCLIENT $smbopts -gL "$key" 2>/dev/nu
120+ dir = $2
121+ loc = $2
122+ # Enclose mount dir and location in quotes
123+- # Double quote "$" in location as it is special
124+- gsub(/\$$/, "\\$", loc);
125+ gsub(/\&/,"\\\\&",loc)
126+ print " \\\n\t \"/" dir "\"", "\"://" key "/" loc "\""
127+ }
128diff --git a/debian/patches/series b/debian/patches/series
129index 5ea43d3..a596c03 100644
130--- a/debian/patches/series
131+++ b/debian/patches/series
132@@ -11,3 +11,5 @@ fix-lookup-ldap-crash.patch
133 make-bind-mounts-propagation-slave-by-default.patch
134 fix-autofs-schema.patch
135 fix-nfs4-mounts-in-auto-net.patch
136+lp1680224-fix-double-quoting-in-auto_smb.patch
137+lp1680224-fix-and-double-quoting-in-auto_smb.patch

Subscribers

People subscribed via source and target branches