diff options
author | joerg <joerg@pkgsrc.org> | 2007-08-03 11:53:27 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-08-03 11:53:27 +0000 |
commit | f36f75b219ec83cbc0ca07e773e7f2a10b0f141b (patch) | |
tree | 60d8db77cdb1c434bc407a17c1712dcad3010bc3 /devel | |
parent | 427f8d80bbd9558ae581c4ef4423f44b703c1cb2 (diff) | |
download | pkgsrc-f36f75b219ec83cbc0ca07e773e7f2a10b0f141b.tar.gz |
Assume that any 1.1.4 version of zlib has the the bug fix
for CAN-2003-0107 by now.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/zlib/builtin.mk | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/devel/zlib/builtin.mk b/devel/zlib/builtin.mk index ddfd89f581c..7caee62fc9e 100644 --- a/devel/zlib/builtin.mk +++ b/devel/zlib/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.5 2006/04/06 06:21:57 reed Exp $ +# $NetBSD: builtin.mk,v 1.6 2007/08/03 11:53:27 joerg Exp $ BUILTIN_PKG:= zlib @@ -34,24 +34,10 @@ BUILTIN_VERSION.zlib!= \ } \ ' ${H_ZLIB:Q} # -# If the built-in zlib is 1.1.4, then check whether it has the security -# fix for CAN-2003-0107, which was a buffer overflow in the gzprintf -# function. If it does, then treat it as the equivalent of zlib-1.1.4nb1. -# -BUILTIN_CAN_2003_0107_FIX= NetBSD-1.3[I-Z]*-* NetBSD-1.[456]*-* \ - NetBSD-[2-9]*-* NetBSD-1[0-9]*-* -# -# XXX These patterns for {Free,Open}BSD are too permissive, but I'm not -# XXX sure which versions of those OSes provide secure versions of -# XXX zlib-1.1.4. -# -BUILTIN_CAN_2003_0107_FIX+= FreeBSD-*-* OpenBSD-*-* +# If the built-in zlib is 1.1.4, assume that it has the fix for +# CAN-2003-0107. . if ${BUILTIN_VERSION.zlib} == "1.1.4" -. for _pattern_ in ${BUILTIN_CAN_2003_0107_FIX} -. if !empty(MACHINE_PLATFORM:M${_pattern_}) BUILTIN_VERSION.zlib= 1.1.4nb1 -. endif -. endfor . endif BUILTIN_PKG.zlib= zlib-${BUILTIN_VERSION.zlib} .endif |