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

Subscribers

People subscribed via source and target branches