From 34f587cc7e91121f1470452e9d8a5b73a225b28b Mon Sep 17 00:00:00 2001 From: Iskander Zemmouri Date: Sat, 4 Apr 2020 23:21:32 +0200 Subject: [PATCH] New package: pam_ssh_agent_auth-0.10.3 --- srcpkgs/pam_ssh_agent_auth/files/LICENSE | 22 +++++++++++++++++++++ srcpkgs/pam_ssh_agent_auth/template | 25 ++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 srcpkgs/pam_ssh_agent_auth/files/LICENSE create mode 100644 srcpkgs/pam_ssh_agent_auth/template diff --git a/srcpkgs/pam_ssh_agent_auth/files/LICENSE b/srcpkgs/pam_ssh_agent_auth/files/LICENSE new file mode 100644 index 00000000000..df0e7f4e864 --- /dev/null +++ b/srcpkgs/pam_ssh_agent_auth/files/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2016 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/srcpkgs/pam_ssh_agent_auth/template b/srcpkgs/pam_ssh_agent_auth/template new file mode 100644 index 00000000000..786bd720c61 --- /dev/null +++ b/srcpkgs/pam_ssh_agent_auth/template @@ -0,0 +1,25 @@ +# Template file for 'pam_ssh_agent_auth' +pkgname=pam_ssh_agent_auth +version=0.10.3 +revision=1 +build_style=gnu-configure +hostmakedepends="perl" +makedepends="libressl-devel pam-devel" +short_desc="PAM module providing authentication through a ssh agent" +maintainer="Iskander Zemmouri " +license="MIT" +homepage="http://pamsshagentauth.sourceforge.net/" +distfiles="${SOURCEFORGE_SITE}/pamsshagentauth/${pkgname}-${version}.tar.bz2" +checksum=3c53d358d6eaed1b211239df017c27c6f9970995d14102ae67bae16d4f47a763 + +post_extract() { + vsed -e '/^AR=/d' -i Makefile.in -i openbsd-compat/Makefile.in + vsed -e 's/^LD=.*/LD=$(CC)/' -i Makefile.in +} + +do_install() { + vman pam_ssh_agent_auth.8 + vmkdir /usr/lib/security + vcopy pam_ssh_agent_auth.so /usr/lib/security + vlicense ${FILESDIR}/LICENSE +}