emulators/hercules: Remove port

Niche use case, not aligned with broad server application needs
This commit is contained in:
2025-04-27 22:08:50 +02:00
parent 3033661ad2
commit 7e495b155f
9 changed files with 1 additions and 287 deletions
+1
View File
@@ -1769,6 +1769,7 @@ emulators/gens
emulators/gngb
emulators/gxemul
emulators/hatari
emulators/hercules
emulators/higan
emulators/hv_kvp_cmd
emulators/klh10
-1
View File
@@ -1,6 +1,5 @@
COMMENT = Emulators for other operating systems
SUBDIR += hercules
SUBDIR += javatari
SUBDIR += joytran
SUBDIR += jzintv
-37
View File
@@ -1,37 +0,0 @@
PORTNAME= hercules
PORTVERSION= 3.13
PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://downloads.hercules-390.eu/
MAINTAINER= ports@FreeBSD.org
COMMENT= System/370, ESA/390, and z/Architecture Emulator
WWW= http://www.hercules-390.eu/
LICENSE= QPL
LICENSE_NAME= Q PUBLIC LICENSE version 1.0
LICENSE_TEXT= Please refer to: http://www.hercules-390.org/herclic.html for details
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
# :keepla because port uses lt_dlopen
USES= iconv libtool:keepla perl5 shebangfix
SHEBANG_FILES= util/bldlvlck
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --disable-optimization
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
's|SOL_TCP|IPPROTO_TCP|g' ${WRKSRC}/hscutl.c
@${REINPLACE_CMD} \
-e '/herclin_LDADD =/s/$$/ libhercu.la libhercd.la/' \
-e '/hercules_LDADD =/s/$$/ libhercu.la libhercd.la/' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
'/^pkgdatadir/s|=.*|= $$(docdir)|' ${WRKSRC}/html/Makefile.in
.include <bsd.port.mk>
-3
View File
@@ -1,3 +0,0 @@
TIMESTAMP = 1507710509
SHA256 (hercules-3.13.tar.gz) = 890c57c558d58708e55828ae299245bd2763318acf53e456a48aac883ecfe67d
SIZE (hercules-3.13.tar.gz) = 2640742
-14
View File
@@ -1,14 +0,0 @@
--- hercifc.h.orig 2017-03-26 19:44:49 UTC
+++ hercifc.h
@@ -73,7 +73,11 @@
// --------------------------------------------------------------------
#define HERCIFC_CMD "hercifc" // Interface config command
+#if defined(__FreeBSD__)
+#define HERCTUN_DEV "/dev/tun" // Default TUN control dev
+#else
#define HERCTUN_DEV "/dev/net/tun" // Default TUN/TAP char dev
+#endif
typedef struct _CTLREQ
{
-28
View File
@@ -1,28 +0,0 @@
--- tuntap.c.orig 2017-03-26 19:44:49 UTC
+++ tuntap.c
@@ -241,6 +241,25 @@ int TUNTAP_CreateInterface(
strcpy( pszNetDevName, ifr.ifr_name );
}
#if !defined( OPTION_W32_CTCI )
+ else if ( strncasecmp( utsbuf.sysname, "FreeBSD", 7 ) == 0 )
+ {
+ struct stat sb;
+
+ if ( ( iFlags & IFF_TAP ) == IFF_TAP )
+ {
+ logmsg( _("HHCTU011E TAP device not yet supported\n") );
+ return -1;
+ }
+
+ if ( fstat(fd, &sb) == 0 )
+ devname_r(sb.st_rdev, S_IFCHR, pszNetDevName, IFNAMSIZ);
+ else
+ {
+ logmsg( _("HHCTU010E Error getting TUN/TAP device name: %s\n"),
+ strerror( errno ) );
+ return -1;
+ }
+ }
else
{
// Other OS: Simply use basename of the device
-8
View File
@@ -1,8 +0,0 @@
Hercules is an open source software implementation of the mainframe System/370
and ESA/390 architectures, in addition to the new 64-bit z/Architecture.
Hercules runs under Linux, Windows, Solaris, FreeBSD, and Mac OS X.
Hercules was created by Roger Bowler and is maintained by Jay Maynard. Jan
Jaeger designed and implemented many of the advanced features of Hercules,
including dynamic reconfiguration, integrated console, interpretive execution
and z/Architecture support.
-8
View File
@@ -1,8 +0,0 @@
[
{ type: install
message: <<EOM
Be sure to have a look at the docs and edit the hercules.cnf file to
your needs (The sample is in ${PREFIX}/share/doc/hercules)
EOM
}
]
-188
View File
@@ -1,188 +0,0 @@
bin/bldlvlck
bin/cckd2ckd
bin/cckdcdsk
bin/cckdcomp
bin/cckddiag
bin/cckdswap
bin/cfba2fba
bin/ckd2cckd
bin/dasdcat
bin/dasdconv
bin/dasdcopy
bin/dasdinit
bin/dasdisup
bin/dasdlist
bin/dasdload
bin/dasdls
bin/dasdpdsu
bin/dasdseq
bin/dmap2hrc
bin/fba2cfba
bin/hercifc
bin/herclin
bin/hercules
bin/hetget
bin/hetinit
bin/hetmap
bin/hetupd
bin/tapecopy
bin/tapemap
bin/tapesplt
lib/hercules/dyncrypt.la
lib/hercules/dyncrypt.so
lib/hercules/dyngui.la
lib/hercules/dyngui.so
lib/hercules/dyninst.la
lib/hercules/dyninst.so
lib/hercules/hdt1052c.la
lib/hercules/hdt1052c.so
lib/hercules/hdt1403.la
lib/hercules/hdt1403.so
lib/hercules/hdt2703.la
lib/hercules/hdt2703.so
lib/hercules/hdt2880.la
lib/hercules/hdt2880.so
lib/hercules/hdt3088.la
lib/hercules/hdt3088.so
lib/hercules/hdt3270.la
lib/hercules/hdt3270.so
lib/hercules/hdt3420.la
lib/hercules/hdt3420.so
lib/hercules/hdt3505.la
lib/hercules/hdt3505.so
lib/hercules/hdt3525.la
lib/hercules/hdt3525.so
lib/hercules/hdt3705.la
lib/hercules/hdt3705.so
lib/hercules/hdteq.la
lib/hercules/hdteq.so
lib/hercules/hdtqeth.la
lib/hercules/hdtqeth.so
lib/libdecNumber.la
lib/libdecNumber.so
lib/libherc.la
lib/libherc.so
lib/libhercd.la
lib/libhercd.so
lib/libhercs.la
lib/libhercs.so
lib/libherct.la
lib/libherct.so
lib/libhercu.la
lib/libhercu.so
lib/libsoftfloat.la
lib/libsoftfloat.so
share/man/man1/cckddiag.1.gz
share/man/man1/dasdseq.1.gz
share/man/man1/hercules.1.gz
share/man/man4/cckd.4.gz
%%PORTDOCS%%%%DOCSDIR%%/cckddasd.html
%%PORTDOCS%%%%DOCSDIR%%/fishgui.html
%%PORTDOCS%%%%DOCSDIR%%/hercconf.html
%%PORTDOCS%%%%DOCSDIR%%/hercfaq.html
%%PORTDOCS%%%%DOCSDIR%%/hercinst.html
%%PORTDOCS%%%%DOCSDIR%%/herclic.html
%%PORTDOCS%%%%DOCSDIR%%/hercload.html
%%PORTDOCS%%%%DOCSDIR%%/hercmsca.html
%%PORTDOCS%%%%DOCSDIR%%/hercmscf.html
%%PORTDOCS%%%%DOCSDIR%%/hercmscp.html
%%PORTDOCS%%%%DOCSDIR%%/hercmsct.html
%%PORTDOCS%%%%DOCSDIR%%/hercmscu.html
%%PORTDOCS%%%%DOCSDIR%%/hercmsda.html
%%PORTDOCS%%%%DOCSDIR%%/hercmsdc.html
%%PORTDOCS%%%%DOCSDIR%%/hercmsdg.html
%%PORTDOCS%%%%DOCSDIR%%/hercmsdi.html
%%PORTDOCS%%%%DOCSDIR%%/hercmsdl.html
%%PORTDOCS%%%%DOCSDIR%%/hercmsds.html
%%PORTDOCS%%%%DOCSDIR%%/hercmsdt.html
%%PORTDOCS%%%%DOCSDIR%%/hercmsdu.html
%%PORTDOCS%%%%DOCSDIR%%/hercmsg.html
%%PORTDOCS%%%%DOCSDIR%%/hercmshd.html
%%PORTDOCS%%%%DOCSDIR%%/hercmshe.html
%%PORTDOCS%%%%DOCSDIR%%/hercmshg.html
%%PORTDOCS%%%%DOCSDIR%%/hercmshm.html
%%PORTDOCS%%%%DOCSDIR%%/hercmsht.html
%%PORTDOCS%%%%DOCSDIR%%/hercmshu.html
%%PORTDOCS%%%%DOCSDIR%%/hercmsif.html
%%PORTDOCS%%%%DOCSDIR%%/hercmsin.html
%%PORTDOCS%%%%DOCSDIR%%/hercmslc.html
%%PORTDOCS%%%%DOCSDIR%%/hercmslg.html
%%PORTDOCS%%%%DOCSDIR%%/hercmspn.html
%%PORTDOCS%%%%DOCSDIR%%/hercmspr.html
%%PORTDOCS%%%%DOCSDIR%%/hercmspu.html
%%PORTDOCS%%%%DOCSDIR%%/hercmsrd.html
%%PORTDOCS%%%%DOCSDIR%%/hercmssd.html
%%PORTDOCS%%%%DOCSDIR%%/hercmsta.html
%%PORTDOCS%%%%DOCSDIR%%/hercmstc.html
%%PORTDOCS%%%%DOCSDIR%%/hercmste.html
%%PORTDOCS%%%%DOCSDIR%%/hercmstm.html
%%PORTDOCS%%%%DOCSDIR%%/hercmsts.html
%%PORTDOCS%%%%DOCSDIR%%/hercmstt.html
%%PORTDOCS%%%%DOCSDIR%%/hercmstu.html
%%PORTDOCS%%%%DOCSDIR%%/hercmsvm.html
%%PORTDOCS%%%%DOCSDIR%%/hercnew.html
%%PORTDOCS%%%%DOCSDIR%%/hercrdr.html
%%PORTDOCS%%%%DOCSDIR%%/hercrnot.html
%%PORTDOCS%%%%DOCSDIR%%/hercsupp.html
%%PORTDOCS%%%%DOCSDIR%%/herctcp.html
%%PORTDOCS%%%%DOCSDIR%%/hercules.css
%%PORTDOCS%%%%DOCSDIR%%/hercules.html
%%PORTDOCS%%%%DOCSDIR%%/images/back.gif
%%PORTDOCS%%%%DOCSDIR%%/images/bkued.gif
%%PORTDOCS%%%%DOCSDIR%%/images/blueu.gif
%%PORTDOCS%%%%DOCSDIR%%/images/dial1.gif
%%PORTDOCS%%%%DOCSDIR%%/images/dial2.gif
%%PORTDOCS%%%%DOCSDIR%%/images/dial3.gif
%%PORTDOCS%%%%DOCSDIR%%/images/dial4.gif
%%PORTDOCS%%%%DOCSDIR%%/images/favicon.ico
%%PORTDOCS%%%%DOCSDIR%%/images/greend.gif
%%PORTDOCS%%%%DOCSDIR%%/images/greenu.gif
%%PORTDOCS%%%%DOCSDIR%%/images/hercpic-rblk-256.gif
%%PORTDOCS%%%%DOCSDIR%%/images/hercpic-rblk-80.gif
%%PORTDOCS%%%%DOCSDIR%%/images/interruptd.gif
%%PORTDOCS%%%%DOCSDIR%%/images/interruptu.gif
%%PORTDOCS%%%%DOCSDIR%%/images/loadd.gif
%%PORTDOCS%%%%DOCSDIR%%/images/loadoffu.gif
%%PORTDOCS%%%%DOCSDIR%%/images/loadonu.gif
%%PORTDOCS%%%%DOCSDIR%%/images/loadu.gif
%%PORTDOCS%%%%DOCSDIR%%/images/manoffu.gif
%%PORTDOCS%%%%DOCSDIR%%/images/manonu.gif
%%PORTDOCS%%%%DOCSDIR%%/images/note.gif
%%PORTDOCS%%%%DOCSDIR%%/images/osi-certified-60x50.jpg
%%PORTDOCS%%%%DOCSDIR%%/images/poweroffd.gif
%%PORTDOCS%%%%DOCSDIR%%/images/poweroffu.gif
%%PORTDOCS%%%%DOCSDIR%%/images/poweronoffd.gif
%%PORTDOCS%%%%DOCSDIR%%/images/poweronoffu.gif
%%PORTDOCS%%%%DOCSDIR%%/images/poweronond.gif
%%PORTDOCS%%%%DOCSDIR%%/images/powerononu.gif
%%PORTDOCS%%%%DOCSDIR%%/images/redd.gif
%%PORTDOCS%%%%DOCSDIR%%/images/redu.gif
%%PORTDOCS%%%%DOCSDIR%%/images/restartd.gif
%%PORTDOCS%%%%DOCSDIR%%/images/restartu.gif
%%PORTDOCS%%%%DOCSDIR%%/images/startd.gif
%%PORTDOCS%%%%DOCSDIR%%/images/startu.gif
%%PORTDOCS%%%%DOCSDIR%%/images/stopd.gif
%%PORTDOCS%%%%DOCSDIR%%/images/stopu.gif
%%PORTDOCS%%%%DOCSDIR%%/images/stored.gif
%%PORTDOCS%%%%DOCSDIR%%/images/storeu.gif
%%PORTDOCS%%%%DOCSDIR%%/images/sysoffu.gif
%%PORTDOCS%%%%DOCSDIR%%/images/sysonu.gif
%%PORTDOCS%%%%DOCSDIR%%/images/translucentoffd.gif
%%PORTDOCS%%%%DOCSDIR%%/images/translucentoffu.gif
%%PORTDOCS%%%%DOCSDIR%%/images/translucentond.gif
%%PORTDOCS%%%%DOCSDIR%%/images/translucentonu.gif
%%PORTDOCS%%%%DOCSDIR%%/images/waitoffu.gif
%%PORTDOCS%%%%DOCSDIR%%/images/waitonu.gif
%%PORTDOCS%%%%DOCSDIR%%/include/footer.htmlpart
%%PORTDOCS%%%%DOCSDIR%%/include/header.htmlpart
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/shared.html
%%PORTDOCS%%%%DOCSDIR%%/tasks.html
%%DATADIR%%/TMOUNT.txt
%%DATADIR%%/awssl-v19g
%%DATADIR%%/awswrite.jcl
%%DATADIR%%/cckddump.hla
%%DATADIR%%/cckdload.hla
%%DATADIR%%/rawstape.jcl
%%DATADIR%%/tapeconv.jcl
%%DATADIR%%/zzsacard.bin