From 7b43cd44c0c26cd9e0ae1dcd94596667cb119ee6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 4 Feb 2024 23:42:56 +0000 Subject: gentoo auto-resync : 04:02:2024 - 23:42:56 --- net-p2p/kubo/Manifest | 4 +-- net-p2p/kubo/kubo-0.21.0.ebuild | 70 --------------------------------------- net-p2p/kubo/kubo-0.26.0.ebuild | 72 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 74 insertions(+), 72 deletions(-) delete mode 100644 net-p2p/kubo/kubo-0.21.0.ebuild create mode 100644 net-p2p/kubo/kubo-0.26.0.ebuild (limited to 'net-p2p/kubo') diff --git a/net-p2p/kubo/Manifest b/net-p2p/kubo/Manifest index d46302a1e56a..5191d96addc8 100644 --- a/net-p2p/kubo/Manifest +++ b/net-p2p/kubo/Manifest @@ -3,11 +3,11 @@ AUX ipfs.confd 30 BLAKE2B 7ecaa40f2a4097690f9d8091da5891e0bbfb0f298bed4a59769c8d AUX ipfs.init 464 BLAKE2B 553288784ba3df93037f640663d7ed3539f9a55e72ee9a36a9708e5b3f44e1dadff287fee989301b4ddf6fd3a88dbd1cf119386337c14523b9dadb91bdb1833d SHA512 2bc48d759b0dd4936d749aa0a442e39fdc862b5d5283269d4300cf0a5e3dc1bd0111a911d46d7a22dd7fa8023b22a148fbc371fc5bb37ce97912860b068caafc AUX ipfs.service 372 BLAKE2B 8989cc474ab46309dda6d167fb89476b01d10e07374d53c480a7ee345f13827e25ca19d84b0a3974e45c5d9a0c78abdfd7be262bff48f427aedaac2a9c4094a8 SHA512 35d5edda83bd296f92ffe3ee61f2608eb9ec464225e32ca52582d8e8fe699466c9b412ed224ff44e36e34d3d41a618d50082dd677feeaba53429d3a6913a869a DIST kubo-0.20.0.tar.gz 15476743 BLAKE2B 8b7e58f18c1342981f575545c6e11a167df240bb0d6d0712bcb3fd6a0aa7f84a6737af06d2ae89fe998ee715be5c0e0c39f4ce83685ae238008c46f48c6cf7a1 SHA512 5231efce18dbb6491fa6665db8d1522efcb2d7278203259714b77d655060765922e9076addb1de3e10950c2c7aa3c9e24e2114879c3e4ce1fceef69755b12eaf -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 EBUILD kubo-0.20.0.ebuild 1803 BLAKE2B f1054119a7f6d38326f1328c93e2925811fc2431d55d8f198d75c4eae30bac1ed2b8d88ce98ab7c966486794d2f126e35a9e7a29f2a31a4f405a527baa482b6e SHA512 751c6941861d2da98c6d6307bdf964dd8b022560f82704208e857a420de7be33f9acc5085adfdf90bf362800b1ee2118d21c2e6ef28db59dfdb0df273da61b7d -EBUILD kubo-0.21.0.ebuild 1804 BLAKE2B abc00f609fb9b18d7f9026e0608b25ccdba4ae42ce9de8c5ecdae438a76bd1217149e61dc36c6f73c7c840174d6985f757dde44f460a252d1f114d7c122e66e7 SHA512 ad400b3635649ae7470e4934163a8ac4b342578d22764f4c3eca014689e5e19ff828e594d0d9209b2dc7a7755d1a93074c94c3a225df57af628e45883c100457 EBUILD kubo-0.22.0.ebuild 1917 BLAKE2B da36ae540aad8b44853dd2385d2a24ef2a545090f45e0366780b58bd9b078db71429d1776f54ecd0d588cc78a49f0bb4513814343a2693527db8e49104dc4917 SHA512 5b9d94d71976eb8f0a3a747d4d04a732b3265388fdd774ab4e7095995cf1c65584bd0d1be3a134cdfe7b67f0c4c9891a1d9464aab208998104c161ada2f7bd80 EBUILD kubo-0.25.0.ebuild 1974 BLAKE2B 6b40a40dfffc7fd63b42d290287d42199b3fd4e04223033d317ea35ee625e0d338c05dc7337529392965266e4e2f3ba10a0a31fcd085effb8b65f10f3603f054 SHA512 5f04dc88a24b6f054394f047df6c63371f47e0a676538ed2b0b94a6cee89f5c3dd09117056d22bb0d79efb286265697ab1b87b676c548253763ea94c5258f804 +EBUILD kubo-0.26.0.ebuild 1974 BLAKE2B 6b40a40dfffc7fd63b42d290287d42199b3fd4e04223033d317ea35ee625e0d338c05dc7337529392965266e4e2f3ba10a0a31fcd085effb8b65f10f3603f054 SHA512 5f04dc88a24b6f054394f047df6c63371f47e0a676538ed2b0b94a6cee89f5c3dd09117056d22bb0d79efb286265697ab1b87b676c548253763ea94c5258f804 MISC metadata.xml 596 BLAKE2B 68c5576e325ef2e0a6954047b8784427ca8b1d038c4b7fc7a7f2082e2682dbb8b807083251c9e5eca927d070d21b1f5ee9f96e2cb2437a9f5934bdc46f139fb6 SHA512 2d41af83abc0527e9031f8bec8d471dc7d163714bb42b9d7f65c943993e7d554207a5fb85ad96ae94c7876a74e2b3c8dba6a8f70e4f1bbb5a785bb98624233a9 diff --git a/net-p2p/kubo/kubo-0.21.0.ebuild b/net-p2p/kubo/kubo-0.21.0.ebuild deleted file mode 100644 index 18a27c38d9ad..000000000000 --- a/net-p2p/kubo/kubo-0.21.0.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit bash-completion-r1 go-module 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}" -# ipfs-completion.bash || die -} - -src_test() { - ego test ./cmd/ipfs/... ./cmd/ipfswatch/... -} - -src_install() { - dobin ipfs - dobin ipfswatch - newbashcomp ipfs-completion.bash 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' -} 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' +} -- cgit v1.2.3