2021-01-31 19:34:48 +00:00
|
|
|
# Description: A portable fork of the OpenBSD `doas` command
|
|
|
|
# URL: https://github.com/Duncaen/OpenDoas
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: linux-pam
|
|
|
|
|
|
|
|
name=opendoas
|
2022-01-27 21:56:40 +01:00
|
|
|
version=6.8.2
|
2021-05-09 13:35:08 +00:00
|
|
|
release=2
|
2021-01-31 19:34:48 +00:00
|
|
|
source=(https://github.com/Duncaen/OpenDoas/releases/download/v$version/$name-$version.tar.xz
|
2021-05-09 13:35:08 +00:00
|
|
|
doas.pam better-wayland-support.patch)
|
2021-01-31 19:34:48 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2021-05-09 13:35:08 +00:00
|
|
|
patch -Np1 -i $SRC/better-wayland-support.patch
|
2021-01-31 19:34:48 +00:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--with-timestamp
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
install -Dm644 $SRC/doas.pam \
|
|
|
|
$PKG/etc/pam.d/doas
|
|
|
|
}
|