nixpkgs/pkgs/tools
Yarny0 66d068bf66 tsm-client: use rpm source instead of deb/Ubuntu
IBM publishes their IBM Spectrum Protect client
for Linux in two flavors:

* "Linux x86_64 client"
* "Linux x86_64 Ubuntu client"

Up to this commit, nixpkgs used the Ubuntu
flavor to build its `tsm-client` derivation.
However, the history of published archive files in

* https://public.dhe.ibm.com/storage/tivoli-storage-management/maintenance/client/v8r1/Linux/
* https://public.dhe.ibm.com/storage/tivoli-storage-management/patches/client/v8r1/Linux/

suggests that updates in the fourth level of
the version numbers (e.g. 8.1.13.0 -> 8.1.13.1)
do not get published as Ubuntu flavor.
It order to be able to always use the latest release,
this commit switches to the non-Ubuntu flavor.
The non-Ubuntu archive contains rpm files,
so this commit switches from `ar` to `rpmextract`.
Instead of unpacking all deb files,
the build recipe now unpacks all _but one_ rpm file:
The file `TIVsm-WEBGUI.x86_64.rpm` apparently
contains a plugin that is not included
in the Ubuntu version (see note below).
Comparing the old and the new derivation's output indicates
that this choice minimizes the difference between the results:

The output of the old (Ubuntu flavor) derivation contains:
* `commons-codec-1.6.jar`
* `share/` with changelog and copyright information
  for the packages `gskssl64` and `gskcrypt64`

The output of the new (non-Ubuntu flavor) derivation contains:
* `lib64`, symlink to `lib`
* `commons-codec-1.14.jar`
* `opt/tivoli/tsm/license/{api,baclient}/sm/`
  with license agreement files in many languages

Besides these differences, the outputs' file names are equal.

Note: I don't know what functionality
`TIVsm-WEBGUI.x86_64.rpm` actually provides.
Unpacking it with the other rpm files makes patchelf complain
about missing X11 libraries, so in order to include it here,
one would likely need to add those to `buildInputs`.
However, as the old (Ubuntu flavor) `tsm-client` package
did not contain this functionality and as I cannot test
or use it in any way, I opted to not include it now.
If we want to include this with a later commit,
we should add another package build option (like `enableGui`)
so that the default `tsm-client` package does not pull in
X11 libraries and its closure size therefore stays small.
2022-01-17 12:09:27 +01:00
..
admin mycli: 1.24.1 -> 1.24.2 2022-01-12 19:50:07 +01:00
archivers Merge pull request #154089 from NickCao/zpaq 2022-01-09 13:41:10 +00:00
audio tts: 0.4.1 -> 0.4.2 2021-12-31 15:45:25 +01:00
backup tsm-client: use rpm source instead of deb/Ubuntu 2022-01-17 12:09:27 +01:00
bluetooth blueberry: 1.4.5 -> 1.4.6 2021-12-31 12:22:26 +00:00
bootloaders/refind
cd-dvd bashburn: remove 2022-01-07 16:45:50 +07:00
compression dtrx: remove 2022-01-02 13:38:13 +01:00
filesystems lfs: 1.3.1 -> 1.4.0 2022-01-11 16:43:04 +00:00
games weidu: 247 -> 249 2022-01-11 13:00:19 +08:00
graphics gifski: 1.5.1 -> 1.6.1 2022-01-11 10:12:53 +00:00
inputmethods Merge pull request #153149 from Vonfry/update/fcitx5 2022-01-10 13:45:01 +08:00
misc Merge pull request #154353 from figsoda/update-synth 2022-01-13 20:05:44 +01:00
networking tinyssh: 20210601 -> 20220101 2022-01-13 19:26:26 +01:00
nix statix: fix darwin build 2021-12-06 14:03:29 -05:00
package-management nixops: Remove unused expressions in subdirectories 2022-01-12 23:03:48 +13:00
security wprecon: mark broken 2022-01-13 10:51:09 +10:00
system java-service-wrapper: 3.5.46 -> 3.5.48 2022-01-12 00:27:15 +01:00
text mark: 6.5.1 -> 6.7 2022-01-12 00:33:47 +01:00
toml2nix
typesetting sile: 0.12.0 → 0.12.1 2022-01-12 23:50:18 +03:00
video Merge pull request #149852 from r-ryantm/auto-update/mjpegtools 2021-12-20 01:09:11 +00:00
virtualization Merge pull request #153217 from c0bw3b/meta/apsl-asl 2022-01-04 13:44:06 +01:00
wayland wl-mirror: add synthetica (myself) as maintainer 2022-01-01 13:47:40 +01:00
X11 ratmen: refactor 2022-01-13 00:18:22 +01:00