From 8c3a440d69331b9c340bde2b9a652a3657daadb9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 4 May 2023 16:58:47 +0200 Subject: openvpn3: 19_beta-2 -> 20-1 --- openvpn3/PKGBUILD | 9 ++++----- openvpn3/openvpn3.install | 4 ++++ 2 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 openvpn3/openvpn3.install (limited to 'openvpn3') 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 +} -- cgit v1.2.3-70-g09d2