aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wireguard-tools/APKBUILD
Commit message (Collapse)AuthorAgeFilesLines
* testing/wireguard-tools: fix quotes in checksumNatanael Copa2019-01-251-1/+1
|
* testing/wireguard: upgrade to 0.0.20190123Jason A. Donenfeld2019-01-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tools: curve25519: handle unaligned loads/stores safely This should fix sporadic crashes with `wg pubkey` on certain architectures. * netlink: auth socket changes against namespace of socket In WireGuard, the underlying UDP socket lives in the namespace where the interface was created and doesn't move if the interface is moved. This allows one to create the interface in some privileged place that has Internet access, and then move it into a container namespace that only has the WireGuard interface for egress. Consider the following situation: 1. Interface created in namespace A. Socket therefore lives in namespace A. 2. Interface moved to namespace B. Socket remains in namespace A. 3. Namespace B now has access to the interface and changes the listen port and/or fwmark of socket. Change is reflected in namespace A. This behavior is arguably _fine_ and perhaps even expected or acceptable. But there's also an argument to be made that B should have A's cred to do so. So, this patch adds a simple ns_capable check. * ratelimiter: build tests with !IPV6 Should reenable building in debug mode for systems without IPv6. * noise: replace getnstimeofday64 with ktime_get_real_ts64 * ratelimiter: totalram_pages is now a function * qemu: enable FP on MIPS Linux 5.0 support. * keygen-html: bring back pure javascript implementation Benoît Viguier has proofs that values will stay well within 2^53. We also have an improved carry function that's much simpler. Probably more constant time than emscripten's 64-bit integers. * contrib: introduce simple highlighter library This is the highlighter library being used in: - https://twitter.com/EdgeSecurity/status/1085294681003454465 - https://twitter.com/EdgeSecurity/status/1081953278248796165 It's included here as a contrib example, so that others can paste it into their own GUI clients for having the same strictly validating highlighting. * netlink: use __kernel_timespec for handshake time This readies us for Y2038. See https://lwn.net/Articles/776435/ for more info. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard-tools: split wg and wg-quickCarlo Landmeter2019-01-051-4/+20
| | | | | | | | We split wg and wg-quick into seperate packages but let the main pacakge pull both of them in. This way they can have their own deps and we can pull them in independently. We also patch wg-quick to ue busybox sysctl.
* testing/wireguard-tools: add missing dependsStuart Cardall2019-01-031-3/+7
| | | | | | | | | | | | | | | | | wg-quick does not work with some of the busybox built-ins. based on original report by Nathan Caldwell (saintdev at gmail dot com) adds depends for: procps iproute2 coreutils (for sysctl -r) but NOT for Bash (which is required by wg-quick only & not by other wg-tools) see also: https://github.com/alpinelinux/aports/pull/3903 https://lists.zx2c4.com/pipermail/wireguard/2018-December/003608.html
* testing/wireguard: upgrade to 0.0.20181218Jason A. Donenfeld2018-12-181-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: upgrade to 0.0.20181119Jason A. Donenfeld2018-11-201-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: upgrade to 0.0.20181115Jason A. Donenfeld2018-11-151-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: upgrade to 0.0.20181018Jason A. Donenfeld2018-10-231-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard-tools: Document pkgrel/_toolsrel requirementJonathan Neuschäfer2018-10-231-0/+1
|
* testing/wireguard: upgrade to 0.0.20181006Jason A. Donenfeld2018-10-151-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: upgrade to 0.0.20180918Jason A. Donenfeld2018-09-191-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: upgrade to 0.0.20180910Jason A. Donenfeld2018-09-131-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: upgrade to 0.0.20180904Jason A. Donenfeld2018-09-041-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: upgrade to 0.0.20180809Jason A. Donenfeld2018-08-211-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: upgrade to 0.0.20180802Jason A. Donenfeld2018-08-051-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: upgrade to 0.0.20180718Jason A. Donenfeld2018-07-191-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: upgrade to 0.0.20180708Jason A. Donenfeld2018-07-111-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: upgrade to 0.0.20180625Jason A. Donenfeld2018-06-251-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: upgrade to 0.0.20180613Jason A. Donenfeld2018-06-151-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: upgrade to 0.0.20180531Jason A. Donenfeld2018-06-061-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: upgrade to 0.0.20180519Jason A. Donenfeld2018-05-191-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: upgrade to 0.0.20180513Jason A. Donenfeld2018-05-141-3/+3
| | | | | | We also fix #4235 by adjusting the rel variables. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: upgrade to 0.0.20180420Jason A. Donenfeld2018-04-231-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: upgrade to 0.0.20180413Jason A. Donenfeld2018-04-171-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Revert "testing/wireguard-tools: depends on bash"Jason A. Donenfeld2018-04-101-2/+1
| | | | | | | | | | | | | This reverts commit 548c24ea1e19b3739a24556248ebbde4f300e14a, which was snuck in while I was on vacation. There are users of Alpine+WireGuard who don't need or use wg-quick and thus don't need or use bash. This therefore should not be a required dependency of the package. This also breaks the pkgrel consistency with the kernel packages. So, we revert. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Fixes: #3640
* testing/wireguard-tools: Fix examples installation pathJonathan Neuschäfer2018-04-021-3/+3
| | | | | | | WireGuard's examples directory should be installed to /usr/share/doc/wireguard-tools/examples, not /usr/share/doc/examples. It seems that this was intended in the APKBUILD, but the code that copies the examples directory relies on $_name, which is not set. Use $pkgname instead.
* testing/wireguard-tools: depends on bashJonathan Neuschäfer2018-03-281-1/+2
| | | | wg-quick is explicitly a bash script, so it requires bash to be installed.
* testing/wireguard: upgrade to 0.0.20180304Jason A. Donenfeld2018-03-051-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: upgrade to 0.0.20180218Jason A. Donenfeld2018-02-191-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: upgrade to 0.0.20180202Jason A. Donenfeld2018-02-041-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard-tools: upgrade to 0.0.20180118Jason A. Donenfeld2018-01-191-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* [various]: unify names of licenses according to SPDXJakub Jirutka2017-12-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit updates $license variable in all APKBUILDs to comply with short names specified by SPDX version 3.0 [1] where possible. It was done using find-and-replace method on substrings inside $license variables. Only license names were updated, not "expressions" specifying relation between the licenses (e.g. "X and Y", "X or Y", "X and (Y or Z)") or exceptions (e.g. "X with exceptions"). Many licenses have a version or multiple variants, e.g. MPL-2.0, BSD-2-Clause, BSD-3-Clause. However, $license in many aports do not contain license version or variant. Since there's no way how to infer this information just from abuild, it were left without the variant suffix or version, i.e. non SPDX compliant. GNU licenses (AGPL, GFDL, GPL, LGPL) are especially complicated. They exist in two variants: -only (formerly e.g. GPL-2.0) and -or-later (formerly e.g. GPL-2.0+). We did not systematically noted distinguish between these variants, so GPL-2.0, GPL2, GPLv2 etc. may mean GPL-2.0-only or GPL-2.0-or-later. Thus GNU licenses without "+" (e.g. GPL2+) were left without the variant suffix, i.e. non SPDX compliant. Note: This commit just fixes format of the license names, no verification has been done if the specified license information is actually correct! [1]: https://spdx.org/licenses/
* testing/wireguard: version bumpJason A. Donenfeld2017-12-251-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: version bumpJason A. Donenfeld2017-12-131-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: version bumpJason A. Donenfeld2017-11-281-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: version bumpJason A. Donenfeld2017-11-161-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: version bumpJason A. Donenfeld2017-11-011-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: version bumpJason A. Donenfeld2017-10-191-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: version bump to 0.0.20171011Jason A. Donenfeld2017-10-121-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard: version bump to 0.0.20171005Jason A. Donenfeld2017-10-091-3/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard-tools: build fix: remove a.outNatanael Copa2017-10-021-0/+1
| | | | remove a.out which likely was unintentionally added.
* wireguard: bump to 0.0.20171001Jason A. Donenfeld2017-10-021-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard-tools: upgrade to 0.0.20170918Stuart Cardall2017-10-011-2/+2
|
* testing/wireguard: version bump to 0.0.20170907Jason A. Donenfeld2017-09-121-2/+2
|
* testing/wireguard: version bump to 0.0.20170810Jason A. Donenfeld2017-08-111-2/+2
|
* testing/wireguard-tools: update to 0.0.20170726Stuart Cardall2017-07-281-4/+4
|
* testing/wireguard-tools: update to 0.0.20170629Jason A. Donenfeld2017-06-301-2/+2
|
* testing/wireguard-tools: update to 0.0.20170628Stuart Cardall2017-06-291-2/+2
|
* testing/wireguard-*: bump to 0.0.20170613Jason A. Donenfeld2017-06-151-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* testing/wireguard-*: bump to 0.0.20170531Shiz2017-06-011-3/+3
|