Add opendoas

This commit is contained in:
fosslinux 2024-01-27 11:18:32 +11:00
parent cfab7bc39a
commit 31198f304d
3 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,14 @@
src_configure() {
./configure --prefix="${PREFIX}" \
--without-pam
}
src_compile() {
make -f GNUmakefile "${MAKEJOBS}" PREFIX="${PREFIX}"
}
src_install() {
make -f GNUmakefile install PREFIX="${PREFIX}" DESTDIR="${DESTDIR}"
ln -s doas "${DESTDIR}${PREFIX}/bin/sudo"
}

View file

@ -0,0 +1 @@
https://github.com/Duncaen/OpenDoas/releases/download/v6.8.2/opendoas-6.8.2.tar.xz 4e98828056d6266bd8f2c93e6ecf12a63a71dbfd70a5ea99ccd4ab6d0745adf0