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.
Pinned Comments
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:
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 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.