From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6D4C7158090 for ; Sat, 28 May 2022 10:10:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C352FE08C3; Sat, 28 May 2022 10:10:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A423FE08CD for ; Sat, 28 May 2022 10:10:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BF856341699 for ; Sat, 28 May 2022 10:10:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4D4F0500 for ; Sat, 28 May 2022 10:10:21 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1653707743.0774406b5b1c651a9822a7f6d5a63df5402193a7.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-p2p/ipfs-cluster/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-p2p/ipfs-cluster/Manifest net-p2p/ipfs-cluster/ipfs-cluster-1.0.1.ebuild net-p2p/ipfs-cluster/metadata.xml X-VCS-Directories: net-p2p/ipfs-cluster/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 0774406b5b1c651a9822a7f6d5a63df5402193a7 X-VCS-Branch: master Date: Sat, 28 May 2022 10:10:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ce8a3f78-cb3b-4eb3-b796-55a1892dc173 X-Archives-Hash: 20ab9c18e5d3f1913e0c1452d938543d commit: 0774406b5b1c651a9822a7f6d5a63df5402193a7 Author: Tony Olagbaiye fron io> AuthorDate: Sat May 28 03:15:34 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Sat May 28 03:15:43 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0774406b net-p2p/ipfs-cluster: new package, add 1.0.1 Signed-off-by: Tony Olagbaiye fron.io> net-p2p/ipfs-cluster/Manifest | 2 + net-p2p/ipfs-cluster/ipfs-cluster-1.0.1.ebuild | 60 ++++++++++++++++++++++++++ net-p2p/ipfs-cluster/metadata.xml | 12 ++++++ 3 files changed, 74 insertions(+) diff --git a/net-p2p/ipfs-cluster/Manifest b/net-p2p/ipfs-cluster/Manifest new file mode 100644 index 000000000..47881fdd6 --- /dev/null +++ b/net-p2p/ipfs-cluster/Manifest @@ -0,0 +1,2 @@ +DIST ipfs-cluster-1.0.1-vendor.tar.xz 5799076 BLAKE2B 27b31d562d20b3693b959dba0e675c76dcd2643fd7d9321cb6284ce565e530dcf097fa0e6e45e9724cd583e1ca9e44573abae73ab68a6c83a66617c17636e159 SHA512 a1b70f5a8b5adfc34ba9cc04f38aae6083458170c15d34d2b677b0a83294f37968d568263db5c9bc73bcebc837da64a1ad46aace09799334182a1f6f51898b43 +DIST ipfs-cluster-1.0.1.tar.gz 463547 BLAKE2B 34d38dbff73626151c2da668e6f4fea983c98742b992132e19c3acd5281d218e3bd70f52d72489d8c89b0554dbf1e807c261b5259ce1f05b7825791701bf87fe SHA512 40a55f8c6f84a6f6c2772eb590dc993c4f18b5d2a001e55abb50b961f376182b3f9e4fa4a48a426b9fc87e9183ae5d6b244e47e5435fadc29a5cbbb8d237ad88 diff --git a/net-p2p/ipfs-cluster/ipfs-cluster-1.0.1.ebuild b/net-p2p/ipfs-cluster/ipfs-cluster-1.0.1.ebuild new file mode 100644 index 000000000..dba391621 --- /dev/null +++ b/net-p2p/ipfs-cluster/ipfs-cluster-1.0.1.ebuild @@ -0,0 +1,60 @@ +# 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="Pinset orchestration for IPFS" +HOMEPAGE="https://ipfscluster.io/" +SRC_URI="https://github.com/ipfs/ipfs-cluster/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://ipfs.infura.io/ipfs/QmUGftdXbN815P1GvurGRBa5fYFiGfTDAdBXToadzYAqw3/${P}-vendor.tar.xz" + +LICENSE="Apache-2.0 MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + net-p2p/go-ipfs +" + +DOCS=( CHANGELOG.md CONTRIBUTING.md README.md ) + +src_compile() { + default + + pushd cmd/ipfs-cluster-ctl + ego build + mv ipfs-cluster-ctl $OLDPWD + popd + + pushd cmd/ipfs-cluster-follow + ego build + mv ipfs-cluster-follow $OLDPWD + popd + + pushd cmd/ipfs-cluster-service + ego build + mv ipfs-cluster-service $OLDPWD + popd +} + +src_test() { + go test ./cmd/ipfs-cluster-ctl/... ./cmd/ipfs-cluster-follow/... ./cmd/ipfs-cluster-service/... || die +} + +src_install() { + dobin ipfs-cluster-ctl + dobin ipfs-cluster-follow + dobin ipfs-cluster-service + einstalldocs + + #systemd_dounit "${FILESDIR}/ipfs-cluster-service.service" + #systemd_newunit "${FILESDIR}/ipfs-cluster-service.service" "ipfs-cluster-service@.service" + + #newinitd "${FILESDIR}/ipfs-cluster-service.init" ipfs + #newconfd "${FILESDIR}/ipfs-cluster-service.confd" ipfs + + keepdir /var/log/ipfs-cluster + fowners -R ipfs:ipfs /var/log/ipfs-cluster +} diff --git a/net-p2p/ipfs-cluster/metadata.xml b/net-p2p/ipfs-cluster/metadata.xml new file mode 100644 index 000000000..60be2616e --- /dev/null +++ b/net-p2p/ipfs-cluster/metadata.xml @@ -0,0 +1,12 @@ + + + + + davidroman96@gmail.com + David Roman + + + hurikhan77+bgo@gmail.com + Kai Krakow + +