diff --git a/srcpkgs/go-ipfs b/srcpkgs/go-ipfs new file mode 120000 index 00000000000..20ac9c61d8f --- /dev/null +++ b/srcpkgs/go-ipfs @@ -0,0 +1 @@ +kubo \ No newline at end of file diff --git a/srcpkgs/go-ipfs/files/ipfs/run b/srcpkgs/kubo/files/ipfs/run similarity index 100% rename from srcpkgs/go-ipfs/files/ipfs/run rename to srcpkgs/kubo/files/ipfs/run diff --git a/srcpkgs/go-ipfs/template b/srcpkgs/kubo/template similarity index 56% rename from srcpkgs/go-ipfs/template rename to srcpkgs/kubo/template index 2a81f0cb206..b0b6d60d36a 100644 --- a/srcpkgs/go-ipfs/template +++ b/srcpkgs/kubo/template @@ -1,25 +1,24 @@ -# Template file for 'go-ipfs' -pkgname=go-ipfs -version=0.22.0 -revision=2 +# Template file for 'kubo' +pkgname=kubo +version=0.29.0 +revision=1 build_style=go go_import_path="github.com/ipfs/kubo" go_package="${go_import_path}/cmd/ipfs ${go_import_path}/cmd/ipfswatch" -hostmakedepends="git go1.20" +hostmakedepends="git" depends="fs-repo-migrations>=1.7.1" short_desc="Global versioned P2P merkle DAG file system" maintainer="Orphaned " license="MIT, Apache-2.0" homepage="https://ipfs.io" -changelog="https://github.com/ipfs/go-ipfs/blob/master/CHANGELOG.md" -distfiles="https://github.com/ipfs/go-ipfs/archive/v${version}.tar.gz" -checksum=886193dda20345a3d3ed6702629caa98212f1f0622f80c65bea1b737957fbb16 +changelog="https://github.com/ipfs/kubo/blob/master/CHANGELOG.md" +distfiles="https://github.com/ipfs/kubo/archive/v${version}.tar.gz" +checksum=7679ed1b2c6a713b2297ab025d83a50c17fbcebf7e3af3b92be06cb9678a40f5 system_accounts="_ipfs" make_dirs="/var/lib/ipfs 0700 _ipfs _ipfs" _ipfs_homedir="/var/lib/ipfs" -export GOTOOLCHAIN=go1.20 if [ "$CROSS_BUILD" ]; then export CGO_ENABLED=0 fi @@ -30,3 +29,9 @@ post_install() { vdoc CHANGELOG.md vsv ipfs } + +go-ipfs_package() { + build_style=meta + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - transitional dummy package" +}