2022-03-26 19:00:15 +00:00
|
|
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
|
|
|
|
|
|
. ../APKBUILD-openrc.template
|
|
|
|
|
2022-03-26 19:03:30 +00:00
|
|
|
pkgver=2022.03.26.03
|
2022-03-26 19:00:15 +00:00
|
|
|
pkgrel=0
|
|
|
|
source="$source secret"
|
|
|
|
depends="openrc $_rx_pkgname"
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
default_prepare
|
|
|
|
cp conffile conffile-mod
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
. secret
|
|
|
|
rx_replace "VTUN_KEY" "${VTUN_KEY:?'Missing VTUN key'}" "conffile-mod"
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
rx_openrc_runlevel_add
|
|
|
|
rx_openrc_runfile_install
|
|
|
|
rx_openrc_conffile_install "conffile-mod"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
65ef90c9ff340770755c63cf786474c95c5e3fde1bb4811b2730926a3bbe8cae763cfc03e07b2cbe627c254f0a695c5ea03ffe7d1c545b8b6df7efe8dbb48a2c runfile
|
|
|
|
8ef6c3f8679e97906ced5b2bc3faa8dd992ccbe0d46ab9f0f351c56f977bc912c2aec5afe4c481e5f03c721bc55e1e83801f0a60a5e2ac7c5c3ad8caf04cf68c conffile
|
2022-03-26 19:03:30 +00:00
|
|
|
51de9b697dec1bec0f24fc4fa6f1c1e27aac5dcf9359dc3ed3a16aa79960b1f83b58f6141928848f03ac13a71ce9337a9971d4eb8a5651928c75b320fbf099af secret
|
2022-03-26 19:00:15 +00:00
|
|
|
"
|