From 21005a6009e62933ab3199ef84aef68f82b2b8d7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 7 Aug 2022 02:11:03 +0100 Subject: gentoo auto-resync : 07:08:2022 - 02:11:02 --- net-p2p/Manifest.gz | Bin 7436 -> 7441 bytes net-p2p/kubo/Manifest | 5 +-- net-p2p/kubo/kubo-0.13.1.ebuild | 69 ---------------------------------------- net-p2p/kubo/kubo-0.14.0.ebuild | 69 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 72 insertions(+), 71 deletions(-) delete mode 100644 net-p2p/kubo/kubo-0.13.1.ebuild create mode 100644 net-p2p/kubo/kubo-0.14.0.ebuild (limited to 'net-p2p') diff --git a/net-p2p/Manifest.gz b/net-p2p/Manifest.gz index 945ba42dbd64..9123da4ce3a6 100644 Binary files a/net-p2p/Manifest.gz and b/net-p2p/Manifest.gz differ diff --git a/net-p2p/kubo/Manifest b/net-p2p/kubo/Manifest index 043b813da032..5ae4bcddae06 100644 --- a/net-p2p/kubo/Manifest +++ b/net-p2p/kubo/Manifest @@ -2,6 +2,7 @@ AUX ipfs-at.service 340 BLAKE2B 776676603baa61cc2b76de86d8b3b1b43810ed81a703f827 AUX ipfs.confd 30 BLAKE2B 7ecaa40f2a4097690f9d8091da5891e0bbfb0f298bed4a59769c8d0ef978a2471865a01177950da5869b61f3b8c124f43eab97daf297c06efecdc25785a5846d SHA512 c55afeb3efe381d18258ddf00f58325b77156375cf223fb2daa049df056efe22e9139cce0f81dc4c73759dad5097af5f3201414beb5950bd894df9ae8c7c4ed1 AUX ipfs.init 464 BLAKE2B 553288784ba3df93037f640663d7ed3539f9a55e72ee9a36a9708e5b3f44e1dadff287fee989301b4ddf6fd3a88dbd1cf119386337c14523b9dadb91bdb1833d SHA512 2bc48d759b0dd4936d749aa0a442e39fdc862b5d5283269d4300cf0a5e3dc1bd0111a911d46d7a22dd7fa8023b22a148fbc371fc5bb37ce97912860b068caafc AUX ipfs.service 372 BLAKE2B 8989cc474ab46309dda6d167fb89476b01d10e07374d53c480a7ee345f13827e25ca19d84b0a3974e45c5d9a0c78abdfd7be262bff48f427aedaac2a9c4094a8 SHA512 35d5edda83bd296f92ffe3ee61f2608eb9ec464225e32ca52582d8e8fe699466c9b412ed224ff44e36e34d3d41a618d50082dd677feeaba53429d3a6913a869a -DIST kubo-0.13.1.tar.gz 13474891 BLAKE2B 2e6e056e27a8783c9d04ea5d8c41d86e45250f5ba95c57737aaf52d36d453be31baab21767008596710d7eb84f471460c32de70faf1764740ea551a5aa4bd38e SHA512 3257d49df61bb31d4054934506ea543df2d9ed1f57b9b6aeef001bb77fe9fdce646fec96ded72b7f9f99e3bc687da77997b1295ebb5a40e20e4df0413e15bfd7 -EBUILD kubo-0.13.1.ebuild 1731 BLAKE2B 050bbb1bd4dbc78b85b2fbd5b1fcf6d8d195aa28993d10f0cc923a33a77e232aa6c3ba16e2a1e3367e7d08300e36f7b7ceb93234e6d894f9357069a4b5dc0b71 SHA512 954dc87554ab7dd1221840cc36caf41497fafb9b2c3066eb1ce6b8f358c4d8c69c29e4c28ed6f44ccc9bde2cfed036d665df767226c166a0da12e38d6bba2b76 +DIST kubo-0.14.0-deps.tar.xz 169389828 BLAKE2B 9b664286885ad16eba2697bfbd87286fc35edb034beb0b80bcfa307af507013964f83783b0036d35d1e132f0a2a549e96f50f527cb3812cfe1417b36f7c416ed SHA512 cabb3c48bfc5d38996c5635b62b4a8dc49ca497cbe011e51c33086f18882fa74bc613644a4289639a7278dad634c66351c650c8ae041c9fca7f9f2c914644dd2 +DIST kubo-0.14.0.tar.gz 2224560 BLAKE2B d03f2ae98833f07a55cb8d929e3433ee35ad53345c31c80963ff4a183cbfa2ebf803607e0123b08304022673c1aa05013698d2cd3b97b4ecae84f4c4c5b69ab4 SHA512 ecba5d3669d50c382bff1b4d0197f5d8f67f36bb6e995d1db5791413bcf813ea8bf22fd3ea00368c0cf33cfc45621ea2f258acb52bda2b42ee2e1a7392195c10 +EBUILD kubo-0.14.0.ebuild 1816 BLAKE2B 2603dfcaa74eed4c26882e5a3edc79f423a93273ee2da14a41ba081a1575b54b4921f10e0af34bc56604a815c0462cf5b0ab159fe6fa43dbb176019d54905a4b SHA512 fc996a73ae192a9c9cb64b16e01b70e9ba037ad64f01e3a34700be96b8ac5776c0577a2e3a80287c4fbe61310a0422dda4cd33db40bbea01f02abaed2e4d8f1c MISC metadata.xml 596 BLAKE2B 68c5576e325ef2e0a6954047b8784427ca8b1d038c4b7fc7a7f2082e2682dbb8b807083251c9e5eca927d070d21b1f5ee9f96e2cb2437a9f5934bdc46f139fb6 SHA512 2d41af83abc0527e9031f8bec8d471dc7d163714bb42b9d7f65c943993e7d554207a5fb85ad96ae94c7876a74e2b3c8dba6a8f70e4f1bbb5a785bb98624233a9 diff --git a/net-p2p/kubo/kubo-0.13.1.ebuild b/net-p2p/kubo/kubo-0.13.1.ebuild deleted file mode 100644 index 82573032a2ae..000000000000 --- a/net-p2p/kubo/kubo-0.13.1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2022 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/" -SRC_URI="https://github.com/ipfs/${PN}/releases/download/v${PV}/go-ipfs-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" - -RDEPEND=" - acct-group/ipfs - acct-user/ipfs - sys-fs/fuse:0 -" - -DOCS=( CHANGELOG.md CONTRIBUTING.md README.md docs/ ) - -S="${WORKDIR}" - -src_compile() { - default - - local mygoargs - mygoargs=( - -tags release - ) - - go build "${mygoargs[@]}" -o ipfs ./cmd/ipfs || die - go build "${mygoargs[@]}" -o ipfswatch ./cmd/ipfswatch || die - - IPFS_PATH="" ./ipfs commands completion bash > ipfs-completion.bash || die -} - -src_test() { - go test ./cmd/ipfs/... ./cmd/ipfswatch/... || die -} - -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.14.0.ebuild b/net-p2p/kubo/kubo-0.14.0.ebuild new file mode 100644 index 000000000000..d0a469ae9fd2 --- /dev/null +++ b/net-p2p/kubo/kubo-0.14.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 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/" +SRC_URI="https://github.com/ipfs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +COMMON_DEPEND=" + acct-group/ipfs + acct-user/ipfs + sys-fs/fuse:0 +" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" +BDEPEND=" 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' +} -- cgit v1.2.3