diff options
| -rw-r--r-- | meta/recipes-core/dropbear/dropbear_2022.82.bb | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/meta/recipes-core/dropbear/dropbear_2022.82.bb b/meta/recipes-core/dropbear/dropbear_2022.82.bb index 41c14ff2f1..4ed4c65cc1 100644 --- a/meta/recipes-core/dropbear/dropbear_2022.82.bb +++ b/meta/recipes-core/dropbear/dropbear_2022.82.bb | |||
| @@ -12,8 +12,6 @@ DEPENDS = "zlib virtual/crypt" | |||
| 12 | RPROVIDES:${PN} = "ssh sshd" | 12 | RPROVIDES:${PN} = "ssh sshd" |
| 13 | RCONFLICTS:${PN} = "openssh-sshd openssh" | 13 | RCONFLICTS:${PN} = "openssh-sshd openssh" |
| 14 | 14 | ||
| 15 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | ||
| 16 | |||
| 17 | SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.bz2 \ | 15 | SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.bz2 \ |
| 18 | file://0001-urandom-xauth-changes-to-options.h.patch \ | 16 | file://0001-urandom-xauth-changes-to-options.h.patch \ |
| 19 | file://init \ | 17 | file://init \ |
| @@ -36,8 +34,6 @@ PAM_PLUGINS = "libpam-runtime \ | |||
| 36 | pam-plugin-permit \ | 34 | pam-plugin-permit \ |
| 37 | pam-plugin-unix \ | 35 | pam-plugin-unix \ |
| 38 | " | 36 | " |
| 39 | RDEPENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_PLUGINS}', '', d)}" | ||
| 40 | |||
| 41 | inherit autotools update-rc.d systemd | 37 | inherit autotools update-rc.d systemd |
| 42 | 38 | ||
| 43 | CVE_PRODUCT = "dropbear_ssh" | 39 | CVE_PRODUCT = "dropbear_ssh" |
| @@ -51,14 +47,12 @@ SBINCOMMANDS = "dropbear dropbearkey dropbearconvert" | |||
| 51 | BINCOMMANDS = "dbclient ssh scp" | 47 | BINCOMMANDS = "dbclient ssh scp" |
| 52 | EXTRA_OEMAKE = 'MULTI=1 SCPPROGRESS=1 PROGRAMS="${SBINCOMMANDS} ${BINCOMMANDS}"' | 48 | EXTRA_OEMAKE = 'MULTI=1 SCPPROGRESS=1 PROGRAMS="${SBINCOMMANDS} ${BINCOMMANDS}"' |
| 53 | 49 | ||
| 54 | PACKAGECONFIG ?= "disable-weak-ciphers" | 50 | PACKAGECONFIG ?= "disable-weak-ciphers ${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" |
| 51 | PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam,${PAM_PLUGINS}" | ||
| 55 | PACKAGECONFIG[system-libtom] = "--disable-bundled-libtom,--enable-bundled-libtom,libtommath libtomcrypt" | 52 | PACKAGECONFIG[system-libtom] = "--disable-bundled-libtom,--enable-bundled-libtom,libtommath libtomcrypt" |
| 56 | PACKAGECONFIG[disable-weak-ciphers] = "" | 53 | PACKAGECONFIG[disable-weak-ciphers] = "" |
| 57 | PACKAGECONFIG[enable-x11-forwarding] = "" | 54 | PACKAGECONFIG[enable-x11-forwarding] = "" |
| 58 | 55 | ||
| 59 | EXTRA_OECONF += "\ | ||
| 60 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)}" | ||
| 61 | |||
| 62 | # This option appends to CFLAGS and LDFLAGS from OE | 56 | # This option appends to CFLAGS and LDFLAGS from OE |
| 63 | # This is causing [textrel] QA warning | 57 | # This is causing [textrel] QA warning |
| 64 | EXTRA_OECONF += "--disable-harden" | 58 | EXTRA_OECONF += "--disable-harden" |
