Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: scsitools

scsitools (0.12-3ubuntu1) bionic; urgency=low * Merge from Debian Sid. Remaining changes: - add debian/patches/01_ubuntu-toolchain.diff, fix FTBFS caused by -D_FORTIFY_SOURCE=2 compiler flag enabled in Ubuntu. * Dropped changes that are now in Debian: - debian/control, debian/rules: Split out tk_scsiformat into its own package so we don't pull in X server on the server. -- Simon Quigley <tsimonq2@ubuntu.com> Sun, 18 Feb 2018 23:18:41 -0600

Modifications :
  1. Download patch debian/rules

    --- 0.12-3/debian/rules 2018-01-17 13:54:00.000000000 +0000 +++ 0.12-3ubuntu1/debian/rules 2018-02-19 05:16:05.000000000 +0000 @@ -6,6 +6,7 @@ CFLAGS = -g -O2 -Wall -fsigned-char #architecture := $(shell dpkg-architecture -qDEB_HOST_ARCH) p = scsitools +gui = scsitools-gui %: dh $@ @@ -49,4 +50,3 @@ override_dh_auto_install: cp -a sraw/kpatch debian/$(p)/usr/share/doc/scsitools/kpatch.sraw cp -a debian/README.scsi-spin debian/$(p)/usr/share/doc/scsitools/README.scsi-spin cp -a debian/kernel-source-2.2.14.espfix debian/$(p)/usr/share/doc/scsitools/ -
  2. Download patch debian/control

    --- 0.12-3/debian/control 2018-01-17 13:58:18.000000000 +0000 +++ 0.12-3ubuntu1/debian/control 2018-02-19 05:16:42.000000000 +0000 @@ -1,7 +1,8 @@ Source: scsitools Section: utils Priority: optional -Maintainer: Debian QA Group <packages@qa.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian QA Group <packages@qa.debian.org> Standards-Version: 3.9.1 Build-Depends: tk, debhelper (>= 9) @@ -10,7 +11,6 @@ Architecture: any Depends: ${shlibs:Depends}, sg3-utils (>= 1.24), ${misc:Depends}, lsb-base Recommends: e2fsprogs Conflicts: hwtools (<< 0.6) -Suggests: tk Description: Collection of tools for SCSI hardware management This package is a collection of tools for manipulating SCSI hardware: . @@ -23,3 +23,23 @@ Description: Collection of tools for SCS . Beware that, to be used properly, these tools require some knowledge of what they're doing as they can cause damage to your system. + +Package: scsitools-gui +Architecture: any +Depends: ${shlibs:Depends}, util-linux (>= 2.11b-3), sg3-utils (>= 1.24), ${misc:Depends}, scsitools +Conflicts: hwtools (<< 0.6) +Recommends: tk | wish +Description: Collection of tools for SCSI hardware management + This package is a collection of tools for manipulating SCSI hardware: + . + scsiinfo: displays SCSI drive low-level information and modifies SCSI + drive settings, + scsidev: makes permanent SCSI LUN -> devicename connections, + scsifmt: low-level SCSI formatter, + sraw: benchmarks raw SCSI I/O rates bypassing the buffer cache, + scsi-spin: program to manually spin up and down a SCSI device. + . + Beware that, to be used properly, these tools require some knowledge of + what they're doing as they can cause damage to your system. + . + This package contains the graphical front-end for scsitools
  3. Download patch debian/patches/series

    --- 0.12-3/debian/patches/series 2018-01-17 13:28:00.000000000 +0000 +++ 0.12-3ubuntu1/debian/patches/series 2018-01-17 22:49:14.000000000 +0000 @@ -2,5 +2,6 @@ scsiinfo.patch sraw.patch rescan-scsi-bus.patch scsidev.patch +01_ubuntu-toolchain.diff rescan-scsi-bus_sleep.patch udevadm-use-PATH.patch
  4. Download patch debian/patches/01_ubuntu-toolchain.diff

    --- 0.12-3/debian/patches/01_ubuntu-toolchain.diff 1970-01-01 00:00:00.000000000 +0000 +++ 0.12-3ubuntu1/debian/patches/01_ubuntu-toolchain.diff 2016-07-28 13:54:02.000000000 +0000 @@ -0,0 +1,11 @@ +--- a/scsidev/scsidev.c ++++ b/scsidev/scsidev.c +@@ -747,7 +747,7 @@ + return; + + if (status) { +- int fd = open (shadow, O_RDWR | O_CREAT | O_EXCL); ++ int fd = open (shadow, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); + close (fd); + } + apply_perm (shadow, stbuf, 0);
  1. scsitools