pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net net/hercules4sdl-telnet: new package



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2a7aa46f1a0a
branches:  trunk
changeset: 769027:2a7aa46f1a0a
user:      rhialto <rhialto%pkgsrc.org@localhost>
date:      Sat Nov 06 16:42:10 2021 +0000

description:
net/hercules4sdl-telnet: new package

needed for emulators/hercules4sdl.

diffstat:

 net/Makefile                          |   3 ++-
 net/hercules4sdl-telnet/DESCR         |  16 ++++++++++++++++
 net/hercules4sdl-telnet/Makefile      |  30 ++++++++++++++++++++++++++++++
 net/hercules4sdl-telnet/PLIST         |   6 ++++++
 net/hercules4sdl-telnet/buildlink3.mk |  14 ++++++++++++++
 net/hercules4sdl-telnet/distinfo      |   6 ++++++
 6 files changed, 74 insertions(+), 1 deletions(-)

diffs (109 lines):

diff -r bb492f5773ee -r 2a7aa46f1a0a net/Makefile
--- a/net/Makefile      Sat Nov 06 16:40:48 2021 +0000
+++ b/net/Makefile      Sat Nov 06 16:42:10 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1428 2021/11/01 21:47:12 wiz Exp $
+# $NetBSD: Makefile,v 1.1429 2021/11/06 16:42:10 rhialto Exp $
 #
 
 COMMENT=       Networking tools
@@ -229,6 +229,7 @@
 SUBDIR+=       gvproxy
 SUBDIR+=       haproxy
 SUBDIR+=       hdl-dump
+SUBDIR+=       hercules4sdl-telnet
 SUBDIR+=       hesiod
 SUBDIR+=       hf6to4
 SUBDIR+=       hlfl
diff -r bb492f5773ee -r 2a7aa46f1a0a net/hercules4sdl-telnet/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hercules4sdl-telnet/DESCR     Sat Nov 06 16:42:10 2021 +0000
@@ -0,0 +1,16 @@
+Simple RFC-compliant TELNET implementation
+
+libtelnet is a library for handling the TELNET protocol. It includes routines
+for parsing incoming data from a remote peer as well as formatting data to be
+sent to the remote peer.
+
+libtelnet uses a callback-oriented API, allowing application-specific handling
+of various events. The callback system is also used for buffering outgoing
+protocol data, allowing the application to maintain control of the actual
+socket connection.
+
+Features supported include the full TELNET protocol, Q-method option
+negotiation, and NEW-ENVIRON.
+
+This version is the one used by the SoftDevLabs version of
+Hercules 4.x (Hyperion).
diff -r bb492f5773ee -r 2a7aa46f1a0a net/hercules4sdl-telnet/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hercules4sdl-telnet/Makefile  Sat Nov 06 16:42:10 2021 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2021/11/06 16:42:10 rhialto Exp $
+
+DISTNAME=      hercules4sdl-telnet-1.0.0
+PKGREVISION=   20210105
+CATEGORIES=    net
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=SDL-Hercules-390/}
+GITHUB_PROJECT=        telnet
+GITHUB_TAG=    2aca101e06ca84526c1a63c0f65e05fe11522c3b # 5 Jan 2021
+
+MAINTAINER=    rhialto%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/SDL-Hercules-390/telnet
+COMMENT=       The SoftDevLabs version of telnet library for Hercules 4.x
+LICENSE=       public-domain
+
+USE_TOOLS+=    cmake
+USE_LANGUAGES+=        c
+
+USE_CMAKE=     yes
+BLDDIR=                ${WRKDIR}/telnet64.Release
+CONFIGURE_DIRS=        ${BLDDIR}
+CMAKE_ARG_PATH=        ${WRKSRC}
+CMAKE_ARGS+=   -D INSTALL_PREFIX=${PREFIX}/lib/hercules4sdl
+
+pre-configure:
+       ${MKDIR} ${BLDDIR}
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/lib/hercules4sdl/lib && ${MV} libtelnet64.a libtelnet_pic.a
+
+.include "../../mk/bsd.pkg.mk"
diff -r bb492f5773ee -r 2a7aa46f1a0a net/hercules4sdl-telnet/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hercules4sdl-telnet/PLIST     Sat Nov 06 16:42:10 2021 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/06 16:42:10 rhialto Exp $
+lib/hercules4sdl/include/telnet.h
+lib/hercules4sdl/include/telnet_version.h
+lib/hercules4sdl/lib/libtelnet_pic.a
+lib/hercules4sdl/telnet.LICENSE.txt
+lib/hercules4sdl/telnet.README.txt
diff -r bb492f5773ee -r 2a7aa46f1a0a net/hercules4sdl-telnet/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hercules4sdl-telnet/buildlink3.mk     Sat Nov 06 16:42:10 2021 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/11/06 16:42:10 rhialto Exp $
+
+BUILDLINK_TREE+=       hercules4sdl-telnet
+
+.if !defined(HERCULES4SDL_TELNET_BUILDLINK3_MK)
+HERCULES4SDL_TELNET_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.hercules4sdl-telnet?=      build
+
+BUILDLINK_API_DEPENDS.hercules4sdl-telnet+=    hercules4sdl-telnet>=1.0.0
+BUILDLINK_PKGSRCDIR.hercules4sdl-telnet?=      ../../net/hercules4sdl-telnet
+.endif # HERCULES4SDL_TELNET_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hercules4sdl-telnet
diff -r bb492f5773ee -r 2a7aa46f1a0a net/hercules4sdl-telnet/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hercules4sdl-telnet/distinfo  Sat Nov 06 16:42:10 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/11/06 16:42:10 rhialto Exp $
+
+BLAKE2s (hercules4sdl-telnet-1.0.0-2aca101e06ca84526c1a63c0f65e05fe11522c3b.tar.gz) = 447e3388f2974777ce66649b2f802ae36d5292936a5943ef0ba78000c9bbad20
+SHA512 (hercules4sdl-telnet-1.0.0-2aca101e06ca84526c1a63c0f65e05fe11522c3b.tar.gz) = 
78b89d4073e0952b4c5e83b98ab2f30101869a9885759515d4c452e22d665683023e33a79a7ea1957d0190d23d3c9bbcbe70a34a09b9e20edcb550d5acbca2a5
+Size (hercules4sdl-telnet-1.0.0-2aca101e06ca84526c1a63c0f65e05fe11522c3b.tar.gz) = 67165 bytes
+SHA1 (patch-cflags.txt) = ed18a2aaa1da2a7f63c94e5fc061eb9fc0e0f02f



Home | Main Index | Thread Index | Old Index