diff options
Diffstat (limited to 'meta/recipes-connectivity/openssh/openssh_7.4p1.bb')
-rw-r--r-- | meta/recipes-connectivity/openssh/openssh_7.4p1.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh_7.4p1.bb b/meta/recipes-connectivity/openssh/openssh_7.4p1.bb index c8093d4e2b..e501eadd63 100644 --- a/meta/recipes-connectivity/openssh/openssh_7.4p1.bb +++ b/meta/recipes-connectivity/openssh/openssh_7.4p1.bb | |||
@@ -25,6 +25,7 @@ SRC_URI = "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar | |||
25 | file://openssh-7.1p1-conditional-compile-des-in-cipher.patch \ | 25 | file://openssh-7.1p1-conditional-compile-des-in-cipher.patch \ |
26 | file://openssh-7.1p1-conditional-compile-des-in-pkcs11.patch \ | 26 | file://openssh-7.1p1-conditional-compile-des-in-pkcs11.patch \ |
27 | file://fix-potential-signed-overflow-in-pointer-arithmatic.patch \ | 27 | file://fix-potential-signed-overflow-in-pointer-arithmatic.patch \ |
28 | file://sshd_check_keys \ | ||
28 | " | 29 | " |
29 | 30 | ||
30 | PAM_SRC_URI = "file://sshd" | 31 | PAM_SRC_URI = "file://sshd" |
@@ -124,7 +125,13 @@ do_install_append () { | |||
124 | sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \ | 125 | sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \ |
125 | -e 's,@SBINDIR@,${sbindir},g' \ | 126 | -e 's,@SBINDIR@,${sbindir},g' \ |
126 | -e 's,@BINDIR@,${bindir},g' \ | 127 | -e 's,@BINDIR@,${bindir},g' \ |
128 | -e 's,@LIBEXECDIR@,${libexecdir}/${BPN},g' \ | ||
127 | ${D}${systemd_unitdir}/system/sshd.socket ${D}${systemd_unitdir}/system/*.service | 129 | ${D}${systemd_unitdir}/system/sshd.socket ${D}${systemd_unitdir}/system/*.service |
130 | |||
131 | sed -i -e 's,@LIBEXECDIR@,${libexecdir}/${BPN},g' \ | ||
132 | ${D}${sysconfdir}/init.d/sshd | ||
133 | |||
134 | install -D -m 0755 ${WORKDIR}/sshd_check_keys ${D}${libexecdir}/${BPN}/sshd_check_keys | ||
128 | } | 135 | } |
129 | 136 | ||
130 | do_install_ptest () { | 137 | do_install_ptest () { |
@@ -139,6 +146,7 @@ FILES_${PN}-scp = "${bindir}/scp.${BPN}" | |||
139 | FILES_${PN}-ssh = "${bindir}/ssh.${BPN} ${sysconfdir}/ssh/ssh_config" | 146 | FILES_${PN}-ssh = "${bindir}/ssh.${BPN} ${sysconfdir}/ssh/ssh_config" |
140 | FILES_${PN}-sshd = "${sbindir}/sshd ${sysconfdir}/init.d/sshd ${systemd_unitdir}/system" | 147 | FILES_${PN}-sshd = "${sbindir}/sshd ${sysconfdir}/init.d/sshd ${systemd_unitdir}/system" |
141 | FILES_${PN}-sshd += "${sysconfdir}/ssh/moduli ${sysconfdir}/ssh/sshd_config ${sysconfdir}/ssh/sshd_config_readonly ${sysconfdir}/default/volatiles/99_sshd ${sysconfdir}/pam.d/sshd" | 148 | FILES_${PN}-sshd += "${sysconfdir}/ssh/moduli ${sysconfdir}/ssh/sshd_config ${sysconfdir}/ssh/sshd_config_readonly ${sysconfdir}/default/volatiles/99_sshd ${sysconfdir}/pam.d/sshd" |
149 | FILES_${PN}-sshd += "${libexecdir}/${BPN}/sshd_check_keys" | ||
142 | FILES_${PN}-sftp = "${bindir}/sftp" | 150 | FILES_${PN}-sftp = "${bindir}/sftp" |
143 | FILES_${PN}-sftp-server = "${libexecdir}/sftp-server" | 151 | FILES_${PN}-sftp-server = "${libexecdir}/sftp-server" |
144 | FILES_${PN}-misc = "${bindir}/ssh* ${libexecdir}/ssh*" | 152 | FILES_${PN}-misc = "${bindir}/ssh* ${libexecdir}/ssh*" |