debian/0000755000000000000000000000000012203766752007200 5ustar debian/ckifzs.60000644000000000000000000000153212203766752010561 0ustar .TH CKIFZS 6 .\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection .\" other parms are allowed: see man(7), man(1) .SH NAME ckifzs \- Verifies a QUETZAL/IFZS file .SH SYNOPSIS .B ckifzs .I "" .br .B ckifzs .SH "DESCRIPTION" This manual page documents briefly the .BR ckifzs command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. .PP .B ckifzs is a program that verifies a saved state file generated by a Z-Code interpreter that it adheres to the QUETZAL/IFZS standard. .SH OPTIONS This program has no options. Run .BR ckifzs with no arguments to view invocation syntax. .SH "SEE ALSO" .BR jzip (6) .SH AUTHOR This manual page was written by Michael Stroucken , for the Debian GNU/Linux system (but may be used by others). debian/dirs0000644000000000000000000000001212203766752010055 0ustar usr/games debian/postinst0000644000000000000000000000263712203766752011016 0ustar #! /bin/sh # postinst script for jzip # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-deconfigure' `in-favour' # `removing' # # for details, see /usr/doc/packaging-manual/ # # quoting from the policy: # Any necessary prompting should almost always be confined to the # post-installation script, and should be protected with a conditional # so that unnecessary prompting doesn't happen if a package's # installation fails and the `postinst' is called with `abort-upgrade', # `abort-remove' or `abort-deconfigure'. case "$1" in configure) update-alternatives --install /usr/games/zcode-interpreter zcode-interpreter /usr/games/jzip 50 --slave /usr/share/man/man6/zcode-interpreter.6.gz zcode-interpreter-man-gz /usr/share/man/man6/jzip.6.gz ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 0 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/jzexe.60000644000000000000000000000247712203766752010426 0ustar .TH JZEXE 6 .\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection .\" other parms are allowed: see man(7), man(1) .SH NAME jzexe \- Generates standalone Z-Code programs .SH SYNOPSIS .B jzexe .I " [jzip program]" .br .B jzexe .I "-x " .br .B jzexe .SH "DESCRIPTION" This manual page documents briefly the .BR jzexe command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. .PP .B jzexe is a program that generates a standalone Z-Code executable program by gluing .BR jzip and the specified Z-Code program together. It assumes .BR jzip is located at /usr/games/jzip, which can be overridden by the command line. It calls a standalone executable .exe, and saves its output in the current directory. .PP .B jzexe can also extract Z-Code programs from the executables it creates. .SH OPTIONS A summary of options are included below. .TP .B \-x Extract a program from a stand alone executable, naming it .z .PP Run .BR jzexe with no arguments to view invocation options. .SH "SEE ALSO" .BR jzip (6), /usr/share/doc/jzip/Jzexe.txt.gz .SH AUTHOR This manual page was written by Michael Stroucken , for the Debian GNU/Linux system (but may be used by others). debian/rules0000755000000000000000000000203712203766752010262 0ustar #!/usr/bin/make -f CC ?= gcc %: dh $@ override_dh_clean: $(MAKE) -f unixio.mak realclean dh_clean override_dh_auto_build: $(MAKE) -f unixio.mak CC=$(CC) OPTIMIZE="$(CFLAGS) $(LDFLAGS)" override_dh_auto_install: install -m 755 jzip debian/jzip/usr/games install -m 755 jzexe debian/jzip/usr/games install -m 755 ckifzs debian/jzip/usr/games dh_install # # get-orig-source # for manual invocation only. # UPSTREAM = jzip21-10oct2000.zip VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: *\([0-9]\+:\)*//p') UPSTREAM_VERSION = $(shell echo $(VERSION) | sed 's/-[^-]\+$$//') ORIGDIR = jzip-$(UPSTREAM_VERSION).orig ORIGURL = http://ifarchive.heanet.ie/if-archive/infocom/interpreters/zip/$(UPSTREAM) get-orig-source: fakeroot sh -c ' \ mkdir $(ORIGDIR) && \ wget -O $(UPSTREAM) $(ORIGURL) && \ cd $(ORIGDIR) && unzip ../$(UPSTREAM) && cd .. && \ touch -r $(UPSTREAM) $(ORIGDIR) && \ $(RM) $(UPSTREAM) && \ BZIP2=-9 tar jcf `echo $(ORIGDIR)|sed s/-/_/`.tar.bz2 $(ORIGDIR) && \ $(RM) -r $(ORIGDIR)' .PHONY: get-orig-source debian/changelog0000644000000000000000000001022412203766752011051 0ustar jzip (210r20001005d-3) unstable; urgency=low * New maintainer. (Closes: #487961) * Rework debian/rules for dh and to pass LDFLAGS. * Update Standards-Version to 3.9.4. * Add Vcs- fields; packaging repo is now collab-maint. -- tony mancill Sat, 17 Aug 2013 13:00:08 -0700 jzip (210r20001005d-2) unstable; urgency=low * Adapt to zlib gzFile changes. (Closes: #664931) -- Niko Tyni Sun, 25 Mar 2012 22:42:35 +0300 jzip (210r20001005d-1) unstable; urgency=low * Switch to the new source package format 3.0 (quilt). + no longer package the upstream zip file in the orig.tar.gz. (Closes: #485171) + needs an incremented upstream version + use bzip2 as the compression method + remove the now unnecessary quilt dependency * Upgrade to Standards-Version 3.8.3. + support DEB_BUILD_OPTIONS=parallel=x. * Upgrade to debhelper compatibility level 7. -- Niko Tyni Sun, 08 Nov 2009 00:12:31 +0200 jzip (210r20001005-2) unstable; urgency=low * Change the maintainer email address. * Update inter-target dependencies in debian/rules for parallel builds. * debian/patches/ckifzs-output: add a missing newline in the output. Thanks to Drake Wilson for the patch.(Closes: #454480) * Mention ckifzs and jzexe in the package long description. Thanks again to Drake Wilson. (Closes: #454481) * Upgrade to Standards-Version 3.7.3. No changes needed. * Add the Homepage field in debian/control. -- Niko Tyni Sat, 08 Dec 2007 21:21:26 +0200 jzip (210r20001005-1) unstable; urgency=low * "New" upstream version. * Acknowledge NMU. (Closes: #359433) + debian/postinst: remove the /usr/doc/jzip symlink deletion code, as that was already properly in the 202b19981014-3.1 prerm. * New maintainer. (Closes: #377871) * Repackage upstream source, as it's only available in zip format. + Add README.Debian-source documenting the repackaging. + Add unzip to Build-Depends. * Use quilt for patch management. * Rewrite debian/rules. * Upgrade to debhelper compatibility level 5. * Add zlib1g-dev to Build-Depends. * Update debian/copyright. * debian/patches: + standalone-unsigned-char: make standalone games work by fixing erroneous offset calculation. + if-archive: make URLs point to the correct IF-archive location. * Remove uninformative README.Debian. -- Niko Tyni Thu, 27 Jul 2006 21:23:00 +0300 jzip (202b19981014-3.2) unstable; urgency=low * Non-maintainer upload. * Get rid of the /usr/doc link in postinst (Closes: #359433). * Revamped packaging a bit -- Amaya Rodrigo Sastre Sun, 16 Jul 2006 21:51:27 +0200 jzip (202b19981014-3.1) unstable; urgency=low * Added libncurses5-dev to build-depends (Closes: #122483) -- Michael Stroucken (Debian Development) Wed, 5 Dec 2001 12:22:10 -0500 jzip (202b19981014-3) unstable; urgency=low * Missed reference to jzip.exe, changed to jzip (Closes: #118753) * assorted cleanups * went to standards 3.5.6.0 -- Michael Stroucken (Debian Development) Thu, 29 Nov 2001 02:32:27 -0500 jzip (202b19981014-2.1) frozen unstable; urgency=low * made available to potato again -- Michael Stroucken (Debian Development) Thu, 20 Apr 2000 01:45:42 -0400 jzip (202b19981014-2) unstable; urgency=low * went to standards 3.0.1 * changed man page path from /usr/man to /usr/share/man (Thx to Jeff Licquia + Matej Vela) -- Michael Stroucken (Debian Development) Tue, 18 Apr 2000 02:55:00 -0400 jzip (202b19981014-1) unstable; urgency=low * New upstream version -- Michael Stroucken (Debian Development) Fri, 14 Jan 2000 04:03:00 -0500 jzip (202b19980527-2) unstable; urgency=low * Changed version number * Recompiled to use libncurses5 -- Michael Stroucken (Debian Development) Tue, 11 Jan 2000 02:17:43 -0500 jzip (202b982705-1) unstable; urgency=low * Initial Release. -- Michael Stroucken Sun, 22 Aug 1999 13:17:43 -0400 Local variables: mode: debian-changelog End: debian/prerm0000644000000000000000000000170512203766752010253 0ustar #! /bin/sh # prerm script for jzip # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `upgrade' # * `failed-upgrade' # * `remove' `in-favour' # * `deconfigure' `in-favour' # `removing' # # for details, see /usr/doc/packaging-manual/ case "$1" in remove|upgrade|deconfigure) update-alternatives --remove zcode-interpreter /usr/games/jzip ;; failed-upgrade) update-alternatives --remove zcode-interpreter /usr/games/jzip ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 0 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/patches/0000755000000000000000000000000012203766752010627 5ustar debian/patches/manpage-typo0000644000000000000000000000101312203766752013146 0ustar Fix a typo in the jzip manpage. -- Niko Tyni Fri, 14 Jul 2006 00:35:58 +0300 Index: jzip-210r20001005/doc/jzip.6 =================================================================== --- jzip-210r20001005.orig/doc/jzip.6 2006-07-13 22:21:44.000000000 +0300 +++ jzip-210r20001005/doc/jzip.6 2006-07-13 22:21:48.000000000 +0300 @@ -69,7 +69,7 @@ .SH AVAILABILITY The most recent version of .B jzip -can be dowanloaded from one of: +can be downloaded from one of: .TP http://www.jzip.sourceforge.net/ .TP debian/patches/compiler-warnings0000644000000000000000000002102612203766752014213 0ustar Fix various compiler warnings. Most of these by Michael Stroucken , with some added by Niko Tyni . Adapted to quilt by Niko Tyni Index: jzip-210r20001005/unixio.c =================================================================== --- jzip-210r20001005.orig/unixio.c 2000-10-05 17:08:10.000000000 +0300 +++ jzip-210r20001005/unixio.c 2006-07-14 00:28:27.000000000 +0300 @@ -101,8 +101,10 @@ static int wait_for_char( ); static int read_key( int ); static void set_cbreak_mode( int ); +#if 0 static void rundown( ); static void sig_rundown( ); +#endif void get_prev_command( ); void get_next_command( ); void get_first_command( ); @@ -126,6 +128,7 @@ extern char *tgetstr( ); extern char *tgoto( ); extern void tputs( ); +extern char *tgetflag( ); void outc( int c ) { @@ -756,9 +759,6 @@ int input_line( int buflen, char *buffer, int timeout, int *read_size ) { - struct timeval tv; - struct timezone tz; - int c, col; int init_char_pos, curr_char_pos; int loop, tail_col; @@ -1023,8 +1023,6 @@ */ int input_character( int timeout ) { - struct timeval tv; - struct timezone tz; int c; fflush( stdout ); @@ -1078,7 +1076,7 @@ static int read_key( int mode ) { - int c; + int c = 0; if ( mode == PLAIN ) { @@ -1162,9 +1160,11 @@ if ( mode ) { +#if 0 /* signal (SIGINT, sig_rundown); signal (SIGTERM, sig_rundown); */ +#endif } if ( mode ) @@ -1230,6 +1230,7 @@ } /* set_cbreak_mode */ +#if 0 static void rundown( ) { unload_cache( ); @@ -1245,6 +1246,7 @@ close_script( ); sig_reset_screen( ); } /* rundown */ +#endif #if defined HARD_COLORS @@ -1256,7 +1258,7 @@ */ void set_colours( zword_t foreground, zword_t background ) { - int fg, bg; + int fg = 0, bg = 0; static int bgset = 0; int fg_colour_map[] = { 30, 31, 32, 33, 34, 35, 36, 37 }; Index: jzip-210r20001005/fileio.c =================================================================== --- jzip-210r20001005.orig/fileio.c 2000-10-05 17:08:10.000000000 +0300 +++ jzip-210r20001005/fileio.c 2006-07-14 00:28:27.000000000 +0300 @@ -51,9 +51,9 @@ #ifndef USE_ZLIB static char gfpbuffer[BUFSIZ]; #endif -#endif static char sfpbuffer[BUFSIZ]; static char rfpbuffer[BUFSIZ]; +#endif char save_name[Z_FILENAME_MAX + Z_PATHNAME_MAX + 1] = "story.sav"; char script_name[Z_FILENAME_MAX + Z_PATHNAME_MAX + 1] = "story.scr"; @@ -186,6 +186,8 @@ char *path, *p; char tmp[Z_FILENAME_MAX + Z_PATHNAME_MAX + 1]; + path = p = 0; + if ( !STANDALONE_FLAG ) { story_offset = 0; Index: jzip-210r20001005/input.c =================================================================== --- jzip-210r20001005.orig/input.c 2000-10-05 17:08:10.000000000 +0300 +++ jzip-210r20001005/input.c 2006-07-14 00:30:14.000000000 +0300 @@ -300,7 +300,7 @@ int slen; char *str_end; char *cbuf, *tbuf, *tp; - const char *cp, *token; + const char *cp, *token=NULL; char punctuation[16]; zword_t word; @@ -357,7 +357,7 @@ /* Skip to next token */ cp = next_token( cp, str_end, &token, &token_length, punctuation ); - if ( token_length ) + if ( token_length ) { /* If still space in token buffer then store word */ @@ -391,6 +391,7 @@ output_string( "Too many words typed, discarding: " ); output_line( token ); } + } } while ( token_length ); Index: jzip-210r20001005/osdepend.c =================================================================== --- jzip-210r20001005.orig/osdepend.c 2006-07-14 00:28:27.000000000 +0300 +++ jzip-210r20001005/osdepend.c 2006-07-14 00:28:27.000000000 +0300 @@ -32,6 +32,10 @@ * */ +#ifdef HAVE_GETOPT +#include +#endif + #include "ztypes.h" #include "jzexe.h" @@ -85,9 +89,10 @@ #if !defined(AMIGA) /* getopt linkages */ - +#if !defined(POSIX) extern int optind; extern const char *optarg; +#endif /* !defined(POSIX) */ extern ZINT16 default_fg, default_bg; #endif /* !defined(AMIGA) */ Index: jzip-210r20001005/memory.c =================================================================== --- jzip-210r20001005.orig/memory.c 2000-10-05 17:08:10.000000000 +0300 +++ jzip-210r20001005/memory.c 2006-07-14 00:28:27.000000000 +0300 @@ -263,7 +263,7 @@ zbyte_t read_data_byte( unsigned long *addr ) { unsigned int page_number, page_offset; - zbyte_t value; + zbyte_t value=0; /* Check if byte is in non-paged cache */ Index: jzip-210r20001005/jzexe.c =================================================================== --- jzip-210r20001005.orig/jzexe.c 2000-10-05 17:08:10.000000000 +0300 +++ jzip-210r20001005/jzexe.c 2006-07-14 00:29:04.000000000 +0300 @@ -142,6 +142,7 @@ } fprintf( stderr, "Couldn't find magic string." ); abort_program( 1 ); + return 0; /* should not return */ } /* @@ -266,10 +267,9 @@ void create_executable( char *story, char *jzip ) { FILE *in, *out; - long p, length, pos; + long length, pos; char fn[NAME_LENGTH + 4]; char *ext; - int ok; strcpy( in_name, "" ); strcpy( out_name, "" ); @@ -366,7 +366,7 @@ a story file that can be played with JZip or any other interpreter.\n\ Note that the extension '.exe' of the game file must be given.\n" -void main( int argc, char **argv ) +int main( int argc, char **argv ) { buf = ( unsigned char * ) malloc( BUFSIZE * sizeof ( unsigned char ) ); Index: jzip-210r20001005/property.c =================================================================== --- jzip-210r20001005.orig/property.c 2000-10-05 17:08:10.000000000 +0300 +++ jzip-210r20001005/property.c 2006-07-14 00:28:27.000000000 +0300 @@ -138,7 +138,7 @@ { prop_addr++; /* Only load first property if it is a byte sized property */ - if ( h_type <= V3 && !( value & 0xe0 ) || h_type >= V4 && !( value & 0xc0 ) ) + if ( ( h_type <= V3 && !( value & 0xe0 )) || (h_type >= V4 && !( value & 0xc0 )) ) { bprop_val = get_byte( prop_addr ); wprop_val = bprop_val; @@ -205,7 +205,7 @@ prop_addr++; - if ( h_type <= V3 && !( value & 0xe0 ) || h_type >= V4 && !( value & 0xc0 ) ) + if ( (h_type <= V3 && !( value & 0xe0 )) || (h_type >= V4 && !( value & 0xc0 )) ) { set_byte( prop_addr, ( zbyte_t ) setvalue ); } Index: jzip-210r20001005/ckifzs.c =================================================================== --- jzip-210r20001005.orig/ckifzs.c 2000-10-05 17:08:10.000000000 +0300 +++ jzip-210r20001005/ckifzs.c 2006-07-14 00:28:27.000000000 +0300 @@ -231,7 +231,9 @@ } else if ( !strncmp( id, "CMem", 4 ) ) { +#if defined SHORT_DUMP || defined LONG_DUMP unsigned long ul1, ul2; +#endif printf( " (compressed memory)" ); #if defined SHORT_DUMP @@ -459,7 +461,7 @@ } cklen -= 4; filelen -= 4; - printf( " %d bytes of data", cklen ); + printf( " %ld bytes of data", cklen ); } } } @@ -472,7 +474,6 @@ if ( cklen >= 1 ) { unsigned long l; - unsigned char uch1; fputs( " ", stdout ); for ( l = 0; l < cklen; ++l ) @@ -490,7 +491,6 @@ if ( cklen >= 1 ) { unsigned long l; - unsigned char uch1; fputs( " ", stdout ); for ( l = 0; l < cklen; ++l ) @@ -508,7 +508,6 @@ if ( cklen >= 1 ) { unsigned long l; - unsigned char uch1; fputs( " ", stdout ); for ( l = 0; l < cklen; ++l ) @@ -526,7 +525,6 @@ if ( cklen >= 1 ) { unsigned long l; - unsigned char uch1; fputs( " ", stdout ); for ( l = 0; l < cklen; ++l ) @@ -540,11 +538,11 @@ } else if ( !strncmp( id, " ", 4 ) ) { - printf( " (%d-byte filler)\n", cklen ); + printf( " (%ld-byte filler)\n", cklen ); } else { - printf( "\n*** Unknown %d-byte chunk type found.\n", cklen ); + printf( "\n*** Unknown %ld-byte chunk type found.\n", cklen ); ++errors; } filelen -= 8; debian/patches/standalone-unsigned-char0000644000000000000000000000146012203766752015430 0ustar Fix erroneous offset calculation caused by char signedness. -- Niko Tyni Fri, 14 Jul 2006 20:40:54 +0300 Index: jzip-210r20001005/fileio.c =================================================================== --- jzip-210r20001005.orig/fileio.c 2006-07-14 20:37:22.000000000 +0300 +++ jzip-210r20001005/fileio.c 2006-07-14 20:38:27.000000000 +0300 @@ -195,7 +195,9 @@ /* standalone game; offset to story start is saved in low-endian */ /* format after magic string */ story_offset = - magic[MAGIC_END + 1] + magic[MAGIC_END + 2] * 256L + magic[MAGIC_END + 3] * 65536L; + (unsigned char) magic[MAGIC_END + 1] + + (unsigned char) magic[MAGIC_END + 2] * 256L + + (unsigned char) magic[MAGIC_END + 3] * 65536L; } strcpy( tmp, storyname ); debian/patches/series0000644000000000000000000000015712203766752012047 0ustar ckifzs-output if-archive manpage-typo standalone-unsigned-char compiler-warnings jzexe-execute-bit zlib-update debian/patches/ckifzs-output0000644000000000000000000000070412203766752013402 0ustar Add a missing newline in the output (#454480) Patch from Drake Wilson --- jzip.orig/ckifzs.c +++ jzip/ckifzs.c @@ -259,10 +259,10 @@ else coredump( ul2++, uch ); } - putchar( '\n' ); filelen -= cklen; cklen = 0; #endif + putchar( '\n' ); if ( status & GOT_CMEM ) { debian/patches/jzexe-execute-bit0000644000000000000000000000274212203766752014120 0ustar - fix jzip binary name - create the executable file with the proper permissions Originally apparently by Michael Stroucken . Adapted to quilt by Niko Tyni Index: jzip-210r20001005/jzexe.c =================================================================== --- jzip-210r20001005.orig/jzexe.c 2006-07-13 23:07:05.000000000 +0300 +++ jzip-210r20001005/jzexe.c 2006-07-13 23:27:21.000000000 +0300 @@ -36,6 +36,7 @@ #include #include #include +#include #include "jzexe.h" @@ -67,7 +68,11 @@ static char out_name[NAME_LENGTH + 1]; /* The name of the JZip executable */ +#if defined(MSDOS) || defined(__MSDOS__) #define JZIP_NAME "jzip.exe" +#else +#define JZIP_NAME "/usr/games/jzip" +#endif void abort_program( int exit_code ) { @@ -81,6 +86,7 @@ { char *mode; FILE *f; + int tempfd; if ( input ) { @@ -89,14 +95,22 @@ * just in case */ in_name[NAME_LENGTH] = 0; mode = READ_MODE; + + f = fopen(name, mode); } else { strncpy( out_name, name, NAME_LENGTH ); out_name[NAME_LENGTH] = 0; mode = WRITE_MODE; + + tempfd = creat(name, 0755); + if (tempfd == -1) { + fprintf(stderr, "Error creating file %s\n", name); + abort_program(1); + } + f = fdopen(tempfd, WRITE_MODE); } - f = fopen( name, mode ); if ( !f ) { fprintf( stderr, "Error opening file %s\n", name ); debian/patches/zlib-update0000644000000000000000000000322612203766752012775 0ustar From 27466cfcb538dcc33ad99328e732da1b031bd03a Mon Sep 17 00:00:00 2001 From: Niko Tyni Date: Thu, 22 Mar 2012 22:51:31 +0200 Subject: [PATCH] zlib 1.2.5.2 compatibility --- fileio.c | 2 +- quetzal.c | 4 ++-- ztypes.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fileio.c b/fileio.c index 49b2fa3..743e2d0 100644 --- a/fileio.c +++ b/fileio.c @@ -39,7 +39,7 @@ extern int GLOBALVER; #ifdef USE_ZLIB -static gzFile *gfp = NULL; /* Zcode file pointer */ +static gzFile gfp = NULL; /* Zcode file pointer */ #else static FILE *gfp = NULL; /* Zcode file pointer */ #endif diff --git a/quetzal.c b/quetzal.c index 291caf3..6445d33 100644 --- a/quetzal.c +++ b/quetzal.c @@ -77,7 +77,7 @@ typedef unsigned long ul_t; */ #ifdef USE_ZLIB -int save_quetzal( FILE * sfp, gzFile * gfp ) +int save_quetzal( FILE * sfp, gzFile gfp ) #else int save_quetzal( FILE * sfp, FILE * gfp ) #endif @@ -294,7 +294,7 @@ static int read_long( FILE * fp, ul_t * result ) #define GOT_ERROR 0x80 #ifdef USE_ZLIB -int restore_quetzal( FILE * sfp, gzFile * gfp ) +int restore_quetzal( FILE * sfp, gzFile gfp ) #else int restore_quetzal( FILE * sfp, FILE * gfp ) #endif diff --git a/ztypes.h b/ztypes.h index 8c558f4..ccd619c 100644 --- a/ztypes.h +++ b/ztypes.h @@ -706,8 +706,8 @@ void z_storew( zword_t, zword_t, zword_t ); /* quetzal.c */ #ifdef USE_ZLIB -int save_quetzal( FILE *, gzFile * ); -int restore_quetzal( FILE *, gzFile * ); +int save_quetzal( FILE *, gzFile ); +int restore_quetzal( FILE *, gzFile ); #else int save_quetzal( FILE *, FILE * ); int restore_quetzal( FILE *, FILE * ); -- 1.7.9.1 debian/patches/if-archive0000644000000000000000000000267512203766752012601 0ustar Fix links to the current IF-archive site. -- Niko Tyni Fri, 14 Jul 2006 00:36:33 +0300 Index: jzip-210r20001005/doc/jzip.6 =================================================================== --- jzip-210r20001005.orig/doc/jzip.6 2006-07-13 22:36:11.000000000 +0300 +++ jzip-210r20001005/doc/jzip.6 2006-07-13 22:41:14.000000000 +0300 @@ -73,7 +73,7 @@ .TP http://www.jzip.sourceforge.net/ .TP -ftp://ftp.gmd.de/if-archive/infocom/interpreters/zip/ +ftp://ifarchive.org/infocom/interpreters/zip/ .SH FILES .TP .I /usr/games/jzip Index: jzip-210r20001005/osdepend.c =================================================================== --- jzip-210r20001005.orig/osdepend.c 2006-07-13 22:36:11.000000000 +0300 +++ jzip-210r20001005/osdepend.c 2006-07-13 22:40:48.000000000 +0300 @@ -197,7 +197,7 @@ fprintf( stdout, "---------------------------------------------------------\n" ); fprintf( stdout, "Author : %s\n", JZIPAUTHOR ); fprintf( stdout, "Official Webpage: %s\n", JZIPURL ); - fprintf( stdout, "IF Archive : ftp://ftp.gmd.de/if-archive/interpreters/zip/\n" ); + fprintf( stdout, "IF Archive : ftp://ifarchive.org/infocom/interpreters/zip/\n" ); fprintf( stdout, " Based on ZIP 2.0 source code by Mark Howell\n\n" ); fprintf( stdout, "Bugs: Please report bugs and portability bugs to the maintainer." ); debian/docs0000644000000000000000000000003312203766752010047 0ustar doc/Jzexe.txt doc/Jzip.txt debian/source/0000755000000000000000000000000012203766752010500 5ustar debian/source/format0000644000000000000000000000001412203766752011706 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212203766752010376 0ustar 9 debian/copyright0000644000000000000000000001070012203766752011131 0ustar This package was debianized by Michael Stroucken on Sun, 22 Aug 1999 13:17:43 -0400. The current maintainer is Niko Tyni , since Thu, 13 Jul 2006 22:32:25 +0300. It was downloaded from the Interactive Fiction archive: http://ifarchive.heanet.ie/if-archive/infocom/interpreters/zip/jzip21-10oct2000.zip Upstream Author: John D. Holder Copyright, from doc/License.txt: Jzip V2.1 Infocom/Inform Zcode Format Interpreter -------------------------------------------------------------------- Copyright (c) 2000 John D. Holder. 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. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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. The file 'dumbio.c' has the following copyright and license information: Copyright 1995, 1997 Al Petrofsky . All rights granted provided this notice stays intact. and, further down: /* code below this point added by John Holder and distributed under the Jzip license */ This package was debianized by Michael Stroucken on Sun, 22 Aug 1999 13:17:43 -0400. The current maintainer is Niko Tyni , since Thu, 13 Jul 2006 22:32:25 +0300. It was downloaded from the Interactive Fiction archive: http://ifarchive.heanet.ie/if-archive/infocom/interpreters/zip/jzip21-10oct2000.zip The .orig.tar.bz2 file of this Debian source package is not the upstream pristine tarball, since that is only available as a .zip file. It has thus been repackaged. You can use the 'get-orig-source' debian/rules target to fetch the zip file and regenerate the tarball, and the 'unpack' debian/rules target to unpack it. Upstream Author: John D. Holder Copyright, from doc/License.txt: Jzip V2.1 Infocom/Inform Zcode Format Interpreter -------------------------------------------------------------------- Copyright (c) 2000 John D. Holder. 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. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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. The file 'dumbio.c' has the following copyright and license information: Copyright 1995, 1997 Al Petrofsky . All rights granted provided this notice stays intact. and, further down: /* code below this point added by John Holder and distributed under the Jzip license */ debian/manpages0000644000000000000000000000005212203766752010713 0ustar debian/ckifzs.6 debian/jzexe.6 doc/jzip.6 debian/control0000644000000000000000000000175212203766752010610 0ustar Source: jzip Section: games Priority: optional Maintainer: tony mancill Build-Depends: debhelper (>=9), libncurses5-dev, zlib1g-dev Standards-Version: 3.9.4 Homepage: http://jzip.sourceforge.net/ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/jzip.git Vcs-Git: git://anonscm.debian.org/collab-maint/jzip.git Package: jzip Architecture: any Provides: zcode-interpreter Suggests: zcode-game Depends: ${shlibs:Depends}, ${misc:Depends} Description: Text mode interpreter for Z-Code adventures This package provides the jzip Z-Code interpreter required to run Infocom or Inform-generated text adventures, although the format can be used for more than games. It is based on the zip interpreter sources and adapted by John D. Holder . . The ckifzs program, for checking the basic structure of save files against the QUETZAL standard, is also included, as is the jzexe program to create a standalone executable by gluing a Z-code file to jzip.