Initial Commit
- initial default booting image
This commit is contained in:
18
package/gesftpserver/Config.in
Normal file
18
package/gesftpserver/Config.in
Normal file
@@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_GESFTPSERVER
|
||||
bool "gesftpserver"
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
help
|
||||
Green End SFTP Server
|
||||
|
||||
This is an SFTP server supporting up to protocol version 6.
|
||||
It is possible to use it as a drop-in replacement for the
|
||||
OpenSSH server, or to provide sftp support for Dropbear.
|
||||
|
||||
http://www.greenend.org.uk/rjk/sftpserver/
|
||||
|
||||
comment "gesftpserver needs a toolchain w/ wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
3
package/gesftpserver/gesftpserver.hash
Normal file
3
package/gesftpserver/gesftpserver.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 b18b10405ef2b05c45450aafd6803f69efb4d2138e4e07fd186c1618027ee169 sftpserver-2.tar.gz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
39
package/gesftpserver/gesftpserver.mk
Normal file
39
package/gesftpserver/gesftpserver.mk
Normal file
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
#
|
||||
# gesftpserver
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GESFTPSERVER_VERSION = 2
|
||||
GESFTPSERVER_SOURCE = sftpserver-$(GESFTPSERVER_VERSION).tar.gz
|
||||
GESFTPSERVER_SITE = http://www.greenend.org.uk/rjk/sftpserver
|
||||
GESFTPSERVER_LICENSE = GPL-2.0+
|
||||
GESFTPSERVER_LICENSE_FILES = COPYING
|
||||
|
||||
# "Missing prototype" warning treated as error
|
||||
GESFTPSERVER_CONF_OPTS = --disable-warnings-as-errors
|
||||
GESFTPSERVER_CPE_ID_VENDOR = greenend
|
||||
GESFTPSERVER_CPE_ID_PRODUCT = sftpserver
|
||||
|
||||
# forgets to link against pthread when cross compiling
|
||||
GESFTPSERVER_CONF_ENV = \
|
||||
CFLAGS="$(TARGET_CFLAGS) -std=c99" \
|
||||
LIBS=-lpthread
|
||||
|
||||
# overwrite openssh version if enabled
|
||||
GESFTPSERVER_DEPENDENCIES += \
|
||||
$(if $(BR2_ENABLE_LOCALE),,libiconv) \
|
||||
$(if $(BR2_PACKAGE_OPENSSH),openssh)
|
||||
|
||||
# Python on the host is only used for tests, which we don't use in
|
||||
# Buildroot
|
||||
GESFTPSERVER_CONF_ENV += rjk_cv_python3=false
|
||||
|
||||
# openssh/dropbear looks here
|
||||
define GESFTPSERVER_ADD_SYMLINK
|
||||
ln -sf gesftpserver $(TARGET_DIR)/usr/libexec/sftp-server
|
||||
endef
|
||||
|
||||
GESFTPSERVER_POST_INSTALL_TARGET_HOOKS += GESFTPSERVER_ADD_SYMLINK
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user