Package Details: kubo-git 0.30.0.r15.gb71cf0d-1

Git Clone URL: https://aur.archlinux.org/kubo-git.git (read-only, click to copy)
Package Base: kubo-git
Description: IPFS implementation in Go
Upstream URL: https://github.com/ipfs/kubo
Licenses: MIT AND Apache-2.0
Conflicts: go-ipfs, go-ipfs-git, kubo
Provides: go-ipfs, ipfs, kubo
Replaces: go-ipfs-git
Submitter: RubenKelevra
Maintainer: Revvy
Last Packager: Revvy
Votes: 24
Popularity: 0.013637
First Submitted: 2022-07-10 17:38 (UTC)
Last Updated: 2024-09-20 03:13 (UTC)

Dependencies (4)

Required by (16)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

RubenKelevra commented on 2022-05-17 21:37 (UTC)

If you're running this package on ARM and wondering why I haven't implemented the autodetection feature level for it. Well, it shouldn't be needed (if you build this package on the ARM CPU). Go will automatically select the right feature level for your CPU and build for it.

RubenKelevra commented on 2022-05-14 16:13 (UTC) (edited on 2022-05-14 17:36 (UTC) by RubenKelevra)

Here's a list of the changes with 0.13.0rc1.r18.ga72753bad-2:

  • Set ldflags -s and -w (stripping)
  • Enable GOAMD64 with an autodetected CPU feature level (CPU optimizations) for the x86_64 target
  • Add reproducible build patch from upstream (the community package)
  • change the build process, like upstream (the community package)
  • Set CGO_ENABLED to 0

If you need debug/no cpu optimizations/or want CGO_ENABLED not set to 0, just edit the PKGBUILD and set DEBUG to 1.

RubenKelevra commented on 2022-04-04 13:07 (UTC)

@rpodgorny do you have an update on this?

RubenKelevra commented on 2020-06-12 22:32 (UTC) (edited on 2020-06-13 06:09 (UTC) by RubenKelevra)

I switched from the regular service file to the hardened one, which enables a lot of security features systemd offers.

It will break the mounting feature, but this is already unavailable because the user ipfs is not part of the fuse group (by default).

To avoid crashes if ipfs mount is called, the package is build without this support now.


I've added an install-file which will move the data while updating from /var/lib/ipfs/.ipfs to the more logical /var/lib/ipfs path. The daemon is stopped automatically if necessary. Make sure to start it again.

RubenKelevra commented on 2020-05-27 12:43 (UTC)

@rpodgorny I like to stick as close to the upstream as possible.

If you like this package to provide a systemd-user file, feel free to open a PR on the upstream git - I'll include it, as soon as it's merged.

rpodgorny commented on 2020-05-27 06:19 (UTC)

it would be nice if this package also provided a systemd-user service file. it would make back and forth migration between go-ipfs and go-ipfs-git much easier (i sometimes need to check something in the git version but most of the time i run the non-git package).

can be taken from here:

https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/go-ipfs

RubenKelevra commented on 2020-05-20 02:31 (UTC)

Needs manual intervention:

You need to update go-ipfs-git before you run your system-update to make the installed version compatible with the official repository again.

RubenKelevra commented on 2020-05-12 01:49 (UTC) (edited on 2020-05-12 07:42 (UTC) by RubenKelevra)

Needs manual intervention:

Switched service/socket files for systemd to the upstream ones.

If your dependent on the files earlier, you need to check the settings and modify the new files with override.confs accordingly.

Make sure there is no ipfs user/group existing before updating.

RubenKelevra commented on 2020-04-27 14:03 (UTC)

I've added a local go-build cache (which doesn't get cleared like before).

There should be no difference in build time, but it allows yay to clean up the build cache for this package and also allows to make clean builds with yay (including a clean build cache).

If you have build IPFS with this package before 0.5.0rc4.r7.g0c57175f0-2 you have already a build cache for IPFS.

You can clean the part ipfs uses - and regain disk space - by running go clean -modcache -r "github.com/ipfs/go-ipfs/cmd/ipfs"

RubenKelevra commented on 2020-04-25 18:43 (UTC) (edited on 2020-04-25 18:44 (UTC) by RubenKelevra)

Make sure to upgrade this package with something like

yay -Syu go go-ipfs-git

This will replace go-pie with go BEFORE you build this package, instead of afterward. This version doesn't require go-pie anymore.