Package Details: ssh-tpm-agent-git 0.5.0.r12.1a148c8-1

Git Clone URL: https://aur.archlinux.org/ssh-tpm-agent-git.git (read-only, click to copy)
Package Base: ssh-tpm-agent-git
Description: ssh-agent compatible agent using TPM backed keys
Upstream URL: https://github.com/Foxboron/ssh-tpm-agent
Licenses: MIT
Conflicts: ssh-tpm-agent
Provides: ssh-tpm-agent
Submitter: fuero
Maintainer: fuero
Last Packager: fuero
Votes: 2
Popularity: 0.004277
First Submitted: 2023-08-03 07:55 (UTC)
Last Updated: 2024-07-15 10:51 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

fuero commented on 2024-06-24 19:01 (UTC)

Thank you for your input.

When writing the package, I adhered to https://wiki.archlinux.org/title/Go_package_guidelines#Flags_and_build_options. With the way upstream set up their Makefile, I don't see a good way to do this. If you have an idea, please share.

I've changed the package to include your other suggestions and used upstream's Makefile for everything but compilation.

nl6720 commented on 2024-06-24 17:48 (UTC) (edited on 2024-06-24 17:54 (UTC) by nl6720)

It should be possible to simplify build() and package(). See ssh-tpm-agent PKGBUILD.

Also missing:

conflicts=("${pkgname%-git}")
provides=("${pkgname%-git}=${pkgver}")

nl6720 commented on 2024-06-24 17:46 (UTC)

git is missing from makedepends.

==> ERROR: Cannot find the git package needed to handle git sources.

fuero commented on 2024-03-24 09:03 (UTC)

@seaboard_hiccoug done

seaboard_hiccoug commented on 2024-03-22 02:27 (UTC)

Could we have this patch added to install ssh-tpm-add and ssh-tpm-hostkeys

diff --git a/PKGBUILD b/PKGBUILD
index d713297..e80337a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@ _pkgname=ssh-tpm-agent
 _repo_name="${_pkgname}.git"
 pkgname="${_pkgname}-git"
 # renovate: pkgName=https://github.com/Foxboron/ssh-tpm-agent depName=ssh-tpm-agent-git
-pkgver=0.1.0.r12.6092d3f
+pkgver=0.3.1.r1.5924ae1
 pkgrel=1
 pkgdesc='ssh-agent compatible agent using TPM backed keys'
 arch=('x86_64')
@@ -43,8 +43,10 @@ _go_build() {

 build() {
   cd "${srcdir}/${_repo_name}"
-  _go_build "ssh-tpm-agent.bin" ./cmd/ssh-tpm-agent
-  _go_build "ssh-tpm-keygen.bin" ./cmd/ssh-tpm-keygen
+  _go_build "ssh-tpm-agent.bin"    ./cmd/ssh-tpm-agent
+  _go_build "ssh-tpm-keygen.bin"   ./cmd/ssh-tpm-keygen
+  _go_build "ssh-tpm-add.bin"      ./cmd/ssh-tpm-add
+  _go_build "ssh-tpm-hostkeys.bin" ./cmd/ssh-tpm-hostkeys
 }

 check() {
@@ -54,8 +56,10 @@ check() {

 package () {
   cd "${srcdir}/${_repo_name}"
-  install -Dm 755 ssh-tpm-agent.bin "${pkgdir}/usr/bin/ssh-tpm-agent"
-  install -Dm 755 ssh-tpm-keygen.bin "${pkgdir}/usr/bin/ssh-tpm-keygen"
+  install -Dm 755 ssh-tpm-agent.bin    "${pkgdir}/usr/bin/ssh-tpm-agent"
+  install -Dm 755 ssh-tpm-keygen.bin   "${pkgdir}/usr/bin/ssh-tpm-keygen"
+  install -Dm 755 ssh-tpm-add.bin      "${pkgdir}/usr/bin/ssh-tpm-add"
+  install -Dm 755 ssh-tpm-hostkeys.bin "${pkgdir}/usr/bin/ssh-tpm-hostkeys"
   install -Dm 644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

   for _file in *.md