void-packages/srcpkgs/opendoas/template

27 lines
712 B
Bash
Raw Normal View History

2016-05-29 20:44:35 +02:00
# Template file for 'opendoas'
pkgname=opendoas
2016-06-05 14:20:11 +02:00
version=0.2
2016-05-29 20:44:35 +02:00
revision=1
wrksrc="OpenDoas-$version"
build_style=configure
conf_files="/etc/pam.d/doas"
hostmakedepends="bison"
makedepends="pam-devel"
short_desc="Portable OpenBSD doas to execute commands as another user"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="BSD"
homepage="https://github.com/Duncaen/OpenDoas"
distfiles="https://github.com/Duncaen/OpenDoas/archive/v${version}.tar.gz"
2016-06-05 14:20:11 +02:00
checksum=67ed58ba9e5f7cf838945d0601fc468a2bd03e2993269dd65f575fc2975ee259
2016-05-29 20:44:35 +02:00
pre_configure() {
cp ${FILESDIR}/doas.pam pam.d__doas__linux
2016-06-05 14:20:11 +02:00
sed -i bsd.prog.mk \
-e '/chown ${BINOWN}:${BINGRP}/d' \
-e '/chmod ${BINMODE}/d'
2016-05-29 20:44:35 +02:00
}
post_install() {
vlicense LICENSE
}