From owner-freebsd-ports@freebsd.org Mon May 21 21:52:19 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F895EFF56F for ; Mon, 21 May 2018 21:52:19 +0000 (UTC) (envelope-from portmaster@BSDforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 19EB372F42 for ; Mon, 21 May 2018 21:52:18 +0000 (UTC) (envelope-from portmaster@BSDforge.com) Received: from udns.ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id w4LLt1FQ079496; Mon, 21 May 2018 14:55:07 -0700 (PDT) (envelope-from portmaster@BSDforge.com) X-Mailer: UDNSMS MIME-Version: 1.0 Cc: "Brady OBrien" , In-Reply-To: From: "Chris H" Reply-To: portmaster@BSDforge.com To: "Jason A. Donenfeld" Subject: Re: WireGuard for FreeBSD Date: Mon, 21 May 2018 14:55:07 -0700 Message-Id: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2018 21:52:20 -0000 On Mon, 21 May 2018 23:35:45 +0200 "Jason A=2E Donenfeld" s= aid > [cross-posted to the WireGuard mailing list] >=20 > Hello FreeBSD Ports List, >=20 > I'm the author of WireGuard [1], a secure network tunnel protocol [2] > and a set of implementations of it=2E It was originally designed for the > Linux kernel, but we're now beginning to have implementations for > other platforms=2E Recently, parts of the Internet got excited [3] when > we put a Darwin version in Homebrew=2E The last few days Brian (CC'd) > and I have been working on getting an implementation running on > FreeBSD, and things are coming along pretty smoothly=2E >=20 > I'm not entirely familiar with the ports/pkg adding process, and so I > was hoping to find somebody who is part of the FreeBSD community to > adopt WireGuard and help maintain packages for it=2E I'm in! I'll start the necessary research now=2E Any additional pointers, and such you think may be helpful are greatly appreciated=2E Thanks, Jason! --Chris > We currently have > packages for many Linux distros [4], but FreeBSD will be the first > open source BSD project=2E There are two packages to add: >=20 > 1=2E wireguard-tools, providing wg(8) and wg-quick(8) > Runtime dependencies: bash, wireguard-go > Buildtime dependencies: gmake, c compiler, libc > Build: gmake -C src/tools WITH_WGQUICK=3Dyes > Install: gmake -C src/tools PREFIX=3D/usr/local install > URL template: > https://git=2Ezx2c4=2Ecom/WireGuard/snapshot/WireGuard-VERSION=2Etar=2Exz >=20 > 2=2E wireguard-go > Runtime dependencies: none > Buildtime dependencies: gmake, go > Build: export GOPATH=3D$(pwd)/gopath; go get -d; gmake > Install: gmake PREFIX=3D/usr/local install > URL template: > https://git=2Ezx2c4=2Ecom/wireguard-go/snapshot/wireguard-go-VERSION=2Etar=2Exz >=20 > For reference, these two packages in Homebrew look like this: > https://github=2Ecom/Homebrew/homebrew-core/blob/master/Formula/wireguard-t= ools=2Erb > https://github=2Ecom/Homebrew/homebrew-core/blob/master/Formula/wireguard-g= o=2Erb >=20 > And for your horror, I've made a please-dont-pipe-like-that > copy-and-paste install script: > # curl https://xn--4db=2Ecc/0BwTeeYe | sh >=20 > That script won't work as-is at the moment, since I haven't yet tagged > tarballs with FreeBSD support, but in the coming days, I'll tag one > that has this latest FreeBSD code in it=2E (In the meantime, you can run > `# curl https://xn--4db=2Ecc/0BwTeeYe | sh /dev/stdin --master` to get > it from git master=2E) I was hoping that in the time between now and > then, we might find somebody willing and interested in packaging this > properly=2E >=20 > Does this sound fun to anyone? >=20 > Best regards, > Jason >=20 >=20 > [1] https://www=2Ewireguard=2Ecom/ > [2] https://www=2Ewireguard=2Ecom/papers/wireguard=2Epdf > [3] http://latacora=2Esingles/2018/05/16/there-will-be=2Ehtml > [4] https://www=2Ewireguard=2Ecom/install/ > _______________________________________________ > freebsd-ports@freebsd=2Eorg mailing list > https://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd=2Eorg"