From 8520f3f83e6e0c5183c33e30426a25283a629384 Mon Sep 17 00:00:00 2001 From: omni Date: Thu, 12 Sep 2024 10:46:04 +0000 Subject: [PATCH] community/passt: fix --version output - use upstream tag format - add simple test of binaries --- community/passt/APKBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/community/passt/APKBUILD b/community/passt/APKBUILD index de230f7c3e2..8038dafbcbe 100644 --- a/community/passt/APKBUILD +++ b/community/passt/APKBUILD @@ -4,7 +4,7 @@ pkgname=passt pkgver=2024.09.06 _commit=6b38f07 _tag=${pkgver//./_}.$_commit -pkgrel=0 +pkgrel=1 pkgdesc="Plug A Simple Socket Transport" url="https://passt.top/" arch="all" @@ -13,11 +13,16 @@ makedepends="coreutils-fmt linux-headers" subpackages="$pkgname-doc" source="https://passt.top/passt/snapshot/passt-$_tag.tar.gz" builddir="$srcdir/$pkgname-$_tag" -# complicated test setup, requires qemu and a lot of VM images -options="!check" build() { - make + make VERSION="$_tag" +} + +check() { + # complicated test setup, requires qemu and a lot of VM images + # let's just at least do this + ./passt --version + ./pasta --version } package() {