summaryrefslogtreecommitdiff
path: root/devel/p5-Compress-Zlib
diff options
context:
space:
mode:
authorheinz <heinz>2004-02-22 16:35:38 +0000
committerheinz <heinz>2004-02-22 16:35:38 +0000
commitccff5e52162109796b95fc6c75c0290df3315ef3 (patch)
tree272273566038f3d92300c8f0146f5936d4553d24 /devel/p5-Compress-Zlib
parent6ccd795c73ca0011e015108bdfa6880e493e5898 (diff)
downloadpkgsrc-ccff5e52162109796b95fc6c75c0290df3315ef3.tar.gz
Updated to version 1.33
Interesting changes since 1.21 ============================== * memGunzip has very slow on FreeBSD. Turns out to be down to the way realloc works on FreeBSD. Changed both inflate & deflate to use exponentially increasing buffer sizes when they need to realloc. Thanks to Peter Jeremy for the lowdown on FreeBSD memory allocation. * Fixed a bug in the inflate method where the input buffer is an lvalue (via substr). Problem & solution reported by Salvador Fandiqo. * Tightened up the logic in Makefile.PL when BUILD_ZLIB is True. Issue spotted by Ralf S. Engelschall. * Added prototypes to the subs in Zlib.pm that didn't already have them. Patch from Ed Avis. * Documentation for some of the gz functions updated. * Fix to allow intermingling of gzread & gzreadline - patch supplied by Doug Perham. * memGunzip will silently now work if the gzip trailer is missing. Some HTTP Origin Servers seem to leave it out.
Diffstat (limited to 'devel/p5-Compress-Zlib')
-rw-r--r--devel/p5-Compress-Zlib/Makefile7
-rw-r--r--devel/p5-Compress-Zlib/distinfo8
-rw-r--r--devel/p5-Compress-Zlib/patches/patch-aa8
3 files changed, 13 insertions, 10 deletions
diff --git a/devel/p5-Compress-Zlib/Makefile b/devel/p5-Compress-Zlib/Makefile
index 0b82504ccbe..4db3f971f97 100644
--- a/devel/p5-Compress-Zlib/Makefile
+++ b/devel/p5-Compress-Zlib/Makefile
@@ -1,18 +1,21 @@
-# $NetBSD: Makefile,v 1.9 2004/02/22 00:42:27 minskim Exp $
+# $NetBSD: Makefile,v 1.10 2004/02/22 16:35:38 heinz Exp $
-DISTNAME= Compress-Zlib-1.21
+DISTNAME= Compress-Zlib-1.33
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5czl
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Compress/}
MAINTAINER= damon@brodiefamily.org
+HOMEPAGE= http://search.cpan.org/dist/Compress-Zlib/
COMMENT= Perl5 module interface to the zlib compression library
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Compress/Zlib/.packlist
+MAKE_ENV+= BUILD_ZLIB=False
+MAKE_ENV+= OLD_ZLIB=False
MAKE_ENV+= ZLIB_LIB=${BUILDLINK_PREFIX.zlib}/lib
MAKE_ENV+= ZLIB_INCLUDE=${BUILDLINK_PREFIX.zlib}/include
diff --git a/devel/p5-Compress-Zlib/distinfo b/devel/p5-Compress-Zlib/distinfo
index f413d56ccb4..58fc053ec33 100644
--- a/devel/p5-Compress-Zlib/distinfo
+++ b/devel/p5-Compress-Zlib/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2003/06/17 13:17:29 wiz Exp $
+$NetBSD: distinfo,v 1.7 2004/02/22 16:35:38 heinz Exp $
-SHA1 (Compress-Zlib-1.21.tar.gz) = 6b9806ebfa85453e6500b66133032a170a8ce438
-Size (Compress-Zlib-1.21.tar.gz) = 35670 bytes
-SHA1 (patch-aa) = 40c171f6f1b46b5a20165b836b9f2f6b59fbb828
+SHA1 (Compress-Zlib-1.33.tar.gz) = c4d3059cc6b79b57e9d8ae0b4f1ad1d6c4e29ddf
+Size (Compress-Zlib-1.33.tar.gz) = 113978 bytes
+SHA1 (patch-aa) = 4b91870e7dcacf9ffdfd538b0f9b3dfac7785de6
diff --git a/devel/p5-Compress-Zlib/patches/patch-aa b/devel/p5-Compress-Zlib/patches/patch-aa
index 99ef328022b..50dec393dfd 100644
--- a/devel/p5-Compress-Zlib/patches/patch-aa
+++ b/devel/p5-Compress-Zlib/patches/patch-aa
@@ -1,11 +1,11 @@
-$NetBSD: patch-aa,v 1.1 2001/10/01 10:33:54 agc Exp $
+$NetBSD: patch-aa,v 1.2 2004/02/22 16:35:39 heinz Exp $
---- Makefile.PL.orig Thu May 31 18:24:58 2001
+--- Makefile.PL.orig Wed Jan 14 22:26:52 2004
+++ Makefile.PL
-@@ -27,7 +27,7 @@
+@@ -76,7 +76,7 @@ WriteMakefile(
},
($BUILD_ZLIB
- ? (MYEXTLIB => "$ZLIB_LIB/libz\$(LIB_EXT)")
+ ? zlib_files($ZLIB_LIB)
- : (LIBS => [ "-L$ZLIB_LIB -lz " ])
+ : (LIBS => [ "-L$ZLIB_LIB -R$ZLIB_LIB -lz " ])
),