aports/config/wireguard/APKBUILD

26 lines
735 B
Plaintext
Raw Normal View History

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-24 17:28:21 +00:00
pkgrel=1
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:28:21 +00:00
sha512sums="bd7c7cfca40761f052d6fd06bb026a03f2b36c8442d9e6a642179cb07140bb7d9e0005b1482f9fcae4070baf0a914520f09b190c75a5b754a1eac8ef46fc1dc6 main.conf
2020-12-13 01:33:40 +00:00
b79ffbc64f2e193dc9402f7506b56b66892aa5387d13ac209ae344f9ce0f17aec3fdc503bf6855650d413dba3b66ffa3f937dd803850028579f5f5ed747c56b0 sysctl.conf"