aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2021-04-22 15:29:30 -0300
committerLeo <thinkabit.ukim@gmail.com>2021-04-22 18:55:59 +0000
commite5733f1b87cb170d4ed59921c71e8e316a515507 (patch)
treeec3bda5407a75237010a7354c2cdcca41274ebf8
parent5f0e1117a711f09a2f5f61485937b95af68fd811 (diff)
downloadaports-e5733f1b87cb170d4ed59921c71e8e316a515507.tar.gz
aports-e5733f1b87cb170d4ed59921c71e8e316a515507.tar.bz2
aports-e5733f1b87cb170d4ed59921c71e8e316a515507.tar.xz
community/yggdrasil: load 'tun' module after install
-rw-r--r--community/yggdrasil/APKBUILD3
-rw-r--r--[-rwxr-xr-x]community/yggdrasil/yggdrasil.initd0
-rw-r--r--community/yggdrasil/yggdrasil.post-install2
3 files changed, 4 insertions, 1 deletions
diff --git a/community/yggdrasil/APKBUILD b/community/yggdrasil/APKBUILD
index 4b78b8e7a2..1005e92e6c 100644
--- a/community/yggdrasil/APKBUILD
+++ b/community/yggdrasil/APKBUILD
@@ -1,12 +1,13 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=yggdrasil
pkgver=0.3.16
-pkgrel=1
+pkgrel=2
pkgdesc="An experiment in scalable routing as an encrypted IPv6 overlay network"
url="https://yggdrasil-network.github.io/"
arch="all"
license="LGPL-3.0-only"
makedepends="go"
+install="$pkgname.post-install"
source="
$pkgname-$pkgver.tar.gz::https://github.com/yggdrasil-network/yggdrasil-go/archive/v$pkgver.tar.gz
$pkgname.confd
diff --git a/community/yggdrasil/yggdrasil.initd b/community/yggdrasil/yggdrasil.initd
index 8aab44277b..8aab44277b 100755..100644
--- a/community/yggdrasil/yggdrasil.initd
+++ b/community/yggdrasil/yggdrasil.initd
diff --git a/community/yggdrasil/yggdrasil.post-install b/community/yggdrasil/yggdrasil.post-install
new file mode 100644
index 0000000000..155111ef7c
--- /dev/null
+++ b/community/yggdrasil/yggdrasil.post-install
@@ -0,0 +1,2 @@
+#!/bin/sh -e
+modprobe tun