From 1c593aff6a04cde5f70334ab5b25f5d5ec955137 Mon Sep 17 00:00:00 2001 From: Zach Nedwich Date: Tue, 28 Apr 2020 07:30:10 +1000 Subject: [PATCH] boringtun: update to 0.3.0. --- ...y-letting-Rust-infer-the-correct-typ.patch | 26 ------------------- srcpkgs/boringtun/template | 4 +-- 2 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 srcpkgs/boringtun/patches/0001-Fix-musl-build-by-letting-Rust-infer-the-correct-typ.patch diff --git a/srcpkgs/boringtun/patches/0001-Fix-musl-build-by-letting-Rust-infer-the-correct-typ.patch b/srcpkgs/boringtun/patches/0001-Fix-musl-build-by-letting-Rust-infer-the-correct-typ.patch deleted file mode 100644 index 54bbab5842..0000000000 --- a/srcpkgs/boringtun/patches/0001-Fix-musl-build-by-letting-Rust-infer-the-correct-typ.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 3fad8bed118e629a985da17bf7af3de43e1e690b Mon Sep 17 00:00:00 2001 -From: Vlad Krasnov -Date: Tue, 2 Apr 2019 07:37:55 -0400 -Subject: [PATCH] Fix musl build by letting Rust infer the correct type for - SIOCGIFMTU (#60) - ---- - src/device/tun_linux.rs | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/device/tun_linux.rs b/src/device/tun_linux.rs -index ffac9c6..7167553 100644 ---- src/device/tun_linux.rs -+++ src/device/tun_linux.rs -@@ -122,7 +122,7 @@ impl TunSocket { - - ifr.ifr_name[..iface_name.len()].copy_from_slice(iface_name); - -- if unsafe { ioctl(fd, SIOCGIFMTU, &ifr) } < 0 { -+ if unsafe { ioctl(fd, SIOCGIFMTU as _, &ifr) } < 0 { - return Err(Error::IOCtl(errno_str())); - } - --- -2.24.0 - diff --git a/srcpkgs/boringtun/template b/srcpkgs/boringtun/template index f8007444c8..d74a72f6c8 100644 --- a/srcpkgs/boringtun/template +++ b/srcpkgs/boringtun/template @@ -1,6 +1,6 @@ # Template file for 'boringtun' pkgname=boringtun -version=0.2.0 +version=0.3.0 revision=1 build_style=cargo short_desc="Implementation of the WireGuard protocol" @@ -8,7 +8,7 @@ maintainer="Zach Nedwich " license="BSD-3-Clause" homepage="https://github.com/cloudflare/boringtun" distfiles="https://github.com/cloudflare/${pkgname}/archive/v${version}.tar.gz" -checksum=544c72fc482b636e7f6460bfee205adafc55de534067819e4e4914980f0d1350 +checksum=@7ba22dcb785c9dfa99d70fc3ea0fa86908debd59eabc278f65db50a22bcc731c case "$XBPS_TARGET_MACHINE" in ppc*) broken="ftbfs in ring" ;;