diff options
Diffstat (limited to 'app-crypt/kbfs')
-rw-r--r-- | app-crypt/kbfs/Manifest | 8 | ||||
-rw-r--r-- | app-crypt/kbfs/kbfs-2.10.1.ebuild | 51 | ||||
-rw-r--r-- | app-crypt/kbfs/kbfs-2.11.0-r1.ebuild | 51 | ||||
-rw-r--r-- | app-crypt/kbfs/kbfs-2.6.0.ebuild | 51 | ||||
-rw-r--r-- | app-crypt/kbfs/kbfs-2.8.0.ebuild | 51 | ||||
-rw-r--r-- | app-crypt/kbfs/kbfs-6.0.2.ebuild | 67 | ||||
-rw-r--r-- | app-crypt/kbfs/kbfs-6.2.4.ebuild | 67 | ||||
-rw-r--r-- | app-crypt/kbfs/kbfs-9999.ebuild | 60 | ||||
-rw-r--r-- | app-crypt/kbfs/metadata.xml | 19 |
9 files changed, 189 insertions, 236 deletions
diff --git a/app-crypt/kbfs/Manifest b/app-crypt/kbfs/Manifest index 2bc893cd7aa7..5cef4e7b17bf 100644 --- a/app-crypt/kbfs/Manifest +++ b/app-crypt/kbfs/Manifest @@ -1,4 +1,4 @@ -DIST kbfs-2.10.1.tar.gz 4471525 BLAKE2B 79a1046a6d225ab790081e2ec0aa057c8aab9c3c1fd0fe9832769b01f2e92137aa3b6424c303b736dbc6142917aecbb32c54d98111b42be80e66ee459524c7f2 SHA512 66b07a07c4b4734465d8ea8eccf3b1d05c0c3ba8792161ed3fd8ed9eaccb43d51cf5ef44c8c44fca4a22ab2b360093f1801d9eb77904d2aa917d0a76026fffa9 -DIST kbfs-2.11.0.tar.gz 4520872 BLAKE2B 4472360205f42f59bc18f64634b4e10f38f532db262de38260a459faf0d76b9f805fb3d5e12d21afecbd51a980e63c68cc2be47b4e5ab597b7b0bfdd491dd54d SHA512 f735f7fc1c958eabcb38933f19edeba0cd3854e3d5a2030c6e4301c9cea714c432993e099b2199060e1275982755f60728545e71151c5796eb9be4978790e2f5 -DIST kbfs-2.6.0.tar.gz 5836566 BLAKE2B 14ca1fa35d01330ad51c5ca735bea059dc4f5be10298f36d2a7bd10ab5cfe2a399104dbade2da58ea3e0e77ef1e24f0644b751e7f06b91e9f4360514aaa7f6df SHA512 f636f6d01fa12e63930be7fa2d0cd919c37e68820bd602af6a54703a64759e475c5e19e29bf60b94d02dd9db188709c9ecd4da7abd05af7880fdf5e94a8d3590 -DIST kbfs-2.8.0.tar.gz 4459997 BLAKE2B b361ae343ab5fada7f9edac8c5083173dca103362b6e0688df069fbc0bf7dbb0eab6779259bd5c1038c542d7f51b68259404aa24c797da5c3aee6fab9fc4dab1 SHA512 892b7c51f52ca129145f10932e23c22f0f7003ea8662d26939d4f9e72cd8296fc5a66516dc7a3135fdc1cb96b1d02160c0f1dd32a4a6fe13ddcd4750eac9b8fc +DIST kbfs-6.0.2-deps.tar.xz 205729260 BLAKE2B d58d1b6615c9195ad3b4eb82bbbb3f3ff4729683b6d4b69dd35222089fa9477710a59c75af830a4f74ca6ccf3eae2fe6d880a72b74d15478fe29db268f333f64 SHA512 39afab3647ea766ed86059548eddc910195ec39b71897a92cdc927d9c0025297254950c0a85434ce9a1e90a189b6f84504445e1d6152ec4bd8441dd55ae4e6c0 +DIST kbfs-6.0.2.tar.gz 57283593 BLAKE2B 272dd3c9e2e855e1979a620f5a600cb1352632fca055ba36140d2cc63013e8f8b7e66c5f9fe74ab2c71dac2df7cc27aac9a8387f7444eff4c469659ff1aece2e SHA512 0a3fe3f8b9fc7a3099696699268bec54aed898d0692a3033e54f816b87ef2616b83a0817d365b87a77ecb489ae5d11bae15597c3bcd23819422ec384ae63f6a0 +DIST kbfs-6.2.4-deps.tar.xz 118668392 BLAKE2B e03bf3698021c3f1c841cee5d815ec57f9ec1bdbe6f4afc12e6facc56085874153f4f80342b6ff00ad74fc75bce3a7a1d0795abd4d22d040cfea38b288368f2c SHA512 b67928419619a6caaa2dc2e15211412292a3c33ec910a97c444b66adb6318f0a7c7efa7e23473cc2bc0c91b7c49e37977016639394d0754fb2c9e15e1905c421 +DIST kbfs-6.2.4.tar.gz 53209004 BLAKE2B 5d44b8d0764b5d41635ec431afb8b0b8ed0693b574ead82134f187e97efce5ab206f3c18f570033acdf144589a36ff6e328d55ee32c0a7707aeb110b415bc771 SHA512 fd6b78e63b7df6838f7ad80f36adc93171e48794e6903f561d9f3489f61dba8db7757a1dd1d65cfa35970716f406de963e126c20ba93cfdaf48d2ddd41d0925e diff --git a/app-crypt/kbfs/kbfs-2.10.1.ebuild b/app-crypt/kbfs/kbfs-2.10.1.ebuild deleted file mode 100644 index f6dfded5dc62..000000000000 --- a/app-crypt/kbfs/kbfs-2.10.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit golang-build systemd - -DESCRIPTION="Keybase Filesystem (KBFS)" -HOMEPAGE="https://keybase.io/docs/kbfs" -SRC_URI="https://github.com/keybase/kbfs/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND=" - app-crypt/gnupg - sys-fs/fuse - " - -src_unpack() { - unpack "${P}.tar.gz" - mkdir -vp "${S}/src/github.com/keybase" || die - ln -vs "${S}" "${S}/src/github.com/keybase/kbfs" || die -} - -src_compile() { - EGO_PN="github.com/keybase/kbfs/kbfsfuse" \ - EGO_BUILD_FLAGS="-tags production -o ${T}/kbfsfuse" \ - golang-build_src_compile - EGO_PN="github.com/keybase/kbfs/kbfsgit/git-remote-keybase" \ - EGO_BUILD_FLAGS="-tags production -o ${T}/git-remote-keybase" \ - golang-build_src_compile - EGO_PN="github.com/keybase/kbfs/redirector" \ - EGO_BUILD_FLAGS="-tags production -o ${T}/keybase-redirector" \ - golang-build_src_compile -} - -src_test() { - EGO_PN="github.com/keybase/kbfs/kbfsfuse" \ - golang-build_src_test -} - -src_install() { - dobin "${T}/kbfsfuse" - dobin "${T}/git-remote-keybase" - dobin "${T}/keybase-redirector" - systemd_douserunit "${S}/packaging/linux/systemd/kbfs.service" -} diff --git a/app-crypt/kbfs/kbfs-2.11.0-r1.ebuild b/app-crypt/kbfs/kbfs-2.11.0-r1.ebuild deleted file mode 100644 index c25fb747b76d..000000000000 --- a/app-crypt/kbfs/kbfs-2.11.0-r1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit golang-build systemd - -DESCRIPTION="Keybase Filesystem (KBFS)" -HOMEPAGE="https://keybase.io/docs/kbfs" -SRC_URI="https://github.com/keybase/kbfs/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND=" - app-crypt/gnupg - sys-fs/fuse:0= - " - -src_unpack() { - unpack "${P}.tar.gz" - mkdir -vp "${S}/src/github.com/keybase" || die - ln -vs "${S}" "${S}/src/github.com/keybase/kbfs" || die -} - -src_compile() { - EGO_PN="github.com/keybase/kbfs/kbfsfuse" \ - EGO_BUILD_FLAGS="-tags production -o ${T}/kbfsfuse" \ - golang-build_src_compile - EGO_PN="github.com/keybase/kbfs/kbfsgit/git-remote-keybase" \ - EGO_BUILD_FLAGS="-tags production -o ${T}/git-remote-keybase" \ - golang-build_src_compile - EGO_PN="github.com/keybase/kbfs/redirector" \ - EGO_BUILD_FLAGS="-tags production -o ${T}/keybase-redirector" \ - golang-build_src_compile -} - -src_test() { - EGO_PN="github.com/keybase/kbfs/kbfsfuse" \ - golang-build_src_test -} - -src_install() { - dobin "${T}/kbfsfuse" - dobin "${T}/git-remote-keybase" - dobin "${T}/keybase-redirector" - systemd_douserunit "${S}/packaging/linux/systemd/kbfs.service" -} diff --git a/app-crypt/kbfs/kbfs-2.6.0.ebuild b/app-crypt/kbfs/kbfs-2.6.0.ebuild deleted file mode 100644 index 41a15fe68057..000000000000 --- a/app-crypt/kbfs/kbfs-2.6.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit golang-build systemd - -DESCRIPTION="Keybase Filesystem (KBFS)" -HOMEPAGE="https://keybase.io/docs/kbfs" -SRC_URI="https://github.com/keybase/kbfs/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND=" - app-crypt/gnupg - sys-fs/fuse - " - -src_unpack() { - unpack "${P}.tar.gz" - mkdir -vp "${S}/src/github.com/keybase" || die - ln -vs "${S}" "${S}/src/github.com/keybase/kbfs" || die -} - -src_compile() { - EGO_PN="github.com/keybase/kbfs/kbfsfuse" \ - EGO_BUILD_FLAGS="-tags production -o ${T}/kbfsfuse" \ - golang-build_src_compile - EGO_PN="github.com/keybase/kbfs/kbfsgit/git-remote-keybase" \ - EGO_BUILD_FLAGS="-tags production -o ${T}/git-remote-keybase" \ - golang-build_src_compile - EGO_PN="github.com/keybase/kbfs/redirector" \ - EGO_BUILD_FLAGS="-tags production -o ${T}/keybase-redirector" \ - golang-build_src_compile -} - -src_test() { - EGO_PN="github.com/keybase/kbfs/kbfsfuse" \ - golang-build_src_test -} - -src_install() { - dobin "${T}/kbfsfuse" - dobin "${T}/git-remote-keybase" - dobin "${T}/keybase-redirector" - systemd_douserunit "${S}/packaging/linux/systemd/kbfs.service" -} diff --git a/app-crypt/kbfs/kbfs-2.8.0.ebuild b/app-crypt/kbfs/kbfs-2.8.0.ebuild deleted file mode 100644 index f6dfded5dc62..000000000000 --- a/app-crypt/kbfs/kbfs-2.8.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit golang-build systemd - -DESCRIPTION="Keybase Filesystem (KBFS)" -HOMEPAGE="https://keybase.io/docs/kbfs" -SRC_URI="https://github.com/keybase/kbfs/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND=" - app-crypt/gnupg - sys-fs/fuse - " - -src_unpack() { - unpack "${P}.tar.gz" - mkdir -vp "${S}/src/github.com/keybase" || die - ln -vs "${S}" "${S}/src/github.com/keybase/kbfs" || die -} - -src_compile() { - EGO_PN="github.com/keybase/kbfs/kbfsfuse" \ - EGO_BUILD_FLAGS="-tags production -o ${T}/kbfsfuse" \ - golang-build_src_compile - EGO_PN="github.com/keybase/kbfs/kbfsgit/git-remote-keybase" \ - EGO_BUILD_FLAGS="-tags production -o ${T}/git-remote-keybase" \ - golang-build_src_compile - EGO_PN="github.com/keybase/kbfs/redirector" \ - EGO_BUILD_FLAGS="-tags production -o ${T}/keybase-redirector" \ - golang-build_src_compile -} - -src_test() { - EGO_PN="github.com/keybase/kbfs/kbfsfuse" \ - golang-build_src_test -} - -src_install() { - dobin "${T}/kbfsfuse" - dobin "${T}/git-remote-keybase" - dobin "${T}/keybase-redirector" - systemd_douserunit "${S}/packaging/linux/systemd/kbfs.service" -} diff --git a/app-crypt/kbfs/kbfs-6.0.2.ebuild b/app-crypt/kbfs/kbfs-6.0.2.ebuild new file mode 100644 index 000000000000..b43cf2f164e1 --- /dev/null +++ b/app-crypt/kbfs/kbfs-6.0.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +DESCRIPTION="Keybase Filesystem (KBFS)" +HOMEPAGE="https://keybase.io/docs/kbfs" + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://github.com/keybase/client.git" + inherit git-r3 +else + SRC_URI="https://github.com/keybase/client/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI+=" https://dev.gentoo.org/~nicolasbock/${P}-deps.tar.xz" + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +LICENSE="BSD" +SLOT="0" + +RDEPEND=" + app-crypt/gnupg + sys-fs/fuse:0= +" + +src_unpack() { + default + if [[ ${PV} == *9999 ]]; then + git-r3_src_unpack + GOMODCACHE="${S}/go/go-mod" + pushd "${S}/go" || die + ego mod download + popd || die + else + ln -vs "client-${PV}" "${P}" || die + mkdir -vp "${S}/src/github.com/keybase" || die + ln -vs "${S}" "${S}/src/github.com/keybase/client" || die + fi +} + +src_compile() { + pushd ./go/kbfs/kbfsfuse || die + ego build -tags production -o "${T}/kbfsfuse" + popd || die + pushd ./go/kbfs/kbfsgit/git-remote-keybase || die + ego build -tags production -o "${T}/git-remote-keybase" + popd || die + pushd ./go/kbfs/redirector || die + ego build -tags production -o "${T}/keybase-redirector" + popd || die +} + +src_test() { + pushd ./go/kbfs/kbfsfuse || die + ego test + popd || die +} + +src_install() { + dobin "${T}/kbfsfuse" + dobin "${T}/git-remote-keybase" + dobin "${T}/keybase-redirector" + systemd_douserunit "${S}/packaging/linux/systemd/kbfs.service" + systemd_douserunit "${S}/packaging/linux/systemd/keybase-redirector.service" +} diff --git a/app-crypt/kbfs/kbfs-6.2.4.ebuild b/app-crypt/kbfs/kbfs-6.2.4.ebuild new file mode 100644 index 000000000000..835f820a30b0 --- /dev/null +++ b/app-crypt/kbfs/kbfs-6.2.4.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +DESCRIPTION="Keybase Filesystem (KBFS)" +HOMEPAGE="https://keybase.io/docs/kbfs" + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://github.com/keybase/client.git" + inherit git-r3 +else + SRC_URI="https://github.com/keybase/client/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI+=" https://dev.gentoo.org/~nicolasbock/${P}-deps.tar.xz" + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +LICENSE="BSD" +SLOT="0" + +RDEPEND=" + app-crypt/gnupg + sys-fs/fuse:0= +" + +src_unpack() { + default + if [[ ${PV} == *9999 ]]; then + git-r3_src_unpack + GOMODCACHE="${S}/go/go-mod" + pushd "${S}/go" || die + ego mod download + popd || die + else + ln -vs "client-${PV}" "${P}" || die + mkdir -vp "${S}/src/github.com/keybase" || die + ln -vs "${S}" "${S}/src/github.com/keybase/client" || die + fi +} + +src_compile() { + pushd ./go/kbfs/kbfsfuse || die + ego build -tags production -o "${T}/kbfsfuse" + popd || die + pushd ./go/kbfs/kbfsgit/git-remote-keybase || die + ego build -tags production -o "${T}/git-remote-keybase" + popd || die + pushd ./go/kbfs/redirector || die + ego build -tags production -o "${T}/keybase-redirector" + popd || die +} + +src_test() { + pushd ./go/kbfs/kbfsfuse || die + ego test + popd || die +} + +src_install() { + dobin "${T}/kbfsfuse" + dobin "${T}/git-remote-keybase" + dobin "${T}/keybase-redirector" + systemd_douserunit "${S}/packaging/linux/systemd/kbfs.service" + systemd_douserunit "${S}/packaging/linux/systemd/keybase-redirector.service" +} diff --git a/app-crypt/kbfs/kbfs-9999.ebuild b/app-crypt/kbfs/kbfs-9999.ebuild index d6752264b28c..835f820a30b0 100644 --- a/app-crypt/kbfs/kbfs-9999.ebuild +++ b/app-crypt/kbfs/kbfs-9999.ebuild @@ -1,46 +1,61 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit git-r3 golang-build systemd +inherit go-module systemd DESCRIPTION="Keybase Filesystem (KBFS)" HOMEPAGE="https://keybase.io/docs/kbfs" -EGIT_REPO_URI="https://github.com/keybase/kbfs.git" + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://github.com/keybase/client.git" + inherit git-r3 +else + SRC_URI="https://github.com/keybase/client/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI+=" https://dev.gentoo.org/~nicolasbock/${P}-deps.tar.xz" + KEYWORDS="~amd64 ~arm64 ~x86" +fi LICENSE="BSD" SLOT="0" -KEYWORDS="" -IUSE="git" -DEPEND="" RDEPEND=" app-crypt/gnupg sys-fs/fuse:0= - " +" src_unpack() { - git-r3_src_unpack - mkdir -vp "${S}/src/github.com/keybase" || die - ln -vs "${S}" "${S}/src/github.com/keybase/kbfs" || die + default + if [[ ${PV} == *9999 ]]; then + git-r3_src_unpack + GOMODCACHE="${S}/go/go-mod" + pushd "${S}/go" || die + ego mod download + popd || die + else + ln -vs "client-${PV}" "${P}" || die + mkdir -vp "${S}/src/github.com/keybase" || die + ln -vs "${S}" "${S}/src/github.com/keybase/client" || die + fi } src_compile() { - EGO_PN="github.com/keybase/kbfs/kbfsfuse" \ - EGO_BUILD_FLAGS="-tags production -o ${T}/kbfsfuse" \ - golang-build_src_compile - EGO_PN="github.com/keybase/kbfs/kbfsgit/git-remote-keybase" \ - EGO_BUILD_FLAGS="-tags production -o ${T}/git-remote-keybase" \ - golang-build_src_compile - EGO_PN="github.com/keybase/kbfs/redirector" \ - EGO_BUILD_FLAGS="-tags production -o ${T}/keybase-redirector" \ - golang-build_src_compile + pushd ./go/kbfs/kbfsfuse || die + ego build -tags production -o "${T}/kbfsfuse" + popd || die + pushd ./go/kbfs/kbfsgit/git-remote-keybase || die + ego build -tags production -o "${T}/git-remote-keybase" + popd || die + pushd ./go/kbfs/redirector || die + ego build -tags production -o "${T}/keybase-redirector" + popd || die } src_test() { - EGO_PN="github.com/keybase/kbfs/kbfsfuse" \ - golang-build_src_test + pushd ./go/kbfs/kbfsfuse || die + ego test + popd || die } src_install() { @@ -48,4 +63,5 @@ src_install() { dobin "${T}/git-remote-keybase" dobin "${T}/keybase-redirector" systemd_douserunit "${S}/packaging/linux/systemd/kbfs.service" + systemd_douserunit "${S}/packaging/linux/systemd/keybase-redirector.service" } diff --git a/app-crypt/kbfs/metadata.xml b/app-crypt/kbfs/metadata.xml index 577705e140ba..4ce1f52b1ca5 100644 --- a/app-crypt/kbfs/metadata.xml +++ b/app-crypt/kbfs/metadata.xml @@ -1,12 +1,19 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>ran.dall@icloud.com</email> + <name>Randall T. Vasquez</name> + </maintainer> <maintainer type="person"> <email>nicolasbock@gentoo.org</email> + <name>Nicolas Bock</name> </maintainer> - <use> - <flag name="git"> - Build the Git remote helper for storing repositories in Keybase - </flag> - </use> + <longdescription lang="en"> + The official Keybase implementation of the client-side code for the + Keybase filesystem (KBFS), a cryptographically secure filesystem. + </longdescription> + <upstream> + <remote-id type="github">keybase/client</remote-id> + </upstream> </pkgmetadata> |