mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-22 19:16:32 +01:00
Add opendoas
This commit is contained in:
parent
75772adb91
commit
2188e8182a
7 changed files with 35 additions and 0 deletions
1
steps/opendoas-6.8.2/files/doas.conf
Normal file
1
steps/opendoas-6.8.2/files/doas.conf
Normal file
|
|
@ -0,0 +1 @@
|
|||
permit nopass :wheel
|
||||
3
steps/opendoas-6.8.2/files/doas.conf.license
Normal file
3
steps/opendoas-6.8.2/files/doas.conf.license
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
SPDX-FileCopyrightText: 2024 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
20
steps/opendoas-6.8.2/pass1.sh
Normal file
20
steps/opendoas-6.8.2/pass1.sh
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# SPDX-FileCopyrightText: 2024 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
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"
|
||||
|
||||
install -D -m 400 ../../files/doas.conf "${DESTDIR}/etc/doas.conf"
|
||||
}
|
||||
1
steps/opendoas-6.8.2/sources
Normal file
1
steps/opendoas-6.8.2/sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
https://github.com/Duncaen/OpenDoas/releases/download/v6.8.2/opendoas-6.8.2.tar.xz 4e98828056d6266bd8f2c93e6ecf12a63a71dbfd70a5ea99ccd4ab6d0745adf0
|
||||
Loading…
Add table
Add a link
Reference in a new issue