diff options
-rw-r--r-- | main/openvpn/APKBUILD | 4 | ||||
-rw-r--r-- | main/openvpn/openvpn.pre-install | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/main/openvpn/APKBUILD b/main/openvpn/APKBUILD index 466628b6d..7f96559a1 100644 --- a/main/openvpn/APKBUILD +++ b/main/openvpn/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=openvpn pkgver=2.2.0 -pkgrel=1 +pkgrel=2 pkgdesc="A robust, and highly configurable VPN (Virtual Private Network)" url="http://openvpn.sourceforge.net/" arch="all" @@ -9,7 +9,7 @@ license="custom" subpackages="$pkgname-doc $pkgname-easy-rsa:easy_rsa" depends="iproute2" makedepends="openssl-dev lzo-dev" -install= +install="$pkgname.pre-install" source="http://swupdate.openvpn.net/community/releases/$pkgname-$pkgver.tar.gz openvpn.initd openvpn.confd diff --git a/main/openvpn/openvpn.pre-install b/main/openvpn/openvpn.pre-install new file mode 100644 index 000000000..e9c6a0d1e --- /dev/null +++ b/main/openvpn/openvpn.pre-install @@ -0,0 +1,5 @@ +#!/bin/sh + +addgroup -S openvpn 2>/dev/null +adduser -S -H -h /dev/null -s /bin/false -D -G openvpn openvpn 2>/dev/null +exit 0 |