2020-11-20 16:31:49 +00:00
|
|
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
2021-02-07 21:36:32 +00:00
|
|
|
_svcname=wireguard
|
|
|
|
|
|
|
|
. ../APKBUILD-config.common
|
|
|
|
|
2021-02-24 17:13:29 +00:00
|
|
|
pkgver=2021.02.24
|
2021-02-18 15:53:14 +00:00
|
|
|
pkgrel=0
|
2021-02-07 21:36:32 +00:00
|
|
|
subpackages="$pkgname-sysctl"
|
2020-11-20 16:31:49 +00:00
|
|
|
source="
|
|
|
|
main.conf
|
2020-12-13 01:33:40 +00:00
|
|
|
sysctl.conf
|
2020-11-20 16:31:49 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
package() {
|
2020-12-13 01:33:40 +00:00
|
|
|
install -Dm400 main.conf "$pkgdir"/etc/wireguard/rxmain.conf
|
2021-02-07 21:36:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sysctl() {
|
|
|
|
install_if="redxen-config-wireguard"
|
|
|
|
install -Dm644 "$srcdir"/sysctl.conf "$subpkgdir"/etc/sysctl.d/90-wireguard.conf
|
2020-11-20 16:31:49 +00:00
|
|
|
}
|
|
|
|
|
2021-02-24 17:13:29 +00:00
|
|
|
sha512sums="27268a2999710e675c4ef8d00fb1343ef1fb6d06b1fea08cf5d9e52c62e7c4116d055e22982817e88a987a8cbf3079cb26be8be8a2f79dc7666cb65d809c3b05 main.conf
|
2020-12-13 01:33:40 +00:00
|
|
|
b79ffbc64f2e193dc9402f7506b56b66892aa5387d13ac209ae344f9ce0f17aec3fdc503bf6855650d413dba3b66ffa3f937dd803850028579f5f5ed747c56b0 sysctl.conf"
|