blob: a11e8e830ef9eb24f000d6f1b9bd54c4c337d75a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=openvpn-auth-script
_projname=auth-script-openvpn
pkgver=0_git20180315
_gitrev=623982a5d63dd2b7b2b9f9295d10d96a56d58894
pkgrel=0
pkgdesc="OpenVPN plugin to auth connections using non-blocking external script"
url="https://github.com/fac/auth-script-openvpn"
arch="all"
license="Apache-2.0"
depends="openvpn"
makedepends="openvpn-dev"
source="https://github.com/fac/auth-script-openvpn/archive/$_gitrev/$_projname-$_gitrev.tar.gz"
builddir="$srcdir/$_projname-$_gitrev"
options="!check" # no tests provided
build() {
make
}
package() {
install -D -m 755 openvpn-plugin-auth-script.so \
"$pkgdir"/usr/lib/openvpn/plugins/openvpn-plugin-auth-script.so
}
sha512sums="f4de132122596e700f30c8082ae768c4d3ff786f35419c88988521319fb7b37b89d782f1db44c0b7c7c3c32ec755b9271520d6211715fb2c3c872fac2d926219 auth-script-openvpn-623982a5d63dd2b7b2b9f9295d10d96a56d58894.tar.gz"
|