From: "John Helmert III" <ajak@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/kubo/
Date: Sun, 4 Feb 2024 17:23:19 +0000 (UTC) [thread overview]
Message-ID: <1707066841.f26dc18f1f59fed5a60fe18c35adad6eaf6904d0.ajak@gentoo> (raw)
commit: f26dc18f1f59fed5a60fe18c35adad6eaf6904d0
Author: David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Tue Jan 23 16:01:09 2024 +0000
Commit: John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Sun Feb 4 17:14:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f26dc18f
net-p2p/kubo: add 0.26.0
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
Signed-off-by: John Helmert III <ajak <AT> gentoo.org>
net-p2p/kubo/Manifest | 1 +
net-p2p/kubo/kubo-0.26.0.ebuild | 72 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 73 insertions(+)
diff --git a/net-p2p/kubo/Manifest b/net-p2p/kubo/Manifest
index b72340d7f7a9..6143ede9c009 100644
--- a/net-p2p/kubo/Manifest
+++ b/net-p2p/kubo/Manifest
@@ -2,3 +2,4 @@ DIST kubo-0.20.0.tar.gz 15476743 BLAKE2B 8b7e58f18c1342981f575545c6e11a167df240b
DIST kubo-0.21.0.tar.gz 15523789 BLAKE2B 3db5e59ade1b121a7403b4188e90305dc1689922494114a7729ae23d3e3c8d89c244dc8ebb5a2563c79c6f591b4840d79c935cf6fbb7004e1f869c165308eeca SHA512 16b1462f4f2811f6188d6e6ca9c466bb8071dd45ca66d40e3f4c7d37d31b16bb3fb6d2408c61dfc5d3120847c25da735db0f89661d29493684a81a6f94251278
DIST kubo-0.22.0.tar.gz 15681418 BLAKE2B 059c6b34a8188ad2add2ecb1cd8f69d755388d9c74c58ad5c2e95459101aa77397ad16e92b72ffe703f0dc2f62b04573fdf9da065aaee003623c6038601370c7 SHA512 08fff4a53286e106ecebeb2bee6f0f0154e8f75029f9dacf5c5e99f23d27c8243adb8cf69bea7da1df0e849bf325f18516ed6c18a5454623da2530a0f3810a32
DIST kubo-0.25.0.tar.gz 16346357 BLAKE2B d9871cccb88a00929eedbc3322926683275786328dc70581208d3b59d59e34c3c8374e3f5194c163dc3517a848675671573429ca72bc41e7ca00d38a40c3b2db SHA512 ec089317ef7bea0d3dbc723e601e5b5e4dcd030ad5edc11a6e4fdb4f2b33be771e2e54189af260b11a6259a0a8108eabb7c09d224ae9711642430926586f2f95
+DIST kubo-0.26.0.tar.gz 16129891 BLAKE2B 199e3fb3d7982eb3bca35c7139a15f4c4f32a54bde2c9ae2e5b594524668d146296001ccfb29d1ded5eec0e82a02b4e16a4bbb7a82bcc4787ee06820f02d4687 SHA512 21bcfd605d0aa0b55afafa5c717b6b0f8c657722a207ae0cb901815b7881266ae528acc85d74e70f5fafec9407c68cd5dcb2e02ab9fbe61c05f648888e15e0e5
diff --git a/net-p2p/kubo/kubo-0.26.0.ebuild b/net-p2p/kubo/kubo-0.26.0.ebuild
new file mode 100644
index 000000000000..5eb80133d072
--- /dev/null
+++ b/net-p2p/kubo/kubo-0.26.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module shell-completion systemd
+
+DESCRIPTION="Main implementation of IPFS"
+HOMEPAGE="https://ipfs.io/ https://github.com/ipfs/kubo/"
+SRC_URI="https://github.com/ipfs/${PN}/releases/download/v${PV}/kubo-source.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ acct-group/ipfs
+ acct-user/ipfs
+ sys-fs/fuse:0
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( CHANGELOG.md CONTRIBUTING.md README.md docs/ )
+
+S="${WORKDIR}"
+
+src_compile() {
+ local mygoargs
+ mygoargs=(
+ -tags release
+ )
+
+ ego build "${mygoargs[@]}" -o ipfs ./cmd/ipfs
+ ego build "${mygoargs[@]}" -o ipfswatch ./cmd/ipfswatch
+
+ IPFS_PATH="" ./ipfs commands completion bash > ipfs-completion.bash || die
+ IPFS_PATH="" ./ipfs commands completion fish > ipfs-completion.fish || die
+ IPFS_PATH="" ./ipfs commands completion zsh > ipfs-completion.zsh || die
+}
+
+src_test() {
+ ego test ./cmd/ipfs/... ./cmd/ipfswatch/...
+}
+
+src_install() {
+ dobin ipfs
+ dobin ipfswatch
+ newbashcomp ipfs-completion.bash ipfs
+ newfishcomp ipfs-completion.fish ipfs
+ newzshcomp ipfs-completion.zsh _ipfs
+ einstalldocs
+
+ systemd_dounit "${FILESDIR}/ipfs.service"
+ systemd_newunit "${FILESDIR}/ipfs-at.service" "ipfs@.service"
+
+ newinitd "${FILESDIR}/ipfs.init" ipfs
+ newconfd "${FILESDIR}/ipfs.confd" ipfs
+
+ keepdir /var/log/ipfs
+ fowners -R ipfs:ipfs /var/log/ipfs
+}
+
+pkg_postinst() {
+ elog 'To be able to use the ipfs service you will need to create the ipfs repository'
+ elog '(eg: su -s /bin/sh -c "ipfs init -e" ipfs)'
+ elog 'or change IPFS_PATH of /etc/conf.d/ipfs with another with proper permissions.'
+
+ # See https://bugs.gentoo.org/838238
+ ewarn 'In case kubo CPU usage is too high run the next workaround'
+ ewarn 'su -s /bin/sh -c "ipfs config profile apply lowpower" ipfs'
+ ewarn 'Be aware that this will make your node less visible to other peers'
+}
next reply other threads:[~2024-02-04 17:23 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-04 17:23 John Helmert III [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-28 14:34 [gentoo-commits] repo/gentoo:master commit in: net-p2p/kubo/ Sam James
2025-02-24 8:16 Arthur Zamarin
2025-02-24 4:46 John Helmert III
2025-02-24 4:46 John Helmert III
2025-01-31 7:33 Joonas Niilola
2024-11-27 4:07 Sam James
2024-10-17 7:30 Joonas Niilola
2024-10-17 7:30 Joonas Niilola
2024-09-09 0:17 Eli Schwartz
2024-06-27 19:23 John Helmert III
2024-06-27 19:23 John Helmert III
2024-06-11 17:18 Sam James
2024-04-21 22:26 John Helmert III
2024-04-21 22:26 John Helmert III
2024-02-20 18:33 Arthur Zamarin
2024-02-19 16:28 Sam James
2024-02-04 17:23 John Helmert III
2024-01-13 9:07 Joonas Niilola
2024-01-06 20:04 Viorel Munteanu
2023-09-23 9:37 Sam James
2023-08-10 10:04 Yixun Lan
2023-07-25 18:52 Sam James
2023-07-25 15:29 Jakov Smolić
2023-07-24 11:06 Florian Schmaus
2023-07-24 11:06 Florian Schmaus
2023-05-20 12:50 Joonas Niilola
2023-03-11 16:26 Sam James
2023-02-03 7:21 Sam James
2022-10-10 12:55 Joonas Niilola
2022-10-10 12:55 Joonas Niilola
2022-08-06 22:00 William Hubbs
2022-08-06 21:59 William Hubbs
2022-08-03 22:55 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1707066841.f26dc18f1f59fed5a60fe18c35adad6eaf6904d0.ajak@gentoo \
--to=ajak@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox