Commit ce095fc4 authored by Jakub Jirutka's avatar Jakub Jirutka
Browse files

main/openvpn: allow to pass additional arguments for openvpn

parent 75d570ec
......@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openvpn
pkgver=2.4.8
pkgrel=1
pkgrel=2
pkgdesc="A robust, and highly configurable VPN (Virtual Private Network)"
url="https://openvpn.net/"
arch="all"
......@@ -63,7 +63,7 @@ pam() {
}
sha512sums="d37a768c7f8683c23ae0d73d7e9947b5a1dac26580b0d7fe72454319acfe40375fbe150e68daee865a78e0269740e4ac5c96cdb8a7f02a1287ea93752ee0be06 openvpn-2.4.8.tar.xz
50589e6b140bdf1c0454c5bb45b154e963c51e0e2f46e7e4538e0a784ac4f2b3c714a7f5fe1d25c56643f798503b42091e304dd26e664636f06ad453a2a39235 openvpn.initd
6b2353aca9df7f43044e4e37990491b4ba077e259ebe13b8f2eb43e35ca7a617c1a65c5bfb8ab05e87cf12c4444184ae064f01f9abbb3c023dbbc07ff3f9c84e openvpn.confd
382cc9d938cf4ddbf1d32b7f08889a3f7ff20cbf79a5e4bedd87402c094bfce92e28761b109e9a069cc57c9eb8b586b81b94eced097c694ddf3728a5cc31000c openvpn.initd
1f14d4bd7a4a026c276af048ce647501c15358c6b0d184e95c49be5b8184188c8edafb76ed94835cdbb314187ee3b5b3ccd852e3a47add0599814c402309bece openvpn.confd
cdb73c9a5b1eb56e9cbd29955d94297ce5a87079419cd626d6a0b6680d88cbf310735a53f794886df02030b687eaea553c7c569a8ea1282a149441add1c65760 openvpn.up
4456880d5c2db061219ba94e4052786700efa5e685f03b0d12d75a6023e3c0fc7b5242cc3d2bd3988e42fcd99701ab13a6257b1a0943b812318d30c64843ad27 openvpn.down"
......@@ -22,3 +22,6 @@
# resolvconf) if given DNS information by the OpenVPN server.
# Set to "no" to stop this.
#peer_dns="yes"
# Additional arguments to pass to openvpn.
#command_args=
......@@ -26,7 +26,8 @@ command_args="
--config $cfgfile
--writepid $pidfile
--setenv RC_SVCNAME $RC_SVCNAME
--setenv PEER_DNS $peer_dns"
--setenv PEER_DNS $peer_dns
$command_args"
required_dirs="$cfgdir"
required_files="$cfgfile"
......
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