Commit eb9b03b5 authored by Veovis's avatar Veovis Committed by Veovis

main/openssh: add kerberos support

parent 7cfbb189
Pipeline #74225 passed with stages
in 19 minutes and 48 seconds
......@@ -11,12 +11,12 @@ arch="all"
license="BSD"
options="suid"
depends="openssh-client openssh-sftp-server openssh-server"
makedepends_build="linux-pam-dev"
makedepends_build="linux-pam-dev krb5-dev"
makedepends_host="openssl-dev zlib-dev libedit-dev linux-headers"
makedepends="$makedepends_build $makedepends_host"
# Add more packages support here e.g. kerberos
_pkgsupport=""
[ -z "$BOOTSTRAP" ] && _pkgsupport="pam"
_pkgsupport="kerberos5"
[ -z "$BOOTSTRAP" ] && _pkgsupport="$_pkgsupport pam"
subpackages="$pkgname-dbg
$pkgname-doc
$pkgname-keygen
......@@ -202,12 +202,17 @@ _server() {
}
_pkg_flavour() {
local _flavour
case $subpkgname in
openssh-server-kerberos5)
_flavour=kerberos5 ;;
openssh-server-pam)
_flavour=pam ;;
esac
pkgdesc="OpenSSH server with $_flavour support"
depends="openssh-keygen openssh-server-common"
for _flavour in $_pkgsupport; do
cd "$builddir"-$_flavour
_server "$builddir"-$_flavour
done
cd "$builddir"-$_flavour
_server "$builddir"-$_flavour
}
sha512sums="d65275b082c46c5efe7cf3264fa6794d6e99a36d4a54b50554fc56979d6c0837381587fd5399195e1db680d2a5ad1ef0b99a180eac2b4de5637906cb7a89e9ce openssh-8.4p1.tar.gz
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment