aports/testing/hpnssh/APKBUILD
Lukas Franek 29469daf51 testing/hpnssh: upgrade to 18.6.2
fix: remove ppc64le from arch
2025-03-20 10:54:14 +00:00

50 lines
1.1 KiB
Text

# Contributor: Lukas Franek <lukas.franek@ui.com>
# Maintainer: Lukas Franek <lukas.franek@ui.com>
pkgname=hpnssh
pkgver=18.6.2
pkgrel=0
pkgdesc="HPNSSH: High performance SSH/SCP"
url="https://psc.edu/hpn-ssh-home"
# s390x: libssh is failing to build
# ppc64le: libopenbsd-compat failing to build
arch="all !s390x !ppc64le"
license="custom"
makedepends="
autoconf
automake
libtool
linux-headers
cmake
openssl-dev>3
zlib-dev
"
subpackages="$pkgname-doc"
source="https://github.com/rapier1/hpn-ssh/archive/refs/tags/hpn-$pkgver.tar.gz"
builddir="$srcdir/hpn-ssh-hpn-$pkgver"
# hpnssh-keysign need suid
options="suid"
build() {
autoreconf -fi
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--with-mantype=man
make
}
check() {
make -j1 file-tests interop-tests unit
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
3353cf3df18dd740206210a819cd2b932a8e14a34a77ad847355a5135b60116b30dc2d6f7ddb69a8b1bf5055b94844d55d393b820247f82fd6a88c819d973850 hpn-18.6.2.tar.gz
"