aports/config/wireguard/APKBUILD

26 lines
735 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
_svcname=wireguard
. ../APKBUILD-config.common
pkgver=2021.02.24
pkgrel=1
subpackages="$pkgname-sysctl"
source="
main.conf
sysctl.conf
"
package() {
install -Dm400 main.conf "$pkgdir"/etc/wireguard/rxmain.conf
}
sysctl() {
install_if="redxen-config-wireguard"
install -Dm644 "$srcdir"/sysctl.conf "$subpkgdir"/etc/sysctl.d/90-wireguard.conf
}
sha512sums="bd7c7cfca40761f052d6fd06bb026a03f2b36c8442d9e6a642179cb07140bb7d9e0005b1482f9fcae4070baf0a914520f09b190c75a5b754a1eac8ef46fc1dc6 main.conf
b79ffbc64f2e193dc9402f7506b56b66892aa5387d13ac209ae344f9ce0f17aec3fdc503bf6855650d413dba3b66ffa3f937dd803850028579f5f5ed747c56b0 sysctl.conf"