@Pierre Do you have any problem using it on arm64? I used it on raspberry pi 4 several month ago and had no issue.
Search Criteria
Package Details: openvpn3 24-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/openvpn3.git (read-only, click to copy) |
---|---|
Package Base: | openvpn3 |
Description: | OpenVPN 3 Linux client |
Upstream URL: | https://codeberg.org/OpenVPN/openvpn3-linux |
Keywords: | openvpn vpn |
Licenses: | AGPL3 |
Submitter: | bhyoo |
Maintainer: | bhyoo |
Last Packager: | bhyoo |
Votes: | 20 |
Popularity: | 1.43 |
First Submitted: | 2020-07-04 06:51 (UTC) |
Last Updated: | 2024-12-23 12:57 (UTC) |
Dependencies (19)
- gdbusppAUR (gdbuspp-gitAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- jsoncpp (jsoncpp-cmake-gitAUR, jsoncpp-cmakeAUR, jsoncpp-gitAUR)
- libcap-ng (libcap-ng-gitAUR)
- libnl (libnl-gitAUR)
- lz4 (lz4-gitAUR)
- protobuf (protobuf-gitAUR)
- python-dbus
- python-gobject
- python-systemd
- tinyxml2 (tinyxml2-gitAUR)
- util-linux-libs (util-linux-libs-aesAUR, util-linux-libs-selinuxAUR)
- meson (meson-gitAUR) (make)
- python-docutils (make)
- python-jinja (make)
- mbedtls (mbedtls-gitAUR, mbedtls-dtlsAUR) (optional) – mbed TLS version
- openssl (openssl-gitAUR, openssl-staticAUR) (optional) – OpenSSL version
- polkit (polkit-gitAUR, polkit-consolekitAUR) (optional) – for systemd-resolved integration
- repkgAUR (optional) – Automatically rebuild the package on dependency updates
Required by (2)
- eovpn (optional)
- openvpn3-indicator-git
Sources (3)
Latest Comments
« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 Next › Last »
bhyoo commented on 2022-11-09 14:24 (UTC)
Pierre commented on 2022-10-25 18:49 (UTC)
The PKGBUILD lists arch as "any" which wrongly results in a package that is architecture independent. You should set it to e.g. arch=('i686' 'x86_64')
bhyoo commented on 2022-10-04 10:53 (UTC)
Hi @snake.scaly, Thanks for your work. Just patched!
snake.scaly commented on 2022-09-29 01:19 (UTC)
I overlooked one thing. You may also want to add another line to tmpfiles-openvpn3.conf
to explicitly create the /var/lib/openvpn3
directory before creating /var/lib/openvpn3/configs
. If you use my patch as is, the /var/lib/openvpn3/configs
is created with 0755 permissions as expected, but the /var/lib/openvpn3
is 0750 for some reason, so not world-readable. In a Debian installation using the project's official APT source these directories are created with 0755 permissions.
tmpfiles-openvpn3.conf
should look like this:
d /var/lib/openvpn3 0755 openvpn openvpn
d /var/lib/openvpn3/configs 0755 openvpn openvpn
snake.scaly commented on 2022-09-29 00:59 (UTC)
Hi @bhyoo, I had to modify this AUR to make it work on my machine. Maybe it was a user error but somehow the /var/lib/openvpn3 directory got created by the root user instead of openvpn so openvpn-service-configmgr and openvpn-service-sessionmgr couldn't start, ultimately crashing with DBusProxyAccessDeniedException.
To fix this I've added a configuration for /usr/lib/tmpfiles.d to create this directory with the correct ownership beforehand. Below is the full patch, hopefully it's not too much for a comment.
diff --git a/PKGBUILD b/PKGBUILD
index 1bf2a1a..a1f67f9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname=openvpn3-linux
pkgname=openvpn3
pkgver=18_beta
-pkgrel=4
+pkgrel=5
pkgdesc='OpenVPN 3 Linux client'
arch=('any')
url="https://github.com/OpenVPN/$_pkgname"
@@ -23,12 +23,14 @@ makedepends=(
source=(
"git+https://github.com/OpenVPN/$_pkgname.git#tag=v${pkgver}"
'openvpn3.rule'
- 'openvpn3.conf'
+ 'sysusers-openvpn3.conf'
+ 'tmpfiles-openvpn3.conf'
)
sha256sums=(
'SKIP'
'ec0b8e28ae77b4b074d3eb8a084626e6dcfc587a07bef5d53fe1c6e160c0fc01'
- 'a2361bb4060aa351c33bda56f40c470420da64b922d7795ab6ddb19fab16b9c5'
+ 'f977f1bf263c513c6ae20e8ba780a15e0ac19326e21f5ec5d5acc0efb82048fd'
+ 'ff6c83e9f2d01b0102b0928d75019056f124de4dfad9156af518db05f3111649'
)
build() {
@@ -51,5 +53,6 @@ package() {
make DESTDIR="$pkgdir" install
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 "../$pkgname.conf" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+ 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.conf b/openvpn3.conf
deleted file mode 100644
index 99c619f..0000000
--- a/openvpn3.conf
+++ /dev/null
@@ -1 +0,0 @@
-u openvpn - "OpenVPN"
\ No newline at end of file
diff --git a/sysusers-openvpn3.conf b/sysusers-openvpn3.conf
new file mode 100644
index 0000000..3196708
--- /dev/null
+++ b/sysusers-openvpn3.conf
@@ -0,0 +1,2 @@
+u openvpn - "OpenVPN"
+g openvpn - "OpenVPN"
diff --git a/tmpfiles-openvpn3.conf b/tmpfiles-openvpn3.conf
new file mode 100644
index 0000000..91ad337
--- /dev/null
+++ b/tmpfiles-openvpn3.conf
@@ -0,0 +1 @@
+d /var/lib/openvpn3/configs 0755 openvpn openvpn
bhyoo commented on 2022-07-30 04:21 (UTC)
@campfireman You should not include base-devel into makedepends. https://wiki.archlinux.org/title/PKGBUILD#makedepends
remanifest commented on 2022-07-25 14:00 (UTC) (edited on 2022-07-25 14:04 (UTC) by remanifest)
After upgrading to kernel 5.18.14, I had to rebuild this package. It was throwing an error for me when trying to initiate a session: ERROR Failed preparing proxy: Error calling StartServiceByName for net.openvpn.v3.sessions: Launch helper exited with unknown return code 127
The solution (for me) was to remove the source directory with rm -rf ~/.cache/paru/clone/openvpn3
Next, paru -S openvpn3 got me back in business. Hope this can help someone else if they run into the same.
campfireman commented on 2022-06-24 20:11 (UTC)
Had to install automake
and pkg-config
to make compilation work. Is the problem on my side or do these need to be added as dependencies?
tuxiano commented on 2022-05-11 13:27 (UTC)
Thanks @ribugent that fix totally worked!.
eathtespagheti commented on 2022-04-26 09:06 (UTC)
@bhyoo just tested, it still uses pushd and therefore fails when launching commands via dash, maybe the solution could be to add bash as a build dependency and run all the commands with bash -c
Pinned Comments
bhyoo commented on 2024-07-08 11:46 (UTC) (edited on 2024-07-08 11:47 (UTC) by bhyoo)
If you have trouble with building it, please run
yay -Scc
oryay -Sc
.FYI. I replaced
gdbuspp-git
withgdbuspp
in the PKGBUILD dependency, and it seems that the build fails because the locally cached PKGBUILD is not updated.