void-packages/srcpkgs/pam_radius_auth/template

22 lines
667 B
Bash

# Template file for 'pam_radius_auth'
pkgname=pam_radius_auth
version=1.4.0
revision=1
build_style=gnu-configure
wrksrc="pam_radius-${version}"
conf_files="/etc/raddb/server"
makedepends="pam-devel"
depends="pam"
short_desc="PAM to RADIUS authentication module"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="GPL-2"
homepage="http://freeradius.org/pam_radius_auth/"
distfiles="ftp://ftp.freeradius.org/pub/radius/pam_radius-${version}.tar.gz"
checksum=742d79fc39824726c098e746bd3dc3484f983f5ee082c621c1e848b2c3725305
do_install() {
vinstall pam_radius_auth.so 755 /usr/lib/security/
vmkdir /etc/raddb
vinstall pam_radius_auth.conf 600 /etc/raddb/ server
}