Import buildroot 2016.02.01
This commit is contained in:
17
firmware/buildroot/package/tn5250/0001-ssldir.patch
Normal file
17
firmware/buildroot/package/tn5250/0001-ssldir.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
Value is assigned to $with_ssl_dir but used from $with_ssl which is wrong.
|
||||
Fix configure since it's a one-liner and avoid an autoreconf.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
|
||||
diff -Nura tn5250-0.17.4.orig/configure tn5250-0.17.4/configure
|
||||
--- tn5250-0.17.4.orig/configure 2014-09-10 08:33:15.689519554 -0300
|
||||
+++ tn5250-0.17.4/configure 2014-09-10 08:33:47.428613117 -0300
|
||||
@@ -23258,7 +23258,7 @@
|
||||
if test "${with_ssl_dir+set}" = set; then
|
||||
withval=$with_ssl_dir;
|
||||
if test "$with_ssl_dir" != "no"; then
|
||||
- checksslinclude "$with_ssl"
|
||||
+ checksslinclude "$with_ssl_dir"
|
||||
else
|
||||
for topdir in /usr/local /usr /usr/pkg /usr/lib /var/ssl /opt; do
|
||||
for subdir in $topdir $topdir/openssl $topdir/ssl; do
|
||||
8
firmware/buildroot/package/tn5250/Config.in
Normal file
8
firmware/buildroot/package/tn5250/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_TN5250
|
||||
bool "tn5250"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_NCURSES
|
||||
help
|
||||
Telnet client that emulates 5250 terminals and printers.
|
||||
|
||||
http://tn5250.sourceforge.net/
|
||||
2
firmware/buildroot/package/tn5250/tn5250.hash
Normal file
2
firmware/buildroot/package/tn5250/tn5250.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 354237d400dc46af887cb3ffa4ed1f2c371f5b8bee8be046a683a4ac9db4f9c5 tn5250-0.17.4.tar.gz
|
||||
29
firmware/buildroot/package/tn5250/tn5250.mk
Normal file
29
firmware/buildroot/package/tn5250/tn5250.mk
Normal file
@@ -0,0 +1,29 @@
|
||||
################################################################################
|
||||
#
|
||||
# tn5250
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TN5250_VERSION = 0.17.4
|
||||
TN5250_SITE = http://downloads.sourceforge.net/project/tn5250/tn5250/$(TN5250_VERSION)
|
||||
TN5250_MAKE_OPTS = CPPFLAGS=""
|
||||
TN5250_DEPENDENCIES = ncurses
|
||||
TN5250_LICENSE = LGPLv2.1+
|
||||
TN5250_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
TN5250_CONF_OPTS += --with-ssl-dir=$(STAGING_DIR)/usr
|
||||
TN5250_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs openssl`"
|
||||
TN5250_DEPENDENCIES += openssl host-pkgconf
|
||||
else
|
||||
TN5250_CONF_OPTS += --without-ssl
|
||||
endif
|
||||
|
||||
define TN5250_INSTALL_FIXES
|
||||
rm -f $(TARGET_DIR)/usr/bin/5250keys
|
||||
rm -f $(TARGET_DIR)/usr/bin/xt5250
|
||||
endef
|
||||
|
||||
TN5250_POST_INSTALL_TARGET_HOOKS += TN5250_INSTALL_FIXES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user