Import buildroot 2016.02.01
This commit is contained in:
18
firmware/buildroot/package/gesftpserver/Config.in
Normal file
18
firmware/buildroot/package/gesftpserver/Config.in
Normal file
@@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_GESFTPSERVER
|
||||
bool "gesftpserver"
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU # fork()
|
||||
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
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 5f744c38df9bb82f5ab500858a0fb4767ac3ee2254301da03cbcf8e6c587cbf5 sftpserver-0.2.1.tar.gz
|
||||
27
firmware/buildroot/package/gesftpserver/gesftpserver.mk
Normal file
27
firmware/buildroot/package/gesftpserver/gesftpserver.mk
Normal file
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# gesftpserver
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GESFTPSERVER_VERSION = 0.2.1
|
||||
GESFTPSERVER_SOURCE = sftpserver-$(GESFTPSERVER_VERSION).tar.gz
|
||||
GESFTPSERVER_SITE = http://www.greenend.org.uk/rjk/sftpserver
|
||||
GESFTPSERVER_LICENSE = GPLv2+
|
||||
GESFTPSERVER_LICENSE_FILES = COPYING
|
||||
# forgets to link against pthread when cross compiling
|
||||
GESFTPSERVER_CONF_ENV = LIBS=-lpthread
|
||||
|
||||
# overwrite openssh version if enabled
|
||||
GESFTPSERVER_DEPENDENCIES += \
|
||||
$(if $(BR2_ENABLE_LOCALE),,libiconv) \
|
||||
$(if $(BR2_PACKAGE_OPENSSH),openssh)
|
||||
|
||||
# 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