added ssh_askpass (#10031)

This commit is contained in:
ilzu
2024-02-01 08:48:34 +00:00
committed by GitHub
parent 438c6835a6
commit e05614e440

View File

@@ -0,0 +1,46 @@
SUMMARY="A native Haiku UI for entering SSH passwords / -phrases"
DESCRIPTION="SSH_askpass is a simple ui for authenticating your SSH connections"
HOMEPAGE="https://github.com/ilzu/haiku_ssh_askpass"
COPYRIGHT="2024 Ilmari \"ilzu\" Siiteri"
LICENSE="MIT"
REVISION=1
SOURCE_URI="$HOMEPAGE/archive/refs/tags/v$portVersion.tar.gz"
CHECKSUM_SHA256="68966119a093dd5ec0446de23deee99b81b9a42bb27dee17ce687133beecfeb3"
SOURCE_DIR="haiku_ssh_askpass-$portVersion"
ARCHITECTURES="all"
PROVIDES="
ssh_askpass = $portVersion
cmd:ssh_askpass
"
REQUIRES="
haiku
openssh
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:make
"
BUILD()
{
make OBJ_DIR=build $jobArgs
make bindcatalogs
}
INSTALL()
{
mkdir -p $binDir
cp build/ssh_askpass $binDir/
mkdir -p $dataDir/profile.d
cp profile.d/ssh_askpass.sh $dataDir/profile.d/
}