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

@ -194,6 +194,7 @@ build: gcc-13.1.0
build: libmd-1.1.0
build: libbsd-0.11.8
build: shadow-4.14.3
build: opendoas-6.8.2
improve: cleanup_filesystem
improve: null_time ( FORCE_TIMESTAMPS == True )
improve: update_checksums ( UPDATE_CHECKSUMS == True )

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