diff options
-rw-r--r-- | app-crypt/kbfs/ChangeLog | 6 | ||||
-rw-r--r-- | app-crypt/kbfs/Manifest | 5 | ||||
-rw-r--r-- | app-crypt/kbfs/kbfs-2.11.0-r1.ebuild | 51 | ||||
-rw-r--r-- | app-crypt/kbfs/kbfs-9999.ebuild | 51 | ||||
-rw-r--r-- | app-crypt/kbfs/metadata.xml | 12 |
5 files changed, 125 insertions, 0 deletions
diff --git a/app-crypt/kbfs/ChangeLog b/app-crypt/kbfs/ChangeLog new file mode 100644 index 0000000..e9b4cea --- /dev/null +++ b/app-crypt/kbfs/ChangeLog @@ -0,0 +1,6 @@ +*kbfs-2.11.0-r1 (26 Oct 2022) +*kbfs-9999 (26 Oct 2022) + + 26 Oct 2022; AstroFloyd <AstroFloyd@gmail.com> +kbfs-2.11.0-r1.ebuild, + +kbfs-9999.ebuild, +metadata.xml: + app-crypt/kbfs: initial ebuild for v9999. diff --git a/app-crypt/kbfs/Manifest b/app-crypt/kbfs/Manifest new file mode 100644 index 0000000..119acca --- /dev/null +++ b/app-crypt/kbfs/Manifest @@ -0,0 +1,5 @@ +DIST kbfs-2.11.0.tar.gz 4520872 BLAKE2B 4472360205f42f59bc18f64634b4e10f38f532db262de38260a459faf0d76b9f805fb3d5e12d21afecbd51a980e63c68cc2be47b4e5ab597b7b0bfdd491dd54d SHA512 f735f7fc1c958eabcb38933f19edeba0cd3854e3d5a2030c6e4301c9cea714c432993e099b2199060e1275982755f60728545e71151c5796eb9be4978790e2f5 +EBUILD kbfs-2.11.0-r1.ebuild 1259 BLAKE2B dd406c47963ab65acdb6838826a52d805548548aa2fdb4ccd980178f93cbac208852554984f0834f99ec4397c864bb1ac004e53e11845af2c6afdd16671b5ab0 SHA512 0c3f898ac0519600654dd8991d995501d9916da15f23e1dce09c037c906d2f28ca8927fb7bcf04d24eabb71baae846cee0bd6b25e398464020c3f918e2436db2 +EBUILD kbfs-9999.ebuild 1228 BLAKE2B a6908de46ebe0218d4f98fb9acfc143b4db654bfa6301915961d5cb1938b3f4501d9add134b393312f39c7094af3833318c8d4655e5091a4bc0887b6e38496c2 SHA512 4b76821566817d649fd052062431dba5415b0a52112b91ae8ae5a11c0a4e0d794dff507a0acec3b695f4e36d4e7b094ce30eb691bbfbd55e31e83a26380e5232 +MISC ChangeLog 209 BLAKE2B 2504bfbb37994609e88bbcfb7ebed9424e9c20c16ce9884c64c6a06eff1a6820639b7c94ee54d3c2f880b2834360e4b66439f95403cdda5e552b20d779b08348 SHA512 09586027ada1d0788cd21e8d9655bc0868554bdb3dd2f947f18198254aaed75fe652da1462e5d4a22beb1928c8c414bbb2df55ac48fb73427799e71da3ab6207 +MISC metadata.xml 335 BLAKE2B 2f2f44f5d04514f5526d07b851ee2a4b17890eb36ddcf823c95a57c1a1be84dd4c0d43bd11ecaefd797873282c14df161ea44bdb845f65735809720f6e9044ac SHA512 0c133b9a64d67ed69aac9b4b9a6489156d37dcfa5541c8345d110569b94bc8a3044cb3adcf38675ff6b9faf82b34355664351295b69e92ad15aca0d2fe638616 diff --git a/app-crypt/kbfs/kbfs-2.11.0-r1.ebuild b/app-crypt/kbfs/kbfs-2.11.0-r1.ebuild new file mode 100644 index 0000000..c97cc13 --- /dev/null +++ b/app-crypt/kbfs/kbfs-2.11.0-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 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-9999.ebuild b/app-crypt/kbfs/kbfs-9999.ebuild new file mode 100644 index 0000000..a3bee1a --- /dev/null +++ b/app-crypt/kbfs/kbfs-9999.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit git-r3 golang-build systemd + +DESCRIPTION="Keybase Filesystem (KBFS)" +HOMEPAGE="https://keybase.io/docs/kbfs" +EGIT_REPO_URI="https://github.com/keybase/kbfs.git" + +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 +} + +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/metadata.xml b/app-crypt/kbfs/metadata.xml new file mode 100644 index 0000000..e38d27b --- /dev/null +++ b/app-crypt/kbfs/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>nicolasbock@gentoo.org</email> + </maintainer> + <use> + <flag name="git"> + Build the Git remote helper for storing repositories in Keybase + </flag> + </use> +</pkgmetadata> |