Commit Graph

1191 Commits

Author SHA1 Message Date
Sandro
b9c9593a88
Merge pull request #173304 from IvarWithoutBones/bump/dotnetmodule 2022-05-26 00:26:18 +02:00
Sarah
ad13d56c99
duplicity: S3 backups fail with "boto" not being found.
It seems that duplicity needs boto instead of boto3.
They apparently have different packages.

I decided to keep both,
as there may be another backend depending on it.
2022-05-24 09:07:48 +02:00
Mario Rodas
e78207de3d wal-g: 1.1 -> 2.0.0
https://github.com/wal-g/wal-g/releases/tag/v2.0.0
2022-05-19 04:20:00 +00:00
Sergei Trofimovich
b9fcbcb596 btar: add -fcommon workaround
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:

    ld: listindex.o:/build/btar-1.1.1/loadindex.h:12: multiple definition of
      `ptr'; main.o:/build/btar-1.1.1/loadindex.h:12: first defined here
2022-05-19 15:39:46 +01:00
Ivar Scholten
578589e1da treewide: remove unneeded dotnet SDK version pins
These derivations use buildDotnetModule, which has had its default
dotnet version changed recently. This patch removes redundantly setting
the SDK/runtime to version 6.
2022-05-16 21:39:47 +02:00
Mario Rodas
118ec238bf
Merge pull request #171339 from aaronjheng/diskrsync
diskrsync: unstable-2019-01-02 -> 1.3.0
2022-05-14 19:29:37 -05:00
Berk D. Demir
5205b3a91f restic-rest-server: remove vars from patch url
addresses feedback from #172817.
style only. no functional changes.
2022-05-13 12:22:46 -07:00
Berk D. Demir
fdb1595ffb restic-rest-server: Fix tests on Darwin
Backport unit test changes from project's master branch to replace
hardcoded /tmp with os.TempDir() calls in Go.

It can now handle /private/tmp/nix-build-{pname}-{version}.drv-0 paths
on Darwin.
2022-05-13 09:06:03 -07:00
Ashish SHUKLA
07aba57bca
zbackup: Fix build error
Upstream bug report: https://github.com/zbackup/zbackup/issues/160
2022-05-12 14:50:03 +05:30
Aaron Jheng
213335ce59
diskrsync: unstable-2019-01-02 -> 1.3.0 2022-05-10 11:47:55 +00:00
renesat
493c9e0d86 autorestic: 1.5.8 -> 1.7.1 2022-05-04 00:18:29 +03:00
Armeen Mahdian
2975ad1195 duply: 2.3.1 -> 2.4 2022-04-26 23:22:41 +02:00
Ryan Mulligan
9cce5121f6
Merge pull request #169809 from r-ryantm/auto-update/dar
dar: 2.7.4 -> 2.7.5
2022-04-25 21:21:15 -07:00
R. Ryantm
8f71270112 dar: 2.7.4 -> 2.7.5 2022-04-22 14:53:50 +00:00
Artturin
f1c7f19e49 treewide: testVersion -> testers.testVersion 2022-04-22 16:24:27 +03:00
Lassulus
e87155d446
Merge pull request #158471 from illdefined/bakelite
bakelite: unstable-2021-10-19 -> unstable-2022-02-12
2022-04-20 21:56:37 +01:00
Martin Weinelt
a7fc5aaa76 Merge remote-tracking branch 'origin/master' into staging-next 2022-04-15 13:30:48 +02:00
Lassulus
92734ac395
Merge pull request #166865 from malob/treewide-mainProgram
treewide: add meta.mainProgram to many packages
2022-04-15 09:28:00 +01:00
github-actions[bot]
eef7dee538
Merge master into staging-next 2022-04-15 06:01:16 +00:00
Martin Weinelt
33425fdc96
Merge pull request #166489 from NixOS/python-updates 2022-04-15 03:47:30 +02:00
Sandro
29014d65aa
Merge pull request #167721 from bbigras/kopia
kopia: 0.10.6 -> 0.10.7
2022-04-15 03:32:05 +02:00
Martin Weinelt
a484235634 grab-site: update sqlalchemy hash 2022-04-15 01:39:55 +02:00
Martin Weinelt
c2d2758147 borgbackup: disable racy test
https://github.com/borgbackup/borg/issues/6573
2022-04-15 01:39:54 +02:00
Malo Bourgon
0e802eafad treewide: add meta.mainProgram to many packages 2022-04-14 10:24:01 -07:00
Vladimír Čunát
d5d94127fd
Merge branch 'staging-next' into staging
Minor conflicts; I hope I didn't mess up:
	pkgs/development/tools/misc/binutils/default.nix
	pkgs/games/openjk/default.nix
2022-04-14 09:53:21 +02:00
R. Ryantm
a2c44cba88 discordchatexporter-cli: 2.33.2 -> 2.34 2022-04-11 01:30:15 +00:00
Bruno Bigras
7f1bde2ca0 kopia: 0.10.6 -> 0.10.7 2022-04-07 10:35:36 -04:00
github-actions[bot]
6e86a2821c
Merge staging-next into staging 2022-04-04 06:01:46 +00:00
Ben Siraphob
0745f76cbf
Merge pull request #166970 from acowley/tarsnap-darwin 2022-04-03 20:33:01 -05:00
Martin Weinelt
f95a3d1140 Merge remote-tracking branch 'origin/staging-next' into staging 2022-04-04 00:46:25 +02:00
ajs124
148b8f1543 ori: remove after being marked broken for over two years
It was marked in commit 8146cf699a by xeji on 2018-04-11 (commited on 2018-04-12)
2022-04-03 16:14:59 +01:00
ajs124
8e7dd685e9 bareos: remove after being marked broken for over two years
It was marked in commit e416a39464 by Daniel Schaefer on 2019-09-14 (commited on 2019-09-14)
2022-04-03 16:14:12 +01:00
Anthony Cowley
b479e8d1fd tarsnap: fix build on darwin aarch64/arm64 2022-04-02 16:31:40 -04:00
github-actions[bot]
ffa96ab0c0
Merge staging-next into staging 2022-04-02 18:01:37 +00:00
R. Ryantm
f31038ab7f restic: 0.12.1 -> 0.13.0 2022-03-31 20:33:47 +00:00
github-actions[bot]
9aa014c46a
Merge staging-next into staging 2022-03-31 12:02:10 +00:00
Martin Weinelt
3bb4e8977a
Merge pull request #164752 from armeenm/remove-ddar 2022-03-31 01:05:12 +02:00
Matt Layher
bb22a2debc nixos/zrepl: note about systemd unit, add snapshot test
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-03-30 08:55:15 -07:00
Martin Weinelt
a9286c6613
Merge pull request #163847 from Yarny0/tsm-client 2022-03-30 04:50:26 +02:00
Fabian Affolter
f91f32ac2a gphotos-sync: rename requests-oauthlib 2022-03-28 08:17:05 +02:00
Sandro
19df03ccdf
Merge pull request #163729 from r-ryantm/auto-update/bacula 2022-03-27 16:13:03 +02:00
Bobby Rong
51736decd2
Merge pull request #164830 from r-ryantm/auto-update/autorestic
autorestic: 1.5.7 -> 1.5.8
2022-03-26 14:12:10 +08:00
Sandro
48791c3c12
Merge pull request #164353 from r-ryantm/auto-update/dar 2022-03-23 04:07:06 +01:00
R. Ryantm
fb71b0acab autorestic: 1.5.7 -> 1.5.8 2022-03-19 06:36:40 +00:00
Armeen Mahdian
3d45681f62 ddar: remove
Motivated by #148779 and an unmaintained upstream.
2022-03-18 13:33:45 -05:00
Bobby Rong
a5cc3c540f
Merge pull request #164184 from r-ryantm/auto-update/autorestic
autorestic: 1.5.6 -> 1.5.7
2022-03-18 18:15:32 +08:00
R. Ryantm
309631843f bupstash: 0.10.3 -> 0.11.0 2022-03-17 04:06:37 +00:00
Ryan Mulligan
0ebe4abb9b
Merge pull request #162299 from r-ryantm/auto-update/btrbk
btrbk: 0.32.0 -> 0.32.1
2022-03-16 07:11:45 -07:00
R. Ryantm
ddf78f1312 dar: 2.7.3 -> 2.7.4 2022-03-16 03:49:26 +00:00
R. Ryantm
b13e96b4d6 autorestic: 1.5.6 -> 1.5.7 2022-03-15 01:22:51 +00:00
Artturi
3432aa2fe7
Merge pull request #163196 from IvarWithoutBones/bump/discordchatexporter 2022-03-14 20:17:53 +02:00
Yarny0
ea84f6b9e9 tsm-client: 8.1.13.3 -> 8.1.14.0
This update fixes a denial-of-service vulnerability.

Links to IBM's "Authorized Program Analysis Report"s
(something like release notes) for 8.1.14.x:
https://www.ibm.com/support/pages/node/6559268

README for 8.1.14.x:
https://www.ibm.com/support/pages/node/6561875

Security Bulletin:
https://www.ibm.com/support/pages/node/6562383 (CVE-2021-35517, CVE-2021-36090)
2022-03-12 11:24:07 +01:00
R. Ryantm
e96d73eda1 bacula: 11.0.5 -> 11.0.6 2022-03-12 02:12:48 +00:00
R. Ryantm
5763f7c302 autorestic: 1.5.5 -> 1.5.6 2022-03-12 01:48:41 +00:00
Mikael Voss
b237d3275d
bakelite: extend platforms
Since it only relies on the C standard library for POSIX, it should work
fine on all unixoid platforms.
2022-03-08 17:22:08 +01:00
Mikael Voss
999a964d09
bakelite: unstable-2021-10-19 -> unstable-2022-02-12 2022-03-08 17:22:08 +01:00
Ivar Scholten
ef18b4f863 discordchatexporter-cli: 2.32 -> 2.33.2 2022-03-07 20:14:18 +01:00
Bruno Bigras
b11124adbd kopia: 0.10.5 -> 0.10.6 2022-03-07 10:01:11 -05:00
Renaud
00343a4b35
Merge pull request #160840 from dotlambda/restic-rest-server-0.11.0
restic-rest-server: 0.10.0 -> 0.11.0
2022-03-05 20:49:00 +01:00
R. Ryantm
3b25e846f2 btrbk: 0.32.0 -> 0.32.1 2022-03-01 03:46:36 +00:00
Florian Klink
3473f50aff
Merge pull request #161430 from mweinelt/borg
borgbackup: 1.1.17 -> 1.2.0
2022-02-24 17:45:18 +01:00
Martin Weinelt
234a4600de
borgbackup: 1.1.17 -> 1.2.0
https://github.com/borgbackup/borg/releases/tag/1.2.0
2022-02-22 23:54:35 +01:00
José Romildo
ba59355e81 gitUpdater: init
- Add the 'gitUpdater' helper function to update git based packages, using the
'genericUpdater' function.
- Rework argument passing to the `list-git-tags' and 'list-archive-two-level-versions' scripts.
- Replace 'genericUpdater' plus 'list-git-tags' by 'gitUpdater'
2022-02-21 13:01:49 -03:00
R. Ryantm
857da052ee autorestic: 1.5.2 -> 1.5.5 2022-02-20 07:53:12 +00:00
Mario Rodas
755f7b1d74
Merge pull request #159980 from r-ryantm/auto-update/autorestic
autorestic: 1.5.1 -> 1.5.2
2022-02-19 15:31:51 -05:00
Robert Schütz
0c10da55e4 restic-rest-server: 0.10.0 -> 0.11.0
https://github.com/restic/rest-server/releases/tag/v0.11.0
2022-02-19 05:49:04 +00:00
Renaud
bca2c20339
Merge pull request #159877 from wamserma/tarsnap-1.0.40
tarsnap: 1.0.39 -> 1.0.40
2022-02-17 09:11:15 +01:00
R. Ryantm
d1681f42c6 autorestic: 1.5.1 -> 1.5.2 2022-02-14 12:14:15 +00:00
Markus S. Wamser
a14e2731df tarsnap: 1.0.39 -> 1.0.40 2022-02-13 19:43:52 +01:00
Bruno Bigras
04ef7ae5d7 kopia: 0.10.4 -> 0.10.5 2022-02-12 13:38:43 -05:00
R. Ryantm
cde47af248 discordchatexporter-cli: 2.31.1 -> 2.32 2022-02-10 11:39:47 -08:00
R. Ryantm
4ebed72733 btrbk: 0.31.3 -> 0.32.0 2022-02-10 01:28:13 +00:00
zowoq
ab07e12988 treewide: drop unnecessary go_1_17, buildGo117{Module,Package} 2022-02-08 08:09:33 +10:00
Vladimír Čunát
846dbe5bc8
Merge #157386: mysql: 8.0.27 -> 8.0.28 2022-02-06 16:43:33 +01:00
Artturin
26b7980516 gh2md: init at 2.0.0
useful to backup github issues and PRs
2022-02-05 17:24:12 -08:00
Bruno Bigras
2ab8594045 kopia: 0.10.3 -> 0.10.4 2022-02-03 10:57:05 -05:00
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
Thomas Gerbet
b054a140f4 mysql: 8.0.27 -> 8.0.28
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-28.html
2022-01-30 12:06:01 +01: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