Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package Request: Mullvad #21154

Open
crypnull opened this issue Apr 19, 2020 · 8 comments
Open

Package Request: Mullvad #21154

crypnull opened this issue Apr 19, 2020 · 8 comments
Labels
request Package request

Comments

@crypnull
Copy link

Name: Mullvad
What is it: Mullvad is a VPN service that helps keep your online activity, identity, and location private.
Homepage: https://mullvad.net/en/
Licensing: GPL v3.0
Github repo: https://github.com/mullvad/mullvadvpn-app

@Duncaen Duncaen added the request Package request label Apr 19, 2020
@Duncaen Duncaen changed the title Mullvad Package Request: Mullvad Apr 19, 2020
@emacsomancer
Copy link
Contributor

(in the meantime, Nix's version of the mullvadvpn-app works well on Void.)

@esmoak
Copy link

esmoak commented Apr 25, 2020

(in the meantime, Nix's version of the mullvadvpn-app works well on Void.)

Thanks for this. Looks like it's time for me to figure out Nix packages.

@emacsomancer
Copy link
Contributor

emacsomancer commented Apr 25, 2020

(in the meantime, Nix's version of the mullvadvpn-app works well on Void.)

Thanks for this. Looks like it's time for me to figure out Nix packages.

It's pretty easy. Basically follow the instructions at https://nixos.org/nix/manual/#ch-installing-binary and then nix-env -i mullvad-vpn.

(Though the installer expects systemd; but it's easy enough to add ~user/.nix-profile/bin/nix-daemon & to your /etc/rc.local or whatever to start the Nix daemon; or create a runit script.)

@emacsomancer
Copy link
Contributor

@esmoak FYI: I've written a WireGuard-specific interface to Mullvad which is a bit simpler (and much faster): https://gitlab.com/emacsomancer/volemad

@LinArcX

This comment was marked as duplicate.

@F0Xde
Copy link

F0Xde commented May 24, 2021

I'd like to try and package mullvad, but I haven't written any such package yet and the build seems rather complicated as it builds multiple things with different languages and tools.

@StellarOrbit
Copy link

StellarOrbit commented Jul 31, 2021

Hello everyone, I have created an init script for MullVad VPN and have tested it on my void linux install. I am working on creating an xbps package, but I have never packaged a program before so that might take a while. IN the meantime, do this to get it working on your runit based system.
Extract the deb archive using ar x and then extract the data.tar.xz file into a folder named mullvad. Then cd into that directory and copy the opt and usr folders to /

Then after that, go either into /etc/sv/ or /etc/runit/sv/ and create a folder named mullvad. cd into that directory and then do touch run && chmod +x run as root.

Edit the file with any text editor and then put this in there:

#!/bin/sh
exec 2>&1
sv check dbus > /dev/null || exit 1
exec /opt/Mullvad\ VPN/resources/mullvad-daemon -v --disable-stdout-timestamps

Save the file and then sudo ln -s from either /etc/sv/mullvad or /etc/runit/sv to either /var/service or /run/runit/service

@polkaulfield
Copy link

polkaulfield commented Aug 17, 2022

I made this script to install/update mullvad on void if anyone is interested. I'll try to make a package building from source when I have time.
https://gist.github.com/polkaulfield/018824ab3cb082ae2570c88c3e7df57e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request Package request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants