Commit Graph

1064 Commits

Author SHA1 Message Date
Renaud
2724999594
Merge pull request #157651 from michaeladler/btrbk
btrbk: remove asciidoc dependency
2022-02-02 00:19:25 +01:00
Michael Adler
af268a8f2c btrbk: remove asciidoc dependency
asciidoc is not needed and pulls in inkscape which is currently not
available in the binary cache, so it triggers a noticeable build process.
2022-02-01 07:59:02 +01:00
Bruno Bigras
1921319c4e kopia: 0.10.2 -> 0.10.3 2022-01-31 10:09:25 -05:00
Bruno Bigras
6ec6ac7fe1 kopia: 0.10.0 -> 0.10.2 2022-01-30 14:49:36 -05:00
R. RyanTM
6bbd192555
s3ql: 3.8.0 -> 3.8.1
(#155849)
2022-01-20 19:58:13 +01:00
Bobby Rong
c9f2ab4f74
Merge pull request #154374 from r-ryantm/auto-update/autorestic
autorestic: 1.5.0 -> 1.5.1
2022-01-20 12:43:16 +08:00
Sandro
5c4fa6964f
Merge pull request #138386 from Yarny0/tsm-client 2022-01-18 20:50:28 +01:00
Spencer Janssen
ed5883c1b6 zrepl: 0.4.0 -> 0.5.0 2022-01-17 15:35:45 +01:00
Bobby Rong
02de14e258
Merge pull request #155018 from bbigras/kopia
kopia: 0.9.8 -> 0.10.0
2022-01-17 20:12:26 +08:00
Yarny0
756f45306b tsm-client: 8.1.13.2 -> 8.1.13.3
Link to Security Bulletin:
https://www.ibm.com/support/pages/node/6540692 (CVE-2021-44832)
2022-01-17 12:09:27 +01:00
Yarny0
be904af99c tsm-client: 8.1.13.1 -> 8.1.13.2
Link to Security Bulletin:
https://www.ibm.com/support/pages/node/6537640 (CVE-2021-45105, CVE-2021-45046)
2022-01-17 12:09:27 +01:00
Yarny0
4a42ca06c1 tsm-client: 8.1.13.0 -> 8.1.13.1
Link to Security Bulletin:
https://www.ibm.com/support/pages/node/6527080 (CVE-2021-44228)
2022-01-17 12:09:27 +01:00
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
Yarny0
f6dca95c5d tsm-client: add test derivation and a module test
The tsm-client needs a tsm-server to do anything useful.
Without a server, automated tests can just
check diagnostic outputs for plausibility.

The commit at hand adds two tests:

1.
The command line interface `dsmc` is called,
then it is verified that the program does

* report the correct client version,
* find its configuration file,
* report a connection error.

2.
To check the GUI (and the tsm-client nixos module), we add a
vm test which uses the module to install `tsm-client-withGui`.
To verify that the GUI's basic functionality is present,
we skip over all connection failure related error
messages and open the "Connection Information"
dialog from the main application window.
This dialog presents the node name and the client version;
both are verified by the test.

Note: Our `tsm-client` build recipe consists of two packages:
The "unwrapped" package and the final package.
This commit puts the unwrapped one into the final
package's `passthru` so that tests can access
the original version string that is needed to check
the client version reported by the application.
2022-01-17 12:09:27 +01:00
Yarny0
8fa6f90ad6 tsm-client: set mainProgram
The TSM command line client `dsmc` should be the
program that is usually invoked from this package.
However, if a user explicitely asks for the
package with GUI support (with `enableGui`,
available in the package `tsm-client-withGui`),
we set the mainProgram to the graphical application `dsmj`
as that's likely what the user is looking for.
2022-01-17 12:09:27 +01:00
Yarny0
7934926b2e tsm-client: makeWrapper buildInputs to nativeBuildInputs
Although I'm not sure if `tsm-client` will ever be
subject to cross-compiling, referencing makeWrapper
from native BuildInputs is The Right Thing.

This is a kind of follow-up of
https://github.com/NixOS/nixpkgs/pull/112276
2022-01-17 12:09:26 +01:00
Yarny0
5ad0ecb901 tsm-client: 8.1.8.0 -> 8.1.13.0
tsm-client now links against openssl;
patchelf complains without it.

Links to IBM's "Authorized Program Analysis Report"s
(something like release notes),
to READMEs, and to Security Bulletins,
for all updates between 8.1.8.0 and 8.1.13.0:

* 8.1.9.x
  * APARs: https://www.ibm.com/support/pages/node/1077159
  * READMEs: https://www.ibm.com/support/pages/node/1108473
  * https://www.ibm.com/support/pages/node/1107261 (CVE-2018-2025)
  * https://www.ibm.com/support/pages/node/1107777 (CVE-2019-4406)

* 8.1.10.x
  * APARs: https://www.ibm.com/support/pages/node/6223098
  * READMEs: https://www.ibm.com/support/pages/node/6223388
  * https://www.ibm.com/support/pages/node/6221448 (CVE-2020-4494, CVE-2020-4406)
  * https://www.ibm.com/support/pages/node/6245356 (CVE-2020-2654)
  * https://www.ibm.com/support/pages/node/6245366 (CVE-2015-4000)

* 8.1.11.x
  * APARs: https://www.ibm.com/support/pages/node/6367203
  * READMEs: https://www.ibm.com/support/pages/node/6367205
  * https://www.ibm.com/support/pages/node/6371646
  * https://www.ibm.com/support/pages/node/6371650
  * https://www.ibm.com/support/pages/node/6371652

* 8.1.12.x
  * APARs: https://www.ibm.com/support/pages/node/6429561
  * READMEs: https://www.ibm.com/support/pages/node/6443671
  * https://www.ibm.com/support/pages/node/6445503 (CVE-2021-20532)
  * https://www.ibm.com/support/pages/node/6445497 (CVE-2021-29672, CVE-2021-20546)
  * https://www.ibm.com/support/pages/node/6445489 (CVE-2020-1971, CVE-2021-23840, CVE-2021-23841)
  * https://www.ibm.com/support/pages/node/6445483 (CVE-2020-27221, CVE-2020-14782)

* 8.1.13.x
  * APARs: https://www.ibm.com/support/pages/node/6524936
  * READMEs: https://www.ibm.com/support/pages/node/6524938
  * https://www.ibm.com/support/pages/node/6524706 (CVE-2021-39048)
  * https://www.ibm.com/support/pages/node/6524712 (CVE-2021-3712, CVE-2021-3711)
2022-01-17 12:09:26 +01:00
Yarny0
517ae2a288 tsm-client: update URL structure
IBM has changed the URL structures of their support web pages.
The commit at hand updates most URLs and
in particular the package update instructions
so they follow the new structure.
It also calculates the source download URL from the
version number, so package updates no longer have to
update the URL in addition to the version string.
2022-01-17 12:09:26 +01:00
Yarny0
6d134acc4a tsm-client: use explicit package option for Java GUI
The tsm-client package comes in two flavours:
command line only (`tsm-client`) and with a
Java-backed GUI (`tsm-client-withGui`).
To control which package is built,
the build recipe simply used to check if the
`jdk8` package was provided as package input.
This commit changes this mechanism:
The build recipe now accepts the explicit option `enableGui`,
which is set to `false` by default.

As the commit at hand touches the build recipe arguments,
it also changes argument sorting following
https://nixos.org/manual/nixpkgs/stable/#sec-syntax
2022-01-17 12:09:26 +01:00
Yarny0
ce6eea6002 tsm-client: add gnugrep to PATH
While testing the new version, I observed that
`dsmc` prints an error "sh: grep: command not found"
when executed with empty PATH.
Apparently, `dsmc` needs `grep` in its PATH.
2022-01-17 12:09:26 +01:00
Yarny0
6e157a481a tsm-client: fix lvm2 support
lvm2 support was broken when lvm2 got
converted to a multiple-output derivation:

https://github.com/NixOS/nixpkgs/pull/93024
d3a991d410

The `runtimeDependencies` attribute doesn't specifically
look for a `lib` output, so it uses the main `out` output
which no longer contains the library object files.

Since TSM loads the `libdevmapper.so` library
dynamically (likely with `dlfcn.h` functions),
the breakage couldn't be detected at build time.

The commit at hand simply uses
`getLib` to pick the correct output.
2022-01-17 12:09:23 +01:00
Bobby Rong
407a866225
Merge pull request #153843 from Izorkin/update-dar
dar: 2.7.1 -> 2.7.3
2022-01-15 21:14:43 +08:00
Bruno Bigras
d50a512207 kopia: 0.9.8 -> 0.10.0 2022-01-14 11:26:14 -05:00
IvarWithoutBones
0c72fb355c discordchatexporter-cli: 2.30.1 -> 2.31.1 2022-01-12 01:15:22 +01:00
R. Ryantm
532fa984d5 autorestic: 1.5.0 -> 1.5.1 2022-01-11 01:36:05 +00:00
Izorkin
f5cd7567d3
dar: 2.7.1 -> 2.7.3 2022-01-07 15:53:18 +03:00
Renaud
944a2dc835
Treewide: fix some permanent redirects on homepages
(#153213)
Issue #60004
2022-01-03 16:53:12 +01:00
Florian Klink
440ffae503 kopia: 0.9.7 -> 0.9.8
Release notes: https://github.com/kopia/kopia/releases/tag/v0.9.8

The module started to depend on Go 1.17:

```
internal/scrubber/scrub_sensitive.go:28:16: sf.IsExported undefined (type reflect.StructField has no field or method IsExported)
note: module requires Go 1.17
```
2021-12-28 18:08:42 +01:00
R. Ryantm
a93f8908e2
autorestic: 1.3.0 -> 1.5.0 2021-12-25 20:08:08 +08:00
Felix Buehler
81eb599e8d nuget-to-nix: update to use pname instead of name 2021-12-23 22:47:34 +01:00
Bruno Bigras
c3a9fc66d6 kopia: 0.9.6 -> 0.9.7 2021-12-06 09:39:55 -05:00
Jörg Thalheim
d4e9aef6e1
Merge pull request #148733 from r-ryantm/auto-update/zfs-prune-snapshots
zfs-prune-snapshots: 1.1.0 -> 1.3.0
2021-12-05 19:23:24 +00:00
R. Ryantm
3cfab13751 zfs-prune-snapshots: 1.1.0 -> 1.3.0 2021-12-05 17:10:09 +00:00
markuskowa
ee2b48cbf1
Merge pull request #146135 from r-ryantm/auto-update/s3ql
s3ql: 3.7.3 -> 3.8.0
2021-12-05 14:46:49 +01:00
Mikael Voss
730fc9cae0
bakelite: init at unstable-2021-10-19 2021-11-28 15:57:29 +01:00
Faye Duxovni
41069d41dc
znapzend: 0.20.0 -> 0.21.0 (#141042) 2021-11-22 16:20:30 +01:00
Sergei Trofimovich
ec713fe238 burp: pull upstream fix for ncurses-6.3
Without the fix build on ncurses-6.3 fails as:

    src/client/monitor/status_client_ncurses.c:350:9:
      error: format not a string literal and no format arguments [-Werror=format-security]
      350 |         mvprintw(0, col-l-1, date);
          |         ^~~~~~~~
2021-11-22 10:03:11 +00:00
Bruno Bigras
fe15c4fd23 kopia: 0.9.5 -> 0.9.6 2021-11-21 03:01:07 -05:00
Sandro
51d5630687
Merge pull request #142826 from ivan/grab-site-2.2.2 2021-11-20 19:08:53 +01:00
Ivan Kozik
b5e87f5f2e grab-site: 2.2.0 -> 2.2.2; pythonPackages.ludios_wpull: 3.0.7 -> 3.0.9
Use SQLAlchemy 1.3 because ludios_wpull is incompatible with SQLAlchemy 1.4.

Use Python 3.8 instead of Python 3.7, as namedlist 1.8 fixed compatibility
with Python 3.8. We cannot use Python 3.9 until
https://github.com/ArchiveTeam/ludios_wpull/issues/20 is fixed.
2021-11-20 04:54:58 +00:00
Pavol Rusnak
1663708500
Merge pull request #142468 from prusnak/dotnet-update
dotnet-sdk_3: 3.1.19 -> 3.1.21 + dotnet-sdk_5: 5.0.10 -> 5.0.12
2021-11-16 16:27:23 +01:00
Claudio Bley
b3d87e4b17
discordchatexporter-cli: Update dependencies 2021-11-16 15:54:32 +01:00
Timothy DeHerrera
2808c51217
Merge pull request #144855 from c0deaddict/zhf/hpe-ltfs
hpe-ltfs: fix build
2021-11-15 18:33:50 -07:00
R. Ryantm
ef24ce42a5 s3ql: 3.7.3 -> 3.8.0 2021-11-15 13:28:49 +00:00
github-actions[bot]
40b71c3159
Merge master into staging-next 2021-11-08 12:01:24 +00:00
Bobby Rong
4770284dd9
Merge pull request #143762 from starcraft66/update-gb
gb-backup: unstable-2021-08-16 -> unstable-2021-10-27
2021-11-08 19:58:19 +08:00
github-actions[bot]
b92d47b0f5
Merge master into staging-next 2021-11-08 06:01:18 +00:00
figsoda
070f4b40a6
Merge pull request #145019 from bbigras/kopia
kopia: 0.9.4 -> 0.9.5
2021-11-07 20:50:32 -05:00
Bobby Rong
6ddd1ec052
Merge pull request #143517 from r-ryantm/auto-update/autorestic
autorestic: 1.2.0 -> 1.3.0
2021-11-08 09:40:37 +08:00
Bruno Bigras
ea33beda92 kopia: 0.9.4 -> 0.9.5 2021-11-07 17:18:38 -05:00