void-packages/srcpkgs/acme-client/template
Lauri Tirkkonen 57d5ca7c01 New package: acme-client-1.3.0
portable acme-client existed previously with a different upstream, which
was unmaintained - switch to one that is maintained.
2022-03-29 10:25:56 -04:00

23 lines
796 B
Bash

# Template file for 'acme-client'
pkgname=acme-client
version=1.3.0
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="Lauri Tirkkonen <lauri@hacktheplanet.fi>"
license="GPL-2.0-only"
homepage="https://git.sr.ht/~graywolf/acme-client-portable/"
distfiles="https://data.wolfsden.cz/sources/acme-client-${version}.tar.gz"
checksum=ac8796652393fa73f32dfda60ed3a437fc260867df1b81fa3c241bd95c5bc719
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
}