From 28df05277dcc21ff34e4a4c0ed11a07fda51dced Mon Sep 17 00:00:00 2001 From: Duncan Overbruck Date: Tue, 3 Feb 2015 11:26:32 +0100 Subject: [PATCH] New package: otpw-1.5 --- srcpkgs/otpw/files/ssh-otpw | 2 ++ srcpkgs/otpw/template | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 srcpkgs/otpw/files/ssh-otpw create mode 100644 srcpkgs/otpw/template diff --git a/srcpkgs/otpw/files/ssh-otpw b/srcpkgs/otpw/files/ssh-otpw new file mode 100644 index 0000000000..a3d35062ef --- /dev/null +++ b/srcpkgs/otpw/files/ssh-otpw @@ -0,0 +1,2 @@ +auth sufficient pam_otpw.so +session optional pam_otpw.so diff --git a/srcpkgs/otpw/template b/srcpkgs/otpw/template new file mode 100644 index 0000000000..25bd8f095a --- /dev/null +++ b/srcpkgs/otpw/template @@ -0,0 +1,22 @@ +# Template file for 'otpw' +pkgname=otpw +version=1.5 +revision=1 +build_style=gnu-makefile +make_install_args="PAMLIB=/usr/lib/security/" +conf_files="/etc/pam.d/ssh-otpw" +makedepends="pam-devel" +short_desc="A one-time password login package" +maintainer="Duncan Overbruck " +license="GPL-3" +homepage="http://www.cl.cam.ac.uk/~mgk25/otpw.html" +distfiles="https://www.cl.cam.ac.uk/%7Emgk25/download/otpw-${version}.tar.gz" +checksum=98aca38a61c7713677b96f24426ca7053480c0fd077d91b1e99bc9f92ccb832a + +do_install() { + vinstall pam_otpw.so 755 /usr/lib/security + vman pam_otpw.8 + vinstall $FILESDIR/ssh-otpw 644 /etc/pam.d + vbin otpw-gen + vman otpw-gen.1 +}