--- hercules-3.07.orig/Makefile.am +++ hercules-3.07/Makefile.am @@ -176,7 +176,7 @@ if OPTION_DYNAMIC_LOAD DYNSRC = - LTDL = ltdl.c + LTDL = DYNMOD_LD_FLAGS = -module \ -no-undefined \ @@ -452,8 +452,7 @@ memrchr.c \ $(dynamic_SRC) \ $(extra_SRC) \ - $(dyndev_SRC) \ - ltdl.c + $(dyndev_SRC) libherc_la_LDFLAGS = $(LIB_LD_FLAGS) @@ -462,6 +461,7 @@ libherct.la \ libhercd.la \ decNumber/libdecNumber.la \ + -lltdl \ $(LDADD) # @@ -519,17 +519,17 @@ hercules_SOURCES = bootstrap.c \ hdlmain.c - hercules_LDADD = libherc.la libhercs.la $(LDADD) + hercules_LDADD = libherc.la libhercs.la libhercd.la libhercu.la -lltdl $(LDADD) hercules_LDFLAGS = $(HLDFLAGS) - hercules_DEPENDENCIES = libherc.la libhercs.la $(HDEPS) + hercules_DEPENDENCIES = libherc.la libhercs.la libhercd.la libhercu.la -lltdl $(HDEPS) if BUILD_SHARED herclin_SOURCES = herclin.c hdlmain.c -herclin_LDADD = libherc.la libhercs.la $(LDADD) +herclin_LDADD = libherc.la libhercs.la libhercd.la libhercu.la -lltdl $(LDADD) herclin_LDFLAGS = $(HLDFLAGS) -herclin_DEPENDENCIES = libherc.la libhercs.la $(HDEPS) +herclin_DEPENDENCIES = libherc.la libhercs.la libhercd.la libhercu.la -lltdl $(HDEPS) endif # @@ -748,7 +748,6 @@ hdl.h \ crypto.h \ sockdev.h \ - ltdl.h \ herc_getopt.h \ service.h \ chsc.h \ --- hercules-3.07.orig/autoconf/hercules.m4 +++ hercules-3.07/autoconf/hercules.m4 @@ -207,6 +207,7 @@ AC_DEFUN([_HC_CHECK_NEED_GETOPT_WRAPPER], [ AC_REQUIRE([AC_PROG_LIBTOOL]) + LT_OUTPUT AC_MSG_CHECKING([whether getopt wrapper kludge is necessary]) if test "$1" != "auto"; then --- hercules-3.07.orig/configure.ac +++ hercules-3.07/configure.ac @@ -44,151 +44,8 @@ AC_SUBST(modexecdir) -# ----------------------------------------------------------------------------- -# -# AC_LIBTOOL_DLOPEN -# -# Enable checking for dlopen support. This macro should be used if the -# package makes use of the '-dlopen' and '-dlpreopen' flags, otherwise -# libtool will assume that the system does not support dlopening. The -# macro must be called before AC_PROG_LIBTOOL. -# -# ----------------------------------------------------------------------------- - -AC_LIBTOOL_DLOPEN() # (we need libtool's dlopen support) - - -# ----------------------------------------------------------------------------- -# -# AC_LIBTOOL_WIN32_DLL -# -# This macro should be used if the package has been ported to build -# clean dlls on win32 platforms. Usually this means that any library -# data items are exported with __declspec(dllexport) and imported with -# __declspec(dllimport). If this macro is not used, libtool will assume -# that the package libraries are not dll clean and will build only static -# libraries on win32 hosts. -# -# This macro must be called before AC_PROG_LIBTOOL, and provision must -# be made to pass '-no-undefined' to libtool in link mode from the package -# Makefile. Naturally, if you pass '-no-undefined', you must ensure that -# all the library symbols really are defined at link time! -# -# ----------------------------------------------------------------------------- - -AC_LIBTOOL_WIN32_DLL() # (we need Win32 support in libtool) - - -# ----------------------------------------------------------------------------- -# See: 'AC_PROG_LIBTOOL' below. -# ----------------------------------------------------------------------------- - -AC_DISABLE_STATIC() # (forces libtool to build shared - - # libraries instead of static ones) -# ----------------------------------------------------------------------------- -# AC_PROG_LIBTOOL -# -# Add support for the '--enable-shared' and '--disable-shared' -# configure flags. By default, this macro turns on shared libraries -# if they are available, and also enables static libraries if they -# don't conflict with the shared libraries. You can modify these -# defaults by calling either the AC_DISABLE_SHARED or AC_DISABLE_STATIC -# macros. -# -# Hercules REQUIRES shared libraries (i.e. DLLs), so we do indeed use -# the AC_DISABLE_STATIC macro above. -# -# ----------------------------------------------------------------------------- - -AC_PROG_LIBTOOL() # (we build libtool for ourselves) - - -# ----------------------------------------------------------------------------- -# -# AC_LIB_LTDL -# -# Even though libltdl is installed together with libtool, you may wish -# to include libltdl in the distribution of your package, for the convenience -# of users of your package that don't have libtool or libltdl installed. -# -# The most simplistic way to add libltdl to your package is to copy the -# source files, 'ltdl.c' and 'ltdl.h', to a source directory withing your -# package and to build and link them along with the rest of your sources. -# -# To do this, you must add a call to the 'AC_LIB_LTDL' macro to your package's -# 'configure.in' to perform the required configure time checks in order that -# 'ltdl.o' is built correctly. -# -# This method does have its problems though: if you try to link the package -# binaries with an installed libltdl, or a library which depends on libltdl, -# you may have problems with duplicate symbol definitions. -# -# In order to enable this flavor of libltdl, you should add the line -# 'AC_LIBLTDL_CONVENIENCE' to your `configure.in', before 'AC_PROG_LIBTOOL'. -# -# In order to select the installable version of libltdl, you should add a -# call of the macro 'AC_LIBLTDL_INSTALLABLE' to your 'configure.in' before -# 'AC_PROG_LIBTOOL'. This macro will check whether libltdl is already -# installed and, if not, request the libltdl embedded in your package to be -# built and installed. -# -# Whatever macro you use, it is up to you to ensure that your 'configure.in' -# will configure libltdl, using 'AC_CONFIG_SUBDIRS', and that your 'Makefile's -# will start sub-makes within libltdl's directory, using automake's SUBDIRS, -# for example. Both macros define the shell variables LIBLTDL, to the link flag -# that you should use to link with libltdl, and LTDLINCL, to the preprocessor -# flag that you should use to compile with programs that include 'ltdl.h'. It -# is up to you to use 'AC_SUBST' to ensure that this variable will be available -# in 'Makefile's, or add them to variables that are 'AC_SUBST'ed by default, -# such as LIBS and CPPFLAGS. -# -# So, when you want to link a program with libltdl, be it a convenience, -# installed or installable library, just compile with '$(LTDLINCL)' and link -# it with '$(LIBLTDL)', using libtool. -# -# You should probably also add 'AC_LIBTOOL_DLOPEN' to your 'configure.in' before -# 'AC_PROG_LIBTOOL', otherwise libtool will assume no dlopening mechanism is -# supported, and revert to dlpreopening, which is probably not what you want. -# -# The following example shows you how to embed the convenience libltdl -# in your package. In order to use the installable variant just replace -# 'AC_LIBLTDL_CONVENIENCE' with 'AC_LIBLTDL_INSTALLABLE'. We assume that libltdl -# was embedded using 'libtoolize --ltdl': -# -# configure.in: -# -# ... -# dnl Enable building of the convenience library -# dnl and set LIBLTDL accordingly -# AC_LIBLTDL_CONVENIENCE -# dnl Substitute LTDLINCL and LIBLTDL in the Makefiles -# AC_SUBST(LTDLINCL) -# AC_SUBST(LIBLTDL) -# dnl Check for dlopen support -# AC_LIBTOOL_DLOPEN -# dnl Configure libtool -# AC_PROG_LIBTOOL -# dnl Configure libltdl -# AC_CONFIG_SUBDIRS(libltdl) -# ... -# -# Makefile.am: -# -# ... -# SUBDIRS = libltdl -# -# INCLUDES = $(LTDLINCL) -# -# myprog_LDFLAGS = -export-dynamic -# # The quotes around -dlopen below fool automake <= 1.4 into accepting it -# myprog_LDADD = $(LIBLTDL) "-dlopen" self "-dlopen" foo1.la -# myprog_DEPENDENCIES = $(LIBLTDL) foo1.la -# ... -# -# ----------------------------------------------------------------------------- - -AC_LIB_LTDL() # (we need the ltdl libtool library) +LT_INIT([dlopen win32-dll disable-static]) +LTDL_INIT([]) AC_SUBST([LIBTOOL_DEPS]) # (see PROGRAMMING NOTE above) --- hercules-3.07.orig/crypto/Makefile.am +++ hercules-3.07/crypto/Makefile.am @@ -23,7 +23,7 @@ if OPTION_DYNAMIC_LOAD DYNSRC = - LTDL = ../ltdl.c + LTDL = DYNMOD_LD_FLAGS = -module \ -no-undefined \ --- hercules-3.07.orig/debian/README.Debian +++ hercules-3.07/debian/README.Debian @@ -0,0 +1,20 @@ +hercules for Debian +------------------- + +If you want to use virtual networking without running Hercules as +root, you will want to add a statoverride for /usr/bin/hercifc: + +dpkg-statoverride --add --update root 04750 /usr/bin/hercifc + + -- Matt Zimmerman , Thu, 26 Apr 2001 01:46:24 -0400 + +Installing Debian on an emulated S/390 system +--------------------------------------------- +A good introduction on how to install Debian on s390 using hercules has +been written by Josef Sipek: +http://www.josefsipek.net/docs/s390-linux/hercules-s390.html. + +Note that Debian Squeeze and later no longer support running in 31-bit +mode as only 64-bit (s390x) kernels are available. This means that in your +hercules config ARCHMODE must be set to 'ESAME' or 'z/Arch'. + --- hercules-3.07.orig/debian/changelog +++ hercules-3.07/debian/changelog @@ -0,0 +1,329 @@ +hercules (3.07-2.3) unstable; urgency=medium + + * Non-maintainer upload. + * debian/control: Switch to automake1.11. (Closes: #724388) + + -- Eric Dorland Sun, 16 Feb 2014 14:45:34 -0500 + +hercules (3.07-2.2) unstable; urgency=low + + * Non-maintainer upload. + * Empty dependency_libs (Closes: #621249). + * Add LDFLAGS to really Closes: #615729. + + -- Luk Claes Mon, 13 Jun 2011 16:50:07 +0200 + +hercules (3.07-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Enable external GUI (Closes: #585508) + * Explicit specify needed library (Closes: #615729) + + -- Liang Guo Tue, 29 Mar 2011 09:26:35 +0800 + +hercules (3.07-2) unstable; urgency=low + + * Try again with automake 1.10 (Cloes: #575325) + + -- Peter 'p2' De Schrijver Thu, 25 Mar 2010 00:29:13 +0200 + +hercules (3.07-1) unstable; urgency=low + + * New upstream release (Closes: #573355) + * Integrated multiple fixes from Simon McVittie (Closes: #557162) + * Added dasdinit manpage (Closes: #542143) + * Updated package description (Closes: #569913) + * Updated README.Debian. Thanks to Frans Pop. (Closes: #573355) + * Integrated fix for CVE-2009-3736. Thanks to Thorsten Glaser. (Closes: #559815) + + -- Peter 'p2' De Schrijver Tue, 23 Mar 2010 20:24:26 +0200 + +hercules (3.06-1.2) unstable; urgency=low + + * Non-maintainer upload. + * Use autoreconf in order to use system libltdl instead of the bundled + one (upgrading from 1.x to 2.2). (Closes: #559815) (CVE-2009-3736) + + -- Thorsten Glaser Sun, 24 Jan 2010 00:44:52 +0000 + +hercules (3.06-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Install the private libraries into a private directory, making it + unnecessary to run ldconfig (Closes: #553110) + * Apply patch from Petr Salinger to not build-depend on libcap2-dev on + non-Linux ports (Closes: #544545) + * Apply patch from Martin Michlmayr pre-emptively fixing compilation with + gcc-4.4 (Closes: #513233) + * Put copyright holders and licenses in debian/copyright, not just a pointer + (Policy §12.5) + * Various minor QA, mainly prompted by Lintian warnings: + - modernize watch file (Closes: #529114) + - upgrade debhelper compat level from 3 to 7 (still compatible with stable) + - add ${misc:Depends} to Depends, as per debhelper (>= 4) documentation + - support DEB_BUILD_OPTIONS=noopt + - upgrade config.{guess,sub} during build using autotools-dev + - add the usual --build/--host stuff as per autotools-dev documentation + - debian/menu: modernize menu section (menu-item-uses-apps-section) + - use dh_prep instead of deprecated dh_clean -k + - hercules.doc-base: use appropriate section + - don't ignore errors from make distclean + + -- Simon McVittie Thu, 19 Nov 2009 23:38:37 +0000 + +hercules (3.06-1) unstable; urgency=low + + * New upstream release + * Added configure option --enable-capabilities (Closes: #470460) + + -- Peter De Schrijver (p2) Sat, 17 Jan 2009 19:20:47 +0200 + +hercules (3.05-2) unstable; urgency=low + + * fix license issue (Closes: #473195) + * fixes for late 3.05 issues (Closes: #437107) + * update autoconf foo (Closes: #414519) + + -- Peter De Schrijver (p2) Sun, 30 Mar 2008 15:47:15 +0300 + +hercules (3.05-1) unstable; urgency=low + + * New upstream release. + + -- Peter De Schrijver (p2) Mon, 10 Mar 2008 03:21:44 +0200 + +hercules (3.04.1-3) unstable; urgency=low + + * run hercules with networking as non-root. Thanks to Ivan Warren for the + patch. (Closes: #402191) + + -- Wed, 11 Apr 2007 23:42:16 +0200 + +hercules (3.04.1-2) unstable; urgency=low + + * Fix bizarre compile problem (why does this only happen on ARM ??) (Closes: #414567) + * Add Freebsd support for debian (Closes: #414519) + + -- Tue, 13 Mar 2007 00:39:24 +0100 + +hercules (3.04.1-1) unstable; urgency=low + + * New upstream release (Closes: #381550) + * removed broken de.po (Closes: #313777) + * Suggest x3270 (Closes: #397674) + * Added updated version of joeyh's d-i howto (Closes: #338387) + + -- Peter De Schrijver (p2) Mon, 12 Feb 2007 22:27:12 +0100 + +hercules (3.03.1-1) unstable; urgency=low + + * New upstream release (Closes: #345716) + + -- Peter De Schrijver (p2) Tue, 3 Jan 2006 19:17:21 +0100 + +hercules (3.0.2-1) unstable; urgency=low + + * New maintainer + * New upstream release (Closes: #289121, #184217, #241064, #251287) + * Remove x3270 from suggests (Closes: #318130) + + -- Peter De Schrijver (p2) Mon, 24 Oct 2005 01:38:32 +0200 + +hercules (2.17.1-2) unstable; urgency=low + + * Update config.{guess,sub} (Closes: #182650) + + -- Matt Zimmerman Thu, 27 Feb 2003 09:54:00 -0500 + +hercules (2.17.1-1) unstable; urgency=low + + * New upstream release + + -- Matt Zimmerman Fri, 14 Feb 2003 16:49:17 -0500 + +hercules (2.17-1) unstable; urgency=low + + * New upstream release + + -- Matt Zimmerman Sun, 2 Feb 2003 22:50:16 -0500 + +hercules (2.16.5-1) unstable; urgency=low + + * New upstream release + + -- Matt Zimmerman Tue, 9 Jul 2002 23:09:21 -0400 + +hercules (2.16.4-2) unstable; urgency=medium + + * Apply Greg Smith's fix to CCKD, fixing a bug which could cause + corruption of CCKD volumes + + -- Matt Zimmerman Sat, 6 Jul 2002 18:30:06 -0400 + +hercules (2.16.4-1) unstable; urgency=low + + * New upstream release + + -- Matt Zimmerman Sat, 6 Jul 2002 00:17:38 -0400 + +hercules (2.16.2-1) unstable; urgency=low + + * New upstream release + * Revert our patch to configure.ac, as the FE_INEXACT issue has been + fixed elsewhere in the upstream source + + -- Matt Zimmerman Thu, 23 May 2002 19:49:59 -0400 + +hercules (2.16.1-1) unstable; urgency=low + + * New upstream release + + -- Matt Zimmerman Sun, 5 May 2002 23:43:44 -0400 + +hercules (2.16-2) unstable; urgency=medium + + * Fix bad merge of configure which caused the version number to be + reported as 2.15 + * Install upstream changelog again, now that it has returned + (Closes: #144702) + + -- Matt Zimmerman Sat, 27 Apr 2002 10:29:08 -0400 + +hercules (2.16-1) unstable; urgency=low + + * New upstream release + * Revert to reading hercules.cnf from the current directory to match + upstream behaviour + * Only include hercules.cnf as an example + + -- Matt Zimmerman Tue, 23 Apr 2002 22:02:59 -0400 + +hercules (2.15-4) unstable; urgency=medium + + * Disable IEEE floating point support if FE_INEXACT is not defined by + fenv.h. This will allow hercules to build on ARM + (Closes: #134308) + + -- Matt Zimmerman Sun, 17 Feb 2002 01:01:55 -0500 + +hercules (2.15-3) unstable; urgency=low + + * Build with -ffunction-sections on hppa (Closes: #127243) + + -- Matt Zimmerman Fri, 18 Jan 2002 15:28:46 -0500 + +hercules (2.15-2) unstable; urgency=low + + * Remove debian/conffiles, as we use DH_COMPAT=3. This avoids listing + the same conffile twice + + -- Matt Zimmerman Sun, 30 Dec 2001 14:11:09 -0500 + +hercules (2.15-1) unstable; urgency=low + + * New upstream release. + * Includes fix for the floating-point problem which broke + update-alternatives (Closes: #115415) + * Fix a typo in the description, and add a statement requested by Roger + Bowler, original author. Also clean up and shorted descriptions + somewhat. + * Include bzip2 CCKD support (Closes: #114416) + + -- Matt Zimmerman Sat, 29 Dec 2001 21:27:27 -0500 + +hercules (2.13-3) unstable; urgency=low + + * Correct typo in extended description (also fixed in upstream + documentation) + + -- Matt Zimmerman Thu, 15 Nov 2001 02:30:18 -0500 + +hercules (2.13-2) unstable; urgency=low + + * On powerpc, pass -Dsqrtl=sqrt, since there is no sqrtl and double == + long double. + * On ARM, don't even try to compile the IEEE floating-point routines. + (-DNO_IEEE_SUPPORT) + + -- Matt Zimmerman Sat, 28 Jul 2001 19:20:10 -0400 + +hercules (2.13-1) unstable; urgency=low + + * New upstream version. + + -- Matt Zimmerman Wed, 25 Jul 2001 17:54:35 -0400 + +hercules (2.12-2) unstable; urgency=low + + * Applied patch from LaMont Jones to fix compilation with gcc 3.0 + (Closes: #104595) + + -- Matt Zimmerman Fri, 13 Jul 2001 18:26:34 -0400 + +hercules (2.12-1) unstable; urgency=low + + * New upstream version. Upstream changes are extensive, see CHANGES. + + -- Matt Zimmerman Thu, 21 Jun 2001 14:03:33 -0400 + +hercules (2.11-4) unstable; urgency=low + + * Remove reference to "later in this document" that was accidentally + included in the manual excerpt used for the extended description + (Closes: #98144) + + -- Matt Zimmerman Sun, 20 May 2001 15:57:36 -0400 + +hercules (2.11-3) unstable; urgency=low + + * Fixed priority to match override file + + -- Matt Zimmerman Wed, 2 May 2001 15:19:41 -0400 + +hercules (2.11-2) unstable; urgency=low + + * Added missing \ to menu entry (oops) + + -- Matt Zimmerman Mon, 30 Apr 2001 02:51:28 -0400 + +hercules (2.11-1) unstable; urgency=low + + * New upstream version From the upstream changelog: + - LFPC/SFPC/STFPC IEEE floating point instructions (Jan Jaeger) + - Fixes to CMPSC (Bernard van der Helm) + - Extended translation fac. 2 (PKA/PKU/UNPKA/UNPKU) (Roger Bowler) + - Divide logical (DL/DLR/DLG/DLGR) instructions (Vic Cross) + - Display instruction operands (Roger Bowler) + - Fix to load_psw (Roger Bowler) + - Add hercules.rc initialization file (Willem Konynenberg) + - Fix SIE host interrupt IA backup (Jan Jaeger) + - Fix SSKE RCP index error (Jan Jaeger) + - TP instruction (Roger Bowler) + - Tape datachaining patch (Brandon Hill) + - Patch to bypass Cygwin stack problem (service.c) (Greg Smith) + - Fixes for windows port (Volker Bandke) + - SSK/ISK/RRB fix for 2K storage keys (Valery Pogonchenko and Jan Jaeger) + - TRAP2 TRAP4 and RP instructions (Jan Jaeger) + - Varous fixes for panel.c (Roger Bowler) + - Interval Timer fix (Bob Abeles) + - Deconfigure CPU's in release_config() (Greg Smith) + - Change panel break command to 64 bit (Jan Jaeger) + - Add ALCGR, SLBGR, ALCG, SLBG, ALCR, SLCR, ALC, SLB, AGF, ALGF, SGF, SGFR, AGFR, RRL, RRLG, MSGF, MSGFR, SLGFR instructions (Jan Jaeger) + - Fix MVCLE instruction where op2 len > op1 len (Jan Jaeger) + - Fix various sign/casting problems in esame.c (Jan Jaeger) + - Change constant type in cmpsc.c to prevent warning (Jan Jaeger) + - Fix S/370 interval timer (Valery Pogonchenko and Jay Maynard) + - Correct sign on LLILH (Jan Jaeger) + + * Document command line option -f in manpage + + -- Matt Zimmerman Sun, 29 Apr 2001 14:14:34 -0400 + +hercules (2.10-1) unstable; urgency=low + + * Initial Release (Closes: #95289) + * Includes my small patch to enable tunnel networking on 2.4 kernels + + -- Matt Zimmerman Sat, 28 Apr 2001 23:31:06 -0400 + + --- hercules-3.07.orig/debian/compat +++ hercules-3.07/debian/compat @@ -0,0 +1 @@ +7 --- hercules-3.07.orig/debian/control +++ hercules-3.07/debian/control @@ -0,0 +1,44 @@ +Source: hercules +Section: otherosfs +Priority: extra +Maintainer: Peter De Schrijver (p2) +Build-Depends: debhelper (>= 7.0.0), + docbook-to-man, + zlib1g-dev, + libbz2-dev, + libcap2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], + libltdl-dev, + libtool, + autoconf (>= 2.61~), + automake1.11, + autotools-dev +Build-Conflicts: autoconf2.13, automake1.4 +Standards-Version: 3.6.2 + +Package: hercules +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: x3270 +Description: System/370, ESA/390 and z/Architecture Emulator + 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. + . + This means that your PC can emulate an IBM mainframe processor. The + mainframe can range from a 360 to a z900 - running in "System/370" + mode, "ESA/390" mode, or "z/Architecture" mode. Hercules executes + S/370, ESA/390, and z/Architecture instructions and channel + programs. It emulates mainframe I/O devices by using PC devices. For + example, 3390 DASD devices are emulated by large files on your hard + disk, and local 3270 screens are emulated by tn3270 sessions. + . + Hercules implements only the raw S/370, ESA/390, and z/Architecture + instruction set; it does not provide any operating system facilities. This + means that you need to provide an operating system or standalone program which + Hercules can load from an emulated disk or tape device. You will have to use a + free software operating system such as Linux, write the operating system or + standalone program yourself, obtain a license from IBM to run one of their + operating systems on your PC, or use IBM programs and operating systems which + have been placed in the public domain. + . + Virtual networking can be accomplished using the TUN/TAP driver in + host Linux kernel. --- hercules-3.07.orig/debian/copyright +++ hercules-3.07/debian/copyright @@ -0,0 +1,378 @@ +The first version of this package was debianized by Matt Zimmerman +on Thu, 26 Apr 2001 01:46:24 -0400. + +The current version was downloaded from http://www.hercules-390.org/ + +Upstream Authors: + + 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. + +Copyright: + Copyright 1991-2009 Roger Bowler + Copyright 1995-2005 Free Software Foundation, Inc. + Copyright 1999 Volker Bandke + Copyright 1999-2001 Nobody + Copyright 1999-2007 Peter Kuschnerus + Copyright 1999-2009 Jan Jaeger + Copyright 2000-2007 Leland Lucius + Copyright 2000-2007 Malcolm Beattie + Copyright 2000-2007 Willem Konynenberg + Copyright 2000-2008 Bernard van der Helm + Copyright 2001-2007 Fritz Elfert + Copyright 2001-2007 James M. Morrison + Copyright 2001-2007 Vic Cross + Copyright 2002-2008 David B.Trout + Copyright 2002-2008 Greg Smith + Copyright 2002-2008 James A. Pierson + Copyright 2003-2006 Mark L. Gaubatz + Copyright 2003-2007 Ivan Warren + Copyright 2000-2007 Jay Maynard + "and others" + +Licensing: + All materials in this distribution are + copyrighted by Roger Bowler and others. + + Hercules may be distributed under the terms + of the Q Public License Version 1.0 + + Please refer to: + http://www.hercules-390.org/herclic.html + for details. + + In the context of this license, the initial developers of + the software are Roger Bowler, Jan Jaeger, and Jay Maynard. + +(A copy of the Q Public License 1.0 from the referenced web page is appended to +this file. It is the same as the original Trolltech version available from +opensource.org, except that the Choice of Law at the end has been changed +to England.) + +Copyright on differently-licensed parts: + +debian/hercules.sgml: + Copyright 2001 Matt Zimmerman + + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation License, + Version 1.1 or any later version published by the Free Software + Foundation; with no Invariant Sections, no Front-Cover Texts + and no Back-Cover Texts. + + (On Debian systems, a copy of the GFDL can be found in + /usr/share/common-licenses.) + +crypto/sha2.c, crypto.sha2.h: + Copyright (c) 2000-2001, Aaron D. Gifford + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the copyright holder nor the names of contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTOR(S) BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +crypto/des.c: + PuTTY is copyright 1997-2005 Simon Tatham. + Portions copyright Robert de Bath, Joris van Rantwijk, Delian + Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong, Nicolas Barry, + Justin Bradford, Ben Harris, Malcolm Smith, Ahmad Khalifa, Markus + Kuhn, and CORE SDI S.A. + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE + FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF + CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +hercules.m4: + Modeled after 'AC_C99_FLEXIBLE_ARRAY' macro copyright + by Erik de Castro Lopo + + Permission to use, copy, modify, distribute, and sell this file + for any purpose is hereby granted without fee, provided that the + above copyright and this permission notice appear in all copies. + No representations are made about the suitability of this software + for any purpose. It is provided "as is" without express or + implied warranty. + +decNumber/*: + Copyright (c) 1995-2005 International Business Machines Corporation and + others. All rights reserved. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, and/or sell copies of the Software, and to permit persons + to whom the Software is furnished to do so, provided that the above + copyright notice(s) and this permission notice appear in all copies of + the Software and that both the above copyright notice(s) and this + permission notice appear in supporting documentation. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT + OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR + HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL + INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING + FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, + NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION + WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, use + or other dealings in this Software without prior written authorization + of the copyright holder. + +getopt.c: + * Copyright (c) 1987, 1993, 1994, 1996 + * The Regents of the University of California. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + +getopt.h: + * Copyright (c) 2000 The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Dieter Baron and Thomas Klausner. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the NetBSD + * Foundation, Inc. and its contributors. + * 4. Neither the name of The NetBSD Foundation nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS + * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + +parts of hscutl.[ch]: + * Copyright (c) 1998 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +tt32api.h + Copyright (c) Software Development Laboratories, aka "Fish" (David B. Trout) + + Licensed under terms of the ZLIB/LIBPNG Open Source Software License + http://www.opensource.org/licenses/zlib-license.php + + THIS SOFTWARE IS PROVIDED 'AS-IS', WITHOUT ANY EXPRESS OR IMPLIED WARRANTY. + IN NO EVENT WILL THE AUTHOR(S) BE HELD LIABLE FOR ANY DAMAGES ARISING FROM + THE USE OF THIS SOFTWARE. + + Permission is granted to anyone to use this software for any purpose, including + commercial applications, and to alter it and redistribute it freely, subject to + the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not claim + that you wrote the original software. If you use this software in a product, + an acknowledgment in the product documentation would be appreciated but is + not required. + + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + + 3. This notice nor the above Copyright information may not be removed or altered + from any source distribution. + +util/awssl-v19g: + * Copyright (C) 2002, By Reed H. Petty, rhp@draper.net * + * * + * You are free to make any changes you like to this code for any * + * purpose (including commercial for profit use) PROVIDED that you * + * carry the credits forward into derived works. * + * * + * NO WARRANTY OF ANY KIND IS MADE! USE AT YOUR OWN RISK! * + +part of w32util.c: + Copyright 2000 Petter Reinholdtsen + (with the same copyright/permission notice as crypto/des.c) + +----------------------------------------------------------------------- + +THE Q PUBLIC LICENSE version 1.0 + +Copyright (C) 1999 Trolltech AS, Norway. +Everyone is permitted to copy and +distribute this license document. + +The intent of this license is to establish freedom to share and change the +software regulated by this license under the open source model. + +This license applies to any software containing a notice placed by the +copyright holder saying that it may be distributed under the terms of the Q +Public License version 1.0. Such software is herein referred to as the +Software. This license covers modification and distribution of the Software, +use of third-party application programs based on the Software, and development +of free software which uses the Software. + + Granted Rights + +1. You are granted the non-exclusive rights set forth in this license provided +you agree to and comply with any and all conditions in this license. Whole or +partial distribution of the Software, or software items that link with the +Software, in any form signifies acceptance of this license. + +2. You may copy and distribute the Software in unmodified form provided that +the entire package, including - but not restricted to - copyright, trademark +notices and disclaimers, as released by the initial developer of the Software, +is distributed. + +3. You may make modifications to the Software and distribute your +modifications, in a form that is separate from the Software, such as patches. +The following restrictions apply to modifications: + + a. Modifications must not alter or remove any copyright notices in the + Software. + + b. When modifications to the Software are released under this license, a + non-exclusive royalty-free right is granted to the initial developer of the + Software to distribute your modification in future versions of the Software + provided such versions remain available under these terms in addition to + any other license(s) of the initial developer. + +4. You may distribute machine-executable forms of the Software or +machine-executable forms of modified versions of the Software, provided that +you meet these restrictions: + + a. You must include this license document in the distribution. + + b. You must ensure that all recipients of the machine-executable forms are + also able to receive the complete machine-readable source code to the + distributed Software, including all modifications, without any charge + beyond the costs of data transfer, and place prominent notices in the + distribution explaining this. + + c. You must ensure that all modifications included in the + machine-executable forms are available under the terms of this license. + +5. You may use the original or modified versions of the Software to compile, +link and run application programs legally developed by you or by others. + +6. You may develop application programs, reusable components and other software +items that link with the original or modified versions of the Software. These +items, when distributed, are subject to the following requirements: + + a. You must ensure that all recipients of machine-executable forms of these + items are also able to receive and use the complete machine-readable source + code to the items without any charge beyond the costs of data transfer. + + b. You must explicitly license all recipients of your items to use and + re-distribute original and modified versions of the items in both + machine-executable and source code forms. The recipients must be able to do + so without any charges whatsoever, and they must be able to re-distribute + to anyone they choose. + + c. If the items are not available to the general public, and the initial + developer of the Software requests a copy of the items, then you must + supply one. + + Limitations of Liability + +In no event shall the initial developers or copyright holders be liable for any +damages whatsoever, including - but not restricted to - lost revenue or profits +or other direct, indirect, special, incidental or consequential damages, even +if they have been advised of the possibility of such damages, except to the +extent invariable law, if any, provides otherwise. + + No Warranty + +The Software and this license document are provided AS IS with NO WARRANTY OF +ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE. + + Choice of Law + +This license is governed by the Laws of England. --- hercules-3.07.orig/debian/dirs +++ hercules-3.07/debian/dirs @@ -0,0 +1,4 @@ +usr/bin +usr/share/hercules +usr/share/man/man1 +usr/share/doc/hercules --- hercules-3.07.orig/debian/hercules.doc-base +++ hercules-3.07/debian/hercules.doc-base @@ -0,0 +1,9 @@ +Document: hercules +Title: The Hercules System/370, ESA/390, and z/Architecture Emulator +Author: Jay Maynard +Abstract: This manual describes what hercules is and how to operate it +Section: Emulators + +Format: HTML +Index: /usr/share/doc/hercules/html/index.html +Files: /usr/share/doc/hercules/html/*.html --- hercules-3.07.orig/debian/hercules.sgml +++ hercules-3.07/debian/hercules.sgml @@ -0,0 +1,138 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + --> + + + Matt"> + Zimmerman"> + + April 26, 2001"> + + 1"> + mdz@debian.org"> + + HERCULES"> + + + Debian GNU/Linux"> + GNU"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2001 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + System/370, ESA/390 and z/Architecture Emulator + + + + + &dhpackage; + + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; program. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + Instead, it has documentation in HTML format; see below. + + Hercules is an open source + software implementation of the mainframe System/370 and ESA/390 + architectures, in addition to the new 64-bit z/Architecure. + Hercules runs under Linux, Windows 98, Windows NT, and Windows + 2000. + + + + OPTIONS + + + + + + + Use a config file other than + /etc/hercules/hercules.cnf + + + + + + + SEE ALSO + + The programs are documented fully by The Hercules + System/370, ESA/390, and z/Architecture Emulator + available in + /usr/share/doc/hercules/html. + + + + AUTHOR + + 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. + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the GNU Free Documentation + License, Version 1.1 or any later version published by the Free + Software Foundation; with no Invariant Sections, no Front-Cover + Texts and no Back-Cover Texts. + + +
+ + --- hercules-3.07.orig/debian/links +++ hercules-3.07/debian/links @@ -0,0 +1,20 @@ +usr/share/man/man1/hercules.1 usr/share/man/man1/hercifc.1 +usr/share/man/man1/hercules.1 usr/share/man/man1/dasdisup.1 +usr/share/man/man1/hercules.1 usr/share/man/man1/dasdload.1 +usr/share/man/man1/hercules.1 usr/share/man/man1/dasdls.1 +usr/share/man/man1/hercules.1 usr/share/man/man1/dasdpdsu.1 +usr/share/man/man1/hercules.1 usr/share/man/man1/tapecopy.1 +usr/share/man/man1/hercules.1 usr/share/man/man1/tapelist.1 +usr/share/man/man1/hercules.1 usr/share/man/man1/tapemap.1 +usr/share/man/man1/hercules.1 usr/share/man/man1/tapesplit.1 +usr/share/man/man1/hercules.1 usr/share/man/man1/cckd2ckd.1 +usr/share/man/man1/hercules.1 usr/share/man/man1/cckdcdsk.1 +usr/share/man/man1/hercules.1 usr/share/man/man1/ckd2cckd.1 +usr/share/man/man1/hercules.1 usr/share/man/man1/cckdcomp.1 +usr/share/man/man1/hercules.1 usr/share/man/man1/hetget.1 +usr/share/man/man1/hercules.1 usr/share/man/man1/hetinit.1 +usr/share/man/man1/hercules.1 usr/share/man/man1/hetmap.1 +usr/share/man/man1/hercules.1 usr/share/man/man1/hetupd.1 +usr/share/man/man1/hercules.1 usr/share/man/man1/dmap2hrc.1 +usr/share/man/man1/hercules.1 usr/share/man/man1/tapesplt.1 +usr/share/man/man1/hercules.1 usr/share/man/man1/cckdswap.1 --- hercules-3.07.orig/debian/menu +++ hercules-3.07/debian/menu @@ -0,0 +1,2 @@ +?package(hercules):needs="text" section="Applications/Emulators" \ + title="hercules" command="/usr/bin/hercules" --- hercules-3.07.orig/debian/rules +++ hercules-3.07/debian/rules @@ -0,0 +1,141 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +export LDFLAGS += -lltdl + +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +CFLAGS += -O2 +else +CFLAGS += -O0 +endif + +ifneq "$(findstring debug,$(DEB_BUILD_OPTIONS))" "" +CFLAGS += -g +endif + +# We divert the shared libraries (which are all internal to +# Hercules) into /usr/lib/hercules, which in turn means the plugins would +# normally go in /usr/lib/hercules/hercules. +# +# However, Hercules will actually look in ${prefix}/lib/hercules for +# plugins (and that path makes more sense anyway), so we override it +# at build/install time by changing the make arguments. +# +# Hopefully this will become unnecessary if upstream add a --with-modexecdir +# option or something. It might need changing in new upstream releases if +# they stop hard-coding ${prefix}/lib/hercules. + +CONFIGURE_ARGS := --prefix=/usr --enable-optimization="$(CFLAGS)" \ + --libdir=/usr/lib/hercules \ + --mandir=/usr/share/man/ --enable-cckd-bzip2 --enable-het-bzip2 \ + --enable-custom=Debian --enable-capabilities \ + --enable-external-gui +MAKE_ARGS := modexecdir=/usr/lib/hercules + +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + CONFIGURE_ARGS += --build $(DEB_HOST_GNU_TYPE) +else + CONFIGURE_ARGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + +CONFIGURE_ARGS+= --without-included-ltdl + +configure: configure-stamp +configure-stamp: + dh_testdir + + autoreconf -fvi -Im4 -Iautoconf + + ./configure $(CONFIGURE_ARGS) + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + + $(MAKE) $(MAKE_ARGS) + + /usr/bin/docbook-to-man debian/hercules.sgml > hercules.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + if test -f Makefile; then $(MAKE) distclean; fi + rm -f hercules.1 + rm -f ltdl.c ltdl.h Makefile.in */Makefile.in autoconf/config.guess \ + autoconf/config.sub autoconf/depcomp autoconf/install-sh \ + autoconf/ltmain.sh autoconf/missing autoconf/mkinstalldirs \ + m4/libtool.m4 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4 \ + m4/'lt~obsolete.m4' aclocal.m4 config.h.in config.log \ + configure + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/hercules. + $(MAKE) install DESTDIR=$(CURDIR)/debian/hercules $(MAKE_ARGS) + + sed -i "/dependency_libs/ s/'.*'/''/" `find $(CURDIR)/debian/hercules -name '*.la'` + + rm $(CURDIR)/debian/hercules/usr/bin/cvslvlck + rm $(CURDIR)/debian/hercules/usr/bin/herclin + install -m 644 hercules.1 $(CURDIR)/debian/hercules/usr/share/man/man1 + + cp -R html $(CURDIR)/debian/hercules/usr/share/doc/hercules + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples hercules.cnf + dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit + dh_installcron + dh_installman + dh_installinfo +# dh_undocumented + dh_installchangelogs CHANGES + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- hercules-3.07.orig/debian/watch +++ hercules-3.07/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.hercules-390.org/hercules-(.*)\.tar\.gz debian --- hercules-3.07.orig/decNumber/Makefile.am +++ hercules-3.07/decNumber/Makefile.am @@ -37,7 +37,7 @@ endif if OPTION_DYNAMIC_LOAD - LTDL = ../ltdl.c + LTDL = LIB_LD_FLAGS = -export-dynamic \ $(XSTATIC) \ -no-undefined \ --- hercules-3.07.orig/man/Makefile.am +++ hercules-3.07/man/Makefile.am @@ -1,4 +1,4 @@ -man_MANS = cckddiag.1 cckd.4 dasdseq.1 +man_MANS = cckddiag.1 cckd.4 dasdseq.1 cfba2fba.1 dasdcat.1 dasdconv.1 dasdcopy.1 dasdinit.1 fba2cfba.1 hercules.1 EXTRA_DIST = $(man_MANS) --- hercules-3.07.orig/man/cfba2fba.1 +++ hercules-3.07/man/cfba2fba.1 @@ -0,0 +1,48 @@ +.TH "CFBA2FBA" "1" +.SH "NAME" +cfba2fba +.SH "SYNOPSIS" +.PP +\fBcfba2fba\fR [\fB-\fIoptions\fR\fP] \fBifile\fR [\fBsf=sfile\fR] \fBofile\fR +.SH "DESCRIPTION" +.PP +This manual page documents the cfba2fba program. +.PP +cfba2fba copies a compressed fba file to a fba file. +.SH "PARAMETERS" +.IP "\fBifile\fR " 10 +input compressed fba dasd file +.IP "\fBsfile\fR " 10 +input compressed fba shadow file (optional) +.IP "\fBofile\fR " 10 +output fba dasd file +.SH "OPTIONS" +.IP "\fB-v\fR " 10 +display program version and quit +.IP "\fB-h\fR " 10 +display help and quit +.IP "\fB-q\fR " 10 +quiet mode, don't display status +.IP "\fB-r\fR " 10 +replace the output file if it exists +.IP "\fB-lfs\fR " 10 +create single large output file +.IP "\fB-blks n\fR " 10 +size of output file +.SH "SEE ALSO" +.PP +The programs are documented fully by \fIThe Hercules +System/370, ESA/390, and z/Architecture Emulator\fP available in +\fB/usr/share/doc/hercules/html\fP. +.SH "AUTHOR" +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. +.PP +This manual page was written by Peter De Schrijver p2@debian.org for +the \fBDebian GNU/Linux\fP system (but may be used by others). Permission is +granted to copy, distribute and/or modify this document under +the terms of the GPL. + --- hercules-3.07.orig/man/dasdcat.1 +++ hercules-3.07/man/dasdcat.1 @@ -0,0 +1,53 @@ +.TH "DASDCAT" "1" +.SH "NAME" +DASDCAT +.SH "SYNOPSIS" +.PP +\fBdasdcat\fR [\fB-i\fR \fIdasd_image\fP [\fBsf=\fR\fIshadowfile\fP] \fIpdsname\fP\fB/\fR\fIspec\fP\fB:\fR\fIflags\fP] +.SH "DESCRIPTION" +.PP +This manual page documents the dasdcat program. +.PP +The dasdcat utility displays pds datasets and members from a DASD image file. +.SH "PARAMETERS" +.IP "\fBdasd_image\fR" 10 +input DASD filename +.IP "\fBshadowfile\fR" 10 +associated shadow DASD filename (optional) +.IP "\fBpdsname\fR" 10 +name of the partitioned dataset from which information will be extracted +.IP "\fBspec\fR" 10 +\fBspec\fR can be one of the following : +.RS 10 +.IP "\(bu \fBname\fR" 10 +list PDS member \fBname\fR +.IP "\(bu \fB*\fR" 10 +list all PDS members +.IP "\(bu \fB?\fR" 10 +list the membernames of the PDS +.RE +.IP "\fBflags\fR" 10 +\fBflags\fR can be one of the following : +.RS 10 +.IP "\(bu \fBc\fR" 10 +list members as cards +.IP "\(bu \fBa\fR" 10 +list members in ASCII +.RE +.PP +.SH "SEE ALSO" +The programs are documented fully by \fIThe Hercules +System/370, ESA/390, and z/Architecture Emulator\fP available in +\fB/usr/share/doc/hercules/html\fP. +.SH "AUTHOR" +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. +.PP +This manual page was written by Peter De Schrijver p2@debian.org for +the \fBDebian GNU/Linux\fP system (but may be used by others). Permission is +granted to copy, distribute and/or modify this document under +the terms of the GPL. + --- hercules-3.07.orig/man/dasdconv.1 +++ hercules-3.07/man/dasdconv.1 @@ -0,0 +1,40 @@ +.TH "DASDCONV" "1" +.SH "NAME" +DASDCONV +.SH "SYNOPSIS" +.PP +\fBdasdconv\fR [\fB-r\fR] [\fB-lfs\fR] [\fB-q\fR]\fP \fIinfile\fP \fIoutfile\fP +.SH "DESCRIPTION" +.PP +This manual page documents the dasdconv program. +.PP +dasdconv converts a CKD disk image from HDR-30 format to AWSCKD format. +.SH "PARAMETERS" +.IP "\fBinfile\fR" 10 +input ckd dasd file in HDR-30 format +.IP "\fBoutfile\fR" 10 +output ckd dasd file in AWSCKD format. If the image is bigger then 2GB multiple files will creates with names suffixed _1, _2, etc. +.SH "OPTIONS" +.IP "\fB-r\fR" 10 +Overwrite the existing outfile. By default no files will be overwritten. +.IP "\fB-lfs\fR" 10 +Output CKD file will be a single file even if it exceeds 2GB in size. +.IP "\fB-q\fR" 10 +Quiet +.SH "SEE ALSO" +.PP +The programs are documented fully by \fIThe Hercules +System/370, ESA/390, and z/Architecture Emulator\fP available in +\fB/usr/share/doc/hercules/html\fP. +.SH "AUTHOR" +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. +.PP +This manual page was written by Peter De Schrijver p2@debian.org for +the \fBDebian GNU/Linux\fP system (but may be used by others). Permission is +granted to copy, distribute and/or modify this document under +the terms of the GPL. + --- hercules-3.07.orig/man/dasdcopy.1 +++ hercules-3.07/man/dasdcopy.1 @@ -0,0 +1,60 @@ +.TH "DASDCOPY" "1" +.SH "NAME" +dasdcopy +.SH "SYNOPSIS" +.PP +\fBdasdcopy\fR [\fB-v\fR] [\fB-h\fR] [\fB-q\fR] [\fB-r\fR] [\fB-z\fR] [\fB-bz2\fR] [\fB-0\fR] [\fB-a\fR] [\fB-lfs\fR] [\fB-blks\fR \fIn\fP] [\fB-cyls\fR \fIn\fP] [\fB-o\fR \fItype\fP] \fIifile\fP [\fBsf=\fR\fIsfile\fP] \fIofile\fP +.SH "DESCRIPTION" +.PP +This manual page documents the dasdcopy program. +.PP +dasdcopy copies a dasd file to another dasd file. +.SH "PARAMETERS" +.IP "\fBifile\fR" 10 +input fba dasd file +.IP "\fBsfile\fR" 10 +input compressed fba shadow file (optional) +.IP "\fBofile\fR" 10 +output compressed fba dasd file +.SH "OPTIONS" +.IP "\fB-v\fR" 10 +display program version and quit +.IP "\fB-h\fR" 10 +display help and quit +.IP "\fB-q\fR" 10 +quiet mode, don't display status +.IP "\fB-r\fR" 10 +replace the output file if it exists +.IP "\fB-blks n\fR" 10 +size of output fba file +.IP "\fB-cyls n\fR" 10 +size of output ckd file +.IP "\fB-z\fR" 10 +compress using output zlib [default] +.IP "\fB-bz2\fR" 10 +compress using output bzip2 +.IP "\fB-0\fR" 10 +don't compress output +.IP "\fB-a\fR" 10 +output ckd file will have alternate cylinders +.IP "\fB-lfs\fR" 10 +output ckd file will be a single file even if it exceeds 2GB in size +.IP "\fB-o type\fR" 10 +output file type (CKD, CCKD, FBA, CFBA) +.SH "SEE ALSO" +.PP +The programs are documented fully by \fIThe Hercules +System/370, ESA/390, and z/Architecture Emulator\fP available in +\fB/usr/share/doc/hercules/html\fP. +.SH "AUTHOR" +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. +.PP +This manual page was written by Peter De Schrijver p2@debian.org for +the \fBDebian GNU/Linux\fP system (but may be used by others). Permission is +granted to copy, distribute and/or modify this document under +the terms of the GPL. + --- hercules-3.07.orig/man/dasdinit.1 +++ hercules-3.07/man/dasdinit.1 @@ -0,0 +1,53 @@ +.TH DASDLIST "1" +.SH "NAME" +dasdlist +.SH "SYNOPSIS" +.PP +dasdinit [\fB-v\fR] [\fB-z\fR] [\fB-bz2\fR] [\fB-0\fR] [\fB-lfs\fR] [\fB-a\fR] [\fB-r\fR] [\fB-linux\fR] \fIfilename\fP \fIdevtype\fP[\fB-\fR\fImodel\fP] [\fIvolser\fP] [\fIsize\fP] +.PP +This manual page documents the dasdinit program. +.PP +dasdlist builds an empty dasd image file +.SH "PARAMETERS" +.IP "\fBfilename\fR " 10 +name of dasd image file to be created +.IP "\fBdevtype\fR " 10 +emulated device type +.IP "\fBmodel\fR " 10 +emulated device model (optional) +.IP "\fBvolser\fR " 10 +volume serial number (1-6 characters) (only if '-r' option not used) +.IP "\fBsize\fR " 10 +number of cylinders (for CKD devices) or 512-byte sectors (for FBA devices) (optional if device specified) +.SH "OPTIONS" +.IP "\fB-v\fR " 10 +display version info and help +.IP "\fB-z\fR " 10 +build compressed dasd image file using zlib +.IP "\fB-bz2\fR " 10 +build compressed dasd image file using bzip2 +.IP "\fB-0\fR " 10 +build compressed dasd image file with no compression +.IP "\fB-lfs\fR " 10 +build a large (uncompressed) dasd file (if supported) +.IP "\fB-a\fR " 10 +build dasd image file that includes alternate cylinders (option ignored if size is manually specified) +.IP "\fB-r\fR " 10 +build 'raw' dasd image file (no VOL1 or IPL track) +.IP "\fB-linux\fR " 10 +null track images will look like linux dasdfmt'ed images (3390 device type only) +.SH "SEE ALSO" +.PP +\fB/usr/share/doc/hercules/html/hercload.html\fP +.SH "AUTHOR" +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. +.PP +This manual page was written by Peter De Schrijver p2@debian.org for +the \fBDebian GNU/Linux\fP system (but may be used by others). Permission is +granted to copy, distribute and/or modify this document under +the terms of the GPL. + --- hercules-3.07.orig/man/fba2cfba.1 +++ hercules-3.07/man/fba2cfba.1 @@ -0,0 +1,50 @@ +.TH "FBA2CFBA" "1" +.SH "NAME" +fba2cfba +.SH "SYNOPSIS" +.PP +\fBfba2cfba\fR [\fB-\fIoptions\fR\fP] \fBifile\fR \fBofile\fR +.SH "DESCRIPTION" +.PP +This manual page documents the fba2cfba program. +.PP +fba2cfba copies a fba dasd file to a compressed fba dasd file. +.SH "PARAMETERS" +.IP "\fBifile\fR " 10 +input fba dasd file +.IP "\fBofile\fR " 10 +output compressed fba dasd file +.SH "OPTIONS" +.IP "\fB-v\fR " 10 +display program version and quit +.IP "\fB-h\fR " 10 +display help and quit +.IP "\fB-q\fR " 10 +quiet mode, don't display status +.IP "\fB-r\fR " 10 +replace the output file if it exists +.IP "\fB-blks n\fR " 10 +size of output file +.IP "\fB-z\fR " 10 +compress using zlib [default] +.IP "\fB-bz2\fR " 10 +compress using bzip2 +.IP "\fB-0\fR " 10 +don't compress track images +.SH "SEE ALSO" +.PP +The programs are documented fully by \fIThe Hercules +System/370, ESA/390, and z/Architecture Emulator\fP available in +\fB/usr/share/doc/hercules/html\fP. +.SH "AUTHOR" +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. +.PP +This manual page was written by Peter De Schrijver p2@debian.org for +the \fBDebian GNU/Linux\fP system (but may be used by others). Permission is +granted to copy, distribute and/or modify this document under +the terms of the GPL. + --- hercules-3.07.orig/man/hercules.1 +++ hercules-3.07/man/hercules.1 @@ -0,0 +1,45 @@ +.TH "HERCULES" "1" +.SH "NAME" +hercules \(em System/370, ESA/390 and z/Architecture Emulator +.SH "SYNOPSIS" +.PP +\fBhercules\fR [\fB-f \fIconfig-file\fR\fP] +.SH "DESCRIPTION" +.PP +This manual page documents briefly the +\fBhercules\fR program. +.PP +This manual page was written for the \fBDebian GNU/Linux\fP distribution +because the original program does not have a manual page. +Instead, it has documentation in HTML format; see below. +.PP +\fBHercules\fP is an open source +software implementation of the mainframe System/370 and ESA/390 +architectures, in addition to the new 64-bit z/Architecure. +Hercules runs under Linux, Windows 98, Windows NT, and Windows +2000. +.SH "OPTIONS" +.IP "\fB-f\fP " 10 +Use a config file other than +\fB/etc/hercules/hercules.cnf\fP +.SH "SEE ALSO" +.PP +The programs are documented fully by \fIThe Hercules +System/370, ESA/390, and z/Architecture Emulator\fP available in +\fB/usr/share/doc/hercules/html\fP. +.SH "AUTHOR" +.PP +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. +.PP +This manual page was written by Matt Zimmerman mdz@debian.org for +the \fBDebian GNU/Linux\fP system (but may be used by others). Permission is +granted to copy, distribute and/or modify this document under +the terms of the GNU Free Documentation +License, Version 1.1 or any later version published by the Free +Software Foundation; with no Invariant Sections, no Front-Cover +Texts and no Back-Cover Texts. +.\" created by instant / docbook-to-man, Tue 23 Mar 2010, 22:07 --- hercules-3.07.orig/util/dasdlist.1 +++ hercules-3.07/util/dasdlist.1 @@ -0,0 +1,30 @@ +.TH "DASDLIST" "1" +.SH "NAME" +dasdlist +.SH "SYNOPSIS" +.PP +\fBdasdlist\fR \fBfilename\fR [\fBcyl head\fR] +.SH "DESCRIPTION" +.PP +This manual page documents the dasdlist program. +.PP +dasdlist dumps a track from a CKD DASD image file. +.SH "PARAMETERS" +.IP "\fBfilename\fR" 10 +input CKD DASD file +.IP "\fBcyl\fR" 10 +cylinder number of track to dump +.IP "\fBhead\fR" 10 +head number of track to dump +.SH "SEE ALSO" +.PP +The programs are documented fully by \fIThe Hercules +System/370, ESA/390, and z/Architecture Emulator\fPavailable in +\fB/usr/share/doc/hercules/html\fP. +.SH "AUTHOR" +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. +