Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.

Commit b710806

Browse files
committed
Import to git
0 parents  commit b710806

File tree

365 files changed

+119282
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

365 files changed

+119282
-0
lines changed

BUGS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
- zip sometimes crashes on some versions of NetBSD (0.8, 0.9 and early
2+
0.9-current), FreeBSD (<= 1.1) and BSDI (< 1.1) . This is due to a
3+
bug in stdio.
4+
Upgrading the stdio package in /usr/src/lib/libc/stdio should
5+
fix the problem. See *BSD mirrors in src/lib/libc/stdio
6+
You must at least replace setvbuf.o in all the libc's with a newer version.

Betas_Readme.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Betas are works in progress. When a beta has a seemingly stable set
2+
of features, we may post a public beta so outside developers can see
3+
where the code is going and make contributions or comment.
4+
5+
A Release Candidate is a beta that we believe has the full feature
6+
set that will be released. It's still being tested, and things can
7+
still change, but we thought it close when we posted it.
8+
9+
We take suggestions, bug fixes, and patches at any time, so send them in.
10+
11+
We make no guarantees as to the state of betas so use at your own risk.
12+
All code, including releases, are released under the Info-ZIP license.
13+
14+
Enjoy!
15+
16+
Ed Gordon
17+
20 April 2008

CHANGES

Lines changed: 3460 additions & 0 deletions
Large diffs are not rendered by default.

CMakeLists.txt

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Copyright (C) 2007-2009 LuaDist.
2+
# Submitted by David Manura
3+
# Redistribution and use of this file is allowed according to the terms of the MIT license.
4+
# For details see the COPYRIGHT file distributed with LuaDist.
5+
# Please note that the package source code is licensed under its own license.
6+
7+
# warning: compilation options might not be optical
8+
9+
PROJECT ( zip C )
10+
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
11+
INCLUDE ( dist.cmake )
12+
13+
SET ( SRC_ZIP
14+
crc32.c crypt.c deflate.c fileio.c globals.c trees.c ttyio.c
15+
util.c zip.c zipfile.c zipup.c )
16+
IF ( WIN32 AND NOT CYGWIN )
17+
SET ( SRC_ZIP ${SRC_ZIP}
18+
win32/nt.c win32/win32.c win32/win32i64.c win32/win32zip.c )
19+
ADD_DEFINITIONS(-DWIN32 -DNO_ASM)
20+
ELSE ( WIN32 AND NOT CYGWIN )
21+
SET ( SRC_ZIP ${SRC_ZIP} unix/unix.c )
22+
ADD_DEFINITIONS(-DUNIX)
23+
ADD_DEFINITIONS(-DNO_OFF_T) # simpler
24+
ENDIF ( WIN32 AND NOT CYGWIN )
25+
26+
INCLUDE_DIRECTORIES(.)
27+
28+
INCLUDE(CheckFunctionExists)
29+
CHECK_FUNCTION_EXISTS(lchmod HAVE_LCHMOD)
30+
IF ( NOT HAVE_LCHMOD )
31+
ADD_DEFINITIONS(-DNO_LCHMOD)
32+
ENDIF ( NOT HAVE_LCHMOD )
33+
34+
ADD_EXECUTABLE ( zip ${SRC_ZIP} )
35+
36+
INSTALL ( TARGETS zip RUNTIME DESTINATION ${INSTALL_BIN} )
37+
INSTALL ( FILES README LICENSE DESTINATION ${INSTALL_DATA} )

0 commit comments

Comments
 (0)