summaryrefslogtreecommitdiff
path: root/user/wireguard-module
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-04-19 21:01:04 -0500
committerZach van Rijn <me@zv.io>2022-10-21 18:33:58 -0500
commit2262ea8d50f5755d0b60b285b914a5bc9c0df590 (patch)
treebd087bf7f7778478b6199a273801c0f2fd33b9f0 /user/wireguard-module
parent0963a318f17931fb63d6f1091c5fea6182c1ff5e (diff)
downloadpackages-2262ea8d50f5755d0b60b285b914a5bc9c0df590.tar.gz
packages-2262ea8d50f5755d0b60b285b914a5bc9c0df590.tar.bz2
packages-2262ea8d50f5755d0b60b285b914a5bc9c0df590.tar.xz
packages-2262ea8d50f5755d0b60b285b914a5bc9c0df590.zip
user/wireguard-module: drop package. integrated into incoming kernel.
Diffstat (limited to 'user/wireguard-module')
-rw-r--r--user/wireguard-module/APKBUILD41
1 files changed, 0 insertions, 41 deletions
diff --git a/user/wireguard-module/APKBUILD b/user/wireguard-module/APKBUILD
deleted file mode 100644
index 60df4133b..000000000
--- a/user/wireguard-module/APKBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# Contributor: Mira Ressel <aranea@aixah.de>
-# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
-_kver="5.4.66-mc1"
-pkgver=1.0.20210424
-pkgrel=0
-_pkgname="wireguard-module"
-pkgname="$_pkgname-$_kver"
-_pkgreal="wireguard-linux-compat"
-pkgdesc="Kernel module for the WireGuard VPN, built for easy-kernel"
-url="https://www.wireguard.com/"
-arch="all"
-options="!check !dbg !strip" # No test suite.
-license="GPL-2.0-only"
-depends="easy-kernel-modules-$_kver"
-makedepends="easy-kernel-src-$_kver"
-provides="$_pkgname=$pkgver"
-subpackages="wireguard-patch:_patch:noarch"
-source="https://git.zx2c4.com/$_pkgreal/snapshot/$_pkgreal-$pkgver.tar.xz"
-builddir="$srcdir/$_pkgreal-$pkgver"
-
-build() {
- make -C src LDFLAGS="" KERNELDIR="/usr/src/linux-$_kver" module
-}
-
-package() {
- if [ -f $HOME/kernel_key.pem ]; then
- /usr/src/linux-$_kver/scripts/sign-file sha512 \
- $HOME/kernel_key.pem $HOME/kernel_key.pem \
- "$builddir"/src/wireguard.ko
- fi
- make -C src DEPMOD=true KERNELDIR="/usr/src/linux-$_kver" INSTALL_MOD_PATH="$pkgdir" module-install
-}
-
-_patch() {
- depends=""
- pkgdesc="Kernel patch for the WireGuard VPN"
-
- mkdir -p "$subpkgdir/usr/share/wireguard"
- "$builddir"/kernel-tree-scripts/create-patch.sh > "$subpkgdir/usr/share/wireguard/wireguard-$pkgver.patch"
-}
-sha512sums="f3485978fdd5a1cccdd8ee269c223e805bc533b79189765324a383142934b12f4f6bf476147a09703fa674da4a1eaca13fe400553b27843dbf8da133ce19207b wireguard-linux-compat-1.0.20210424.tar.xz"