summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-connectivity/openssh/openssh_8.2p1.bb10
1 files changed, 8 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh_8.2p1.bb b/meta/recipes-connectivity/openssh/openssh_8.2p1.bb
index d879efc201..17138c0ad8 100644
--- a/meta/recipes-connectivity/openssh/openssh_8.2p1.bb
+++ b/meta/recipes-connectivity/openssh/openssh_8.2p1.bb
@@ -43,12 +43,15 @@ SYSTEMD_SERVICE_${PN}-sshd = "sshd.socket"
43 43
44inherit autotools-brokensep ptest 44inherit autotools-brokensep ptest
45 45
46PACKAGECONFIG ??= "" 46PACKAGECONFIG ??= "rng-tools"
47PACKAGECONFIG[kerberos] = "--with-kerberos5,--without-kerberos5,krb5" 47PACKAGECONFIG[kerberos] = "--with-kerberos5,--without-kerberos5,krb5"
48PACKAGECONFIG[ldns] = "--with-ldns,--without-ldns,ldns" 48PACKAGECONFIG[ldns] = "--with-ldns,--without-ldns,ldns"
49PACKAGECONFIG[libedit] = "--with-libedit,--without-libedit,libedit" 49PACKAGECONFIG[libedit] = "--with-libedit,--without-libedit,libedit"
50PACKAGECONFIG[manpages] = "--with-mantype=man,--with-mantype=cat" 50PACKAGECONFIG[manpages] = "--with-mantype=man,--with-mantype=cat"
51 51
52# Add RRECOMMENDS to rng-tools for sshd package
53PACKAGECONFIG[rng-tools] = ""
54
52EXTRA_AUTORECONF += "--exclude=aclocal" 55EXTRA_AUTORECONF += "--exclude=aclocal"
53 56
54# login path is hardcoded in sshd 57# login path is hardcoded in sshd
@@ -150,7 +153,10 @@ FILES_${PN}-keygen = "${bindir}/ssh-keygen"
150 153
151RDEPENDS_${PN} += "${PN}-scp ${PN}-ssh ${PN}-sshd ${PN}-keygen" 154RDEPENDS_${PN} += "${PN}-scp ${PN}-ssh ${PN}-sshd ${PN}-keygen"
152RDEPENDS_${PN}-sshd += "${PN}-keygen ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-keyinit pam-plugin-loginuid', '', d)}" 155RDEPENDS_${PN}-sshd += "${PN}-keygen ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-keyinit pam-plugin-loginuid', '', d)}"
153RRECOMMENDS_${PN}-sshd_append_class-target = " rng-tools" 156RRECOMMENDS_${PN}-sshd_append_class-target = "\
157 ${@bb.utils.filter('PACKAGECONFIG', 'rng-tools', d)} \
158"
159
154# gdb would make attach-ptrace test pass rather than skip but not worth the build dependencies 160# gdb would make attach-ptrace test pass rather than skip but not worth the build dependencies
155RDEPENDS_${PN}-ptest += "${PN}-sftp ${PN}-misc ${PN}-sftp-server make sed sudo coreutils" 161RDEPENDS_${PN}-ptest += "${PN}-sftp ${PN}-misc ${PN}-sftp-server make sed sudo coreutils"
156 162