opendoas: update to 6.8.

This commit is contained in:
Duncaen 2020-11-14 17:08:16 +01:00
parent 4e2ae453cf
commit 45f8cfe9d2
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35

View file

@ -1,19 +1,19 @@
# Template file for 'opendoas'
pkgname=opendoas
version=6.6.1
version=6.8
revision=1
wrksrc="OpenDoas-$version"
build_style=configure
configure_args="$(vopt_with 'pam') $(vopt_with 'timestamp')"
configure_args="--prefix=/usr $(vopt_with 'pam') $(vopt_with 'timestamp')"
conf_files="$(vopt_if 'pam' '/etc/pam.d/doas')"
hostmakedepends="bison"
makedepends="$(vopt_if 'pam' 'pam-devel')"
short_desc="Portable OpenBSD doas to execute commands as another user"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="ISC, BSD"
license="ISC, BSD-3-clause"
homepage="https://github.com/Duncaen/OpenDoas"
distfiles="https://github.com/Duncaen/OpenDoas/archive/v${version}.tar.gz"
checksum=baf5a2c73116781519cf03b5b9147eee8db69e8b052eaa81caf093107226b4fe
checksum=c53edc59a576cfe8ec8737230e7d0398842a5a8c925e25065463ab632a7eaba9
build_options="pam timestamp"
build_options_default="pam timestamp"
@ -22,7 +22,7 @@ desc_option_timestamp="enable persistent auth using timestamps"
pre_configure() {
cp ${FILESDIR}/doas.pam pam.d__doas__linux
vsed -i bsd.prog.mk \
vsed -i GNUmakefile \
-e '/chown ${BINOWN}:${BINGRP}/d' \
-e '/chmod ${BINMODE}/d'
}