29 lines
862 B
Bash
29 lines
862 B
Bash
|
# 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 <iskander.zemmouri@mailbox.org>"
|
||
|
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
|
||
|
}
|
||
|
post_install() {
|
||
|
sed -n '1,28p' pam_ssh_agent_auth.c > LICENSE
|
||
|
vlicense LICENSE
|
||
|
}
|