Merge ~ahasenack/ubuntu/+source/sg3-utils:eoan-sg3-utils-1.44-merge into ubuntu/+source/sg3-utils:debian/sid

Proposed by Andreas Hasenack
Status: Merged
Approved by: Andreas Hasenack
Approved revision: 1049d83dbd646cdc3c3156952aba8a0586479ec8
Merge reported by: Andreas Hasenack
Merged at revision: 1049d83dbd646cdc3c3156952aba8a0586479ec8
Proposed branch: ~ahasenack/ubuntu/+source/sg3-utils:eoan-sg3-utils-1.44-merge
Merge into: ubuntu/+source/sg3-utils:debian/sid
Diff against target: 99 lines (+40/-1)
4 files modified
debian/changelog (+26/-0)
debian/control (+9/-1)
debian/rules (+3/-0)
debian/sg3-udeb.install (+2/-0)
Reviewer Review Type Date Requested Status
Bryce Harrington (community) Approve
Paride Legovini (community) Approve
Canonical Server Pending
Review via email: mp+368981@code.launchpad.net

Description of the change

Normal merge from debian.

PPA: https://launchpad.net/~ahasenack/+archive/ubuntu/sg3-utils-144-merge/

or

sudo add-apt-repository -y -u ppa:ahasenack/sg3-utils-144-merge

Dropped one delta, already applied upstream. No DEP8 tests to run, but maybe it will trigger some elsewhere.

To post a comment you must log in.
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Debian added a fix for the udevadm path in 1.42-3, and I checked and ours is in the same path, so we can keep that.

Revision history for this message
Paride Legovini (paride) wrote :

This seems quite straightforward, LGTM!

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

* Checked install/remove/purge in lxc
* Checked no changes outside debian/
* Checked update-maintainer is present
* Checked debdiff that there's no obvious errors
* Checked 1.44-1 current with debian unstable

* Checked debian for any outstanding changes since 1.44-1:
  - added an alternative dependency on linux-initramfs-tool -- we don't have a bug requesting this though, so guess can just wait get it at next merge.

* Checked upstream for outstanding changes since 1.44, in the 1.45-beta announced 06/04. There are no CVEs, none that fix ubuntu bugs, and nothing leaping out as critical importance that can't wait for the next merge. But for reference, these looked semi-relevant to ubuntu:
  - sg_ses: bug: --page= being overridden when --control and --data= also given; fix
  - sg_opcodes: expand MLU (spc5r20)
  - sg_write_buffer: allow comma and period separated lists when input from stdin
  - sg_inq: update version descriptors to spc5r21
  - sg_format: add --dcrt used twice (FOV=1 DCRT=0)
  - sg_raw: fix --send bug when using stdin
  - sg_vpd: 3pc VPD page add copy group descriptor
    + add --examine option
  - sg_read_buffer: decode read microcode status page
    + add --inhex=FN option
  - sg_xcopy: add --fco (fast copy only) (spc5r20)
    + implement --app=1 (append) on regular OFILE type
  - sg_modes: placeholders for Command duration limit T2A and T2B mpages (sbc4r17)
  - sg_lib: add sg_t10_uuid_desig2str()
    + tweak sg_pt interface to better handle bidi
    + sg_cmds_process_resp(): two arguments removed
    + add ${PACKAGE_VERSION} to '.so' name
    + add sg_f2hex_arr()
  - rescan-scsi-bus: widen LUN 0 only scanning
    + multiple patches to sync with Suse
  - sg_pt: add sg_get_opcode_translation() to replace global pointer to array: sg_opcode_info_arr[]
    + extend small SNTL to support read capacity
  - sg_io_linux (sg_lib): add sg_linux_sense_print()
  - sg_pt_linux: uses sg v4 interface if sg driver >= 4.0.0 . Force sg v3 always by building with './configure --disable-linux-sgv4'
    + add sg_linux_get_sg_version() function

I'm not familiar with sg3-utils usages, but offhand nothing that looks like it couldn't wait for next merge, and the packaging work looks clean.

+1 from me

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

Unrelated to the merge, but in taking a look at the bugs reported against sg3-utils:

* https://bugs.launchpad.net/ubuntu/+source/sg3-utils/+bug/992128
  - Claims that --readonly doesn't work.
  - This is old, filed in 2012, and never really got triaged.
  - Google isn't showing this as a widespread issue, or one that is known/persisting.
  - I bet it is obsolete (possibly usage error?) and can be closed.

* https://bugs.launchpad.net/ubuntu/+source/sg3-utils/+bug/1679392
  - Missing dep8 tests
  - This package doesn't seem like a good autopkgtest candidate since its HW dependent and just cli tools. However, I added thoughts to the bug on some basic tests that could be added.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Thanks for the review! Adding dep8 tests is out of scope for this merge I think, and that bug really looks like it's obsolete

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

tagged and uploaded:

$ git push pkg upload/1.44-1ubuntu1
Enumerating objects: 28, done.
Counting objects: 100% (28/28), done.
Delta compression using up to 2 threads
Compressing objects: 100% (22/22), done.
Writing objects: 100% (23/23), 2.81 KiB | 159.00 KiB/s, done.
Total 23 (delta 15), reused 1 (delta 0)
To ssh://git.launchpad.net/~usd-import-team/ubuntu/+source/sg3-utils
 * [new tag] upload/1.44-1ubuntu1 -> upload/1.44-1ubuntu1

$ dput -f ubuntu ../sg3-utils_1.44-1ubuntu1_source.changes
Checking signature on .changes
gpg: ../sg3-utils_1.44-1ubuntu1_source.changes: Valid signature from AC983EB5BF6BCBA9
Checking signature on .dsc
gpg: ../sg3-utils_1.44-1ubuntu1.dsc: Valid signature from AC983EB5BF6BCBA9
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading sg3-utils_1.44-1ubuntu1.dsc: done.
  Uploading sg3-utils_1.44.orig.tar.xz: done.
  Uploading sg3-utils_1.44-1ubuntu1.debian.tar.xz: done.
  Uploading sg3-utils_1.44-1ubuntu1_source.buildinfo: done.
  Uploading sg3-utils_1.44-1ubuntu1_source.changes: done.
Successfully uploaded packages.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

This migrated already.

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 d70c5b8..025156e 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,15 @@
6+sg3-utils (1.44-1ubuntu1) eoan; urgency=medium
7+
8+ * Merge with Debian unstable. Remaining changes:
9+ - debian/control, debian/rules: build a sg3-udeb installer package again.
10+ - debian/sg3-udeb.install: install the right binaries for sg3-udeb.
11+ * Dropped:
12+ - d/p/ftbfs-sysmacro-include.patch: include correct header for the
13+ major()/minor() macro definitions. (LP: #1823436)
14+ [Fixed upstream]
15+
16+ -- Andreas Hasenack <andreas@canonical.com> Tue, 18 Jun 2019 14:51:10 +0000
17+
18 sg3-utils (1.44-1) unstable; urgency=medium
19
20 * New upstream version 1.44
21@@ -14,6 +26,20 @@ sg3-utils (1.42-3) unstable; urgency=medium
22
23 -- Ritesh Raj Sarraf <rrs@debian.org> Mon, 10 Sep 2018 10:02:04 +0545
24
25+sg3-utils (1.42-2ubuntu2) eoan; urgency=medium
26+
27+ * d/p/ftbfs-sysmacro-include.patch: include correct header for the
28+ major() macro definition. (LP: #1823436)
29+
30+ -- Andreas Hasenack <andreas@canonical.com> Tue, 23 Apr 2019 18:07:53 -0300
31+
32+sg3-utils (1.42-2ubuntu1) yakkety; urgency=medium
33+
34+ * debian/control, debian/rules: build a sg3-udeb installer package again.
35+ * debian/sg3-udeb.install: install the right binaries for sg3-udeb.
36+
37+ -- Mathieu Trudel-Lapierre <cyphermox@ubuntu.com> Wed, 06 Jul 2016 09:19:44 -0400
38+
39 sg3-utils (1.42-2) unstable; urgency=medium
40
41 * [a3ba3f8] Don't hardcode architecture in install files
42diff --git a/debian/control b/debian/control
43index c3e3dc5..f0066c9 100644
44--- a/debian/control
45+++ b/debian/control
46@@ -1,7 +1,8 @@
47 Source: sg3-utils
48 Section: admin
49 Priority: optional
50-Maintainer: Ritesh Raj Sarraf <rrs@debian.org>
51+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
52+XSBC-Original-Maintainer: Ritesh Raj Sarraf <rrs@debian.org>
53 Uploaders: Jonathan McDowell <noodles@earth.li>
54 Build-Depends: debhelper (>= 9), libtool, libcam-dev [kfreebsd-any], dh-autoreconf, dpkg-dev (>= 1.16.1~)
55 Standards-Version: 3.9.2
56@@ -77,3 +78,10 @@ Description: utilities for devices using the SCSI command set (udev rules)
57 .
58 udev rules which are associated with the utilities in the sg3-utils package.
59
60+Package: sg3-udeb
61+Architecture: any
62+Package-Type: udeb
63+Section: debian-installer
64+Depends: ${misc:Depends}
65+Description: utilities for devices using the SCSI command set
66+
67diff --git a/debian/rules b/debian/rules
68index 317dbe2..d1c1231 100755
69--- a/debian/rules
70+++ b/debian/rules
71@@ -25,10 +25,12 @@ override_dh_install:
72 dh_install
73
74 [ ! -f scripts/55-scsi-sg3_id.rules ] || cp scripts/55-scsi-sg3_id.rules debian/sg3-utils-udev.scsi-sg3_id.udev
75+ [ ! -f scripts/55-scsi-sg3_id.rules ] || cp scripts/55-scsi-sg3_id.rules debian/sg3-udeb.scsi-sg3_id.udev
76 [ ! -f scripts/58-scsi-sg3_symlink.rules ] || cp scripts/58-scsi-sg3_symlink.rules debian/sg3-utils-udev.scsi-sg3_symlink.udev
77
78 dh_installudev -psg3-utils-udev --priority=55 --name=scsi-sg3_id
79 dh_installudev -psg3-utils-udev --priority=58 --name=scsi-sg3_symlink
80+ dh_installudev -psg3-udeb --priority=55 --name=scsi-sg3_id
81
82 install -D -m 755 debian/initramfs/hooks $(INITRAMFS)/hooks/sg3-utils
83
84@@ -37,6 +39,7 @@ override_dh_clean:
85
86 rm -f debian/sg3-utils-udev.scsi-sg3_id.udev
87 rm -f debian/sg3-utils-udev.scsi-sg3_symlink.udev
88+ rm -f debian/sg3-udeb.scsi-sg3_id.udev
89
90 dh_clean
91
92diff --git a/debian/sg3-udeb.install b/debian/sg3-udeb.install
93new file mode 100644
94index 0000000..f043efa
95--- /dev/null
96+++ b/debian/sg3-udeb.install
97@@ -0,0 +1,2 @@
98+usr/bin/sg_inq
99+usr/lib/*/libsgutils*.so.*

Subscribers

People subscribed via source and target branches