Commit graph

44 commits

Author SHA1 Message Date
adam
dd51f7f56d Changes in 1.2.7:
- Replace use of memmove() with a simple copy for portability
- Test for existence of strerror
- Restore gzgetc_ for backward compatibility with 1.2.6
- Fix build with non-GNU make on Solaris
- Require gcc 4.0 or later on Mac OS X to use the hidden attribute
- Include unistd.h for Watcom C
- Use __WATCOMC__ instead of __WATCOM__
- Do not use the visibility attribute if NO_VIZ defined
- Improve the detection of no hidden visibility attribute
- Avoid using __int64 for gcc or solo compilation
- Cast to char * in gzprintf to avoid warnings
- Fix make_vms.com for VAX
- Don't use library or built-in byte swaps
- Simplify test and use of gcc hidden attribute
- Fix bug in gzclose_w() when gzwrite() fails to allocate memory
- Add "x" (O_EXCL) and "e" (O_CLOEXEC) modes support to gzopen()
- Fix bug in test/minigzip.c for configure --solo
- Fix contrib/vstudio project link errors
- Add ability to choose the builder in make_vms.com
- Add DESTDIR support to mingw32 win32/Makefile.gcc
- Fix comments in win32/Makefile.gcc for proper usage
- Allow overriding the default install locations for cmake
- Generate and install the pkg-config file with cmake
- Build both a static and a shared version of zlib with cmake
- Include version symbols for cmake builds
- If using cmake with MSVC, add the source directory to the includes
- Remove unneeded EXTRA_CFLAGS from win32/Makefile.gcc
- Move obsolete emx makefile to old
- Allow the use of -Wundef when compiling or using zlib
- Avoid the use of the -u option with mktemp
- Improve inflate() documentation on the use of Z_FINISH
- Recognize clang as gcc
- Add gzopen_w() in Windows for wide character path names
- Rename zconf.h in CMakeLists.txt to move it out of the way
- Add source directory in CMakeLists.txt for building examples
- Look in build directory for zlib.pc in CMakeLists.txt
- Remove gzflags from zlibvc.def in vc9 and vc10
- Fix contrib/minizip compilation in the MinGW environment
- Update ./configure for Solaris, support --64
- Remove -R. from Solaris shared build (possible security issue)
- Avoid race condition for parallel make (-j) running example
- Fix type mismatch between get_crc_table() and crc_table
- Fix parsing of version with "-" in CMakeLists.txt
- Fix the path to zlib.map in CMakeLists.txt
- Force the native libtool in Mac OS X to avoid GNU libtool
- Add instructions to win32/Makefile.gcc for shared install
2012-05-09 11:33:09 +00:00
adam
1d5893fc79 Changes 1.2.6:
* gzread() can now read a file that is being written concurrently
* gzgetc() is now a macro for increased speed
* Added a 'T' option to gzopen() for transparent writing (no compression)
* Added deflatePending() to return the amount of pending output
* Allow deflateSetDictionary() and inflateSetDictionary() at any time in raw
  mode
* deflatePrime() can now insert bits in the middle of the stream
* ./configure now creates a configure.log file with all of the results
* Added a ./configure --solo option to compile zlib with no dependency on any
  libraries
* Fixed a problem with large file support macros
* Fixed a bug in contrib/puff
* Many portability improvements
2012-03-19 15:47:12 +00:00
wiz
b609a88710 Set LICENSE. 2012-01-28 10:46:26 +00:00
joerg
368d71b62e Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions. 2009-04-09 00:48:06 +00:00
jlam
91d5f83bfb Re-arrange lines to make this more likely to pass pkglint. 2007-08-22 18:36:09 +00:00
jlam
82e455ffd8 This package no longer needs a distinfo file. 2007-08-22 18:35:30 +00:00
joerg
7694ac3615 Use in-tree versions. The replacement Makefile can be used for direct
builds in bootstrap tools as well.
2007-08-02 13:22:20 +00:00
wiz
20169f7fc2 Remove dead MASTERS_SITES. From Zafer Aydogan. 2007-06-08 18:39:22 +00:00
heinz
3c2f29026d - Added support for installation to DESTDIR.
- Reenabled test targets in Makefile.in (previously broken by pkgsrc
  patches) and in the pkgsrc Makefile.
2007-05-15 19:39:12 +00:00
reed
61be0380dc Update HOMEPAGE. (The previous redirects to this one.) 2007-01-24 17:28:22 +00:00
schwarz
d1932d646a make sure that pkgsrc's LDFLAGS is used when linking 2007-01-13 13:50:11 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
reed
02cdfa0cd5 Honor PKGMANDIR. 2005-12-27 17:27:58 +00:00
drochner
5ddb8cbb63 update to 1.2.3
this fixes (at least) another security problem (DoS, CAN-2005-1849)
changes:
-Eliminate a potential security vulnerability when decoding invalid
 compressed data
-Eliminate a potential security vulnerability when decoding specially
 crafted compressed data
-Fix a bug when decompressing dynamic blocks with no distance codes
-Fix crc check bug in gzread() after gzungetc()
-Do not return an error when using gzread() on an empty file
2005-07-22 16:04:43 +00:00
drochner
74b4f083ff add a patch for CAN-2005-2096, from Debian 2005-07-07 10:43:19 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
adam
aad4ecc12f Changes 1.2.2:
* Eliminate a potential security vulnerability when decoding invalid compressed data
* Fix bug when decompressing dynamic blocks with no distance codes
* Do not return error when using gzread() on an empty file
2004-11-04 14:17:55 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
reed
f381b34347 Added two patches for fixing possible security issue.
The CVS security ID is CAN-2004-0797.

The fix is same as used by OpenBSD, Debian and Gentoo.
(Didn't see any reference to issue on zlib webpages.)

The OpenBSD announcement "zlib reliabilty fix" says:
"could allow an attacker to crash programs linked
with it."

And the Gentoo announcement says "zlib contains a bug in the handling
of errors in the inflate() and inflateBack() functions. ... An
attacker could exploit this vulnerability to launch a Denial of
Service attack on any application using the zlib library."

PKGREVISION is bumped and BUILDLINK_RECOMMENDED.zlib added to
buildlink3.mk file.
2004-08-31 23:16:23 +00:00
tv
76b10c76ff nb1: install shlib as executable. 2004-05-08 01:06:26 +00:00
jlam
326169077a USE_BUILDLINK3 must be set to "yes" or "no", not defined/undefined. 2004-03-23 04:40:59 +00:00
jmmv
ec6d847ff3 Create the man/man3 directory, so that this can be installed properly with
pkgviews.  Closes PR pkg/24081 by Min Sik Kim.
2004-01-13 17:45:20 +00:00
adam
a39a6dfe26 Changes 1.2.1:
* inflate is about 20% faster and minimizes memory allocation
	* crc32 is about 50% faster
	* new functions and functionality
	* more supported architectures
2004-01-12 21:19:50 +00:00
jlam
580a53de35 bl3ify 2004-01-05 11:42:20 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
salo
4defc212a9 Oops, restore NOT_FOR_PLATFORM (commented for my local testing). 2003-03-05 13:09:28 +00:00
salo
1baa9884ec Added fix for CAN-2003-0107 -
Buffer overflow in the gzprintf function in zlib 1.1.4, when zlib is compiled
without vsnprintf or when long inputs are truncated using vsnprintf, allows
attackers to cause a denial of service or possibly execute arbitrary code.
From OpenBSD.

Restore configure target and add check for [v]snprintf.

Bump PKGREVISION.
2003-03-05 13:05:44 +00:00
grant
b2cec013ea s/LIBTOOL_VERSION/LIBTOOL_REQD/ to register correct dependency. 2003-02-28 23:25:21 +00:00
jlam
1059338fd9 Mirror the libtool setup in bsd.pkg.mk since we can't use USE_LIBTOOL. 2002-09-01 18:45:47 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
wiz
81c0bc0cb7 Enable building this package on <1.4, and add INCOMPAT_ZLIB settings for
NetBSD releases that need it. Closes pkg/14782.
2002-08-07 13:25:36 +00:00
wiz
287093cb39 Update to 1.1.4, and update MASTER_SITES.
Changes since 1.1.3:
- ZFREE was repeated on same allocation on some error conditions.
  This creates a security problem described in
  http://www.zlib.org/advisory-2002-03-11.txt
- Returned incorrect error (Z_MEM_ERROR) on some invalid data
- Avoid accesses before window for invalid distances with inflate window
  less than 32K.
- force windowBits > 8 to avoid a bug in the encoder for a window size
  of 256 bytes. (A complete fix will be available in 1.1.5).
2002-03-12 00:25:03 +00:00
abs
04719f077d Change ONLY_FOR_PLATFORM...SunOS to NOT_FOR_PLATFORM...NetBSD
This package works fine under RedHat 5.0 (I'm still trying to work out
what karma I broke in order to be in a position to know this...)
2001-11-29 16:44:15 +00:00
hubertf
45a18c8a39 Homepage changed 2001-09-10 13:24:50 +00:00
tron
d87826b48a Add a comment why "USE_LIBTOOL" must not be used in this package. 2001-04-17 11:14:05 +00:00
tron
70ade72ca6 Use direct dependence on "libtool-base" package instead of "USE_LIBTOOL"
under Solaris to avoid circular dependence.
2001-04-16 00:57:48 +00:00
wiz
94dc65fbec Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:38:16 +00:00
hubertf
0a11d404e3 ``Why drink and drive when you can smoke and fly''
(Use libtool to build this if it's installed; does not require port of
 NetBSD's share/mk for bootstrapping; old BSD-mk based build is still
 available as fallback if no libtool is found)
2001-02-03 06:42:17 +00:00
tron
ad2f654312 Don't try to "lint" the library. 2001-01-21 20:42:17 +00:00
wiz
9709ddc69d MASTER_SITE and HOMEPAGE moved to ftp.freesoftware.com.
Addresses pkg/10795.
2000-08-09 17:42:13 +00:00
agc
ce37440799 Simplify this package, and build and install shared libs, by using a
version of the libz Makefile from basesrc to build this package.
Mark this package as only for Solaris platforms.
1999-09-24 14:37:40 +00:00
kim
3426b02198 Well, today this procedure works better... 1999-09-20 23:23:57 +00:00
kim
0c99ebb041 A general purpose data compression library (for Solaris use). 1999-09-19 21:53:29 +00:00