Skip to content

Commit 8ac9e9e

Browse files
committed
upgpkg(ipfs): update to 0.13.0
- remove workaround for `quick-go` after merger of ipfs/kubo#8819 Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
1 parent e8a85fe commit 8ac9e9e

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

packages/ipfs/build.sh

+3-10
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://ipfs.io/
22
TERMUX_PKG_DESCRIPTION="A peer-to-peer hypermedia distribution protocol"
33
TERMUX_PKG_LICENSE="MIT"
44
TERMUX_PKG_MAINTAINER="@termux"
5-
TERMUX_PKG_VERSION=0.12.2
6-
TERMUX_PKG_REVISION=1
5+
TERMUX_PKG_VERSION=0.13.0
76
TERMUX_PKG_SRCURL=https://github.com/ipfs/go-ipfs/releases/download/v${TERMUX_PKG_VERSION}/go-ipfs-source.tar.gz
8-
TERMUX_PKG_SHA256=eba34d2cc49f7811d087f4259c44c1fecb2b6bd08a6c3fa3b5a26e5fed78c74d
7+
TERMUX_PKG_SHA256=784207b26b43def178f115451c4cf6f20915bfbbb9d2930113c67ea1a33aa4b3
98
TERMUX_PKG_AUTO_UPDATE=true
109
TERMUX_PKG_SUGGESTS="termux-services"
1110
TERMUX_PKG_SERVICE_SCRIPT=("ipfs" "[ ! -d \"${TERMUX_ANDROID_HOME}/.ipfs\" ] && ipfs init --empty-repo 2>&1 && ipfs config --json Swarm.EnableRelayHop false 2>&1 && ipfs config --json Swarm.EnableAutoRelay true 2>&1; exec ipfs daemon --enable-namesys-pubsub 2>&1")
@@ -19,16 +18,10 @@ termux_step_make() {
1918
cp -a "${TERMUX_PKG_SRCDIR}" "${GOPATH}/src/github.com/ipfs/go-ipfs"
2019
cd "${GOPATH}/src/github.com/ipfs/go-ipfs"
2120

22-
# Needed to build against go 1.18.
23-
# TODO: Remove after https://github.com/ipfs/go-ipfs/issues/8819 is resolved.
24-
go get github.com/lucas-clemente/quic-go@v0.26.0
25-
go mod edit -go=1.18 # qo-qtls needs go 1.18
26-
go mod tidy && go mod vendor
27-
2821
make build
2922

3023
# Fix folders without write permissions preventing which fails repeating builds:
31-
cd $TERMUX_PKG_BUILDDIR
24+
cd "$TERMUX_PKG_BUILDDIR"
3225
find . -type d -exec chmod u+w {} \;
3326
}
3427

0 commit comments

Comments
 (0)