Skip to contentSkip to conversation

package/libtelnet: new package

PATCH New Thomas De Schampheleire 2 participants 2 messages Dec 20, 2019 – Dec 22, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libtelnet: new package

From: Thomas De Schampheleire <[email protected]>

---
 DEVELOPERS                                    |  1 +
 package/Config.in                             |  1 +
 .../0001-fix-compilation-without-zlib.patch   | 43 +++++++++++++++++++
 package/libtelnet/Config.in                   | 10 +++++
 package/libtelnet/libtelnet.hash              |  3 ++
 package/libtelnet/libtelnet.mk                | 18 ++++++++
 6 files changed, 76 insertions(+)
 create mode 100644 package/libtelnet/0001-fix-compilation-without-zlib.patch
 create mode 100644 package/libtelnet/Config.in
 create mode 100644 package/libtelnet/libtelnet.hash
 create mode 100644 package/libtelnet/libtelnet.mk
DEVELOPERS +1 -0
index d9b4864b9f..4e5c485de4 100644
@@ -2325,6 +2325,7 @@ F:	package/civetweb/
 
 N:	Thomas De Schampheleire <[email protected]>
 F:	docs/manual/
+F:	package/libtelnet/
 F:	package/opkg-utils/
 F:	package/perl-convert-asn1/
 F:	package/perl-crypt-blowfish/
package/Config.in +1 -0
index f304a8fbd3..4a7abe14b1 100644
@@ -1664,6 +1664,7 @@ menu "Networking"
 	source "package/libsoup/Config.in"
 	source "package/libsrtp/Config.in"
 	source "package/libstrophe/Config.in"
+	source "package/libtelnet/Config.in"
 	source "package/libtirpc/Config.in"
 	source "package/libtorrent/Config.in"
 	source "package/libtorrent-rasterbar/Config.in"
package/libtelnet/0001-fix-compilation-without-zlib.patch new file +43 -0

43 lines not on this page · raw message

package/libtelnet/Config.in new file +10 -0
new file mode 100644
index 0000000000..59456a328f
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LIBTELNET
+	bool "libtelnet"
+	help
+	  libtelnet provides safe and correct handling of the core
+	  TELNET protocol.  In addition to the base TELNET protocol,
+	  libtelnet also implements the Q method of TELNET option
+	  negotiation.  libtelnet can be used for writing servers,
+	  clients, or proxies.
+
+	  https://github.com/seanmiddleditch/libtelnet
package/libtelnet/libtelnet.hash new file +3 -0
new file mode 100644
index 0000000000..afbb29e4fb
@@ -0,0 +1,3 @@
+# Locally computed
+sha256 d2f01a9dc0cc01777844b6d27f0f836dad9a4b9a32a31c7bbde0762480262f25  libtelnet-0.23.tar.gz
+sha256 b1faf309467bc1d0aab9b42d6e86a614e78f8fe3580e289966b5b9f9a8f94d99  COPYING
package/libtelnet/libtelnet.mk new file +18 -0
new file mode 100644
index 0000000000..863d7a6166
@@ -0,0 +1,18 @@
+################################################################################
+#
+# libtelnet
+#
+################################################################################
+
+LIBTELNET_VERSION = 0.23
+LIBTELNET_SITE = https://github.com/seanmiddleditch/libtelnet/releases/download/$(LIBTELNET_VERSION)
+LIBTELNET_INSTALL_STAGING = YES
+LIBTELNET_CONF_OPTS = --disable-util
+LIBTELNET_DEPENDENCIES = host-pkgconf
+LIBTELNET_LICENSE = Public domain
+LIBTELNET_LICENSE_FILES = COPYING
+
+# for 0001-fix-compilation-without-zlib.patch
+LIBTELNET_AUTORECONF = YES
+
+$(eval $(autotools-package))
Signature · 1 line
2.23.0
#1 lore raw

PATCH 1/1 package/libtelnet: new package

Quoted 15 lines · On Fri, 20 Dec 2019 14:44:36 +0100 Thomas De Schampheleire…

From: Thomas De Schampheleire <[email protected]>

---
 DEVELOPERS                                    |  1 +
 package/Config.in                             |  1 +
 .../0001-fix-compilation-without-zlib.patch   | 43 +++++++++++++++++++
 package/libtelnet/Config.in                   | 10 +++++
 package/libtelnet/libtelnet.hash              |  3 ++
 package/libtelnet/libtelnet.mk                | 18 ++++++++
 6 files changed, 76 insertions(+)
 create mode 100644 package/libtelnet/0001-fix-compilation-without-zlib.patch
 create mode 100644 package/libtelnet/Config.in
 create mode 100644 package/libtelnet/libtelnet.hash
 create mode 100644 package/libtelnet/libtelnet.mk

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com