Skip to content

Update innernet to v1.5.0 #432

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

Merged
merged 10 commits into from
Nov 18, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package/innernet/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@
pkgnames=(innernet-client)
pkgdesc="A private network system that uses WireGuard under the hood."
url="https://github.com/tonarino/innernet"
pkgver=1.4.1-2
pkgver=1.5.0-1
timestamp=2021-08-31T17:57:00Z
section="utils"
maintainer="plan5 <[email protected]>"
license=MIT
installdepends=(wireguard)
makedepends=(build:librust-clang-sys-dev build:libclang-dev build:libc6 build:libc6-dev build:clang)

image=rust:v2.1
image=rust:v2.2
_srcver="v${pkgver%-*}"
source=(
"https://github.com/tonarino/innernet/archive/refs/tags/$_srcver.zip"
build.patch
)
sha256sums=(
3dd87538f53a7665713f88399f3388abe24b878765605dfadd25ca194cc47ac1
1f2f38a0c7cbc91391f84f86849bc57e6351fdc6605232b839df25e1009b68f9
SKIP
)

Expand All @@ -33,7 +33,7 @@ prepare() {
sed -i "s/\/usr\/bin\/innernet/\/opt\/bin\/innernet/g" "$srcdir/client/[email protected]"

# Insert line to look for headers under $SYSROOT instead of root filesystem
patch -u "$srcdir/wgctrl-sys/build.rs" -i "$srcdir/build.patch"
patch -u "$srcdir/wireguard-control-sys/build.rs" -i "$srcdir/build.patch"

#tbd: change wireguard config dir to /opt/etc/wireguard?
#sed -i "s/\/etc\/wireguard/\/opt\/etc\/wireguard/g" "$srcdir/shared/src/lib.rs"
Expand Down