aports/secret/alpinepkg-httpauth/APKBUILD
Alex Denes 8df9fdc4ab
Reorganization, automation and more
- More templating and inheritance
- New commands
+ rx_replace
+ rx_install
+ rx_cpkgdir
- More transparency with secrets being sourced as variables and replaced
- Modularization of configs
+ telegraf
+ nginx (partial)
+ fastd
+ wireguard
+ unbound
- Split of unbound configurations and bind zones
- Bumping of key versions (rolling keys)
+ ZSK/KSK
+ OpenDKIM
- Relaxed permission defaults
and other smaller tweaks...
2021-06-01 23:17:41 +00:00

29 lines
568 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
. ../APKBUILD-secret.template
pkgver=2021.06.01.03
pkgrel=0
makedepends="apache2-utils"
subpackages="$pkgname-alpine"
source="secret"
build() {
. secret
htpasswd -bc passwdfile "$USER" "$PASSWD"
}
package() {
mkdir -p "$(rx_cpkgdir)"
}
alpine() {
install -dm400 "$(rx_cpkgdir)"/alpine-packages
rx_install passwdfile
}
sha512sums="
315113476e4e7db230c99f5d0d152e90f039935cc11d79283e6d5324a2326aa9970eb15468c0c55bf521fd91d012205bb68bdca174a7879df775916f2d534edc secret
"