# Description: A portable fork of the OpenBSD `doas` command # URL: https://github.com/Duncaen/OpenDoas # Maintainer: KRAK3N Team, extra ports at krak3n dot my # Depends on: bison name=opendoas version=6.8.2 release=1 source=(https://github.com/Duncaen/OpenDoas/releases/download/v${version}/${name}-${version}.tar.xz doas.conf) build() { cd ${name}-${version} BINOWN="$(id -u)" \ BINGRP="$(id -g)" \ ./configure \ --prefix=/usr \ --with-shadow \ --with-timestamp \ --without-pam make make DESTDIR=$PKG install mkdir -p $PKG/etc cp $SRC/doas.conf $PKG/etc chmod 600 $PKG/etc/doas.conf }