mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/doas: add minimal check and minor cleanup
This commit is contained in:
parent
4aa3458d58
commit
81ee4579ec
@ -9,21 +9,27 @@ license="BSD"
|
||||
makedepends="bison"
|
||||
subpackages="$pkgname-doc"
|
||||
source="
|
||||
$pkgname-$pkgver.tar.gz::https://github.com/Duncaen/OpenDoas/archive/v6.0.tar.gz
|
||||
$pkgname-$pkgver.tar.gz::https://github.com/Duncaen/OpenDoas/archive/v$pkgver.tar.gz
|
||||
doas.conf
|
||||
"
|
||||
builddir="$srcdir/OpenDoas-$pkgver"
|
||||
options="$options !check suid"
|
||||
options="$options suid"
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-static \
|
||||
--without-pam || return 1
|
||||
--without-pam
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
# doas -v returns 1
|
||||
./doas -v || test $? = 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make install DESTDIR="$pkgdir"
|
||||
|
Loading…
Reference in New Issue
Block a user