PSA: This package will be now called mullvad-vpn-beta-bin
as soon as the merge request is accepted
Search Criteria
Package Details: mullvad-vpn-beta 2024.7.stable-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/mullvad-vpn-beta.git (read-only, click to copy) |
---|---|
Package Base: | mullvad-vpn-beta |
Description: | The Mullvad VPN client app for desktop (beta channel) |
Upstream URL: | https://www.mullvad.net |
Licenses: | GPL-3.0-or-later |
Conflicts: | mullvad-vpn |
Provides: | mullvad-vpn |
Submitter: | None |
Maintainer: | yochananmarqos |
Last Packager: | yochananmarqos |
Votes: | 11 |
Popularity: | 0.000028 |
First Submitted: | 2019-08-09 21:46 (UTC) |
Last Updated: | 2024-10-30 16:30 (UTC) |
Dependencies (12)
- alsa-lib
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- iputils (busybox-coreutilsAUR, iputils-gitAUR)
- libnftnl (libnftnl-fullconeAUR, libnftnl-gitAUR)
- libnotify (libnotify-gitAUR)
- nss (nss-hgAUR)
- cargo (rustup-gitAUR, rust-nightly-binAUR, rust-gitAUR, rust, rustup) (make)
- git (git-gitAUR, git-glAUR) (make)
- go (go-gitAUR, gcc-go-gitAUR, gcc-go-snapshotAUR, go-sylixosAUR, gcc-go) (make)
- libxcrypt-compat (make)
- nvmAUR (nvm-gitAUR) (make)
- protobuf (protobuf-gitAUR) (make)
Required by (3)
- mullvad-vpn-dinit (requires mullvad-vpn)
- mullvad-vpn-openrc (requires mullvad-vpn)
- mullvad-vpn-s6 (requires mullvad-vpn)
Sources (7)
- git+https://github.com/mullvad/maybenot.git#commit=b06094e81701782d28cd2312f58e0654109d04ce
- git+https://github.com/mullvad/mullvadvpn-app-binaries.git#commit=049d5d3bc0c86c29c20f2073460186a83c1d7094?signed
- git+https://github.com/mullvad/mullvadvpn-app.git#tag=2024.7?signed
- git+https://github.com/mullvad/wireguard-go.git#commit=b1cf09a982bba6f6c63fadc956d88e8c2326d05e?signed
- mullvad-vpn.sh
- no-publish.diff
- no-rpm.diff
yochananmarqos commented on 2019-11-20 18:23 (UTC) (edited on 2019-12-02 20:33 (UTC) by yochananmarqos)
<deleted-account> commented on 2019-10-18 20:32 (UTC)
Apologies for not updating sooner.
Will use.
Thanks
yochananmarqos commented on 2019-10-15 21:59 (UTC)
@telans: I've completely rewritten the PKGBUILD & install files. I simplified it immensely, please utilize it: mullvad-vpn-beta
Would you mind adding me as a Co-Maintainer?
yochananmarqos commented on 2019-10-14 19:44 (UTC) (edited on 2019-10-14 19:45 (UTC) by yochananmarqos)
@Karrq: You're right, the symlink should be to mullvad-gui
:
ln -s "/opt/${_pkgname}/$mullvad-gui" "${pkgdir}/usr/bin/${_pkgname}"
Karrq commented on 2019-10-14 05:49 (UTC)
mullvad
commands works and opens the command line,
while mullvad-vpn
doesn't work and complains that it can't find mullvad-gui
in /usr/bin
yochananmarqos commented on 2019-10-11 14:28 (UTC) (edited on 2019-10-14 19:44 (UTC) by yochananmarqos)
With v2019.9, a new symlink needs to be added to match upstream:
ln -s "/opt/${_pkgname}/resources/$mullvad-problem-report" "$pkgdir/usr/bin/mullvad-problem-report"
yochananmarqos commented on 2019-08-13 15:36 (UTC) (edited on 2019-08-13 15:37 (UTC) by yochananmarqos)
Yeah, I didn't have time to test it yesterday. It turns out pacman can't backup a file that's not in the package. Also the install file will remove /etc/mullvad-vpn/
before backup is called, so both can't be done.
Since the config file is preserved anyway, there's actually no point in using the backup function at all. Backup is only useful for packages that provide a default config file that would be removed upon uninstall.
I edited my post below and removed the unnecessary stuff. Sorry about the confusion.
<deleted-account> commented on 2019-08-13 09:00 (UTC)
Cheers. I added backup(), however no matter how I format it, I can never actually get settings.json to be backed up upon removal. Not sure where I'm going wrong, might just be an issue on my end.
For now I've left that commented out in .install
yochananmarqos commented on 2019-08-12 17:12 (UTC) (edited on 2019-08-13 15:27 (UTC) by yochananmarqos)
No need to use mkdir
when you can use install -D
:
# /usr/bin/ Contents
install -Dm755 "${srcdir}/usr/bin/mullvad" "${pkgdir}/usr/bin/mullvad"
ln -s "/opt/${_pkgname}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
I suggest adding an install file:
install="$_pkgname.install"
post_install() {
systemctl enable --now mullvad-daemon
}
pre_upgrade() {
systemctl stop mullvad-daemon
rm -f /var/cache/mullvad-vpn/relays.json
}
post_upgrade() {
systemctl daemon-reload
systemctl start mullvad-daemon
}
pre_remove() {
systemctl stop mullvad-daemon
systemctl disable mullvad-daemon
}
post_remove() {
# remove logs & cache
rm -rf /var/log/mullvad-vpn/
rm -rf /var/cache/mullvad-vpn/
}
Pinned Comments
yochananmarqos commented on 2019-12-07 17:44 (UTC) (edited on 2024-08-20 22:49 (UTC) by yochananmarqos)
--> ALWAYS DO A CLEAN BUILD <--
This package will verify the signature of the git tag. Developer keys are available here and instructions are here. See the PKGBUILD to determine which developer key you need.
Upstream does not support building natively for ARM64, only cross-compiling. You can use
mullvad-vpn-beta-bin
instead.