aboutsummaryrefslogtreecommitdiff
path: root/kunoisayami/pam_ssh_agent_auth_patched
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2021-10-21 20:47:30 +0800
committerKunoiSayami <[email protected]>2021-10-21 20:47:30 +0800
commit69b0dc04d5a4c13f10c1ae902234acf418ccb4f4 (patch)
tree74ed134351a84c9983af0f5f25461d5bbafde1e7 /kunoisayami/pam_ssh_agent_auth_patched
init
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'kunoisayami/pam_ssh_agent_auth_patched')
-rw-r--r--kunoisayami/pam_ssh_agent_auth_patched/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/kunoisayami/pam_ssh_agent_auth_patched/PKGBUILD b/kunoisayami/pam_ssh_agent_auth_patched/PKGBUILD
new file mode 100644
index 0000000..be8d2e7
--- /dev/null
+++ b/kunoisayami/pam_ssh_agent_auth_patched/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: KunoiSayami <[email protected]>
+pkgname=pam_ssh_agent_auth_patched
+pkgver=0.10.4
+pkgrel=3
+pkgdesc="PAM module which permits authentication via the keyring in a forwarded ssh-agent."
+arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
+url="https://github.com/jbeverly/pam_ssh_agent_auth"
+license=('custom:OpenSSL')
+source=(pam_ssh_agent_auth_patched::git://github.com/FlorianFranzen/pam_ssh_agent_auth#commit=db2d41937e714b56d17771f8ee3d61f11c26cc7e)
+md5sums=('SKIP')
+makedepends=('git')
+depends=('openssl')
+optdepends=('openssh: standard ssh-agent'
+ 'gnupg: gpg ssh-agent')
+provides=('pam_ssh_agent_auth')
+conflicts=('pam_ssh_agent_auth')
+
+
+prepare() {
+ cd "$srcdir/$pkgname/ed25519-donna"
+ git submodule init
+ git submodule update
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ ./configure --prefix=/usr --with-mantype=man --libexecdir=/usr/lib/security --without-openssl-header-check
+ make -j $(nproc)
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir/" install
+
+ install -Dm644 LICENSE.OpenSSL "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}