diff --git a/recipes-extra/openssh-sftp-server/openssh-sftp-server_9.3p1.bb b/recipes-extra/openssh-sftp-server/openssh-sftp-server_9.3p1.bb new file mode 100644 index 0000000..0712c1a --- /dev/null +++ b/recipes-extra/openssh-sftp-server/openssh-sftp-server_9.3p1.bb @@ -0,0 +1,29 @@ +# Package OpenSSH's sftp server, so the openssh client finds it and doesn't +# need to be run with a flag to use the legacy SCP protocol (SYS#6403) +SUMMARY = "OpenSSH's sftp-server" +DESCRIPTION = "OpenSSH's sftp-server, to be used with dropbear" +HOMEPAGE = "http://www.openssh.com/" +SECTION = "console/network" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENCE;md5=072979064e691d342002f43cd89c0394" +DEPENDS = "" +# SRC_URI = "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar.gz" +# Official mirror is down as of writing. The github mirror is officially +# mentioned here: https://www.openssh.com/portable.html +SRC_URL = "https://github.com/openssh/openssh-portable/archive/refs/tags/V_9_3_P1.tar.gz" + +SRC_URI[md5sum] = "68f7f08269c442e2728656cd97506478" +SRC_URI[sha256sum] = "c5e541b59bdad8950a8c999fe18ca1ad39f6132b042cd85fb29e788ca9f9ce47" + +inherit autotools + +EXTRA_OECONF += "--without-openssl --without-zlib --with-ldflags=-static" + +do_compile() { + oe_runmake sftp-server +} + +do_install() { + echo "WIP" + exit 1 +}