Merge ~paelzer/ubuntu/+source/gpsd:gpsd-fixed-apr-2020-focal into ubuntu/+source/gpsd:ubuntu/focal-devel

Proposed by Christian Ehrhardt 
Status: Merged
Approved by: Christian Ehrhardt 
Approved revision: 207a646bede4252897deb96f718e61360afd8bc7
Merge reported by: Christian Ehrhardt 
Merged at revision: cdfaf75d0fbe6ba5a1848a7c92ff60b519b76c56
Proposed branch: ~paelzer/ubuntu/+source/gpsd:gpsd-fixed-apr-2020-focal
Merge into: ubuntu/+source/gpsd:ubuntu/focal-devel
Diff against target: 115 lines (+56/-0) (has conflicts)
5 files modified
debian/changelog (+11/-0)
debian/control (+5/-0)
debian/control.in (+5/-0)
debian/gpsd.default (+6/-0)
debian/usr.sbin.gpsd (+29/-0)
Conflict in debian/changelog
Conflict in debian/control
Conflict in debian/control.in
Conflict in debian/gpsd.default
Conflict in debian/usr.sbin.gpsd
Reviewer Review Type Date Requested Status
Christian Ehrhardt  (community) Approve
Lucas Kanashiro (community) Needs Fixing
Canonical Server Pending
Review via email: mp+383405@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

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

I'm waiting for the decision if this goes to Debian-unstable and is synced or if groovy needs a delta upload. But that is orthogonal to this MP which prepares the Focal SRU of it.

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

Debian has accepted my changes to git, consider this ready for review please.

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

I am starting to review it.

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

* Changelog:
  - [-] old content and logical tag match as expected
  - [√] changelog entry correct version and targeted codename
  - [√] changelog entries correct
  - [x] update-maintainer has been run

* Actual changes:
  - [√] no upstream changes to consider
  - [-] no further upstream version to consider
  - [√] debian changes look safe

* Old Delta:
  - [-] dropped changes are ok to be dropped
  - [-] nothing else to drop
  - [-] changes forwarded upstream/debian (if appropriate)

* New Delta:
  - [√] no new patches added
  - [√] patches match what was proposed upstream
  - [-] patches correctly included in debian/patches/series
  - [-] patches have correct DEP3 metadata

I think the only thing missing is to run the update-maintainer script. After fixing it you are good to go.

review: Needs Fixing
cdfaf75... by Christian Ehrhardt 

update-maintainer

Signed-off-by: Christian Ehrhardt <email address hidden>

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

Thanks for spotting that I missed this, waiting for the respective Debian upload now to pass the new queue.

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

Little extra hiccup to resolve in bug 1878158

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

GPSD was re-imported with the new importer code, so I had to rebase it but as expected this worked fine.
Since it is ready in groovy I'm uploading as focal-sru now.

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

To ssh://git.launchpad.net/~usd-import-team/ubuntu/+source/gpsd
 * [new tag] upload/3.20-8ubuntu0.1 -> upload/3.20-8ubuntu0.1

Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading gpsd_3.20-8ubuntu0.1.dsc: done.
  Uploading gpsd_3.20-8ubuntu0.1.debian.tar.xz: done.
  Uploading gpsd_3.20-8ubuntu0.1_source.buildinfo: done.
  Uploading gpsd_3.20-8ubuntu0.1_source.changes: done.
Successfully uploaded packages.

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

This is merged and migrated

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 c8ae18e..18f95b3 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,14 @@
6+<<<<<<< debian/changelog
7+=======
8+gpsd (3.20-8ubuntu0.1) focal; urgency=medium
9+
10+ * d/usr.sbin.gpsd: improve apparmor rules for PPS usage
11+ (LP: #1872175 LP: #1872178)
12+ * d/gpsd.default: add USBAUTO option (LP: #1873415)
13+
14+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Thu, 30 Apr 2020 12:40:23 +0200
15+
16+>>>>>>> debian/changelog
17 gpsd (3.20-8) unstable; urgency=medium
18
19 * [62aa4951] Remove last traces of python2. (Closes: #936645)
20diff --git a/debian/control b/debian/control
21index 49610a1..1d1897f 100644
22--- a/debian/control
23+++ b/debian/control
24@@ -1,7 +1,12 @@
25 Source: gpsd
26 Section: misc
27 Priority: optional
28+<<<<<<< debian/control
29 Maintainer: Bernd Zeimetz <bzed@debian.org>
30+=======
31+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
32+XSBC-Original-Maintainer: Bernd Zeimetz <bzed@debian.org>
33+>>>>>>> debian/control
34 Build-Depends: debhelper (>= 11),
35 po-debconf,
36 python3-all-dev (>= 2.6.6-3),
37diff --git a/debian/control.in b/debian/control.in
38index 9669efc..7c32063 100644
39--- a/debian/control.in
40+++ b/debian/control.in
41@@ -1,7 +1,12 @@
42 Source: gpsd
43 Section: misc
44 Priority: optional
45+<<<<<<< debian/control.in
46 Maintainer: Bernd Zeimetz <bzed@debian.org>
47+=======
48+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
49+XSBC-Original-Maintainer: Bernd Zeimetz <bzed@debian.org>
50+>>>>>>> debian/control.in
51 Build-Depends: debhelper (>= 11),
52 po-debconf,
53 python3-all-dev (>= 2.6.6-3),
54diff --git a/debian/gpsd.default b/debian/gpsd.default
55index 7d9f1c4..9baa0c6 100644
56--- a/debian/gpsd.default
57+++ b/debian/gpsd.default
58@@ -4,3 +4,9 @@ DEVICES=""
59
60 # Other options you want to pass to gpsd
61 GPSD_OPTIONS=""
62+<<<<<<< debian/gpsd.default
63+=======
64+
65+# Automatically hot add/remove USB GPS devices via gpsdctl
66+USBAUTO="false"
67+>>>>>>> debian/gpsd.default
68diff --git a/debian/usr.sbin.gpsd b/debian/usr.sbin.gpsd
69index b181688..b2717e8 100644
70--- a/debian/usr.sbin.gpsd
71+++ b/debian/usr.sbin.gpsd
72@@ -10,7 +10,11 @@
73
74 #include <tunables/global>
75
76+<<<<<<< debian/usr.sbin.gpsd
77 /usr/sbin/gpsd {
78+=======
79+/usr/sbin/gpsd flags=(attach_disconnected) {
80+>>>>>>> debian/usr.sbin.gpsd
81 #include <abstractions/base>
82 #include <abstractions/nameservice>
83
84@@ -73,6 +77,31 @@
85 # logging
86 /{,var/}run/systemd/journal/dev-log w,
87
88+<<<<<<< debian/usr.sbin.gpsd
89+=======
90+ # required for pps initialization
91+ capability sys_time,
92+ /sys/devices/virtual/pps/ r,
93+
94+ # to submit data to chrony
95+ ptrace read peer=/usr/sbin/chronyd,
96+
97+ # for libusb in case USB based GPS devices are used
98+ /sys/devices/**/usb[0-9]*/** r,
99+
100+ # triggered on fusercount, not strictly required and unsafe to allow
101+ # adding an explicit denial rule silences the warnings
102+ deny ptrace read peer=unconfined,
103+ deny capability sys_ptrace,
104+ deny capability dac_read_search,
105+ deny capability dac_override,
106+
107+ # gpsd tries to load pps_ldisc directly, but gpsd doesn't need
108+ # the general power of cap 'sys_module', pps_ldisc is auto-loaded
109+ # by the kernel when gpsd is creating the pps device
110+ deny capability sys_module,
111+
112+>>>>>>> debian/usr.sbin.gpsd
113 # Site-specific additions and overrides. See local/README for details.
114 #include <local/usr.sbin.gpsd>
115 }

Subscribers

People subscribed via source and target branches