aports/configs/wireguard/APKBUILD

24 lines
799 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-config-wireguard
pkgver=2021.01.27
pkgrel=0
pkgdesc="Wireguard tunnel configuration"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
depends="wireguard-tools-wg wireguard-tools-wg-quick"
source="
main.conf
sysctl.conf
"
options="!check"
package() {
install -Dm400 main.conf "$pkgdir"/etc/wireguard/rxmain.conf
install -Dm644 sysctl.conf "$pkgdir"/etc/sysctl.d/90-wireguard.conf
}
sha512sums="f6c66215817ba6cd9f6e2288d86dafa249b38a043a7e71ce88cb1f1c568681d89eada90f0700c14606186b3ad604333eb71360aa01951aac4e38a332d4f62027 main.conf
b79ffbc64f2e193dc9402f7506b56b66892aa5387d13ac209ae344f9ce0f17aec3fdc503bf6855650d413dba3b66ffa3f937dd803850028579f5f5ed747c56b0 sysctl.conf"