34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
# Contributor: Stefan Reimer <stefan@zero-downtime.net>
|
|
# Maintainer: Stefan Reimer <stefan@zero-downtime.net>
|
|
pkgname=openvpn-auth-oauth2
|
|
pkgver=1.22.0
|
|
pkgrel=0
|
|
pkgdesc="OpenVPN management client that handles the single sign-on (SSO) authentication against various OIDC providers"
|
|
url="https://github.com/jkroepke/openvpn-auth-oauth2"
|
|
arch="x86_64 aarch64"
|
|
license="MIT"
|
|
depends="openvpn"
|
|
makedepends="go bash make"
|
|
options="!check chmod-clean"
|
|
subpackages="$pkgname-openrc"
|
|
source="
|
|
$pkgname-$pkgver.tar.gz::https://github.com/jkroepke/openvpn-auth-oauth2/archive/refs/tags/v$pkgver.tar.gz
|
|
openvpn-auth-oauth2.initd
|
|
"
|
|
|
|
build() {
|
|
make build
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 openvpn-auth-oauth2-$pkgver "$pkgdir"/usr/bin/openvpn-auth-oauth2
|
|
|
|
install -Dm644 packaging/etc/openvpn-auth-oauth2/config.yaml "$pkgdir"/etc/conf.d/openvpn-auth-oauth2.yaml
|
|
install -Dm755 "$srcdir"/"$pkgname".initd "$pkgdir"/etc/init.d/$pkgname
|
|
}
|
|
|
|
sha512sums="
|
|
872b8a637a07c689d4c1699993b5173732714e8070b0e4253d126ef0caf667dd936c0f66bd90cfdd227c717a0c9d346bb11f7d26dbc8a1d377148807a8d4a05e openvpn-auth-oauth2-1.22.0.tar.gz
|
|
6dcaa021d495c4e7ddb3501e9ce11a09d7c286a6eda579cff75a2c6b6e12794ec35069941d81ce411209212cab6d0707cc0a00e99327be13b10acb23b83c6f35 openvpn-auth-oauth2.initd
|
|
"
|