diff options
author | David Roman <davidroman96@gmail.com> | 2022-07-12 15:50:53 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-08-03 23:54:47 +0100 |
commit | 22d8731b3da6f49250e7c1f01fa3d8b3d67b8051 (patch) | |
tree | 5b4c7892c9277723200423cc67bade248701d28b /net-p2p | |
parent | net-p2p/go-ipfs: add 0.13.1, drop 0.13.0 (diff) | |
download | gentoo-22d8731b3da6f49250e7c1f01fa3d8b3d67b8051.tar.gz gentoo-22d8731b3da6f49250e7c1f01fa3d8b3d67b8051.tar.bz2 gentoo-22d8731b3da6f49250e7c1f01fa3d8b3d67b8051.zip |
net-p2p/go-ipfs: drop 0.12.2
Bug: https://bugs.gentoo.org/863485
Signed-off-by: David Roman <davidroman96@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/go-ipfs/Manifest | 2 | ||||
-rw-r--r-- | net-p2p/go-ipfs/files/go-ipfs-0.12.2-upgrade-quic-go.patch | 39 | ||||
-rw-r--r-- | net-p2p/go-ipfs/go-ipfs-0.12.2.ebuild | 71 |
3 files changed, 0 insertions, 112 deletions
diff --git a/net-p2p/go-ipfs/Manifest b/net-p2p/go-ipfs/Manifest index 8c297f21c8d1..773ebd4ef95f 100644 --- a/net-p2p/go-ipfs/Manifest +++ b/net-p2p/go-ipfs/Manifest @@ -1,3 +1 @@ -DIST go-ipfs-0.12.2-deps.tar.xz 368885112 BLAKE2B a77bd1518f1c80369a2d7f4ed3c3a19e0294f662910b588c203bcfa630709ef82e42a622a9a6a8b4e218b1566a446eb80ae0fdbd98232bd2aba6c76ed8a828ec SHA512 1268e9727af7a7c856547bd8cce9a9fe5b58db1a6966c2aeb0923632dc96fee16c354261922d7132f791bcc3c2601728831e2e2ec29d9b7d2d8ea60903eafe50 -DIST go-ipfs-0.12.2.tar.gz 2112884 BLAKE2B fe6883443eaa55764beffb5b8726678615f1246d41924ca6eddaae0e67d241f85f24d9b9264eaae9a211d8f74009bc30dda2a35734ea38645736e4fe21212bc9 SHA512 a268618d66e5e82c89362e0273c0741a56d13ee95e1f545a0b55fa5a7bd719b0e678c7c6cb7dc268892f992156a1fff2f537688de589d7c05b8b48e9c90b94f1 DIST go-ipfs-0.13.1.tar.gz 13474891 BLAKE2B 2e6e056e27a8783c9d04ea5d8c41d86e45250f5ba95c57737aaf52d36d453be31baab21767008596710d7eb84f471460c32de70faf1764740ea551a5aa4bd38e SHA512 3257d49df61bb31d4054934506ea543df2d9ed1f57b9b6aeef001bb77fe9fdce646fec96ded72b7f9f99e3bc687da77997b1295ebb5a40e20e4df0413e15bfd7 diff --git a/net-p2p/go-ipfs/files/go-ipfs-0.12.2-upgrade-quic-go.patch b/net-p2p/go-ipfs/files/go-ipfs-0.12.2-upgrade-quic-go.patch deleted file mode 100644 index 44fea86bf31e..000000000000 --- a/net-p2p/go-ipfs/files/go-ipfs-0.12.2-upgrade-quic-go.patch +++ /dev/null @@ -1,39 +0,0 @@ -https://github.com/ipfs/go-ipfs/issues/8819#issuecomment-1077564642 -https://bugs.gentoo.org/835491 ---- a/go.mod -+++ b/go.mod -@@ -89,6 +89,7 @@ require ( - github.com/libp2p/go-socket-activation v0.1.0 - github.com/libp2p/go-tcp-transport v0.4.0 - github.com/libp2p/go-ws-transport v0.5.0 -+ github.com/lucas-clemente/quic-go v0.26.0 // indirect - github.com/miekg/dns v1.1.43 - github.com/mitchellh/go-homedir v1.1.0 - github.com/multiformats/go-multiaddr v0.4.1 ---- a/go.sum -+++ b/go.sum -@@ -1005,6 +1005,8 @@ github.com/lucas-clemente/quic-go v0.21.2/go.mod h1:vF5M1XqhBAHgbjKcJOXY3JZz3GP0 - github.com/lucas-clemente/quic-go v0.23.0/go.mod h1:paZuzjXCE5mj6sikVLMvqXk8lJV2AsqtJ6bDhjEfxx0= - github.com/lucas-clemente/quic-go v0.24.0 h1:ToR7SIIEdrgOhgVTHvPgdVRJfgVy+N0wQAagH7L4d5g= - github.com/lucas-clemente/quic-go v0.24.0/go.mod h1:paZuzjXCE5mj6sikVLMvqXk8lJV2AsqtJ6bDhjEfxx0= -+github.com/lucas-clemente/quic-go v0.26.0 h1:ALBQXr9UJ8A1LyzvceX4jd9QFsHvlI0RR6BkV16o00A= -+github.com/lucas-clemente/quic-go v0.26.0/go.mod h1:AzgQoPda7N+3IqMMMkywBKggIFo2KT6pfnlrQ2QieeI= - github.com/lunixbochs/vtclean v1.0.0/go.mod h1:pHhQNgMf3btfWnGBVipUOjRYhoOsdGqdm/+2c2E2WMI= - github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= - github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -@@ -1017,9 +1019,15 @@ github.com/marten-seemann/qtls-go1-15 v0.1.4/go.mod h1:GyFwywLKkRt+6mfU99csTEY1j - github.com/marten-seemann/qtls-go1-15 v0.1.5/go.mod h1:GyFwywLKkRt+6mfU99csTEY1joMZz5vmB1WNZH3P81I= - github.com/marten-seemann/qtls-go1-16 v0.1.4 h1:xbHbOGGhrenVtII6Co8akhLEdrawwB2iHl5yhJRpnco= - github.com/marten-seemann/qtls-go1-16 v0.1.4/go.mod h1:gNpI2Ol+lRS3WwSOtIUUtRwZEQMXjYK+dQSBFbethAk= -+github.com/marten-seemann/qtls-go1-16 v0.1.5 h1:o9JrYPPco/Nukd/HpOHMHZoBDXQqoNtUCmny98/1uqQ= -+github.com/marten-seemann/qtls-go1-16 v0.1.5/go.mod h1:gNpI2Ol+lRS3WwSOtIUUtRwZEQMXjYK+dQSBFbethAk= - github.com/marten-seemann/qtls-go1-17 v0.1.0-rc.1/go.mod h1:fz4HIxByo+LlWcreM4CZOYNuz3taBQ8rN2X6FqvaWo8= - github.com/marten-seemann/qtls-go1-17 v0.1.0 h1:P9ggrs5xtwiqXv/FHNwntmuLMNq3KaSIG93AtAZ48xk= - github.com/marten-seemann/qtls-go1-17 v0.1.0/go.mod h1:fz4HIxByo+LlWcreM4CZOYNuz3taBQ8rN2X6FqvaWo8= -+github.com/marten-seemann/qtls-go1-17 v0.1.1 h1:DQjHPq+aOzUeh9/lixAGunn6rIOQyWChPSI4+hgW7jc= -+github.com/marten-seemann/qtls-go1-17 v0.1.1/go.mod h1:C2ekUKcDdz9SDWxec1N/MvcXBpaX9l3Nx67XaR84L5s= -+github.com/marten-seemann/qtls-go1-18 v0.1.1 h1:qp7p7XXUFL7fpBvSS1sWD+uSqPvzNQK43DH+/qEkj0Y= -+github.com/marten-seemann/qtls-go1-18 v0.1.1/go.mod h1:mJttiymBAByA49mhlNZZGrH5u1uXYZJ+RW28Py7f4m4= - github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd h1:br0buuQ854V8u83wA0rVZ8ttrq5CpaPZdvrK0LP2lOk= - github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd/go.mod h1:QuCEs1Nt24+FYQEqAAncTDPJIuGs+LxK1MCiFL25pMU= - github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= diff --git a/net-p2p/go-ipfs/go-ipfs-0.12.2.ebuild b/net-p2p/go-ipfs/go-ipfs-0.12.2.ebuild deleted file mode 100644 index 2c9295fc8135..000000000000 --- a/net-p2p/go-ipfs/go-ipfs-0.12.2.ebuild +++ /dev/null @@ -1,71 +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/go-ipfs/archive/v${PV}.tar.gz -> ${P}.tar.gz" -# After dropped Go patch, might be able to use upstream vendor tarball -SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz" - -LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - !net-p2p/go-ipfs-bin - acct-group/ipfs - acct-user/ipfs - sys-fs/fuse:0 -" - -DOCS=( CHANGELOG.md CONTRIBUTING.md README.md docs/ ) - -PATCHES=( - # Should be able to drop once https://github.com/ipfs/go-ipfs/issues/8819 is fixed - # Needed for Go 1.18 compatibility - "${FILESDIR}"/${PN}-0.12.2-upgrade-quic-go.patch -) - -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.' -} |