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