From a7b32d6bf9b3b57abf8a70eaaea3e516738958f1 Mon Sep 17 00:00:00 2001 From: David Roman Date: Mon, 1 Jul 2024 16:19:08 +0200 Subject: [PATCH] net-p2p/ipfs-cluster: treeclean Signed-off-by: David Roman --- net-p2p/ipfs-cluster/Manifest | 4 -- net-p2p/ipfs-cluster/files/ipfs-cluster.init | 21 ------- .../ipfs-cluster/files/ipfs-cluster.service | 18 ------ .../ipfs-cluster/ipfs-cluster-1.0.1.ebuild | 63 ------------------- .../ipfs-cluster/ipfs-cluster-1.0.2.ebuild | 63 ------------------- net-p2p/ipfs-cluster/metadata.xml | 8 --- profiles/package.mask | 5 -- 7 files changed, 182 deletions(-) delete mode 100644 net-p2p/ipfs-cluster/Manifest delete mode 100644 net-p2p/ipfs-cluster/files/ipfs-cluster.init delete mode 100644 net-p2p/ipfs-cluster/files/ipfs-cluster.service delete mode 100644 net-p2p/ipfs-cluster/ipfs-cluster-1.0.1.ebuild delete mode 100644 net-p2p/ipfs-cluster/ipfs-cluster-1.0.2.ebuild delete mode 100644 net-p2p/ipfs-cluster/metadata.xml diff --git a/net-p2p/ipfs-cluster/Manifest b/net-p2p/ipfs-cluster/Manifest deleted file mode 100644 index a469f88370..0000000000 --- a/net-p2p/ipfs-cluster/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -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 -DIST ipfs-cluster-1.0.2-vendor.tar.xz 5599580 BLAKE2B f2b8503b8f550dfd8f0ee2c0ca0b9384e68f86fbd2b4a75934a404623e224d66217a922424142e6c040e20f701fb55aec994441ddafdaed5bb7d267f9aff52d4 SHA512 488dc8479069f0f525ab88ac8f34aa300ced9ee26d2fff728e8b73aeb37261f899b2cfd2185265142be3b0cc7ecaaf7374c9f93fc4832bd931aead1924a506b5 -DIST ipfs-cluster-1.0.2.tar.gz 471909 BLAKE2B cc44ae20df697704d1e0daf7a912773f1be4275f0ab48cfa6760e1d8ea153fbe1c859b56d4fd81fc1dae182424ec0b33511de06556efc7edf05d9adbbc78df4b SHA512 7cc6f9547f8953719d0576db20a1a1d0157b78462e9a999d9dd62accfac1886625800313ce31b6dd7e63c32b1b5324d87ac29fb02177ce25b51d818afb77b3a3 diff --git a/net-p2p/ipfs-cluster/files/ipfs-cluster.init b/net-p2p/ipfs-cluster/files/ipfs-cluster.init deleted file mode 100644 index 11a5bc62e2..0000000000 --- a/net-p2p/ipfs-cluster/files/ipfs-cluster.init +++ /dev/null @@ -1,21 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -source /etc/conf.d/ipfs - -export IPFS_PATH=${IPFS_PATH:-/var/lib/ipfs/.ipfs} - -pidfile="/run/ipfs-cluster.pid" -command="/usr/bin/ipfs-cluster-service" -command_args="daemon" -command_user="ipfs:ipfs" -command_background=true -start_stop_daemon_args="--wait 1000 -b -m \ - -1 /var/log/ipfs/ipfs-cluster.log \ - -2 /var/log/ipfs/ipfs-cluster.log" - -depend() { - need net - want ipfs -} diff --git a/net-p2p/ipfs-cluster/files/ipfs-cluster.service b/net-p2p/ipfs-cluster/files/ipfs-cluster.service deleted file mode 100644 index 31576a3f90..0000000000 --- a/net-p2p/ipfs-cluster/files/ipfs-cluster.service +++ /dev/null @@ -1,18 +0,0 @@ -[Unit] -Description=IPFS Cluster -After=ipfs.service - -[Service] -CPUSchedulingPolicy=batch -Environment=IPFS_PATH=/var/lib/ipfs/.ipfs -ExecStart=/usr/bin/ipfs-cluster-service daemon -Group=ipfs -LimitNOFILE=8192 -PrivateTmp=yes -ProtectSystem=full -Restart=on-failure -Type=simple -User=ipfs - -[Install] -WantedBy=multi-user.target diff --git a/net-p2p/ipfs-cluster/ipfs-cluster-1.0.1.ebuild b/net-p2p/ipfs-cluster/ipfs-cluster-1.0.1.ebuild deleted file mode 100644 index e47bc80287..0000000000 --- a/net-p2p/ipfs-cluster/ipfs-cluster-1.0.1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit 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" - -RDEPEND=" - net-p2p/kubo -" - -DOCS=( CHANGELOG.md CONTRIBUTING.md README.md ) - -src_compile() { - 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" - systemd_newunit "${FILESDIR}/ipfs-cluster.service" "ipfs-cluster@.service" - - newinitd "${FILESDIR}/ipfs-cluster.init" ipfs-cluster - newconfd /dev/null ipfs-cluster - - keepdir /var/log/ipfs-cluster - fowners -R ipfs:ipfs /var/log/ipfs-cluster -} - -pkg_postinst() { - elog 'To be able to use the ipfs-cluster service you will need to setup the configuration' - elog '(eg: su -s /bin/sh -c "ipfs-cluster init" ipfs)' -} diff --git a/net-p2p/ipfs-cluster/ipfs-cluster-1.0.2.ebuild b/net-p2p/ipfs-cluster/ipfs-cluster-1.0.2.ebuild deleted file mode 100644 index 7e6cf2bc09..0000000000 --- a/net-p2p/ipfs-cluster/ipfs-cluster-1.0.2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit 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/QmSTbDLMCFKKKXmEBFgGMZDYV9EfngKsFnws8PZoKhAk38/${P}-vendor.tar.xz" - -LICENSE="Apache-2.0 MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - net-p2p/kubo -" - -DOCS=( CHANGELOG.md CONTRIBUTING.md README.md ) - -src_compile() { - 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" - systemd_newunit "${FILESDIR}/ipfs-cluster.service" "ipfs-cluster@.service" - - newinitd "${FILESDIR}/ipfs-cluster.init" ipfs-cluster - newconfd /dev/null ipfs-cluster - - keepdir /var/log/ipfs-cluster - fowners -R ipfs:ipfs /var/log/ipfs-cluster -} - -pkg_postinst() { - elog 'To be able to use the ipfs-cluster service you will need to setup the configuration' - elog '(eg: su -s /bin/sh -c "ipfs-cluster init" ipfs)' -} diff --git a/net-p2p/ipfs-cluster/metadata.xml b/net-p2p/ipfs-cluster/metadata.xml deleted file mode 100644 index 46b27c60a5..0000000000 --- a/net-p2p/ipfs-cluster/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - ipfs/ipfs-cluster - - diff --git a/profiles/package.mask b/profiles/package.mask index 06aaa0f355..f397ac0f9a 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -70,11 +70,6 @@ dev-python/pure-protobuf # https://bugs.gentoo.org/931490 www-client/woob -# Joe Kappus (2024-05-24) -# Golang crap hosted on dead ipfs node without maintainer -# Bug #884915, Removal on 2024/06/23 -net-p2p/ipfs-cluster - # Julien Roy (2024-03-21) # sys-libs/libucontext is masked in ::gentoo sys-libs/gcompat