mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 17:33:03 +02:00
New package: otpw-1.5
This commit is contained in:
parent
2d9c6ac3d3
commit
28df05277d
2 changed files with 24 additions and 0 deletions
2
srcpkgs/otpw/files/ssh-otpw
Normal file
2
srcpkgs/otpw/files/ssh-otpw
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
auth sufficient pam_otpw.so
|
||||||
|
session optional pam_otpw.so
|
22
srcpkgs/otpw/template
Normal file
22
srcpkgs/otpw/template
Normal file
|
@ -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 <mail@duncano.de>"
|
||||||
|
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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue