Package Details: networkmanager-wireguard-git r87.0e1124d-2

Git Clone URL: https://aur.archlinux.org/networkmanager-wireguard-git.git (read-only, click to copy)
Package Base: networkmanager-wireguard-git
Description: NetworkManager VPN plugin for WireGuard - git
Upstream URL: https://github.com/max-moser/network-manager-wireguard/
Licenses: GPL
Conflicts: networkmanager-wireguard
Provides: networkmanager-wireguard
Submitter: Depau
Maintainer: Taijian
Last Packager: Taijian
Votes: 48
Popularity: 1.93
First Submitted: 2018-04-30 18:16
Last Updated: 2021-06-12 19:23

Dependencies (6)

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

raisedintheusa commented on 2021-06-13 12:10

@Taijian thanks for making the update

Taijian commented on 2021-06-11 19:14

@schard: no, libnm-glib hasn't been required by this plugin in a long time. It was always possible to build without it, one just had to follow the upstream instructions.

But I agree, the PKGBUILD really should be updated.

schard commented on 2021-06-11 15:38

Here's a patch to build without libnm-glib:

diff --git a/PKGBUILD b/PKGBUILD
index 3c66db5..ef35e31 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgdesc='NetworkManager VPN plugin for WireGuard - git'
 arch=('i686' 'x86_64' 'armv7h' 'aarch64' 'pentium4')
 license=('GPL')
 url='https://github.com/max-moser/network-manager-wireguard/'
-depends=('networkmanager' 'libnma' 'WIREGUARD-MODULE' 'wireguard-tools' 'libnm-glib')
+depends=('networkmanager' 'libnma' 'WIREGUARD-MODULE' 'wireguard-tools')
 makedepends=('git' 'intltool')
 provides=('networkmanager-wireguard')
 conflicts=('networkmanager-wireguard')
@@ -22,22 +22,23 @@ pkgver() {
        )
 }

-build() {
+prepare() {
        cd $pkgname

-       ./autogen.sh
-       ./configure --prefix=/usr \
+       ./autogen.sh --prefix=/usr \
                --sysconfdir=/etc \
                --localstatedir=/var \
                --libexecdir=/usr/lib/networkmanager \
                --enable-more-warnings=yes \
-               --disable-static
-       make
+               --disable-static \
+               --without-libnm-glib
 }

-package() {
-       cd $pkgname
+build() {
+       make -C "$pkgname"
+}

-       make DESTDIR="${pkgdir}" sysconfdir=/etc libdir=/usr/lib install
+package() {
+       make -C "$pkgname" DESTDIR="${pkgdir}" sysconfdir=/etc libdir=/usr/lib install
 }

Works like a charm for me.

schard commented on 2021-06-11 15:26

libnm-glib has been removed from the repos, since it's no longer used by networkmanager and is not yet available in the AUR (though some forks are). Is it really still required by this plugin?

Depau commented on 2020-07-19 15:43

@dpriedel:

All Linux kernel packages (for normal Arch Linux x86_64) provide WIREGUARD-MODULE: https://www.archlinux.org/packages/core/x86_64/linux/

If you're using ALARM, that's a bug in the kernel packages, I'm gonna send them a pull-request.

Depau commented on 2020-07-19 15:39

This package does not depend on resolvconf. wireguard-tools does. Please open a bug on the issue tracker for wireguard-tools.

brackenhill-mob commented on 2020-07-19 08:44

Needs a dependency for a DNS resolver (ie openresolv)

/var/daemon.log always reports NetworkManager[2941]: /usr/sbin/wg-quick: line 32: resolvconf: command not found

dpriedel commented on 2020-05-05 20:05

Hi

Since kernel 5.6 includes the wireguard kernel module, how should I build this extension? Can I just delete the WIREGUARD-MODULE dependency?

Thanks

timttmy commented on 2019-12-29 21:06

Thanks for the PKGBUILD It also builds and works on arm by changing arch='any'

Depau commented on 2019-09-09 14:07

Added. Thank you