Package Details: mullvad-vpn 2024.3-2

Git Clone URL: https://aur.archlinux.org/mullvad-vpn.git (read-only, click to copy)
Package Base: mullvad-vpn
Description: The Mullvad VPN client app for desktop
Upstream URL: https://www.mullvad.net
Licenses: GPL-3.0-or-later
Submitter: gin078
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 132
Popularity: 4.70
First Submitted: 2018-10-24 17:33 (UTC)
Last Updated: 2024-05-16 17:02 (UTC)

Pinned Comments

yochananmarqos commented on 2022-11-11 19:31 (UTC) (edited on 2022-11-13 19:21 (UTC) by yochananmarqos)

PSA: Upstream does not support building natively for ARM64, only cross-compiling. You can use mullvad-vpn-bin instead.

yochananmarqos commented on 2019-12-07 17:44 (UTC) (edited on 2020-11-17 03:00 (UTC) by yochananmarqos)

--> ALWAYS DO A CLEAN BUILD <--

This package will verify the signature of the git tag / commit. Developer keys are available here and instructions are here. See the PKGBUILD to determine which developer key you need.

Latest Comments

« First ‹ Previous 1 .. 30 31 32 33 34 35 36 37 38 39 40 .. 43 Next › Last »

yochananmarqos commented on 2019-12-13 02:25 (UTC) (edited on 2019-12-13 02:25 (UTC) by yochananmarqos)

@wilberfan: Please follow the instructions in the pinned comment.

wilberfan commented on 2019-12-13 02:24 (UTC)

I'm admittedly new at this, but is this a server issue, or...?

==> PGP keys need importing: -> EA0A77BF9E115615FC3BD8BC7653B940E494FE87, required by: mullvad-vpn ==> Import? [Y/n] Y :: Importing keys with gpg...... gpg: keyserver receive failed: No data ==> Error: Problem importing keys

jhenson commented on 2019-12-13 00:09 (UTC)

@yochananmarqos I just checked and it doesn't appear to be on the wiki anywhere, weird. I learned about it from other packages and have been using it myself.

yochananmarqos commented on 2019-12-12 22:50 (UTC)

@jhenson: I didn't know makepkg could do that, thanks! Where did you find that out? I didn't see anything in the wiki or the man page about it.

jhenson commented on 2019-12-12 22:17 (UTC) (edited on 2019-12-12 22:23 (UTC) by jhenson)

If you put ?signed at the end of the git urls makepkg will verify the commit/tag for you. This is needed for building in a clean chroot where the sources are verified outside of the chroot. The validpgpkeys array also needs to list the specific signing sub-key instead of the parent key.

The following patch fixes the chroot verification for me:

diff --git a/PKGBUILD b/PKGBUILD
index [`53c9852`](https://aur.archlinux.org/cgit/aur.git/commit/?h=mullvad-vpn&id=53c9852)..6f2752c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,16 +16,15 @@ depends=('libnotify' 'libappindicator-gtk3' 'libxss' 'nss')
 makedepends=('git' 'cargo' 'npm' 'rpm')
 install="$pkgname.install"
 _commit='0c1a0aca41492fbb9ef1f187122e2f5bda0927ba'
-source=("git+<https://github.com/mullvad/mullvadvpn-app.git#tag=>$pkgver"
-        "git+<https://github.com/mullvad/mullvadvpn-app-binaries.git#commit=>$_commit"
+source=("git+<https://github.com/mullvad/mullvadvpn-app.git#tag=>$pkgver?signed"
+        "git+<https://github.com/mullvad/mullvadvpn-app-binaries.git#commit=>$_commit?signed"
         "$pkgname.desktop"
         'update-relays.sh')
 sha256sums=('SKIP'
             'SKIP'
             '121d90e6683e64d9c0d2dbb7b346fa918bdb37cf21fdaf9f66232304ed23abc2'
             'ec125bc9cfe2403bacfcaebf4b58f88b4d734b0f6194c23016efd7e15684f8e0')
-validpgpkeys=('A6A4778440D27368967A7A3578CEAA8CB72E4467')
-             # Linus Färnstrand (code signing key) <linus at mullvad dot net>
+validpgpkeys=('EA0A77BF9E115615FC3BD8BC7653B940E494FE87') # Linus Färnstrand (code signing key) <linus at mullvad dot net>

 prepare() {
        # Point the submodule to our local copy
@@ -34,13 +33,6 @@ prepare() {
        git config submodule.mullvadvpn-app-binaries.url \
                "$srcdir/mullvadvpn-app-binaries"
        git submodule update
-
-       # Verify git tag
-       git verify-tag "$pkgver"
-
-       # Verify git commit
-       cd "$srcdir/mullvadvpn-app-binaries"
-       git verify-commit "$_commit"
 }

 build() {

Thanks for all your work on this package!

yochananmarqos commented on 2019-12-10 22:31 (UTC) (edited on 2019-12-10 22:31 (UTC) by yochananmarqos)

@procyon-lotor: Why are you not running the stable 5.4.2 kernel? See Enable support to run unprivileged containers (optional)

procyon-lotor commented on 2019-12-10 18:24 (UTC)

@yochanamarqos

I'm using kernel Linux 5.4rc7.d1117.g1d4c79e-1

here's the pastebin of the build. https://pastebin.com/S1y1hehH

yochananmarqos commented on 2019-12-09 22:06 (UTC)

@procyon-lotor: That shouldn't happen during build, but could happen running the GUI. What kernel are you using? Please paste the build log to a pastebin service and link it here, I'll take a look.

@a.liedtke: Please also paste the build log to a pastebin service and link it here.

a.liedtke commented on 2019-12-09 21:12 (UTC)

Get error: 20 error code ELIFECYCLE 21 error errno 1 22 error mullvad-vpn@2019.9.0 pack:linux: gulp pack-linux 22 error Exit status 1 23 error Failed at the mullvad-vpn@2019.9.0 pack:linux script. 23 error This is probably not a problem with npm. There is likely additional logging output above.

procyon-lotor commented on 2019-12-09 13:26 (UTC)

Stupid question incoming:

I'm having trouble getting the mullvad build to run correctly.

I get an error message regarding chrome-sandbox not being owned by root and it should be set as chmod 4755.

Having done that, rerunning the build just replaces the files with newly generated.

How do i solve this?