Date: Mon, 21 May 2018 14:55:07 -0700 From: "Chris H" <portmaster@BSDforge.com> To: "Jason A. Donenfeld" <Jason@zx2c4.com> Cc: "Brady OBrien" <brady.obrien128@gmail.com>, <freebsd-ports@freebsd.org> Subject: Re: WireGuard for FreeBSD Message-ID: <c880cda6e3457919f2800f424f9b6382@udns.ultimatedns.net> In-Reply-To: <CAHmME9rJonVbSRHCPy0W7Pr=vmJoMbVTHbGw0C1xwBze4Px7uA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 21 May 2018 23:35:45 +0200 "Jason A=2E Donenfeld" <Jason@zx2c4=2Ecom> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c880cda6e3457919f2800f424f9b6382>