Download mullvad-daemon from github
This commit is contained in:
4
.gitmodules
vendored
4
.gitmodules
vendored
@@ -2,7 +2,3 @@
|
|||||||
path = mullvad-vpn-daemon/mullvadvpn-app
|
path = mullvad-vpn-daemon/mullvadvpn-app
|
||||||
url = git@github.com:mullvad/mullvadvpn-app-priv.git
|
url = git@github.com:mullvad/mullvadvpn-app-priv.git
|
||||||
branch = poc-slint
|
branch = poc-slint
|
||||||
[submodule "mullvad-vpn-slint/mullvadvpn-app"]
|
|
||||||
path = mullvad-vpn-slint/mullvadvpn-app
|
|
||||||
url = git@github.com:mullvad/mullvadvpn-app-priv.git
|
|
||||||
branch = poc-slint
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
# Contributor:
|
# Contributor:
|
||||||
# Maintainer: Joakim Hulthe <joakim@hulthe.net>
|
# Maintainer: Joakim Hulthe <joakim@hulthe.net>
|
||||||
pkgname=mullvad-vpn-daemon
|
pkgname=mullvad-vpn-daemon
|
||||||
pkgver=2026.1_git
|
pkgver=2026.2_beta1
|
||||||
pkgrel=5
|
pkgrel=1
|
||||||
pkgdesc="Mullvad VPN system service"
|
pkgdesc="Mullvad VPN system service"
|
||||||
url="https://mullvad.net/"
|
url="https://mullvad.net/"
|
||||||
arch="all"
|
arch="all"
|
||||||
@@ -37,22 +37,25 @@ subpackages="
|
|||||||
$pkgname-systemd
|
$pkgname-systemd
|
||||||
$pkgname-suid
|
$pkgname-suid
|
||||||
"
|
"
|
||||||
source=""
|
source="
|
||||||
builddir="$srcdir/"
|
https://github.com/mullvad/mullvadvpn-app/archive/refs/tags/2026.2-beta1.tar.gz
|
||||||
|
"
|
||||||
|
sha512sums="
|
||||||
|
9af0c263f0e5985d7842099f50a5070da0b23691f08ffe57c3b6d239d2c1c9acea89c07890f31d89bd75448a2dd1fd3c878b85be458baba0bcd90760e714b032 2026.2-beta1.tar.gz
|
||||||
|
"
|
||||||
|
builddir="$srcdir/mullvadvpn-app-2026.2-beta1/"
|
||||||
options="net suid"
|
options="net suid"
|
||||||
|
|
||||||
_cargo_target_dir="${CARGO_TARGET_DIR:-$startdir/mullvadvpn-app/target}"
|
_cargo_target_dir="${CARGO_TARGET_DIR:-$builddir/target}"
|
||||||
|
_cargo_release_dir="$_cargo_target_dir/$CHOST/release"
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
default_prepare
|
default_prepare
|
||||||
|
|
||||||
cd "$startdir/mullvadvpn-app"
|
|
||||||
cargo fetch --target "$CHOST" --locked
|
cargo fetch --target "$CHOST" --locked
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$startdir/mullvadvpn-app"
|
|
||||||
|
|
||||||
# Specify `--target` so that the build artifacts ends up in target/<target>/release to
|
# Specify `--target` so that the build artifacts ends up in target/<target>/release to
|
||||||
# avoid clashes with host system when running in a container with a mounted target folder.
|
# avoid clashes with host system when running in a container with a mounted target folder.
|
||||||
|
|
||||||
@@ -73,26 +76,25 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
cd "$startdir/mullvadvpn-app"
|
|
||||||
cargo test --target "$CHOST" --frozen
|
cargo test --target "$CHOST" --frozen
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -m755 -D "$_cargo_target_dir/$CHOST/release/mullvad" \
|
install -m755 -D "$_cargo_release_dir/mullvad" \
|
||||||
"$pkgdir"/usr/bin/mullvad
|
"$pkgdir/usr/bin/mullvad"
|
||||||
|
|
||||||
install -m755 -D "$_cargo_target_dir/$CHOST/release/mullvad-daemon" \
|
install -m755 -D "$_cargo_release_dir/mullvad-daemon" \
|
||||||
"$pkgdir"/usr/bin/mullvad-daemon
|
"$pkgdir/usr/bin/mullvad-daemon"
|
||||||
|
|
||||||
install -m755 -D "$_cargo_target_dir/$CHOST/release/mullvad-problem-report" \
|
install -m755 -D "$_cargo_release_dir/mullvad-problem-report" \
|
||||||
"$pkgdir"/usr/bin/mullvad-problem-report
|
"$pkgdir/usr/bin/mullvad-problem-report"
|
||||||
|
|
||||||
install -m755 -D "$_cargo_target_dir/$CHOST/release/mullvad-setup" \
|
install -m755 -D "$_cargo_release_dir/mullvad-setup" \
|
||||||
"$pkgdir"/usr/bin/mullvad-setup
|
"$pkgdir/usr/bin/mullvad-setup"
|
||||||
|
|
||||||
# Bundle the vendored relay list. It's copied to /var/cache/mullvad-vpn/ by the post-* scripts.
|
# Bundle the vendored relay list. It's copied to /var/cache/mullvad-vpn/ by the post-* scripts.
|
||||||
install -m644 -D "$builddir/relays.json" \
|
install -m644 -D "$builddir/relays.json" \
|
||||||
"$pkgdir"/usr/share/mullvad-vpn/relays.json
|
"$pkgdir/usr/share/mullvad-vpn/relays.json"
|
||||||
}
|
}
|
||||||
|
|
||||||
systemd() {
|
systemd() {
|
||||||
@@ -100,16 +102,16 @@ systemd() {
|
|||||||
depends="$pkgname=$pkgver-r$pkgrel"
|
depends="$pkgname=$pkgver-r$pkgrel"
|
||||||
|
|
||||||
install -m755 -D "$startdir/mullvadvpn-app/dist-assets/linux/mullvad-daemon.service" \
|
install -m755 -D "$startdir/mullvadvpn-app/dist-assets/linux/mullvad-daemon.service" \
|
||||||
"$subpkgdir"/usr/lib/systemd/system/mullvad-daemon.service
|
"$subpkgdir/usr/lib/systemd/system/mullvad-daemon.service"
|
||||||
|
|
||||||
install -m755 -D "$startdir/mullvadvpn-app/dist-assets/linux/mullvad-early-boot-blocking.service" \
|
install -m755 -D "$startdir/mullvadvpn-app/dist-assets/linux/mullvad-early-boot-blocking.service" \
|
||||||
"$subpkgdir"/usr/lib/systemd/system/mullvad-early-boot-blocking.service
|
"$subpkgdir/usr/lib/systemd/system/mullvad-early-boot-blocking.service"
|
||||||
}
|
}
|
||||||
|
|
||||||
suid() {
|
suid() {
|
||||||
pkgdesc="mullvad-exclude cli for split tunneling"
|
pkgdesc="mullvad-exclude cli for split tunneling"
|
||||||
depends="$pkgname=$pkgver-r$pkgrel"
|
depends="$pkgname=$pkgver-r$pkgrel"
|
||||||
|
|
||||||
install -m4755 -D "$_cargo_target_dir/$CHOST/release/mullvad-exclude" \
|
install -m4755 -D "$_cargo_release_dir/mullvad-exclude" \
|
||||||
"$subpkgdir"/usr/bin/mullvad-exclude
|
"$subpkgdir/usr/bin/mullvad-exclude"
|
||||||
}
|
}
|
||||||
|
|||||||
Submodule mullvad-vpn-daemon/mullvadvpn-app deleted from 236bbc4c0e
Reference in New Issue
Block a user