summaryrefslogtreecommitdiff
path: root/sys-auth
diff options
context:
space:
mode:
authorLibravatar Terin Stock <terinjokes@gmail.com>2024-09-02 20:12:24 +0200
committerLibravatar Terin Stock <terinjokes@gmail.com>2024-09-02 20:30:50 +0200
commitf4517ed32adde7c7c1d075a7551fa9712c9b81d8 (patch)
treeda4e6fbc588053a3be2ac6cbb7393213424ac7cc /sys-auth
parentapp-containers/oras: new package, add 1.2.0 (diff)
downloadebuilds-f4517ed32adde7c7c1d075a7551fa9712c9b81d8.tar.xz
sys-auth/yubikey-agent: new package, add 0.1.6
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/yubikey-agent/Manifest2
-rw-r--r--sys-auth/yubikey-agent/yubikey-agent-0.1.6.ebuild31
2 files changed, 33 insertions, 0 deletions
diff --git a/sys-auth/yubikey-agent/Manifest b/sys-auth/yubikey-agent/Manifest
new file mode 100644
index 0000000..623e0d1
--- /dev/null
+++ b/sys-auth/yubikey-agent/Manifest
@@ -0,0 +1,2 @@
+DIST yubikey-agent-0.1.6-vendor.tar.xz 615460 BLAKE2B dc0ef4e77b899aa36143e575729133535bf1ef3b2684833353313541ec2e56de6cbd85a47d898f1ca32cce814f2796fd7548b1143ad611edab34970ea0f55910 SHA512 74b9647d04a3077ef2534726442f615b00a943dc34abaf782a54801e7b6c288e73bf706096baace0d09bdfe44781326d75b8855bf020e63bc5ac382755c9e598
+DIST yubikey-agent-0.1.6.tar.gz 11378 BLAKE2B 7ad3e86d7653a463d5705a7c79c85c80a71a7d81ecabae91467f6b39de256f78eedf8dbcd6562906f06e84cc5197535a7a7620574a1ccc6419062ec8073afb80 SHA512 6c444f068be53efef54fa6b37ea275d13056fbd1f3944a469e4e5bb485d7a75ff7e270dbe2b61bf159532f8828c89f3a42d85cc8ff31893c81eeb6005d3ea77c
diff --git a/sys-auth/yubikey-agent/yubikey-agent-0.1.6.ebuild b/sys-auth/yubikey-agent/yubikey-agent-0.1.6.ebuild
new file mode 100644
index 0000000..980d796
--- /dev/null
+++ b/sys-auth/yubikey-agent/yubikey-agent-0.1.6.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd
+
+DESCRIPTION="A a seamless ssh-agent for YubiKeys"
+HOMEPAGE="https://github.com/FiloSottile/yubikey-agent"
+BDEPEND=">=dev-lang/go-1.19"
+DEPEND="sys-apps/pcsc-lite"
+RDEPEND="sys-apps/pcsc-lite"
+SRC_URI="https://github.com/FiloSottile/yubikey-agent/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://share.terinstock.com/${P}-vendor.tar.xz"
+
+LICENSE="BSD"
+LICENSE+=" Apache-2.0 MIT"
+SLOT="0"
+KEYWORDS="amd64"
+
+src_compile() {
+ ego build .
+}
+
+src_test() {
+ ego test -v ./...
+}
+
+src_install() {
+ dosbin yubikey-agent
+ systemd_douserunit contrib/systemd/user/yubikey-agent.service
+}