Skip to content

Commit

Permalink
Update innernet to v1.5.0 (#432)
Browse files Browse the repository at this point in the history
* Update innernet to v1.5.0
* Use build image rust:v2.2

Co-authored-by: Mattéo Delabre <1370040+matteodelabre@users.noreply.github.com>
Co-authored-by: Mattéo Delabre <spam@delab.re>
  • Loading branch information
3 people committed Nov 27, 2021
1 parent a8758a0 commit 8bc2331
Showing 1 changed file with 4 additions and 4 deletions.
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 <30434574+plan5@users.noreply.github.com>"
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/innernet@.service"

# 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

0 comments on commit 8bc2331

Please sign in to comment.