void-packages/srcpkgs/acme-client/template

25 lines
849 B
Bash

# Template file for 'acme-client'
pkgname=acme-client
version=1.3.3
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config sed"
makedepends="openssl-devel"
checkdepends="nginx curl"
short_desc="Portable version of OpenBSD's acme-client"
maintainer="Emil Miler <em@0x45.cz>"
license="GPL-2.0-only"
homepage="https://git.wolfsden.cz/acme-client-portable/"
changelog="https://git.wolfsden.cz/acme-client-portable/blob/master/NEWS"
distfiles="https://data.wolfsden.cz/sources/acme-client-${version}.tar.gz"
checksum=1c93a4daf9430fb003acb75ffde2c4a7eb5ebbd5cdd0aae08447bacb81480e82
make_check=no # requires https://github.com/letsencrypt/pebble which isn't packaged
pre_install() {
sed -i 's,/etc/examples/,/usr/share/examples/acme-client/,g' usr.sbin/acme-client/acme-client.conf.5
}
post_install() {
vsconf ${FILESDIR}/acme-client.conf
}