diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-09-19 19:59:29 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-20 05:41:31 -0700 |
commit | 1aed10706307ef1d04932701d11b87ec4242d7f1 (patch) | |
tree | 6bcd8c74296dfedb7b55d50775994be18d7f0066 /meta | |
parent | b78597a4e038ed64b379f11257002e5a5f24886f (diff) | |
download | poky-1aed10706307ef1d04932701d11b87ec4242d7f1.tar.gz |
openssh: upgrade 7.8p1 -> 7.8p1+git to support openssl 1.1.x
- Convert from tarball to git repository which support
openssl 1.1.x
- There is no specific minor version that contains the
openssl fix (it was merged to master a few days agao),
rename recipe version to `7.8p1+git'
- Fix regression test binaries missing
In commit `1f7aaf7 openssh: build regression test binaries', it build
regression test binaries, since upstream add two binaries in commits
`c59aca8 Create control sockets in clean temp directories' and
`1acc058 Disable tests where fs perms are incorrect', we should update
do_compile_ptest.
[ptest log]
|/usr/lib/openssh/ptest/regress/test-exec.sh: line 330: /usr/lib/openssh/
ptest/regress/mkdtemp: No such file or directory
[ptest log]
(From OE-Core rev: 9d48cb3da696add33315cf129fe60102bd9756c9)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-connectivity/openssh/openssh_7.8p1+git.bb (renamed from meta/recipes-connectivity/openssh/openssh_7.8p1.bb) | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh_7.8p1.bb b/meta/recipes-connectivity/openssh/openssh_7.8p1+git.bb index f4b295f2df..f54dfb5de4 100644 --- a/meta/recipes-connectivity/openssh/openssh_7.8p1.bb +++ b/meta/recipes-connectivity/openssh/openssh_7.8p1+git.bb | |||
@@ -8,11 +8,10 @@ SECTION = "console/network" | |||
8 | LICENSE = "BSD" | 8 | LICENSE = "BSD" |
9 | LIC_FILES_CHKSUM = "file://LICENCE;md5=429658c6612f3a9b1293782366ab29d8" | 9 | LIC_FILES_CHKSUM = "file://LICENCE;md5=429658c6612f3a9b1293782366ab29d8" |
10 | 10 | ||
11 | # openssl 1.1 patches are proposed at https://github.com/openssh/openssh-portable/pull/48 | 11 | DEPENDS = "zlib openssl" |
12 | DEPENDS = "zlib openssl10" | ||
13 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | 12 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" |
14 | 13 | ||
15 | SRC_URI = "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar.gz \ | 14 | SRC_URI = "git://github.com/openssh/openssh-portable;branch=master \ |
16 | file://sshd_config \ | 15 | file://sshd_config \ |
17 | file://ssh_config \ | 16 | file://ssh_config \ |
18 | file://init \ | 17 | file://init \ |
@@ -29,8 +28,9 @@ SRC_URI = "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar | |||
29 | 28 | ||
30 | PAM_SRC_URI = "file://sshd" | 29 | PAM_SRC_URI = "file://sshd" |
31 | 30 | ||
32 | SRC_URI[md5sum] = "ce1d090fa6239fd38eb989d5e983b074" | 31 | SRCREV = "cce8cbe0ed7d1ba3a575310e0b63c193326ae616" |
33 | SRC_URI[sha256sum] = "1a484bb15152c183bb2514e112aa30dd34138c3cfb032eee5490a66c507144ca" | 32 | |
33 | S = "${WORKDIR}/git" | ||
34 | 34 | ||
35 | inherit useradd update-rc.d update-alternatives systemd | 35 | inherit useradd update-rc.d update-alternatives systemd |
36 | 36 | ||
@@ -80,7 +80,8 @@ do_configure_prepend () { | |||
80 | do_compile_ptest() { | 80 | do_compile_ptest() { |
81 | # skip regress/unittests/ binaries: this will silently skip | 81 | # skip regress/unittests/ binaries: this will silently skip |
82 | # unittests in run-ptests which is good because they are so slow. | 82 | # unittests in run-ptests which is good because they are so slow. |
83 | oe_runmake regress/modpipe regress/setuid-allowed regress/netcat | 83 | oe_runmake regress/modpipe regress/setuid-allowed regress/netcat \ |
84 | regress/check-perm regress/mkdtemp | ||
84 | } | 85 | } |
85 | 86 | ||
86 | do_install_append () { | 87 | do_install_append () { |