~dricottone/huttese-apk

d5e595c329f5ba0c6b4c77a9dca85d046f0b2877 — Drew DeVault 3 years ago 09fc19f
sr.ht-uacme: correct user/group names
2 files changed, 8 insertions(+), 8 deletions(-)

M sr.ht/sr.ht-uacme/APKBUILD
M sr.ht/sr.ht-uacme/sr.ht-uacme.pre-install
M sr.ht/sr.ht-uacme/APKBUILD => sr.ht/sr.ht-uacme/APKBUILD +7 -7
@@ 1,14 1,14 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=sr.ht-uacme
pkgver=1.0
pkgrel=0
pkgrel=1
pkgdesc="sr.ht acme configuration & utilities"
url="https://sr.ht/~sircmpwn/sr.ht"
arch="noarch"
license="MIT"
depends="uacme openssl moreutils doas"
pkgusers="uacme"
pkggroups="uacme"
pkgusers="acme"
pkggroups="acme"
install="$pkgname.pre-install"
source="
	acme-update-certs


@@ 33,13 33,13 @@ package() {
	install -Dm644 doas.conf "$pkgdir"/etc/doas.d/10-uacme.conf

	mkdir -p "$pkgdir"/etc/crontabs
	install -Dm600 -ouacme -guacme crontab "$pkgdir"/etc/crontabs/acme
	install -Dm600 -oacme -gacme crontab "$pkgdir"/etc/crontabs/acme

	mkdir -p "$pkgdir"/var/log
	install -Dm644 -ouacme -guacme /dev/null "$pkgdir"/var/log/acme.log
	install -Dm644 -oacme -gacme /dev/null "$pkgdir"/var/log/acme.log

	install -dm774 -ouacme -guacme "$pkgdir"/etc/ssl/uacme/private
	install -dm755 -ouacme -guacme "$pkgdir"/var/www/.well-known/acme-challenge
	install -dm774 -oacme -gacme "$pkgdir"/etc/ssl/uacme/private
	install -dm755 -oacme -gacme "$pkgdir"/var/www/.well-known/acme-challenge
}

sha512sums="

M sr.ht/sr.ht-uacme/sr.ht-uacme.pre-install => sr.ht/sr.ht-uacme/sr.ht-uacme.pre-install +1 -1
@@ 1,5 1,5 @@
#!/bin/sh
addgroup -S acme || true
adduser -SD -h /var/empty -s /sbin/nologin -G uacme -g uacme uacme || true
adduser -SD -h /var/empty -s /sbin/nologin -G acme -g acme acme || true
echo "Run the following command to finish configuring uacme:"
echo "doas -u acme uacme new <email address>"