1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/community/openvpn-auth-script/APKBUILD
2020-05-24 18:07:03 +02:00

27 lines
973 B
Text

# 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"