diff options
Diffstat (limited to 'openvpn3')
-rw-r--r-- | openvpn3/PKGBUILD | 9 | ||||
-rw-r--r-- | openvpn3/openvpn3.install | 4 |
2 files changed, 8 insertions, 5 deletions
diff --git a/openvpn3/PKGBUILD b/openvpn3/PKGBUILD index 8a8663a80..617aaa01d 100644 --- a/openvpn3/PKGBUILD +++ b/openvpn3/PKGBUILD @@ -3,8 +3,8 @@ _pkgname=openvpn3-linux pkgname=openvpn3 -pkgver=19_beta -pkgrel=2 +pkgver=20 +pkgrel=1 pkgdesc='OpenVPN 3 Linux client' arch=('i486' 'i686' 'pentium4' 'x86_64' 'aarch64' 'armv7h') url="https://github.com/OpenVPN/$_pkgname" @@ -42,14 +42,14 @@ makedepends=( source=( "git+https://github.com/OpenVPN/$_pkgname.git#tag=v${pkgver}" 'openvpn3.rule' + 'openvpn3.install' 'sysusers-openvpn3.conf' - 'tmpfiles-openvpn3.conf' ) sha256sums=( 'SKIP' 'ec0b8e28ae77b4b074d3eb8a084626e6dcfc587a07bef5d53fe1c6e160c0fc01' + 'a5879d9e637658f5127e849d17f4050bae1f82fa9b25f05bbbbb531867120e8b' '045e914bb6fff5a082314dfc805bb511c9a80170619fa1e94a07825fa977c90a' - 'addc47b54aa48ff83c1ed782aa9f471f26c5cc5cf11e194e0873e0cfd7f2667b' ) build() { @@ -73,5 +73,4 @@ package() { install -Dm644 "$srcdir/$_pkgname/src/shell/bash-completion/openvpn3" "$pkgdir/usr/share/bash-completion/completions/openvpn3" install -Dm644 "../${pkgname}.rule" "$pkgdir/etc/repkg/rules/system/${pkgname}.rule" install -Dm644 "../sysusers-$pkgname.conf" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf" - install -Dm644 "../tmpfiles-$pkgname.conf" "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" } diff --git a/openvpn3/openvpn3.install b/openvpn3/openvpn3.install new file mode 100644 index 000000000..cd76ebfbd --- /dev/null +++ b/openvpn3/openvpn3.install @@ -0,0 +1,4 @@ +post_install() { + sudo openvpn3-admin init-config --write-configs + sudo systemctl reload dbus +} |