summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssh/openssh_7.4p1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/openssh/openssh_7.4p1.bb')
-rw-r--r--meta/recipes-connectivity/openssh/openssh_7.4p1.bb8
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
30PAM_SRC_URI = "file://sshd" 31PAM_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
130do_install_ptest () { 137do_install_ptest () {
@@ -139,6 +146,7 @@ FILES_${PN}-scp = "${bindir}/scp.${BPN}"
139FILES_${PN}-ssh = "${bindir}/ssh.${BPN} ${sysconfdir}/ssh/ssh_config" 146FILES_${PN}-ssh = "${bindir}/ssh.${BPN} ${sysconfdir}/ssh/ssh_config"
140FILES_${PN}-sshd = "${sbindir}/sshd ${sysconfdir}/init.d/sshd ${systemd_unitdir}/system" 147FILES_${PN}-sshd = "${sbindir}/sshd ${sysconfdir}/init.d/sshd ${systemd_unitdir}/system"
141FILES_${PN}-sshd += "${sysconfdir}/ssh/moduli ${sysconfdir}/ssh/sshd_config ${sysconfdir}/ssh/sshd_config_readonly ${sysconfdir}/default/volatiles/99_sshd ${sysconfdir}/pam.d/sshd" 148FILES_${PN}-sshd += "${sysconfdir}/ssh/moduli ${sysconfdir}/ssh/sshd_config ${sysconfdir}/ssh/sshd_config_readonly ${sysconfdir}/default/volatiles/99_sshd ${sysconfdir}/pam.d/sshd"
149FILES_${PN}-sshd += "${libexecdir}/${BPN}/sshd_check_keys"
142FILES_${PN}-sftp = "${bindir}/sftp" 150FILES_${PN}-sftp = "${bindir}/sftp"
143FILES_${PN}-sftp-server = "${libexecdir}/sftp-server" 151FILES_${PN}-sftp-server = "${libexecdir}/sftp-server"
144FILES_${PN}-misc = "${bindir}/ssh* ${libexecdir}/ssh*" 152FILES_${PN}-misc = "${bindir}/ssh* ${libexecdir}/ssh*"