2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-01-08 17:11:50 +01:00
|
|
|
#
|
|
|
|
# gesftpserver
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-01-08 17:11:50 +01:00
|
|
|
|
2015-12-03 18:40:44 +01:00
|
|
|
GESFTPSERVER_VERSION = 0.2.1
|
2013-01-08 17:11:50 +01:00
|
|
|
GESFTPSERVER_SOURCE = sftpserver-$(GESFTPSERVER_VERSION).tar.gz
|
2014-07-31 10:46:58 +02:00
|
|
|
GESFTPSERVER_SITE = http://www.greenend.org.uk/rjk/sftpserver
|
2017-03-30 15:43:32 +02:00
|
|
|
GESFTPSERVER_LICENSE = GPL-2.0+
|
2013-01-08 17:11:50 +01:00
|
|
|
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))
|