New package: pam_netauth-0.1
This commit is contained in:
parent
da82c71bff
commit
d88536a43b
28
srcpkgs/pam_netauth/template
Normal file
28
srcpkgs/pam_netauth/template
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
# Template file for 'pam_netauth'
|
||||||
|
pkgname=pam_netauth
|
||||||
|
version=0.1
|
||||||
|
revision=1
|
||||||
|
build_style=go
|
||||||
|
go_import_path="github.com/NetAuth/pam_netauth"
|
||||||
|
hostmakedepends="dep"
|
||||||
|
makedepends=pam-devel
|
||||||
|
short_desc="PAM plugin for NetAuth"
|
||||||
|
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://netauth.org"
|
||||||
|
distfiles="https://github.com/NetAuth/pam_netauth/archive/v$version.tar.gz"
|
||||||
|
checksum=2fb958aa9a9508aa1e25a2765397d9a4224af36e72d0b59ba4fe5f546f52fb0e
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
cd $GOSRCPATH
|
||||||
|
dep ensure
|
||||||
|
}
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
go build -x -o pam_netauth.so -buildmode=c-shared -ldflags "${go_ldflags}" ${go_import_path}
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vinstall pam_netauth.so 0755 usr/lib/security/
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user