mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-10 23:39:03 +02:00
40 lines
1.2 KiB
Text
40 lines
1.2 KiB
Text
# Contributor: Hoang Nguyen <folliekazetani@protonmail.com>
|
|
# Maintainer: omni <omni+alpine@hack.org>
|
|
maintainer="omni <omni+alpine@hack.org>"
|
|
pkgname=passt
|
|
pkgver=2025.06.06
|
|
_commit=754c6d7
|
|
_tag=${pkgver//./_}.$_commit
|
|
pkgrel=0
|
|
pkgdesc="Plug A Simple Socket Transport"
|
|
url="https://passt.top/"
|
|
# ppc6le: may fail in CI with the message:
|
|
# Failed to close files leaked by parent: Function not implemented
|
|
# but should pass on the ppc64le package builder, see 2024-09-12 12:
|
|
# https://irclogs.alpinelinux.org/%23alpine-devel-2024-09.log
|
|
arch="all"
|
|
license="BSD-3-Clause AND GPL-2.0-or-later"
|
|
makedepends="coreutils-fmt linux-headers"
|
|
subpackages="$pkgname-doc"
|
|
source="https://passt.top/passt/snapshot/passt-$_tag.tar.gz"
|
|
builddir="$srcdir/$pkgname-$_tag"
|
|
|
|
build() {
|
|
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() {
|
|
make DESTDIR="$pkgdir" prefix=/usr install
|
|
install -Dm644 LICENSES/*.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
|
|
}
|
|
|
|
sha512sums="
|
|
963380da52c101c5127f304346a449ce29681aa04f87c2db2129bef4edebf6d6995762c18830d598eb22a87aabc3ca95bdb9b67eb96490bc293470a4d4d6c905 passt-2025_06_06.754c6d7.tar.gz
|
|
"
|