Change-Id: I7a728e27a5566d4943045767bd4ae16677970b5f
This commit is contained in:
Oliver Smith 2023-04-26 16:03:18 +02:00
parent 00e18ec199
commit 198c338cf3
1 changed files with 12 additions and 7 deletions

View File

@ -7,23 +7,28 @@ SECTION = "console/network"
LICENSE = "BSD" LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENCE;md5=072979064e691d342002f43cd89c0394" LIC_FILES_CHKSUM = "file://LICENCE;md5=072979064e691d342002f43cd89c0394"
DEPENDS = "" DEPENDS = ""
# SRC_URI = "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar.gz" # SRC_URI = "https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar.gz"
# Official mirror is down as of writing. The github mirror is officially # Official mirror is down as of writing. The github mirror is mentioned here:
# mentioned here: https://www.openssh.com/portable.html # https://www.openssh.com/portable.html
SRC_URL = "https://github.com/openssh/openssh-portable/archive/refs/tags/V_9_3_P1.tar.gz" GIT_TAG = "V_9_3_P1"
SRC_URI = "https://github.com/openssh/openssh-portable/archive/refs/tags/${GIT_TAG}.tar.gz"
SRC_URI[md5sum] = "68f7f08269c442e2728656cd97506478" SRC_URI[md5sum] = "68f7f08269c442e2728656cd97506478"
SRC_URI[sha256sum] = "c5e541b59bdad8950a8c999fe18ca1ad39f6132b042cd85fb29e788ca9f9ce47" SRC_URI[sha256sum] = "c5e541b59bdad8950a8c999fe18ca1ad39f6132b042cd85fb29e788ca9f9ce47"
inherit autotools inherit autotools
EXTRA_OECONF += "--without-openssl --without-zlib --with-ldflags=-static" EXTRA_OECONF += "--without-openssl --without-zlib"
S = "${WORKDIR}/openssh-portable-${GIT_TAG}"
do_compile() { do_compile() {
oe_runmake sftp-server oe_runmake sftp-server
} }
do_install() { do_install() {
echo "WIP" install -Dm755 "${B}"/sftp-server \
exit 1 -t "${D}"/usr/lib
} }
FILES_${PN} = "/usr/lib/sftp-server"