Update of /cvsroot/fink/packages/dists/unstable/main/finkinfo/utils
In directory usw-pr-cvs1:/tmp/cvs-serv30977
Added Files:
unzip-5.42-1.info unzip-5.42-1.patch zip-2.3-1.info
zip-2.3-1.patch
Log Message:
New packages.
--- NEW FILE: unzip-5.42-1.info ---
Package: unzip
Version: 5.42
Revision: 1
Maintainer: Dave Vasilevsky <[EMAIL PROTECTED]>
License: BSD
Source: ftp://ftp.uu.net/pub/archiving/zip/src/%n542.tar.gz
Source-MD5: 4fc23bb7f3fb00ef6af35c5e77ede016
SourceDirectory: %n-%v
DocFiles: BUGS INSTALL LICENSE README ToDo WHERE
Homepage: http://www.info-zip.org/pub/infozip/Zip.html
Description: Decompression compatible with pkunzip.
DescDetail: <<
Zip is different from gzip in that it allows packing multiple files into a
single archive (without the assistance of tar). It is compatible with pkzip,
pkunzip, and other Windows zip utilities.
This utility is necessary to install several packages in a pure Darwin
installation, as Darwin does not come with zip/unzip.
<<
Patch: %f.patch
CompileScript: make -f unix/Makefile generic
InstallScript: make -f unix/Makefile install BINDIR=%i/bin MANDIR=%i/share/man/man1
Suggests: zip
--- NEW FILE: unzip-5.42-1.patch ---
diff -Naur unzip-5.42/fileio.c unzip-new/fileio.c
--- unzip-5.42/fileio.c Sat Jan 13 13:40:12 2001
+++ unzip-new/fileio.c Thu May 16 22:29:22 2002
@@ -53,7 +53,9 @@
#define __FILEIO_C /* identifies this source module */
#define UNZIP_INTERNAL
+#include <fcntl.h>
#include "unzip.h"
+#include "unzpriv.h"
#ifdef WINDLL
# include "windll/windll.h"
# include <setjmp.h>
diff -Naur unzip-5.42/globals.h unzip-new/globals.h
--- unzip-5.42/globals.h Sat Jan 13 13:39:58 2001
+++ unzip-new/globals.h Thu May 16 22:17:38 2002
@@ -135,6 +135,8 @@
#ifndef __globals_h
#define __globals_h
+#include <sys/types.h>
+#include <sys/stat.h>
#ifdef USE_ZLIB
# include "zlib.h"
#endif
diff -Naur unzip-5.42/unix/Makefile unzip-new/unix/Makefile
--- unzip-5.42/unix/Makefile Thu Apr 27 17:23:26 2000
+++ unzip-new/unix/Makefile Thu May 16 22:41:07 2002
@@ -47,9 +47,9 @@
AS = as
LOC = $(LOCAL_UNZIP)
AF = $(LOC)
-CF = -O -I. $(LOC)
+CF = -O -I. $(LOC) -DUNIX
LF = -o unzip
-LF2 = -s
+LF2 =
# UnZipSFX flags
SL = -o unzipsfx
diff -Naur unzip-5.42/unzpriv.h unzip-new/unzpriv.h
--- unzip-5.42/unzpriv.h Wed Jan 10 14:53:56 2001
+++ unzip-new/unzpriv.h Thu May 16 22:28:28 2002
@@ -21,6 +21,7 @@
#ifndef __unzpriv_h /* prevent multiple inclusions */
#define __unzpriv_h
+#include <sys/stat.h>
/* First thing: Signal all following code that we compile UnZip utilities! */
#ifndef UNZIP
--- NEW FILE: zip-2.3-1.info ---
Package: zip
Version: 2.3
Revision: 1
Maintainer: Dave Vasilevsky <[EMAIL PROTECTED]>
License: BSD
Source: ftp://ftp.uu.net/pub/archiving/%n/src/%n23.tar.gz
Source-MD5: 5206a99541f3b0ab90f1baa167392c4f
SourceDirectory: %n-%v
DocFiles: BUGS CHANGES INSTALL LICENSE MANUAL README TODO WHATSNEW WHERE
Homepage: http://www.info-zip.org/pub/infozip/Zip.html
Description: Compression compatible with pkzip.
DescDetail: <<
Zip is different from gzip in that it allows packing multiple files into a
single archive (without the assistance of tar). It is compatible with pkzip,
pkunzip, and other Windows zip utilities.
This utility is necessary to install several packages in a pure Darwin
installation, as Darwin does not come with zip/unzip.
<<
Patch: %f.patch
CompileScript: make -f unix/Makefile generic
InstallScript: make -f unix/Makefile install BINDIR=%i/bin MANDIR=%i/share/man/man1
Recommends: unzip
--- NEW FILE: zip-2.3-1.patch ---
diff -Naur zip-2.3/unix/Makefile zip-new/unix/Makefile
--- zip-2.3/unix/Makefile Sun Nov 28 21:22:42 1999
+++ zip-new/unix/Makefile Thu May 16 21:19:17 2002
@@ -47,7 +47,7 @@
# LFLAGS2 flags after obj file list (libraries, etc)
CFLAGS = -O2 -I. -DUNIX $(LOCAL_ZIP)
LFLAGS1 =
-LFLAGS2 = -s
+LFLAGS2 =
# object file lists
OBJZ = zip.o zipfile.o zipup.o fileio.o util.o globals.o crypt.o ttyio.o \
diff -Naur zip-2.3/unix/configure zip-new/unix/configure
--- zip-2.3/unix/configure Tue Apr 27 12:49:05 1999
+++ zip-new/unix/configure Thu May 16 21:42:46 2002
@@ -13,7 +13,7 @@
CC=${1-cc}
CFLAGS=${2-"-O2 -I. -DUNIX"}
-LFLAGS1="-s"
+LFLAGS1=
LN="ln -s"
echo Check for the C preprocessor
diff -Naur zip-2.3/zip.c zip-new/zip.c
--- zip-2.3/zip.c Tue Nov 16 12:08:10 1999
+++ zip-new/zip.c Thu May 16 21:33:45 2002
@@ -248,7 +248,7 @@
if (PERR(c))
perror("zip I/O error");
fflush(mesg);
- fprintf(stderr, "\nzip error: %s (%s)\n", errors[c-1], h);
+ fprintf(stderr, "\nzip error: %s (%s)\n", zip_errors[c-1], h);
}
if (tempzip != NULL)
{
diff -Naur zip-2.3/zipcloak.c zip-new/zipcloak.c
--- zip-2.3/zipcloak.c Sun Nov 7 02:29:59 1999
+++ zip-new/zipcloak.c Thu May 16 21:48:20 2002
@@ -55,7 +55,7 @@
char *msg; /* message about how it happened */
{
if (PERR(code)) perror("zipcloak error");
- fprintf(stderr, "zipcloak error: %s (%s)\n", errors[code-1], msg);
+ fprintf(stderr, "zipcloak error: %s (%s)\n", zip_errors[code-1], msg);
if (tempzf != NULL) fclose(tempzf);
if (tempzip != NULL) {
destroy(tempzip);
diff -Naur zip-2.3/ziperr.h zip-new/ziperr.h
--- zip-2.3/ziperr.h Sun Nov 7 02:31:27 1999
+++ zip-new/ziperr.h Thu May 16 21:33:04 2002
@@ -39,7 +39,7 @@
#ifdef GLOBALS
/* Error messages for the ziperr() function in the zip programs */
-char *errors[ZE_MAXERR] = {
+char *zip_errors[ZE_MAXERR] = {
/* 1 */ "",
/* 2 */ "Unexpected end of zip file",
/* 3 */ "Zip file structure invalid",
@@ -63,5 +63,5 @@
# endif
};
#else /* !GLOBALS */
-extern char *errors[ZE_MAXERR]; /* Error messages for ziperr() */
+extern char *zip_errors[ZE_MAXERR]; /* Error messages for ziperr() */
#endif /* ?GLOBALS */
diff -Naur zip-2.3/zipnote.c zip-new/zipnote.c
--- zip-2.3/zipnote.c Sun Nov 7 02:30:22 1999
+++ zip-new/zipnote.c Thu May 16 21:45:56 2002
@@ -59,7 +59,7 @@
{
if (PERR(c))
perror("zipnote error");
- fprintf(stderr, "zipnote error: %s (%s)\n", errors[c-1], h);
+ fprintf(stderr, "zipnote error: %s (%s)\n", zip_errors[c-1], h);
if (tempzf != NULL)
fclose(tempzf);
if (tempzip != NULL)
diff -Naur zip-2.3/zipsplit.c zip-new/zipsplit.c
--- zip-2.3/zipsplit.c Sun Nov 7 02:30:31 1999
+++ zip-new/zipsplit.c Thu May 16 21:48:30 2002
@@ -139,7 +139,7 @@
{
if (PERR(c))
perror("zipsplit error");
- fprintf(stderr, "zipsplit error: %s (%s)\n", errors[c-1], h);
+ fprintf(stderr, "zipsplit error: %s (%s)\n", zip_errors[c-1], h);
if (indexmade)
{
strcpy(name, INDEX);
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits