Commit Graph

55 Commits

Author SHA1 Message Date
Sandro
ea74fc71f6
Merge pull request #177201 from Luflosi/update/ipfs
ipfs: 0.12.2 -> 0.13.0
2022-06-18 13:09:54 +02:00
Luflosi
efac9dabca
ipfs: 0.12.2 -> 0.13.0
https://github.com/ipfs/go-ipfs/releases/tag/v0.13.0
2022-06-10 20:58:29 +02:00
Daniel Thwaites
5ac9f8ef59
ipfs: build with openssl
From the readme:
Building with OpenSSL should significantly reduce the background
CPU usage on nodes that frequently make or receive new connections.
2022-05-28 11:09:34 +01:00
Luflosi
b3a47430ae
ipfs: 0.12.1 -> 0.12.2
https://github.com/ipfs/go-ipfs/releases/tag/v0.12.2
2022-04-11 23:03:42 +02:00
Kevin Cox
f9c7fae240
Merge pull request #164980 from r-ryantm/auto-update/ipfs
ipfs: 0.12.0 -> 0.12.1
2022-04-02 09:49:59 -04:00
Luflosi
41d45d674a
nixos/ipfs: add systemd hardening
Use the hardened systemd unit from upstream.
2022-03-22 11:12:14 +01:00
R. Ryantm
fdbc2c45bc ipfs: 0.12.0 -> 0.12.1 2022-03-20 15:01:35 +00:00
Luflosi
4759acb8a5 ipfs: 0.11.0 -> 0.12.0
https://github.com/ipfs/go-ipfs/releases/tag/v0.12.0
2022-02-26 08:16:55 +10:00
Luflosi
0eb1d070c8 ipfs-migrator: 1.7.1 -> 2.0.2
https://github.com/ipfs/fs-repo-migrations/releases/tag/v2.0.2

This is pretty much a complete rewrite of the ipfs-migrator package.
In version 2.0.0 a major change was made to the way the migrator works. Before, there was one binary that contained every migration. Now every migration has its own binary. If fs-repo-migrations can't find a required binary in the PATH, it will download it off the internet. To prevent that, build every migration individually, symlink them all into one package and then wrap fs-repo-migrations so it finds the package with all the migrations.
The change to the IPFS NixOS module and the IPFS package is needed because without explicitly specifying a repo version to migrate to, fs-repo-migrations will query the internet to find the latest version. This fails in the sandbox, for example when testing the ipfs passthru tests.
While it may seem like the repoVersion and IPFS version are in sync and the code could be simplified, this is not the case. See https://github.com/ipfs/fs-repo-migrations#when-should-i-migrate for a table with the IPFS versions and corresponding repo versions.
Go 1.17 breaks the migrations, so use Go 1.16 instead. This is also the Go version used in their CI, see 3dc218e300/.github/workflows/test.yml (L4). See https://github.com/ipfs/fs-repo-migrations/pull/140#issuecomment-982715907 for a previous mention of this issue. The issue manifests itself when doing anything with a migration, for example `fs-repo-11-to-12 --help`:
```
panic: qtls.ClientHelloInfo doesn't match

goroutine 1 [running]:
github.com/marten-seemann/qtls-go1-15.init.0()
	github.com/marten-seemann/qtls-go1-15@v0.1.1/unsafe.go:20 +0x132
```
Also add myself as a maintainer for this package.
This fixes the test failure discovered in https://github.com/NixOS/nixpkgs/pull/160914.
See https://github.com/ipfs/fs-repo-migrations/issues/148 to read some of my struggles with updating this package.
2022-02-25 11:12:19 -08:00
Fabián Heredia Montiel
57d1c4c92c ipfs: 0.10.0 → 0.11.0 2021-12-15 19:42:36 -06:00
Luflosi
955c9bcf5c
ipfs: 0.9.1 -> 0.10.0
https://github.com/ipfs/go-ipfs/releases/tag/v0.10.0
2021-10-02 01:09:15 +02:00
Luflosi
7a4b26853a
ipfs: 0.9.0 -> 0.9.1
https://github.com/ipfs/go-ipfs/releases/tag/v0.9.1
2021-07-22 13:26:26 +02:00
Luflosi
ad34c7697a
ipfs: install ipfs-hardened.service as well
This will be useful for hardening the IPFS NixOS module in the future.
2021-07-22 13:26:25 +02:00
Fabián Heredia Montiel
d96ccfaf16 ipfs: 0.8.0 → 0.9.0 2021-06-23 00:58:43 -05:00
R. RyanTM
1173ecf673 ipfs: 0.7.0 -> 0.8.0 2021-02-20 23:03:44 +00:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Luflosi
b75e431454
ipfs: 0.6.0 -> 0.7.0
https://github.com/ipfs/go-ipfs/releases/tag/v0.7.0

Pinning go114 is no longer necessary with this version.
2020-09-23 12:58:13 +02:00
Luflosi
d385065f70
ipfs: avoid warning during build when moving directory
Trying to move a directory into itself will result in a warning:
mv: cannot move 'ipfs-src' to a subdirectory of itself, 'ipfs-src/ipfs-src'

This can be prevented by excluding that directory.
2020-09-23 12:57:46 +02:00
Luflosi
1a382e983f
ipfs: remove executable bit from systemd units
IPFS would complain with warnings like
Configuration file /nix/store/...-ipfs-0.6.0/etc/systemd/system/ipfs.service is marked executable. Please remove executable permission bits. Proceeding anyway.
2020-09-23 12:57:01 +02:00
George Shammas
26a6db266c ipfs: Enable doCheck 2020-08-22 13:09:22 -04:00
zowoq
cea7cd902e buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
Luflosi
50afcee871
ipfs: 0.5.1 -> 0.6.0
https://github.com/ipfs/go-ipfs/releases/tag/v0.6.0
2020-06-20 02:16:40 +02:00
Matthew Bauer
c8a2e63242 ipfs: copy systemd support files to output 2020-06-11 14:16:16 -05:00
Jörg Thalheim
e6907df061
ipfs: switch to vendored tarball 2020-05-14 07:22:27 +01:00
Luflosi
5317280ade
ipfs: 0.5.0 -> 0.5.1
https://github.com/ipfs/go-ipfs/releases/tag/v0.5.1
2020-05-09 17:33:34 +02:00
Jörg Thalheim
11ace01cf2
ipfs: reference correct test 2020-05-08 10:49:10 +01:00
Jörg Thalheim
3e6e4ce55c
ipfs: reference tests 2020-05-08 09:34:42 +01:00
Jörg Thalheim
e89ceffefb
ipfs: patch shebang in builder script 2020-05-07 15:26:09 +01:00
Nathan Fish
445d554b9b ipfs: 0.4.23 -> 0.5.0 2020-04-29 17:02:45 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jörg Thalheim
066db11215
Revert "Merge pull request #83099 from marsam/fix-buildGoModule-packages-darwin"
This reverts commit 4e6bf03504, reversing
changes made to afd997aab6.

Instead we propagate those frameworks from the compiler again
2020-03-27 07:33:21 +00:00
Mario Rodas
92da50afa8 ipfs: fix build on darwin 2020-03-21 05:28:00 -05:00
Maximilian Bosch
c882314075
ipfs: 0.4.22 -> 0.4.23 2020-03-13 20:59:53 +01:00
Roman Volosatovs
0bf5907aa9
ipfs: 0.4.21 -> 0.4.22, use Go 1.12 2019-09-09 13:54:51 +02:00
Will Dietz
594d5d8487
ipfs: 0.4.20 -> 0.4.21 (module, drop deps.nix) 2019-06-11 06:50:35 -05:00
Eric Litak
ac7c93e9c9 ipfs: 0.4.19 -> 0.4.20 2019-04-24 22:11:13 -07:00
Andreas Rammhold
e71753609a
ipfs: 0.4.18 -> 0.4.19 2019-03-02 10:57:06 +01:00
Franz Pletz
90e56d7277
ipfs: 0.4.17 -> 0.4.18 2018-11-20 13:43:20 +01:00
Cole Mickens
e7f93b5980 ipfs: 0.4.15 -> 0.4.17 (#44696) 2018-08-09 08:46:57 +02:00
Eric Litak
04f0e08c91 ipfs: 0.4.14 -> 0.4.15 (#41376) 2018-06-02 11:16:45 +02:00
Luke Clifton
7c3475563b ipfs 0.4.13 -> 0.4.14 2018-04-12 15:55:46 +08:00
Dmitry Kalinkin
cb059d63fd ipfs: 0.4.11 -> 0.4.13 2017-11-18 06:44:08 +03:00
Franz Pletz
3d02089235
ipfs: 0.4.10 -> 0.4.11 2017-10-02 20:35:45 +02:00
zimbatm
3dd29b2453 ipfs: 0.4.9 -> 0.4.10 (#27001) 2017-07-01 01:31:52 +01:00
Mateusz Naściszewski
00572d595c
ipfs: 0.4.6 -> 0.4.9 2017-05-24 16:31:17 +02:00
Matthias Beyer
c44be81d38 Revert "ipfs: 0.4.6 -> 0.4.8" (#25149)
This reverts commit a309890044.
2017-04-23 17:37:30 +01:00
Mateusz Naściszewski
a309890044
ipfs: 0.4.6 -> 0.4.8 2017-04-01 05:51:41 +02:00
Maximilian Güntner
aa429e6775
ipfs: 0.4.5 -> 0.4.6 2017-03-02 01:24:39 +01:00
Maximilian Güntner
84e7ad1eb7
ipfs: 0.4.4 -> 0.4.5
0.4.5 introduces a new repo format. You might need
to run a migration:

https://github.com/ipfs/fs-repo-migrations
2017-02-12 19:50:54 +01:00