Index: create.patch.sh
===================================================================
--- create.patch.sh (nonexistent)
+++ create.patch.sh (revision 5)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+VERSION=1.4.0
+
+tar --files-from=file.list -xJvf ../ziptool-$VERSION.tar.xz
+mv ziptool-$VERSION ziptool-$VERSION-orig
+
+cp -rf ./ziptool-$VERSION-new ./ziptool-$VERSION
+
+diff --unified -Nr ziptool-$VERSION-orig ziptool-$VERSION > ziptool-$VERSION.patch
+
+mv ziptool-$VERSION.patch ../patches
+
+rm -rf ./ziptool-$VERSION
+rm -rf ./ziptool-$VERSION-orig
Property changes on: create.patch.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: file.list
===================================================================
--- file.list (nonexistent)
+++ file.list (revision 5)
@@ -0,0 +1 @@
+ziptool-1.4.0/Makefile
Index: ziptool-1.4.0-new/Makefile
===================================================================
--- ziptool-1.4.0-new/Makefile (nonexistent)
+++ ziptool-1.4.0-new/Makefile (revision 5)
@@ -0,0 +1,32 @@
+# ziptool v1.2 (c) 1997 Mirko Kraft (Mirko.Kraft@ixos.de)
+#
+
+# Compiler options.
+#
+CFLAGS ?= -O2 -g -Wall
+
+# Installation directories
+#
+INSTALL_BIN_DIR = /usr/bin
+INSTALL_MAN_DIR = /usr/share/man
+
+all: ziptool
+
+clean:
+ rm -f jaztool ziptool core *.o
+
+install: all
+ chown root.root ziptool
+ chmod 755 ziptool
+ chmod +s ziptool
+ cp ziptool $(INSTALL_BIN_DIR)
+ strip $(INSTALL_BIN_DIR)/ziptool
+ cd $(INSTALL_BIN_DIR); ln -sf ziptool jaztool
+ cp ziptool.1.gz $(INSTALL_MAN_DIR)/man1
+ cd $(INSTALL_MAN_DIR)/man1; ln -sf ziptool.1.gz jaztool.1.gz
+
+ziptool: ziptool.c
+ $(CC) $(CFLAGS) -I. -o ziptool ziptool.c
+
+jaztool: ziptool.c
+ $(CC) $(CFLAGS) -I. -o jaztool ziptool.c
Index: ziptool-1.4.0-new/scsi/scsi_ioctl.h
===================================================================
--- ziptool-1.4.0-new/scsi/scsi_ioctl.h (nonexistent)
+++ ziptool-1.4.0-new/scsi/scsi_ioctl.h (revision 5)
@@ -0,0 +1,50 @@
+
+#ifndef _SCSI_IOCTL_H
+#define _SCSI_IOCTL_H
+
+#define SCSI_IOCTL_SEND_COMMAND 1
+#define SCSI_IOCTL_TEST_UNIT_READY 2
+#define SCSI_IOCTL_BENCHMARK_COMMAND 3
+#define SCSI_IOCTL_SYNC 4 /* Request synchronous parameters */
+#define SCSI_IOCTL_START_UNIT 5
+#define SCSI_IOCTL_STOP_UNIT 6
+/*
+ The door lock/unlock constants are compatible with Sun constants for the cdrom
+ */
+#define SCSI_IOCTL_DOORLOCK 0x5380 /* lock the eject mechanism */
+#define SCSI_IOCTL_DOORUNLOCK 0x5381 /* unlock the mechanism */
+
+#define SCSI_REMOVAL_PREVENT 1
+#define SCSI_REMOVAL_ALLOW 0
+
+#ifdef __KERNEL__
+
+struct scsi_device;
+
+/*
+ * Structures used for scsi_ioctl et al.
+ */
+
+typedef struct scsi_ioctl_command {
+ unsigned int inlen;
+ unsigned int outlen;
+ unsigned char data[0];
+} Scsi_Ioctl_Command;
+
+typedef struct scsi_idlun {
+ __u32 dev_id;
+ __u32 host_unique_id;
+} Scsi_Idlun;
+
+/* Fibre Channel WWN, port_id struct */
+typedef struct scsi_fctargaddress {
+ __u32 host_port_id;
+ unsigned char host_wwn[8]; /* include NULL term. */
+} Scsi_FCTargAddress;
+
+extern int scsi_ioctl( struct scsi_device *, int, void __user * );
+extern int scsi_nonblockable_ioctl( struct scsi_device *sdev, int cmd,
+ void __user *arg, struct file *filp );
+
+#endif /* __KERNEL__ */
+#endif /* _SCSI_IOCTL_H */
Index: ziptool-1.4.0-new/scsi
===================================================================
--- ziptool-1.4.0-new/scsi (nonexistent)
+++ ziptool-1.4.0-new/scsi (revision 5)
Property changes on: ziptool-1.4.0-new/scsi
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: ziptool-1.4.0-new
===================================================================
--- ziptool-1.4.0-new (nonexistent)
+++ ziptool-1.4.0-new (revision 5)
Property changes on: ziptool-1.4.0-new
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: .
===================================================================
--- . (nonexistent)
+++ . (revision 5)
Property changes on: .
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~