diff options
| author | Alexander Kanavin <alex@linutronix.de> | 2024-06-19 10:59:50 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-06-24 12:43:40 +0100 |
| commit | 6f9820f198a8b5b94aaf6c4e2ba4ba29e52352c4 (patch) | |
| tree | 21a7ad92548620008aadff1139f0e8f270ffadc7 /meta/recipes-connectivity/openssh | |
| parent | de735e1610f8efa7208b1e1a2e088b6e7cdde73d (diff) | |
| download | poky-6f9820f198a8b5b94aaf6c4e2ba4ba29e52352c4.tar.gz | |
openssh: drop add-test-support-for-busybox.patch
The ptest package is nowadays depending on coreutils
so busybox tweaks are both incomplete and unneeded.
(From OE-Core rev: 2408b0b5ea3090fd151de22c91420210fd7ff48f)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssh')
| -rw-r--r-- | meta/recipes-connectivity/openssh/openssh/add-test-support-for-busybox.patch | 47 | ||||
| -rw-r--r-- | meta/recipes-connectivity/openssh/openssh_9.7p1.bb | 1 |
2 files changed, 0 insertions, 48 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh/add-test-support-for-busybox.patch b/meta/recipes-connectivity/openssh/openssh/add-test-support-for-busybox.patch deleted file mode 100644 index b8402a4dee..0000000000 --- a/meta/recipes-connectivity/openssh/openssh/add-test-support-for-busybox.patch +++ /dev/null | |||
| @@ -1,47 +0,0 @@ | |||
| 1 | Adjust test cases to work with busybox. | ||
| 2 | |||
| 3 | - Replace dd parameter "obs" with "bs". | ||
| 4 | - Replace "head -<num>" with "head -n <num>". | ||
| 5 | |||
| 6 | Signed-off-by: Maxin B. John <maxin.john@enea.com> | ||
| 7 | Upstream-Status: Pending | ||
| 8 | |||
| 9 | Index: openssh-7.6p1/regress/cipher-speed.sh | ||
| 10 | =================================================================== | ||
| 11 | --- openssh-7.6p1.orig/regress/cipher-speed.sh | ||
| 12 | +++ openssh-7.6p1/regress/cipher-speed.sh | ||
| 13 | @@ -17,7 +17,7 @@ for c in `${SSH} -Q cipher`; do n=0; for | ||
| 14 | printf "%-60s" "$c/$m:" | ||
| 15 | ( ${SSH} -o 'compression no' \ | ||
| 16 | -F $OBJ/ssh_proxy -m $m -c $c somehost \ | ||
| 17 | - exec sh -c \'"dd of=/dev/null obs=32k"\' \ | ||
| 18 | + exec sh -c \'"dd of=/dev/null bs=32k"\' \ | ||
| 19 | < ${DATA} ) 2>&1 | getbytes | ||
| 20 | |||
| 21 | if [ $? -ne 0 ]; then | ||
| 22 | Index: openssh-7.6p1/regress/transfer.sh | ||
| 23 | =================================================================== | ||
| 24 | --- openssh-7.6p1.orig/regress/transfer.sh | ||
| 25 | +++ openssh-7.6p1/regress/transfer.sh | ||
| 26 | @@ -13,7 +13,7 @@ cmp ${DATA} ${COPY} || fail "corrupted | ||
| 27 | for s in 10 100 1k 32k 64k 128k 256k; do | ||
| 28 | trace "dd-size ${s}" | ||
| 29 | rm -f ${COPY} | ||
| 30 | - dd if=$DATA obs=${s} 2> /dev/null | \ | ||
| 31 | + dd if=$DATA bs=${s} 2> /dev/null | \ | ||
| 32 | ${SSH} -q -F $OBJ/ssh_proxy somehost "cat > ${COPY}" | ||
| 33 | if [ $? -ne 0 ]; then | ||
| 34 | fail "ssh cat $DATA failed" | ||
| 35 | Index: openssh-7.6p1/regress/key-options.sh | ||
| 36 | =================================================================== | ||
| 37 | --- openssh-7.6p1.orig/regress/key-options.sh | ||
| 38 | +++ openssh-7.6p1/regress/key-options.sh | ||
| 39 | @@ -47,7 +47,7 @@ for f in 127.0.0.1 '127.0.0.0\/8'; do | ||
| 40 | fi | ||
| 41 | |||
| 42 | sed 's/.*/from="'"$f"'" &/' $origkeys >$authkeys | ||
| 43 | - from=`head -1 $authkeys | cut -f1 -d ' '` | ||
| 44 | + from=`head -n 1 $authkeys | cut -f1 -d ' '` | ||
| 45 | verbose "key option $from" | ||
| 46 | r=`${SSH} -q -F $OBJ/ssh_proxy somehost 'echo true'` | ||
| 47 | if [ "$r" = "true" ]; then | ||
diff --git a/meta/recipes-connectivity/openssh/openssh_9.7p1.bb b/meta/recipes-connectivity/openssh/openssh_9.7p1.bb index 82da92f63f..ab453f7bbe 100644 --- a/meta/recipes-connectivity/openssh/openssh_9.7p1.bb +++ b/meta/recipes-connectivity/openssh/openssh_9.7p1.bb | |||
| @@ -24,7 +24,6 @@ SRC_URI = "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar | |||
| 24 | file://run-ptest \ | 24 | file://run-ptest \ |
| 25 | file://fix-potential-signed-overflow-in-pointer-arithmatic.patch \ | 25 | file://fix-potential-signed-overflow-in-pointer-arithmatic.patch \ |
| 26 | file://sshd_check_keys \ | 26 | file://sshd_check_keys \ |
| 27 | file://add-test-support-for-busybox.patch \ | ||
| 28 | file://0001-regress-banner.sh-log-input-and-output-files-on-erro.patch \ | 27 | file://0001-regress-banner.sh-log-input-and-output-files-on-erro.patch \ |
| 29 | file://0001-systemd-Add-optional-support-for-systemd-sd_notify.patch \ | 28 | file://0001-systemd-Add-optional-support-for-systemd-sd_notify.patch \ |
| 30 | " | 29 | " |
