git: adf376485712 - main - Add 'contrib/wireguard-tools/' from commit '7e00bf8773b93a2a3ee28dba2710d2ae443989f1'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 29 Oct 2022 03:10:31 UTC
The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=adf376485712c8fffbf3be330d505a969647f479 commit adf376485712c8fffbf3be330d505a969647f479 Merge: 9142a2a37b2f 7e00bf8773b9 Author: Kyle Evans <kevans@FreeBSD.org> AuthorDate: 2022-10-29 03:05:14 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2022-10-29 03:05:14 +0000 Add 'contrib/wireguard-tools/' from commit '7e00bf8773b93a2a3ee28dba2710d2ae443989f1' git-subtree-dir: contrib/wireguard-tools git-subtree-mainline: 9142a2a37b2fe65d46ace08a098ad26b8ff81541 git-subtree-split: 7e00bf8773b93a2a3ee28dba2710d2ae443989f1 contrib/wireguard-tools/.gitignore | 16 + contrib/wireguard-tools/config.c | 650 +++++++++++++++++++++ contrib/wireguard-tools/config.h | 27 + contrib/wireguard-tools/containers.h | 107 ++++ contrib/wireguard-tools/ctype.h | 29 + contrib/wireguard-tools/curve25519-fiat32.h | 860 ++++++++++++++++++++++++++++ contrib/wireguard-tools/curve25519-hacl64.h | 784 +++++++++++++++++++++++++ contrib/wireguard-tools/curve25519.c | 98 ++++ contrib/wireguard-tools/curve25519.h | 24 + contrib/wireguard-tools/encoding.c | 125 ++++ contrib/wireguard-tools/encoding.h | 24 + contrib/wireguard-tools/genkey.c | 99 ++++ contrib/wireguard-tools/ipc-freebsd.h | 350 +++++++++++ contrib/wireguard-tools/ipc-uapi-unix.h | 119 ++++ contrib/wireguard-tools/ipc-uapi.h | 297 ++++++++++ contrib/wireguard-tools/ipc.c | 98 ++++ contrib/wireguard-tools/ipc.h | 17 + contrib/wireguard-tools/man/wg.8 | 258 +++++++++ contrib/wireguard-tools/pubkey.c | 50 ++ contrib/wireguard-tools/set.c | 41 ++ contrib/wireguard-tools/setconf.c | 156 +++++ contrib/wireguard-tools/show.c | 454 +++++++++++++++ contrib/wireguard-tools/showconf.c | 103 ++++ contrib/wireguard-tools/subcommands.h | 17 + contrib/wireguard-tools/terminal.c | 76 +++ contrib/wireguard-tools/terminal.h | 51 ++ contrib/wireguard-tools/version.h | 3 + contrib/wireguard-tools/wg.c | 66 +++ 28 files changed, 4999 insertions(+) diff --cc contrib/wireguard-tools/.gitignore index 000000000000,000000000000..4343ea95a0a2 new file mode 100644 --- /dev/null +++ b/contrib/wireguard-tools/.gitignore @@@ -1,0 -1,0 +1,16 @@@ ++# GPL-2.0, not used on FreeBSD: ++Makefile ++completion ++fuzz/ ++ipc-uapi-windows.h ++ipc-windows.h ++netlink.h ++uapi/ ++wg-quick/ ++wincompat/ ++ ++# License OK, but not needed for FreeBSD ++ipc-linux.h ++ipc-openbsd.h ++man/wg-quick.8 ++systemd/ diff --cc contrib/wireguard-tools/config.c index 000000000000,81ccb479c367..81ccb479c367 mode 000000,100644..100644 --- a/contrib/wireguard-tools/config.c +++ b/contrib/wireguard-tools/config.c diff --cc contrib/wireguard-tools/config.h index 000000000000,443cf2147446..443cf2147446 mode 000000,100644..100644 --- a/contrib/wireguard-tools/config.h +++ b/contrib/wireguard-tools/config.h diff --cc contrib/wireguard-tools/containers.h index 000000000000,a82e8ddee46a..a82e8ddee46a mode 000000,100644..100644 --- a/contrib/wireguard-tools/containers.h +++ b/contrib/wireguard-tools/containers.h diff --cc contrib/wireguard-tools/ctype.h index 000000000000,7c9942c29265..7c9942c29265 mode 000000,100644..100644 --- a/contrib/wireguard-tools/ctype.h +++ b/contrib/wireguard-tools/ctype.h diff --cc contrib/wireguard-tools/curve25519-fiat32.h index 000000000000,66f3309c8d88..66f3309c8d88 mode 000000,100644..100644 --- a/contrib/wireguard-tools/curve25519-fiat32.h +++ b/contrib/wireguard-tools/curve25519-fiat32.h diff --cc contrib/wireguard-tools/curve25519-hacl64.h index 000000000000,1fba1f5949f0..1fba1f5949f0 mode 000000,100644..100644 --- a/contrib/wireguard-tools/curve25519-hacl64.h +++ b/contrib/wireguard-tools/curve25519-hacl64.h diff --cc contrib/wireguard-tools/curve25519.c index 000000000000,7121d1eed124..7121d1eed124 mode 000000,100644..100644 --- a/contrib/wireguard-tools/curve25519.c +++ b/contrib/wireguard-tools/curve25519.c diff --cc contrib/wireguard-tools/curve25519.h index 000000000000,b05432fb1cd3..b05432fb1cd3 mode 000000,100644..100644 --- a/contrib/wireguard-tools/curve25519.h +++ b/contrib/wireguard-tools/curve25519.h diff --cc contrib/wireguard-tools/encoding.c index 000000000000,9b2cda51e8c0..9b2cda51e8c0 mode 000000,100644..100644 --- a/contrib/wireguard-tools/encoding.c +++ b/contrib/wireguard-tools/encoding.c diff --cc contrib/wireguard-tools/encoding.h index 000000000000,3cabe9cddba4..3cabe9cddba4 mode 000000,100644..100644 --- a/contrib/wireguard-tools/encoding.h +++ b/contrib/wireguard-tools/encoding.h diff --cc contrib/wireguard-tools/genkey.c index 000000000000,0201b2826d86..0201b2826d86 mode 000000,100644..100644 --- a/contrib/wireguard-tools/genkey.c +++ b/contrib/wireguard-tools/genkey.c diff --cc contrib/wireguard-tools/ipc-freebsd.h index 000000000000,b5be15b82140..b5be15b82140 mode 000000,100644..100644 --- a/contrib/wireguard-tools/ipc-freebsd.h +++ b/contrib/wireguard-tools/ipc-freebsd.h diff --cc contrib/wireguard-tools/ipc-uapi-unix.h index 000000000000,aaf60ca69af9..aaf60ca69af9 mode 000000,100644..100644 --- a/contrib/wireguard-tools/ipc-uapi-unix.h +++ b/contrib/wireguard-tools/ipc-uapi-unix.h diff --cc contrib/wireguard-tools/ipc-uapi.h index 000000000000,f582916ecc9f..f582916ecc9f mode 000000,100644..100644 --- a/contrib/wireguard-tools/ipc-uapi.h +++ b/contrib/wireguard-tools/ipc-uapi.h diff --cc contrib/wireguard-tools/ipc.c index 000000000000,1155bd569913..1155bd569913 mode 000000,100644..100644 --- a/contrib/wireguard-tools/ipc.c +++ b/contrib/wireguard-tools/ipc.c diff --cc contrib/wireguard-tools/ipc.h index 000000000000,bc0fd60bcb3a..bc0fd60bcb3a mode 000000,100644..100644 --- a/contrib/wireguard-tools/ipc.h +++ b/contrib/wireguard-tools/ipc.h diff --cc contrib/wireguard-tools/man/wg.8 index 000000000000,79845391ec02..79845391ec02 mode 000000,100644..100644 --- a/contrib/wireguard-tools/man/wg.8 +++ b/contrib/wireguard-tools/man/wg.8 diff --cc contrib/wireguard-tools/pubkey.c index 000000000000,f191592f518c..f191592f518c mode 000000,100644..100644 --- a/contrib/wireguard-tools/pubkey.c +++ b/contrib/wireguard-tools/pubkey.c diff --cc contrib/wireguard-tools/set.c index 000000000000,75560fd8cf62..75560fd8cf62 mode 000000,100644..100644 --- a/contrib/wireguard-tools/set.c +++ b/contrib/wireguard-tools/set.c diff --cc contrib/wireguard-tools/setconf.c index 000000000000,1c5b13876ff6..1c5b13876ff6 mode 000000,100644..100644 --- a/contrib/wireguard-tools/setconf.c +++ b/contrib/wireguard-tools/setconf.c diff --cc contrib/wireguard-tools/show.c index 000000000000,a61a06ef0646..a61a06ef0646 mode 000000,100644..100644 --- a/contrib/wireguard-tools/show.c +++ b/contrib/wireguard-tools/show.c diff --cc contrib/wireguard-tools/showconf.c index 000000000000,62070dc27af2..62070dc27af2 mode 000000,100644..100644 --- a/contrib/wireguard-tools/showconf.c +++ b/contrib/wireguard-tools/showconf.c diff --cc contrib/wireguard-tools/subcommands.h index 000000000000,4308b5b6eb4f..4308b5b6eb4f mode 000000,100644..100644 --- a/contrib/wireguard-tools/subcommands.h +++ b/contrib/wireguard-tools/subcommands.h diff --cc contrib/wireguard-tools/terminal.c index 000000000000,d3e6611d2e5a..d3e6611d2e5a mode 000000,100644..100644 --- a/contrib/wireguard-tools/terminal.c +++ b/contrib/wireguard-tools/terminal.c diff --cc contrib/wireguard-tools/terminal.h index 000000000000,50b16868cc89..50b16868cc89 mode 000000,100644..100644 --- a/contrib/wireguard-tools/terminal.h +++ b/contrib/wireguard-tools/terminal.h diff --cc contrib/wireguard-tools/version.h index 000000000000,c3ca131aadf4..c3ca131aadf4 mode 000000,100644..100644 --- a/contrib/wireguard-tools/version.h +++ b/contrib/wireguard-tools/version.h diff --cc contrib/wireguard-tools/wg.c index 000000000000,648097061448..648097061448 mode 000000,100644..100644 --- a/contrib/wireguard-tools/wg.c +++ b/contrib/wireguard-tools/wg.c