pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip/sdl-hercules-*: add required packages and update Hercules itself somewhat.
Module Name: pkgsrc-wip
Committed By: Olaf Seibert <rhialto%falu.nl@localhost>
Pushed By: rhialto
Date: Sat Feb 8 14:45:58 2020 +0100
Changeset: 4467ef542608eca47a03a3db797bad8e1f909588
Modified Files:
sdl-hercules-hyperion/DESCR
sdl-hercules-hyperion/Makefile
sdl-hercules-hyperion/distinfo
sdl-hercules-hyperion/patches/patch-Makefile.am
sdl-hercules-hyperion/patches/patch-configure.ac
Added Files:
sdl-hercules-crypto/DESCR
sdl-hercules-crypto/Makefile
sdl-hercules-crypto/PLIST
sdl-hercules-crypto/buildlink3.mk
sdl-hercules-decnumber/DESCR
sdl-hercules-decnumber/Makefile
sdl-hercules-decnumber/PLIST
sdl-hercules-decnumber/buildlink3.mk
sdl-hercules-hyperion/TODO
sdl-hercules-softfloat/DESCR
sdl-hercules-softfloat/Makefile
sdl-hercules-softfloat/PLIST
sdl-hercules-softfloat/buildlink3.mk
sdl-hercules-telnet/DESCR
sdl-hercules-telnet/Makefile
sdl-hercules-telnet/PLIST
sdl-hercules-telnet/buildlink3.mk
Log Message:
wip/sdl-hercules-*: add required packages and update Hercules itself somewhat.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4467ef542608eca47a03a3db797bad8e1f909588
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
sdl-hercules-crypto/DESCR | 5 +++
sdl-hercules-crypto/Makefile | 46 ++++++++++++++++++++++++
sdl-hercules-crypto/PLIST | 10 ++++++
sdl-hercules-crypto/buildlink3.mk | 13 +++++++
sdl-hercules-decnumber/DESCR | 14 ++++++++
sdl-hercules-decnumber/Makefile | 46 ++++++++++++++++++++++++
sdl-hercules-decnumber/PLIST | 14 ++++++++
sdl-hercules-decnumber/buildlink3.mk | 13 +++++++
sdl-hercules-hyperion/DESCR | 9 +----
sdl-hercules-hyperion/Makefile | 11 +++++-
sdl-hercules-hyperion/TODO | 4 +++
sdl-hercules-hyperion/distinfo | 4 +--
sdl-hercules-hyperion/patches/patch-Makefile.am | 18 ++++++++++
sdl-hercules-hyperion/patches/patch-configure.ac | 16 +++++++++
sdl-hercules-softfloat/DESCR | 14 ++++++++
sdl-hercules-softfloat/Makefile | 46 ++++++++++++++++++++++++
sdl-hercules-softfloat/PLIST | 11 ++++++
sdl-hercules-softfloat/buildlink3.mk | 13 +++++++
sdl-hercules-telnet/DESCR | 13 +++++++
sdl-hercules-telnet/Makefile | 27 ++++++++++++++
sdl-hercules-telnet/PLIST | 6 ++++
sdl-hercules-telnet/buildlink3.mk | 13 +++++++
22 files changed, 355 insertions(+), 11 deletions(-)
diffs:
diff --git a/sdl-hercules-crypto/DESCR b/sdl-hercules-crypto/DESCR
new file mode 100644
index 0000000000..94a1318a35
--- /dev/null
+++ b/sdl-hercules-crypto/DESCR
@@ -0,0 +1,5 @@
+Simple AES/DES encryption and SHA1/SHA2 hashing library
+
+Crypto provides a simple implementation of the Rijndael (now AES) and DES
+encryption algorithms as well as the SHA1 and SHA2 hashing algorithms. The
+library is almost a verbatim copy of the code from OpenBSD and PuTTY.
diff --git a/sdl-hercules-crypto/Makefile b/sdl-hercules-crypto/Makefile
new file mode 100644
index 0000000000..c24205e7ea
--- /dev/null
+++ b/sdl-hercules-crypto/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD$
+
+PKGNAME= sdl-hercules-crypto-1.0.0
+CATEGORIES= emulators
+GIT_REPO= https://github.com/SDL-Hercules-390/crypto.git
+GIT_REVISION= 02174c9e2fc7dfeeaf88fbe57172baaf07c650bb # Nov 29, 2019
+CHECKOUT_DATE= 2019-11-29
+
+MAINTAINER= rhialto%NetBSD.org@localhost
+HOMEPAGE= https://github.com/SDL-Hercules-390/hyperion
+COMMENT= The SoftDevLabs version of crypto for Hercules 4.x
+LICENSE= modified-bsd
+
+USE_TOOLS+= cmake
+USE_LANGUAGES+= c c++
+
+#INSTDIR= ${DESTDIR}${PREFIX}
+#DOCDIR= ${DESTDIR}${PREFIX}/share/doc/sdl-hercules
+#BLDDIR= ${WRKDIR}/build
+#
+#do-build:
+# ${MKDIR} ${BLDDIR}
+# ${MKDIR} ${INSTDIR}
+# cd ${WRKDIR} && \
+# mkdir build && \
+# cd build && \
+# ${WRKSRC}/build --pkgdir ${WRKSRC} \
+# --pkgname crypto \
+# --install ${INSTDIR}
+# ${MKDIR} ${DOCDIR}
+# if [ -f ${DESTDIR}${PREFIX}/crypto.LICENSE.txt ]; then ${MV} -f ${DESTDIR}${PREFIX}/crypto.* ${DOCDIR}; fi
+#
+#do-install:
+# @echo "Install work has been done by do-build."
+
+USE_CMAKE= yes
+BLDDIR= ${WRKDIR}/crypto64.Release
+CONFIGURE_DIRS= ${BLDDIR}
+CMAKE_ARG_PATH= ${WRKSRC}
+CMAKE_ARGS+= -D INSTALL_PREFIX=${PREFIX}/lib/sdlhercules
+
+pre-configure:
+ ${MKDIR} ${BLDDIR}
+
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sdl-hercules-crypto/PLIST b/sdl-hercules-crypto/PLIST
new file mode 100644
index 0000000000..a02220cdbf
--- /dev/null
+++ b/sdl-hercules-crypto/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD$
+lib/sdlhercules/include/crypto.h
+lib/sdlhercules/include/crypto_version.h
+lib/sdlhercules/include/rijndael.h
+lib/sdlhercules/include/sha1.h
+lib/sdlhercules/include/sha2.h
+lib/sdlhercules/include/sshdes.h
+lib/sdlhercules/lib/libcrypto64.a
+lib/sdlhercules/crypto.LICENSE.txt
+lib/sdlhercules/crypto.README.txt
diff --git a/sdl-hercules-crypto/buildlink3.mk b/sdl-hercules-crypto/buildlink3.mk
new file mode 100644
index 0000000000..62c23a305c
--- /dev/null
+++ b/sdl-hercules-crypto/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= sdl-hercules-crypto
+
+.if !defined(SDL_HERCULES_CRYPTO_BUILDLINK3_MK)
+SDL_HERCULES_CRYPTO_BUILDLINK3_MK:=
+BUILDLINK_DEPMETHOD.sdl-hercules-crypto?= build
+
+BUILDLINK_API_DEPENDS.sdl-hercules-crypto+= sdl-hercules-crypto>=1.0.0
+BUILDLINK_PKGSRCDIR.sdl-hercules-crypto?= ../../wip/sdl-hercules-crypto
+.endif # SDL_HERCULES_CRYPTO_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -sdl-hercules-crypto
diff --git a/sdl-hercules-decnumber/DESCR b/sdl-hercules-decnumber/DESCR
new file mode 100644
index 0000000000..05de5822de
--- /dev/null
+++ b/sdl-hercules-decnumber/DESCR
@@ -0,0 +1,14 @@
+ANSI C General Decimal Arithmetic Library
+
+The decNumber library implements the General Decimal Arithmetic Specification
+in ANSI C. This specification defines a decimal arithmetic which meets the
+requirements of commercial, financial, and human-oriented applications. It also
+matches the decimal arithmetic in the IEEE 754 Standard for Floating Point
+Arithmetic.
+
+The library fully implements the specification, and hence supports integer,
+fixed-point, and floating-point decimal numbers directly, including infinite,
+NaN (Not a Number), and subnormal values. Both arbitrary-precision and
+fixed-size representations are supported.
+
+Refer to the package's PDF file for more information.
diff --git a/sdl-hercules-decnumber/Makefile b/sdl-hercules-decnumber/Makefile
new file mode 100644
index 0000000000..d30637e175
--- /dev/null
+++ b/sdl-hercules-decnumber/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD$
+
+PKGNAME= sdl-hercules-decnumber-3.68.0
+CATEGORIES= emulators
+GIT_REPO= https://github.com/SDL-Hercules-390/decNumber.git
+GIT_REVISION= 963bd1fa94ff52adfe4c9ebc8cd874a641db7679 # Nov 29, 2019
+CHECKOUT_DATE= 2019-11-29
+
+MAINTAINER= rhialto%NetBSD.org@localhost
+HOMEPAGE= https://github.com/SDL-Hercules-390/hyperion
+COMMENT= The SoftDevLabs version of decNumber for Hercules 4.x
+LICENSE= qpl-v1.0
+
+USE_TOOLS+= cmake
+USE_LANGUAGES+= c c++
+
+#INSTDIR= ${DESTDIR}${PREFIX}
+#DOCDIR= ${DESTDIR}${PREFIX}/share/doc/sdl-hercules
+#BLDDIR= ${WRKDIR}/build
+#
+#do-build:
+# ${MKDIR} ${BLDDIR}
+# ${MKDIR} ${INSTDIR}
+# cd ${WRKDIR} && \
+# mkdir build && \
+# cd build && \
+# ${WRKSRC}/build --pkgdir ${WRKSRC} \
+# --pkgname decNumber \
+# --install ${INSTDIR}
+# ${MKDIR} ${DOCDIR}
+# if [ -f ${DESTDIR}${PREFIX}/decnumber.ERRATA ]; then ${MV} -f ${DESTDIR}${PREFIX}/decnumber.* ${DOCDIR}; fi
+#
+#do-install:
+# @echo "Install work has been done by do-build."
+
+USE_CMAKE= yes
+BLDDIR= ${WRKDIR}/decNumber64.Release
+CONFIGURE_DIRS= ${BLDDIR}
+CMAKE_ARG_PATH= ${WRKSRC}
+CMAKE_ARGS+= -D INSTALL_PREFIX=${PREFIX}/lib/sdlhercules
+
+pre-configure:
+ ${MKDIR} ${BLDDIR}
+
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sdl-hercules-decnumber/PLIST b/sdl-hercules-decnumber/PLIST
new file mode 100644
index 0000000000..097f0989e5
--- /dev/null
+++ b/sdl-hercules-decnumber/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD$
+lib/sdlhercules/include/decContext.h
+lib/sdlhercules/include/decNumber.h
+lib/sdlhercules/include/decPacked.h
+lib/sdlhercules/include/decQuad.h
+lib/sdlhercules/include/decimal128.h
+lib/sdlhercules/include/decimal32.h
+lib/sdlhercules/include/decimal64.h
+lib/sdlhercules/include/decnumber_version.h
+lib/sdlhercules/lib/libdecNumber64.a
+lib/sdlhercules/decnumber.ERRATA
+lib/sdlhercules/decnumber.ICU-license.html
+lib/sdlhercules/decnumber.pdf
+lib/sdlhercules/decnumber.readme.txt
diff --git a/sdl-hercules-decnumber/buildlink3.mk b/sdl-hercules-decnumber/buildlink3.mk
new file mode 100644
index 0000000000..accb9cbc60
--- /dev/null
+++ b/sdl-hercules-decnumber/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= sdl-hercules-decnumber
+
+.if !defined(SDL_HERCULES_DECNUMBER_BUILDLINK3_MK)
+SDL_HERCULES_DECNUMBER_BUILDLINK3_MK:=
+BUILDLINK_DEPMETHOD.sdl-hercules-decnumber?= build
+
+BUILDLINK_API_DEPENDS.sdl-hercules-decnumber+= sdl-hercules-decnumber>=3.68.0
+BUILDLINK_PKGSRCDIR.sdl-hercules-decnumber?= ../../wip/sdl-hercules-decnumber
+.endif # SDL_HERCULES_DECNUMBER_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -sdl-hercules-decnumber
diff --git a/sdl-hercules-hyperion/DESCR b/sdl-hercules-hyperion/DESCR
index cb31512af7..35e36e1c28 100644
--- a/sdl-hercules-hyperion/DESCR
+++ b/sdl-hercules-hyperion/DESCR
@@ -1,8 +1 @@
-THIS DOES NOT WORK!
-
-This is supposed to be an activiely developed version of emulators/hercules.
-Unfortunately, the distribution contains static library binaries,
-with no corresponding source.
-
-Without the source, you can't compile it on your favorite CPU or operating
-system.
+This is an activiely developed version of emulators/hercules.
diff --git a/sdl-hercules-hyperion/Makefile b/sdl-hercules-hyperion/Makefile
index e91aa45c6b..eb8105c7a7 100644
--- a/sdl-hercules-hyperion/Makefile
+++ b/sdl-hercules-hyperion/Makefile
@@ -16,13 +16,22 @@ GITHUB_TAG= Release_${PKGVERSION_NOREV}
GNU_CONFIGURE= yes
USE_TOOLS+= autoconf automake flex gawk grep gm4 gmake perl gsed
-USE_LANGUAGES+= c
+USE_LANGUAGES+= c c++
CONFIGURE_ARGS+= --disable-ipv6 # configure can't find header
+CONFIGURE_ARGS+= --enable-extpkgs=${PREFIX}/lib/sdlhercules
pre-configure:
cd ${WRKSRC} && ./autogen.sh
+.include "../../archivers/bzip2/builtin.mk"
+.include "../../devel/zlib/builtin.mk"
+
.include "../../devel/libltdl/buildlink3.mk"
+.include "../../wip/sdl-hercules-crypto/buildlink3.mk"
+.include "../../wip/sdl-hercules-decnumber/buildlink3.mk"
+.include "../../wip/sdl-hercules-softfloat/buildlink3.mk"
+.include "../../wip/sdl-hercules-telnet/buildlink3.mk"
+
.include "../../mk/bsd.pkg.mk"
diff --git a/sdl-hercules-hyperion/TODO b/sdl-hercules-hyperion/TODO
new file mode 100644
index 0000000000..79da0f7a66
--- /dev/null
+++ b/sdl-hercules-hyperion/TODO
@@ -0,0 +1,4 @@
+This doesn't build properly yet:
+
+libtool somehow doesn't like the static libraries of dynamic objects,
+and the symbols that are supposed to be resolved by them remain unresolved.
diff --git a/sdl-hercules-hyperion/distinfo b/sdl-hercules-hyperion/distinfo
index 2cb66e4795..c4c665d810 100644
--- a/sdl-hercules-hyperion/distinfo
+++ b/sdl-hercules-hyperion/distinfo
@@ -4,9 +4,9 @@ SHA1 (Release_4.2.1.tar.gz) = ca2f9c802c05c4ddd528718c2a3b4df01ae09564
RMD160 (Release_4.2.1.tar.gz) = cc8fd7e5deb2b2a857215172c13b237f1525858b
SHA512 (Release_4.2.1.tar.gz) = 8d8e94136b3ffa57fc03f687c3b8662ccffb150a29904e911d2383eadd09ae732e73c1712e00bf9a8350fbdd31936f10c498e64574c4bd4316e82c1fb535ca68
Size (Release_4.2.1.tar.gz) = 11124925 bytes
-SHA1 (patch-Makefile.am) = 01c1b8865febfd3451b2adbcc84ab7f91fc64964
+SHA1 (patch-Makefile.am) = 5a3b9d3a8f5f9340119dd8640fc9bd5267f69a00
SHA1 (patch-autoconf_hercules.m4) = 2ea0beaa0a0470050f0c41befcaebd9f73dad4d5
-SHA1 (patch-configure.ac) = 731a24d749f49c1c0ee1d70b05b09e3e1ee5dec2
+SHA1 (patch-configure.ac) = de2590aadae6da2432940d8e73b3f8015cf716f6
SHA1 (patch-hercifc.c) = 5661ca325cb3575726a44ecadbaeb951fcf2d0fd
SHA1 (patch-hifr.h) = d364bbd32143cf137aed84eb79f5af9f62f8210b
SHA1 (patch-hscutl.c) = 72ff77bff284e63bc42e124b56051fe735f74de6
diff --git a/sdl-hercules-hyperion/patches/patch-Makefile.am b/sdl-hercules-hyperion/patches/patch-Makefile.am
index 62164824ac..2ef871accd 100644
--- a/sdl-hercules-hyperion/patches/patch-Makefile.am
+++ b/sdl-hercules-hyperion/patches/patch-Makefile.am
@@ -22,6 +22,15 @@ $NetBSD$
DYNMOD_LD_FLAGS = \
-module \
+@@ -162,7 +162,7 @@ LIB_LD_FLAGS = \
+ -export-dynamic \
+ $(XSTATIC) \
+ -no-undefined \
+- -avoid-version
++ -avoid-version -pthread
+
+ #------------------------------------------------------------------------------
+
@@ -500,7 +500,6 @@ libherc_la_SOURCES = \
$(DYNSRC)
@@ -30,6 +39,15 @@ $NetBSD$
memrchr.c \
$(dynamic_SRC) \
$(dyndev_SRC) \
+@@ -521,7 +520,7 @@ libherc_la_LIBADD = \
+ # THIS is the hercules executable.
+ #--------------------------------------------------------
+
+-HLDFLAGS = -dlopen self
++HLDFLAGS = -dlopen self -pthread
+ HDEPS = $(extpkg_ldadd)
+
+ hercules_SOURCES = \
@@ -939,7 +938,6 @@ noinst_HEADERS = \
inline.h \
linklist.h \
diff --git a/sdl-hercules-hyperion/patches/patch-configure.ac b/sdl-hercules-hyperion/patches/patch-configure.ac
index edb5ea1366..2a743b0220 100644
--- a/sdl-hercules-hyperion/patches/patch-configure.ac
+++ b/sdl-hercules-hyperion/patches/patch-configure.ac
@@ -13,3 +13,19 @@ test == is not portable.
AC_CHECK_SIZEOF(pthread_t)
fi
+@@ -3141,10 +3141,11 @@ extpkg_ldadd="${crypto_libdir}/${crypto_
+ ##----------------------------------------------------------------
+ ## DEBUGGING
+ ##----------------------------------------------------------------
+-## AC_MSG_NOTICE( [Using crypto_libdir = ${crypto_libdir}] )
+-## AC_MSG_NOTICE( [Using decnumber_libdir = ${decnumber_libdir}] )
+-## AC_MSG_NOTICE( [Using softfloat_libdir = ${softfloat_libdir}] )
+-## AC_MSG_NOTICE( [Using telnet_libdir = ${telnet_libdir}] )
++AC_MSG_NOTICE( [Using crypto_libdir = ${crypto_libdir}] )
++AC_MSG_NOTICE( [Using decnumber_libdir = ${decnumber_libdir}] )
++AC_MSG_NOTICE( [Using softfloat_libdir = ${softfloat_libdir}] )
++AC_MSG_NOTICE( [Using telnet_libdir = ${telnet_libdir}] )
++AC_MSG_NOTICE( [Using extpkg_ldadd = ${extpkg_ldadd}] )
+
+ EXTPKG_INCDIRS="${extpkg_incdirs}"
+ AC_SUBST(EXTPKG_INCDIRS)
diff --git a/sdl-hercules-softfloat/DESCR b/sdl-hercules-softfloat/DESCR
new file mode 100644
index 0000000000..05de5822de
--- /dev/null
+++ b/sdl-hercules-softfloat/DESCR
@@ -0,0 +1,14 @@
+ANSI C General Decimal Arithmetic Library
+
+The decNumber library implements the General Decimal Arithmetic Specification
+in ANSI C. This specification defines a decimal arithmetic which meets the
+requirements of commercial, financial, and human-oriented applications. It also
+matches the decimal arithmetic in the IEEE 754 Standard for Floating Point
+Arithmetic.
+
+The library fully implements the specification, and hence supports integer,
+fixed-point, and floating-point decimal numbers directly, including infinite,
+NaN (Not a Number), and subnormal values. Both arbitrary-precision and
+fixed-size representations are supported.
+
+Refer to the package's PDF file for more information.
diff --git a/sdl-hercules-softfloat/Makefile b/sdl-hercules-softfloat/Makefile
new file mode 100644
index 0000000000..4fe22a5d2c
--- /dev/null
+++ b/sdl-hercules-softfloat/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD$
+
+PKGNAME= sdl-hercules-softfloat-3.5.0
+CATEGORIES= emulators
+GIT_REPO= https://github.com/SDL-Hercules-390/SoftFloat.git
+GIT_REVISION= 4bd642a52f9d631254315cdeb80f49dcc0ad6f7b # Nov 29, 2019
+CHECKOUT_DATE= 2019-11-30
+
+MAINTAINER= rhialto%NetBSD.org@localhost
+HOMEPAGE= https://github.com/SDL-Hercules-390/SoftFloat
+COMMENT= The SoftDevLabs version of SoftFloat for Hercules 4.x
+LICENSE= modified-bsd
+
+USE_TOOLS+= cmake
+USE_LANGUAGES+= c c++
+
+#INSTDIR= ${DESTDIR}${PREFIX}
+#DOCDIR= ${DESTDIR}${PREFIX}/share/doc/sdl-hercules
+#BLDDIR= ${WRKDIR}/build
+#
+#do-build:
+# ${MKDIR} ${BLDDIR}
+# ${MKDIR} ${INSTDIR}
+# cd ${WRKDIR} && \
+# mkdir build && \
+# cd build && \
+# ${WRKSRC}/build --pkgdir ${WRKSRC} \
+# --pkgname decNumber \
+# --install ${INSTDIR}
+# ${MKDIR} ${DOCDIR}
+# if [ -f ${DESTDIR}${PREFIX}/softfloat.LICENSE.txt ]; then ${MV} -f ${DESTDIR}${PREFIX}/softfloat.* ${DOCDIR}; fi
+#
+#do-install:
+# @echo "Install work has been done by do-build."
+
+USE_CMAKE= yes
+BLDDIR= ${WRKDIR}/SoftFloat64.Release
+CONFIGURE_DIRS= ${BLDDIR}
+CMAKE_ARG_PATH= ${WRKSRC}
+CMAKE_ARGS+= -D INSTALL_PREFIX=${PREFIX}/lib/sdlhercules
+
+pre-configure:
+ ${MKDIR} ${BLDDIR}
+
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sdl-hercules-softfloat/PLIST b/sdl-hercules-softfloat/PLIST
new file mode 100644
index 0000000000..6d1b0e7f6c
--- /dev/null
+++ b/sdl-hercules-softfloat/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD$
+lib/sdlhercules/doc/SoftFloat-history.html
+lib/sdlhercules/doc/SoftFloat-source.html
+lib/sdlhercules/doc/SoftFloat.html
+lib/sdlhercules/include/softfloat.h
+lib/sdlhercules/include/softfloat_types.h
+lib/sdlhercules/include/softfloat_version.h
+lib/sdlhercules/lib/libSoftFloat64.a
+lib/sdlhercules/softfloat.LICENSE.txt
+lib/sdlhercules/softfloat.README.html
+lib/sdlhercules/softfloat.README.txt
diff --git a/sdl-hercules-softfloat/buildlink3.mk b/sdl-hercules-softfloat/buildlink3.mk
new file mode 100644
index 0000000000..82535bb05c
--- /dev/null
+++ b/sdl-hercules-softfloat/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= sdl-hercules-softfloat
+
+.if !defined(SDL_HERCULES_SOFTFLOAT_BUILDLINK3_MK)
+SDL_HERCULES_SOFTFLOAT_BUILDLINK3_MK:=
+BUILDLINK_DEPMETHOD.sdl-hercules-softfloat?= build
+
+BUILDLINK_API_DEPENDS.sdl-hercules-softfloat+= sdl-hercules-softfloat>=3.5.0
+BUILDLINK_PKGSRCDIR.sdl-hercules-softfloat?= ../../wip/sdl-hercules-softfloat
+.endif # SDL_HERCULES_SOFTFLOAT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -sdl-hercules-softfloat
diff --git a/sdl-hercules-telnet/DESCR b/sdl-hercules-telnet/DESCR
new file mode 100644
index 0000000000..0c719db408
--- /dev/null
+++ b/sdl-hercules-telnet/DESCR
@@ -0,0 +1,13 @@
+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.
diff --git a/sdl-hercules-telnet/Makefile b/sdl-hercules-telnet/Makefile
new file mode 100644
index 0000000000..112aa4bded
--- /dev/null
+++ b/sdl-hercules-telnet/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+PKGNAME= sdl-hercules-telnet-1.0.0
+CATEGORIES= emulators
+GIT_REPO= https://github.com/SDL-Hercules-390/telnet.git
+GIT_REVISION= 650fad2ce96f76bf6d62cd3f8e70ae7e5f214fd3 # Nov 29, 2019
+CHECKOUT_DATE= 2019-11-29
+
+MAINTAINER= rhialto%NetBSD.org@localhost
+HOMEPAGE= https://github.com/SDL-Hercules-390/telnet
+COMMENT= The SoftDevLabs version of SoftFloat for Hercules 4.x
+LICENSE= modified-bsd
+
+USE_TOOLS+= cmake
+USE_LANGUAGES+= c c++
+
+USE_CMAKE= yes
+BLDDIR= ${WRKDIR}/telnet64.Release
+CONFIGURE_DIRS= ${BLDDIR}
+CMAKE_ARG_PATH= ${WRKSRC}
+CMAKE_ARGS+= -D INSTALL_PREFIX=${PREFIX}/lib/sdlhercules
+
+pre-configure:
+ ${MKDIR} ${BLDDIR}
+
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sdl-hercules-telnet/PLIST b/sdl-hercules-telnet/PLIST
new file mode 100644
index 0000000000..90fb8be179
--- /dev/null
+++ b/sdl-hercules-telnet/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+lib/sdlhercules/include/telnet.h
+lib/sdlhercules/include/telnet_version.h
+lib/sdlhercules/lib/libtelnet64.a
+lib/sdlhercules/telnet.LICENSE.txt
+lib/sdlhercules/telnet.README.txt
diff --git a/sdl-hercules-telnet/buildlink3.mk b/sdl-hercules-telnet/buildlink3.mk
new file mode 100644
index 0000000000..535134bd07
--- /dev/null
+++ b/sdl-hercules-telnet/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= sdl-hercules-telnet
+
+.if !defined(SDL_HERCULES_TELNET_BUILDLINK3_MK)
+SDL_HERCULES_TELNET_BUILDLINK3_MK:=
+BUILDLINK_DEPMETHOD.sdl-hercules-telnet?= build
+
+BUILDLINK_API_DEPENDS.sdl-hercules-telnet+= sdl-hercules-telnet>=1.0.0
+BUILDLINK_PKGSRCDIR.sdl-hercules-telnet?= ../../wip/sdl-hercules-telnet
+.endif # SDL_HERCULES_TELNET_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -sdl-hercules-telnet
Home |
Main Index |
Thread Index |
Old Index