blob: 4f67033cbe59de22fca0b0108199f1d04b6bd8ef (
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
28
29
30
31
32
33
34
35
36
37
38
39
|
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=openvpn-ad-check
pkgver=1.1
pkgrel=2
pkgdesc="Authenticate OpenVPN users against AD server and verify if they are member of a specific group."
url="https://sourceforge.net/p/openvpnadcheck"
arch="noarch"
license="GPL"
depends="openvpn lua-ldap"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="https://sourceforge.net/projects/openvpnadcheck/files/$pkgname-$pkgver.tgz"
_builddir="$srcdir/$pkgname"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
}
package() {
mkdir -p "$pkgdir"/etc/openvpn
cd "$_builddir"
install -c * "$pkgdir"/etc/openvpn
chmod 644 "$pkgdir"/etc/openvpn/openvpnadcheck.conf
}
sha512sums="0d2237acb3b227184b4f7c1ff34516d1dc0a04b09faba940afa9c8bb179cd608f43939f851109662dd0956ba9b8e24e2aad416e140554cc5b4006202fad2feab openvpn-ad-check-1.1.tgz"
|