forked from ports/contrib
wireguard: initial commit
This commit is contained in:
parent
892e0d80c9
commit
c4c56124e1
12
wireguard/.footprint
Normal file
12
wireguard/.footprint
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
drwxr-xr-x root/root lib/
|
||||||
|
drwxr-xr-x root/root lib/modules/
|
||||||
|
drwxr-xr-x root/root lib/modules/<kernel-version>/
|
||||||
|
drwxr-xr-x root/root lib/modules/<kernel-version>/extra/
|
||||||
|
-rw-r--r-- root/root lib/modules/<kernel-version>/extra/wireguard.ko
|
||||||
|
drwxr-xr-x root/root usr/
|
||||||
|
drwxr-xr-x root/root usr/bin/
|
||||||
|
-rwxr-xr-x root/root usr/bin/wg
|
||||||
|
drwxr-xr-x root/root usr/share/
|
||||||
|
drwxr-xr-x root/root usr/share/man/
|
||||||
|
drwxr-xr-x root/root usr/share/man/man8/
|
||||||
|
-rw-r--r-- root/root usr/share/man/man8/wg.8.gz
|
5
wireguard/.signature
Normal file
5
wireguard/.signature
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
untrusted comment: verify with /etc/ports/contrib.pub
|
||||||
|
RWSagIOpLGJF31Si4blaNzhChUUbLx6QjriE9h6mHj6L5Bu3Eag25hvllbbb6/gMO6NlPZsT9oVDbfqyioWzlTQTMunkBu78aws=
|
||||||
|
SHA256 (Pkgfile) = 85d418c5cfabc2d6e56a162e9acf448b9bd90ab17cacfd8b3b84f2fe575e3568
|
||||||
|
SHA256 (.footprint) = d0016fbd53212eddba4f3e8417e8d5b72bcfa4b294b774b3fb8061ef01d9acf8
|
||||||
|
SHA256 (WireGuard-0.0.20180809.tar.xz) = 3e351c42d22de427713f1da06d21189c5896a694a66cf19233a7c33295676f19
|
20
wireguard/Pkgfile
Normal file
20
wireguard/Pkgfile
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Description: WireGuard userspace tool and out-of-tree kernel module
|
||||||
|
# URL: https://www.wireguard.com/
|
||||||
|
# Maintainer: Fredrik Rinnestam, fredrik at crux dot guru
|
||||||
|
# Depends on: libmnl
|
||||||
|
|
||||||
|
name=wireguard
|
||||||
|
version=0.0.20180809
|
||||||
|
release=1
|
||||||
|
source=(https://git.zx2c4.com/WireGuard/snapshot/WireGuard-$version.tar.xz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd WireGuard-$version/src
|
||||||
|
make
|
||||||
|
make DESTDIR=$PKG -C tools install
|
||||||
|
|
||||||
|
install -d $PKG/lib/modules/$(uname -r)/extra
|
||||||
|
install -m 0644 *.ko $PKG/lib/modules/$(uname -r)/extra/
|
||||||
|
|
||||||
|
rm -r $PKG/usr/share/bash-completion
|
||||||
|
}
|
9
wireguard/README
Normal file
9
wireguard/README
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
Required kernel config for WireGuard:
|
||||||
|
|
||||||
|
[*] Networking support -->
|
||||||
|
Networking options -->
|
||||||
|
[*] TCP/IP networking
|
||||||
|
[*] IP: Foo (IP protocols) over UDP
|
||||||
|
[*] Cryptographic API -->
|
||||||
|
[*] Cryptographic algorithm manager
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user