Commit 323d5d66 authored by Alan Messias Cordeiro de Lacerda's avatar Alan Messias Cordeiro de Lacerda Committed by Natanael Copa

OpenVPN-AD-Check

parent 5ff3b969
# Contributor: Alan Messias Cordeiro de Lacerda (alacerda) <alancordeiro@gmail.com>
# Maintainer: Alan Messias Cordeiro de Lacerda (alacerda) <alancordeiro@gmail.com>
pkgname=openvpn-ad-check
pkgver=1
pkgrel=0
pkgdesc="Authenticate OpenVPN users against AD server and verify if they are member of a specific group."
url="https://sourceforge.net/p/openvpnadcheck"
arch="all"
license="GPL"
depends="openvpn lua-ldap"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="http://sourceforge.net/projects/openvpnadcheck/files/openvpnadcheck.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
}
md5sums="50517d06d4c2f4078cb64afae414060c openvpnadcheck.tgz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment