diff --git a/srcpkgs/boringtun/template b/srcpkgs/boringtun/template new file mode 100644 index 00000000000..435900313da --- /dev/null +++ b/srcpkgs/boringtun/template @@ -0,0 +1,19 @@ +# Template file for 'boringtun' +pkgname=boringtun +version=0.2.0 +revision=1 +build_style=cargo +short_desc="Implementation of the WireGuard protocol" +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 + +case "$XBPS_TARGET_MACHINE" in + *-musl) broken="ioctl function signature differs on glibc and musl" ;; +esac + +post_install() { + vlicense LICENSE.md +}