This commit is contained in:
commit
e125ff2325
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
31
unzip-5.52-filename_too_long.patch
Normal file
31
unzip-5.52-filename_too_long.patch
Normal file
@ -0,0 +1,31 @@
|
||||
--- process.c
|
||||
+++ process.c
|
||||
@@ -156,8 +156,8 @@
|
||||
static ZCONST char Far ZipfileCommTrunc1[] =
|
||||
"\ncaution: zipfile comment truncated\n";
|
||||
|
||||
-
|
||||
-
|
||||
+static ZCONST char Far FileNameTooLong[] =
|
||||
+ "%s: error: %s (truncated): %s\n";
|
||||
|
||||
/*******************************/
|
||||
/* Function process_zipfiles() */
|
||||
@@ -314,6 +314,17 @@
|
||||
|
||||
lastzipfn = G.zipfn;
|
||||
|
||||
+ if (strlen(G.wildzipfn) > strlen(G.zipfn))
|
||||
+ {
|
||||
+ Info(slide, 1, ((char *)slide,
|
||||
+ LoadFarString(FileNameTooLong),
|
||||
+ uO.zipinfo_mode? LoadFarStringSmall(Zipnfo) : LoadFarStringSmall(Unzip),
|
||||
+ G.zipfn, strerror(ENAMETOOLONG)));
|
||||
+
|
||||
+ free_G_buffers(__G);
|
||||
+ return PK_NOZIP;
|
||||
+ }
|
||||
+
|
||||
/* print a blank line between the output of different zipfiles */
|
||||
if (!uO.qflag && error != PK_NOZIP && error != IZ_DIR
|
||||
#ifdef TIMESTAMP
|
175
unzip-iso8859_2.patch
Normal file
175
unzip-iso8859_2.patch
Normal file
@ -0,0 +1,175 @@
|
||||
--- unzip-5.52/ebcdic.h
|
||||
+++ unzip-5.52/ebcdic.h
|
||||
@@ -254,6 +254,25 @@
|
||||
0xD0, 0xA4, 0x95, 0xA2, 0x93, 0xE4, 0x94, 0xF6, /* F0 - F7 */
|
||||
0x9B, 0x97, 0xA3, 0x96, 0x81, 0xEC, 0xE7, 0x98 /* F8 - FF */
|
||||
};
|
||||
+
|
||||
+ZCONST uch Far iso2oem_2[] = {
|
||||
+ 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
|
||||
+ 0x88, 0x89, 0x8A, 0x8B, 0x8C, 0x8D, 0x8E, 0x8F,
|
||||
+ 0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97,
|
||||
+ 0x98, 0x99, 0x9A, 0x9B, 0x9C, 0x9D, 0x9E, 0x9F,
|
||||
+ 0x20, 0xA4, 0xF4, 0x9D, 0xCF, 0x95, 0x97, 0xF5,
|
||||
+ 0xF9, 0xE6, 0xB8, 0x9B, 0x8D, 0x2D, 0xA6, 0xBD,
|
||||
+ 0x20, 0xA5, 0xF2, 0x88, 0xEF, 0x96, 0x98, 0xF3,
|
||||
+ 0xF7, 0xE7, 0xAD, 0x9C, 0xAB, 0xF1, 0xA7, 0xBE,
|
||||
+ 0xE8, 0xB5, 0xB6, 0xC6, 0x8E, 0x91, 0x8F, 0x80,
|
||||
+ 0xAC, 0x90, 0xA8, 0xD3, 0xB7, 0xD6, 0xD7, 0xD2,
|
||||
+ 0xD1, 0xE3, 0xD5, 0xE0, 0xE2, 0x8A, 0x99, 0x9E,
|
||||
+ 0xFC, 0xDE, 0xE9, 0xEB, 0x9A, 0xED, 0xDD, 0xE1,
|
||||
+ 0xEA, 0xA0, 0x83, 0xC7, 0x84, 0x92, 0x86, 0x87,
|
||||
+ 0x9F, 0x82, 0xA9, 0x89, 0xD8, 0xA1, 0x8C, 0xD4,
|
||||
+ 0xD0, 0xE4, 0xE5, 0xA2, 0x93, 0x8B, 0x94, 0xF6,
|
||||
+ 0xFD, 0x85, 0xA3, 0xFB, 0x81, 0xEC, 0xEE, 0xFA
|
||||
+};
|
||||
#endif /* IZ_ISO2OEM_ARRAY */
|
||||
|
||||
#ifdef IZ_OEM2ISO_ARRAY
|
||||
@@ -275,8 +294,28 @@
|
||||
0xAD, 0xB1, 0x3D, 0xBE, 0xB6, 0xA7, 0xF7, 0xB8, /* F0 - F7 */
|
||||
0xB0, 0xA8, 0xB7, 0xB9, 0xB3, 0xB2, 0xA6, 0xA0 /* F8 - FF */
|
||||
};
|
||||
+
|
||||
+ZCONST uch Far oem2iso_2[] = {
|
||||
+ 0xC7, 0xFC, 0xE9, 0xE2, 0xE4, 0xF9, 0xE6, 0xE7,
|
||||
+ 0xB3, 0xEB, 0xD5, 0xF5, 0xEE, 0xAC, 0xC4, 0xC6,
|
||||
+ 0xC9, 0xC5, 0xE5, 0xF4, 0xF6, 0xA5, 0xB5, 0xA6,
|
||||
+ 0xB6, 0xD6, 0xDC, 0xAB, 0xBB, 0xA3, 0xD7, 0xE8,
|
||||
+ 0xE1, 0xED, 0xF3, 0xFA, 0xA1, 0xB1, 0xAE, 0xBE,
|
||||
+ 0xCA, 0xEA, 0xAA, 0xBC, 0xC8, 0xBA, 0x3C, 0x3E,
|
||||
+ 0xB0, 0xB1, 0xB2, 0xB3, 0xB4, 0xC1, 0xC2, 0xCC,
|
||||
+ 0xAA, 0xB9, 0xBA, 0xBB, 0xBC, 0xAF, 0xBF, 0xBF,
|
||||
+ 0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC3, 0xE3,
|
||||
+ 0xC8, 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xA4,
|
||||
+ 0xF0, 0xD0, 0xCF, 0xCB, 0xEF, 0xD2, 0xCD, 0xCE,
|
||||
+ 0xEC, 0xD9, 0xDA, 0xDB, 0xDC, 0xDE, 0xD9, 0xDF,
|
||||
+ 0xD3, 0xDF, 0xD4, 0xD1, 0xF1, 0xF2, 0xA9, 0xB9,
|
||||
+ 0xC0, 0xDA, 0xE0, 0xDB, 0xFD, 0xDD, 0xFE, 0xB4,
|
||||
+ 0xF0, 0xBD, 0xB2, 0xB7, 0xA2, 0xA7, 0xF7, 0xB8,
|
||||
+ 0xF8, 0xA8, 0xFF, 0xFB, 0xD8, 0xF8, 0xFE, 0xFF
|
||||
+};
|
||||
#endif /* IZ_OEM2ISO_ARRAY */
|
||||
|
||||
+
|
||||
#if defined(THEOS) || defined(THEOS_SUPPORT)
|
||||
# include "theos/charconv.h"
|
||||
#endif
|
||||
--- unzip-5.52/man/unzip.1
|
||||
+++ unzip-5.52/man/unzip.1
|
||||
@@ -25,7 +25,7 @@
|
||||
unzip \- list, test and extract compressed files in a ZIP archive
|
||||
.PD
|
||||
.SH SYNOPSIS
|
||||
-\fBunzip\fP [\fB\-Z\fP] [\fB\-cflptTuvz\fP[\fBabjnoqsCKLMVWX$/:\fP]]
|
||||
+\fBunzip\fP [\fB\-Z\fP] [\fB\-cflptTuvz\fP[\fBabjnoqsCKLMOVX$/:\fP]]
|
||||
\fIfile\fP[\fI.zip\fP] [\fIfile(s)\fP\ .\|.\|.]
|
||||
[\fB\-x\fP\ \fIxfile(s)\fP\ .\|.\|.] [\fB\-d\fP\ \fIexdir\fP]
|
||||
.PD
|
||||
@@ -342,6 +342,9 @@
|
||||
overwrite existing files without prompting. This is a dangerous option, so
|
||||
use it with care. (It is often used with \fB\-f\fP, however, and is the only
|
||||
way to overwrite directory EAs under OS/2.)
|
||||
+.TP
|
||||
+.B \-O
|
||||
++file names will be converted to ISO8859-2 instead of to ISO8859-1
|
||||
.IP \fB\-P\fP\ \fIpassword\fP
|
||||
use \fIpassword\fP to decrypt encrypted zipfile entries (if any). \fBTHIS IS
|
||||
INSECURE!\fP Many multi-user operating systems provide ways for any user to
|
||||
--- unzip-5.52/unzip.c
|
||||
+++ unzip-5.52/unzip.c
|
||||
@@ -1327,6 +1327,12 @@
|
||||
} else
|
||||
++uO.overwrite_all;
|
||||
break;
|
||||
+ case ('O'): /* spaces in filenames: allow by default */
|
||||
+ if (negative)
|
||||
+ uO.iso8859_2 = FALSE, negative = 0;
|
||||
+ else
|
||||
+ uO.iso8859_2 = TRUE;
|
||||
+ break;
|
||||
case ('p'): /* pipes: extract to stdout, no messages */
|
||||
if (negative) {
|
||||
uO.cflag = FALSE;
|
||||
--- unzip-5.52/unzip.h
|
||||
+++ unzip-5.52/unzip.h
|
||||
@@ -462,6 +462,7 @@
|
||||
int K_flag; /* -K: keep setuid/setgid/tacky permissions */
|
||||
#endif
|
||||
int lflag; /* -12slmv: listing format (zipinfo) */
|
||||
+ int iso8859_2; /* -O: ISO8859-2 is used instead ISO8859-1 */
|
||||
int L_flag; /* -L: convert filenames from some OSes to lowercase */
|
||||
int overwrite_none; /* -n: never overwrite files (no prompting) */
|
||||
#ifdef AMIGA
|
||||
--- unzip-5.52/unzpriv.h
|
||||
+++ unzip-5.52/unzpriv.h
|
||||
@@ -2456,8 +2456,15 @@
|
||||
# define IZ_ISO2OEM_ARRAY
|
||||
# endif
|
||||
# define _ISO_INTERN(str1) {register uch *p;\
|
||||
- for (p=(uch *)(str1); *p; p++)\
|
||||
- *p = native((*p & 0x80) ? iso2oem[*p & 0x7f] : *p);}
|
||||
+ if (uO.iso8859_2 == FASLE) { \
|
||||
+ for (p=(uch *)(str1); *p; p++) \
|
||||
+ *p = native((*p & 0x80) ? iso2oem[*p & 0x7f] : *p); \
|
||||
+ } \
|
||||
+ else { \
|
||||
+ for (p=(uch *)(str1); *p; p++) \
|
||||
+ *p = native((*p & 0x80) ? iso2oem_2[*p & 0x7f] : *p); \
|
||||
+ }; \
|
||||
+ }
|
||||
# else
|
||||
# define _ISO_INTERN(str1) A_TO_N(str1)
|
||||
# endif
|
||||
@@ -2471,8 +2478,15 @@
|
||||
# define IZ_OEM2ISO_ARRAY
|
||||
# endif
|
||||
# define _OEM_INTERN(str1) {register uch *p;\
|
||||
- for (p=(uch *)(str1); *p; p++)\
|
||||
- *p = native((*p & 0x80) ? oem2iso[*p & 0x7f] : *p);}
|
||||
+ if (uO.iso8859_2 == FALSE) { \
|
||||
+ for (p=(uch *)(str1); *p; p++) \
|
||||
+ *p = native((*p & 0x80) ? oem2iso[*p & 0x7f] : *p); \
|
||||
+ } \
|
||||
+ else { \
|
||||
+ for (p=(uch *)(str1); *p; p++) \
|
||||
+ *p = native((*p & 0x80) ? oem2iso_2[*p & 0x7f] : *p); \
|
||||
+ } \
|
||||
+ }
|
||||
# endif
|
||||
#endif
|
||||
|
||||
@@ -2497,7 +2511,9 @@
|
||||
#if (!defined(INTERN_TO_ISO) && !defined(ASCII2ISO))
|
||||
# ifdef CRTL_CP_IS_OEM
|
||||
/* know: "ASCII" is "OEM" */
|
||||
-# define ASCII2ISO(c) (((c) & 0x80) ? oem2iso[(c) & 0x7f] : (c))
|
||||
+# define ASCII2ISO(c) (((c) & 0x80) ? \
|
||||
+ ((uO.iso8859_2 == FALSE) ? oem2iso[(c) & 0x7f] : oem2iso_2[(c) & 0x7f]) : \
|
||||
+ (c))
|
||||
# if (defined(NEED_STR2ISO) && !defined(CRYP_USES_OEM2ISO))
|
||||
# define CRYP_USES_OEM2ISO
|
||||
# endif
|
||||
@@ -2513,7 +2529,9 @@
|
||||
# define ASCII2OEM(c) (c)
|
||||
# else
|
||||
/* assume: "ASCII" is "ISO-ANSI" */
|
||||
-# define ASCII2OEM(c) (((c) & 0x80) ? iso2oem[(c) & 0x7f] : (c))
|
||||
+# define ASCII2OEM(c) (((c) & 0x80) ? \
|
||||
+ ((uO.iso8859_2 == FALSE) ? iso2oem[(c) & 0x7f] : iso2oem_2[(c) & 0x7f]) : \
|
||||
+ (c))
|
||||
# if (defined(NEED_STR2OEM) && !defined(CRYP_USES_ISO2OEM))
|
||||
# define CRYP_USES_ISO2OEM
|
||||
# endif
|
||||
@@ -2584,9 +2602,11 @@
|
||||
#endif
|
||||
#ifdef IZ_ISO2OEM_ARRAY
|
||||
extern ZCONST uch Far iso2oem[];
|
||||
+ extern ZCONST uch Far iso2oem_2[];
|
||||
#endif
|
||||
#ifdef IZ_OEM2ISO_ARRAY
|
||||
extern ZCONST uch Far oem2iso[];
|
||||
+ extern ZCONST uch Far oem2iso_2[];
|
||||
#endif
|
||||
|
||||
extern ZCONST char Far VersionDate[];
|
20
unzip-optflags.patch
Normal file
20
unzip-optflags.patch
Normal file
@ -0,0 +1,20 @@
|
||||
--- unix/Makefile
|
||||
+++ unix/Makefile
|
||||
@@ -764,7 +764,7 @@
|
||||
linux: unix_make
|
||||
@echo 'NOTE: use linux_noasm target for non-Intel Linux compiles.'
|
||||
$(MAKE) unzips CC=gcc LD=gcc AS=gcc\
|
||||
- CF="-O3 -Wall -I. -DASM_CRC $(LOC)"\
|
||||
+ CF="$(RPM_OPT_FLAGS) -I. -DASM_CRC $(LOC)"\
|
||||
AF="-Di386 $(AF)" CRC32=crc_gcc
|
||||
# GRR: this echo is pointless; if user gets this far, no difference to install
|
||||
# @echo 'Be sure to use the install_asm target rather than the install target'
|
||||
@@ -774,7 +774,7 @@
|
||||
# Linux (Posix, approximately SysV): virtually any version since before 0.96,
|
||||
# for any platform. Change "-O" to "-O3" or whatever, as desired...
|
||||
linux_noasm: unix_make
|
||||
- $(MAKE) unzips CC=gcc LD=gcc CF="-O -Wall -I. $(LOC)"
|
||||
+ $(MAKE) unzips CC=gcc LD=gcc CF="$(RPM_OPT_FLAGS) -I. $(LOC)"
|
||||
|
||||
# Linux with lcc compiler: __inline__ (stat.h) not recognized, and must edit
|
||||
# /usr/include/gnu/types.h to get rid of "long long" if __LCC__ defined. -O3
|
154
unzip.changes
Normal file
154
unzip.changes
Normal file
@ -0,0 +1,154 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 27 02:30:41 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 26 15:28:44 CET 2006 - pth@suse.de
|
||||
|
||||
- Reject file names that are too long (Bugzilla #140304)
|
||||
- Use stack protector.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 20 17:41:23 CET 2006 - schwab@suse.de
|
||||
|
||||
- Don't strip binaries.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 15 11:31:51 CET 2005 - pth@suse.de
|
||||
|
||||
- Compile with (limited) large file support. This will support
|
||||
single files exceeding 2 GB as long as the archive stays below
|
||||
that theshold.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 13 22:46:31 CEST 2005 - rommel@suse.de
|
||||
|
||||
- update to version 5.52 (Bugzilla #67279)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 7 15:03:23 CEST 2004 - rommel@suse.de
|
||||
|
||||
- update to version 5.51
|
||||
(fixes old security bugs, adds PKWARE's compression code Deflate64)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 19 18:36:21 CEST 2004 - ro@suse.de
|
||||
|
||||
- added -fno-strict-aliasing
|
||||
- really use RPM_OPT_FLAGS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 11 13:00:23 CET 2004 - adrian@suse.de
|
||||
|
||||
- build as user
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 23 16:53:44 CEST 2003 - rommel@suse.de
|
||||
|
||||
- replaced fix for ../ exploit with a fix both for
|
||||
the ../ exploit and '/' exploit (Bugzilla #29311)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 3 12:57:38 CEST 2003 - rommel@suse.de
|
||||
|
||||
- added fix for ../ exploit (Bugzilla #27667)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 17 14:42:19 CET 2003 - rommel@suse.de
|
||||
|
||||
- fixed Summary: to be more verbose about what this package does
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 18 00:57:21 CEST 2002 - ro@suse.de
|
||||
|
||||
- removed bogus self-provides
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 5 11:09:32 CEST 2002 - kukuk@suse.de
|
||||
|
||||
- Use %ix86 macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 11 2002 - rommel@suse.de
|
||||
|
||||
- Update to 5.50
|
||||
- took over parts of pmladek's patch (see below)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 24 13:43:46 CET 2002 - grimmer@suse.de
|
||||
|
||||
- added unzip-5.42-iso8859_2.patch to fix coding conversion
|
||||
between Microsoft and Linux file names
|
||||
(originally from http://www.axis.cz/linux/zip_unzip.php3,
|
||||
enhanced to support both ISO8859-1 and ISO8859-2 by Petr Mladek
|
||||
<pmladek@suse.cz>)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 9 13:42:07 CEST 2001 - grimmer@suse.de
|
||||
|
||||
- Update to 5.42
|
||||
- file list fixes (new license file, documentation renames)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 13 17:49:59 CET 2000 - grimmer@suse.de
|
||||
|
||||
- Update to 5.41 (now includes decryption support)
|
||||
- now Provides and Obsoletes crunzip
|
||||
- bzipped sources
|
||||
- use BuildRoot
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 29 18:33:38 CET 2000 - schwab@suse.de
|
||||
|
||||
- Add support for ia64.
|
||||
- /usr/man -> /usr/share/man
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 22 16:19:18 MET 1999 - grimmer@suse.de
|
||||
|
||||
- Added "Conflicts: crzip" to spec file
|
||||
- cleaned up Provides: tag
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 17 16:40:10 MET 1999 - grimmer@suse.de
|
||||
|
||||
- Spec file cleanups
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 27 15:03:07 MET 1999 - kukuk@suse.de
|
||||
|
||||
- Use linux_noasm Makefile target on SPARC
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 8 16:34:57 CEST 1999 - uli@suse.de
|
||||
|
||||
- uses target linux_noasm for PPC
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 24 09:42:16 MET 1999 - grimmer@suse.de
|
||||
|
||||
- new version (5.40)
|
||||
- specfile modifications
|
||||
- added french description
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 11 14:29:14 MET 1999 - ro@suse.de
|
||||
|
||||
- use target linux_noasm for alpha
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Thu Feb 6 11:56:09 CET 1997 - rj@suse.de
|
||||
|
||||
- version 5.12
|
||||
- new test/changes/plist files
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
Fri Jan 23 15:03:52 MET 1998 - rj@suse.de
|
||||
|
||||
- version 5.32
|
23
unzip.dif
Normal file
23
unzip.dif
Normal file
@ -0,0 +1,23 @@
|
||||
diff -Nur unzip-5.50.orig/unix/Makefile unzip-5.50/unix/Makefile
|
||||
--- unzip-5.50.orig/unix/Makefile Sat Feb 16 18:00:38 2002
|
||||
+++ unzip-5.50/unix/Makefile Mon Mar 11 08:40:41 2002
|
||||
@@ -61,8 +61,8 @@
|
||||
|
||||
# general-purpose stuff
|
||||
#CP = cp
|
||||
-CP = ln
|
||||
-LN = ln
|
||||
+CP = cp
|
||||
+LN = ln -s
|
||||
RM = rm -f
|
||||
CHMOD = chmod
|
||||
BINPERMS = 755
|
||||
@@ -102,7 +102,7 @@
|
||||
INSTALL_D = mkdir -p
|
||||
# on some systems, manext=l and MANDIR=/usr/man/man$(manext) may be appropriate
|
||||
manext = 1
|
||||
-prefix = /usr/local
|
||||
+prefix = /usr
|
||||
BINDIR = $(prefix)/bin# where to install executables
|
||||
MANDIR = $(prefix)/man/man$(manext)# where to install man pages
|
||||
INSTALLEDBIN = $(BINDIR)/funzip$E $(BINDIR)/unzip$E $(BINDIR)/unzipsfx$E \
|
158
unzip.spec
Normal file
158
unzip.spec
Normal file
@ -0,0 +1,158 @@
|
||||
#
|
||||
# spec file for package unzip (Version 5.52)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: unzip
|
||||
License: Other License(s), see package, BSD
|
||||
Group: Productivity/Archiving/Compression
|
||||
Provides: crunzip
|
||||
Obsoletes: crunzip
|
||||
Autoreqprov: on
|
||||
Version: 5.52
|
||||
Release: 5
|
||||
Summary: A program to unpack compressed files
|
||||
Source: ftp://ftp.info-zip.org/pub/infozip/src/unzip552.tar.gz
|
||||
URL: http://www.info-zip.org/
|
||||
Patch: unzip.dif
|
||||
Patch1: unzip-iso8859_2.patch
|
||||
Patch3: unzip-optflags.patch
|
||||
Patch4: unzip-5.52-filename_too_long.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
UnZip is an extraction utility for archives compressed in .zip format
|
||||
(known as "zip files"). Although highly compatible both with PKWARE's
|
||||
PKZIP(tm) and PKUNZIP utilities for MS-DOS and with Info-ZIP's own Zip
|
||||
program, our primary objectives have been portability and non-MS-DOS
|
||||
functionality. This version can also extract encrypted archives.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Info-ZIP <zip-bugs@lists.wku.edu>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -p1
|
||||
%patch1 -p1
|
||||
%patch3
|
||||
%patch4
|
||||
|
||||
%build
|
||||
%ifarch %ix86
|
||||
TARGET=linux
|
||||
%else
|
||||
TARGET=linux_noasm
|
||||
%endif
|
||||
export RPM_OPT_FLAGS="%optflags -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fstack-protector"
|
||||
make $TARGET -f unix/Makefile LF2=
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
|
||||
ln -sf unzip zipinfo
|
||||
for i in unzip funzip unzipsfx zipinfo; \
|
||||
do install $i $RPM_BUILD_ROOT%{_bindir};done;
|
||||
install unix/zipgrep $RPM_BUILD_ROOT%{_bindir}
|
||||
for i in man/*.1; \
|
||||
do \
|
||||
install -m 644 $i $RPM_BUILD_ROOT%{_mandir}/man1/
|
||||
done
|
||||
|
||||
%clean
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc %{_mandir}/man1/*
|
||||
%doc BUGS COPYING.OLD Contents History.* INSTALL LICENSE README ToDo WHERE
|
||||
%doc *.txt proginfo
|
||||
%{_bindir}/unzip
|
||||
%{_bindir}/funzip
|
||||
%{_bindir}/unzipsfx
|
||||
%{_bindir}/zipinfo
|
||||
%{_bindir}/zipgrep
|
||||
|
||||
%changelog -n unzip
|
||||
* Fri Jan 27 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Thu Jan 26 2006 - pth@suse.de
|
||||
- Reject file names that are too long (Bugzilla #140304)
|
||||
- Use stack protector.
|
||||
* Fri Jan 20 2006 - schwab@suse.de
|
||||
- Don't strip binaries.
|
||||
* Thu Dec 15 2005 - pth@suse.de
|
||||
- Compile with (limited) large file support. This will support
|
||||
single files exceeding 2 GB as long as the archive stays below
|
||||
that theshold.
|
||||
* Mon Jun 13 2005 - rommel@suse.de
|
||||
- update to version 5.52 (Bugzilla #67279)
|
||||
* Sat Aug 07 2004 - rommel@suse.de
|
||||
- update to version 5.51
|
||||
(fixes old security bugs, adds PKWARE's compression code Deflate64)
|
||||
* Wed May 19 2004 - ro@suse.de
|
||||
- added -fno-strict-aliasing
|
||||
- really use RPM_OPT_FLAGS
|
||||
* Sun Jan 11 2004 - adrian@suse.de
|
||||
- build as user
|
||||
* Tue Sep 23 2003 - rommel@suse.de
|
||||
- replaced fix for ../ exploit with a fix both for
|
||||
the ../ exploit and '/' exploit (Bugzilla #29311)
|
||||
* Thu Jul 03 2003 - rommel@suse.de
|
||||
- added fix for ../ exploit (Bugzilla #27667)
|
||||
* Fri Jan 17 2003 - rommel@suse.de
|
||||
- fixed Summary: to be more verbose about what this package does
|
||||
* Wed Sep 18 2002 - ro@suse.de
|
||||
- removed bogus self-provides
|
||||
* Fri Jul 05 2002 - kukuk@suse.de
|
||||
- Use %%ix86 macro
|
||||
* Mon Mar 11 2002 - rommel@suse.de
|
||||
- Update to 5.50
|
||||
- took over parts of pmladek's patch (see below)
|
||||
* Thu Jan 24 2002 - grimmer@suse.de
|
||||
- added unzip-5.42-iso8859_2.patch to fix coding conversion
|
||||
between Microsoft and Linux file names
|
||||
(originally from http://www.axis.cz/linux/zip_unzip.php3,
|
||||
enhanced to support both ISO8859-1 and ISO8859-2 by Petr Mladek
|
||||
<pmladek@suse.cz>)
|
||||
* Mon Apr 09 2001 - grimmer@suse.de
|
||||
- Update to 5.42
|
||||
- file list fixes (new license file, documentation renames)
|
||||
* Wed Dec 13 2000 - grimmer@suse.de
|
||||
- Update to 5.41 (now includes decryption support)
|
||||
- now Provides and Obsoletes crunzip
|
||||
- bzipped sources
|
||||
- use BuildRoot
|
||||
* Tue Feb 29 2000 - schwab@suse.de
|
||||
- Add support for ia64.
|
||||
- /usr/man -> /usr/share/man
|
||||
* Wed Dec 22 1999 - grimmer@suse.de
|
||||
- Added "Conflicts: crzip" to spec file
|
||||
- cleaned up Provides: tag
|
||||
* Fri Dec 17 1999 - grimmer@suse.de
|
||||
- Spec file cleanups
|
||||
* Sat Nov 27 1999 - kukuk@suse.de
|
||||
- Use linux_noasm Makefile target on SPARC
|
||||
* Mon Sep 13 1999 - bs@suse.de
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
* Wed Sep 08 1999 - uli@suse.de
|
||||
- uses target linux_noasm for PPC
|
||||
* Wed Feb 24 1999 - grimmer@suse.de
|
||||
- new version (5.40)
|
||||
- specfile modifications
|
||||
- added french description
|
||||
* Mon Jan 11 1999 - ro@suse.de
|
||||
- use target linux_noasm for alpha
|
||||
* Fri Jan 23 1998 - rj@suse.de
|
||||
- version 5.32
|
||||
* Thu Feb 06 1997 - rj@suse.de
|
||||
- version 5.12
|
||||
- new test/changes/plist files
|
3
unzip552.tar.gz
Normal file
3
unzip552.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:145d95e2ef1ef9add2e3c97d1340907e33ab8749eb1235372e7f0b7af600a8e9
|
||||
size 1140291
|
Loading…
Reference in New Issue
Block a user