diff options
author | minskim <minskim@pkgsrc.org> | 2007-10-14 17:50:04 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2007-10-14 17:50:04 +0000 |
commit | feca87997b1467562d2225567addbc6b3681ca84 (patch) | |
tree | 30146cb5cc1d725bbfdbac057f6521c904d3feb8 | |
parent | 30f4f960a27505dfc0c43b944040e99b94515013 (diff) | |
download | pkgsrc-feca87997b1467562d2225567addbc6b3681ca84.tar.gz |
Update unalz to 0.61.
Changes:
- Check endian at run-time.
- Avoid using functions that may cause buffer overflow.
- Fix a build problem on Linux.
-rw-r--r-- | archivers/unalz/Makefile | 4 | ||||
-rw-r--r-- | archivers/unalz/distinfo | 10 | ||||
-rw-r--r-- | archivers/unalz/patches/patch-ab | 25 |
3 files changed, 11 insertions, 28 deletions
diff --git a/archivers/unalz/Makefile b/archivers/unalz/Makefile index 871e1b14328..44fdfe5a629 100644 --- a/archivers/unalz/Makefile +++ b/archivers/unalz/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.10 2006/06/10 16:46:19 adrianp Exp $ +# $NetBSD: Makefile,v 1.11 2007/10/14 17:50:04 minskim Exp $ # -DISTNAME= unalz-0.55 +DISTNAME= unalz-0.61 CATEGORIES= archivers MASTER_SITES= http://www.kipple.pe.kr/win/unalz/ EXTRACT_SUFX= .tgz diff --git a/archivers/unalz/distinfo b/archivers/unalz/distinfo index da9ced072dc..4919f3bfae5 100644 --- a/archivers/unalz/distinfo +++ b/archivers/unalz/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.14 2006/06/10 16:46:19 adrianp Exp $ +$NetBSD: distinfo,v 1.15 2007/10/14 17:50:04 minskim Exp $ -SHA1 (unalz-0.55.tgz) = 5f05d6ab7eda137effdf4d4662a38e302ce269cc -RMD160 (unalz-0.55.tgz) = 08f9fdc80ee3f38c8fc35db1130aab2f06f21efc -Size (unalz-0.55.tgz) = 138429 bytes +SHA1 (unalz-0.61.tgz) = a6cab2a02b7f44957211e694b7d8d144840b2255 +RMD160 (unalz-0.61.tgz) = 68cb957aeacfc8452e01637f7e0a50939d515ab6 +Size (unalz-0.61.tgz) = 138152 bytes SHA1 (patch-aa) = 327fd080040946fe7a0707698f90d7709a2d3c5b -SHA1 (patch-ab) = 9bd272b8159f290d9767d30b5ec5a81d602ed1cc +SHA1 (patch-ab) = 2e11decd5f1a81cf2012a044241e170f68af424a SHA1 (patch-ac) = 00c6255437f4ebdf3676787ed63cc838a16476d4 SHA1 (patch-ad) = cc0951b807e25b5f8097583d674b5ed9ff24f5c7 diff --git a/archivers/unalz/patches/patch-ab b/archivers/unalz/patches/patch-ab index cecb07ab965..069346083ec 100644 --- a/archivers/unalz/patches/patch-ab +++ b/archivers/unalz/patches/patch-ab @@ -1,9 +1,8 @@ -$NetBSD: patch-ab,v 1.9 2005/12/03 15:06:42 salo Exp $ +$NetBSD: patch-ab,v 1.10 2007/10/14 17:50:05 minskim Exp $ ---- UnAlz.cpp.orig 2005-11-21 14:18:13.000000000 +0100 -+++ UnAlz.cpp 2005-12-03 15:57:40.000000000 +0100 -@@ -1,6 +1,6 @@ - //#include "stdafx.h"
+--- UnAlz.cpp.orig 2007-02-09 21:51:54.000000000 -0800 ++++ UnAlz.cpp +@@ -1,5 +1,5 @@ -#include "zlib/zlib.h"
-#include "bzip2/bzlib.h"
+#include <zlib.h>
@@ -11,19 +10,3 @@ $NetBSD: patch-ab,v 1.9 2005/12/03 15:06:42 salo Exp $ #include "UnAlz.h"
// utime ΗΤΌφ Γ³Έ®
-@@ -43,13 +43,13 @@ - //// byte-order : little to host ////
- ////////////////////////////////////////////////////////////////////////////
-
--#if defined(_WIN32) || defined(__CYGWIN__) // little to little
-+#if defined(_WIN32) || defined(__CYGWIN__) || defined(__INTERIX) // little to little
- inline UINT16 unalz_le16toh(UINT16 a){return a;}
- inline UINT32 unalz_le32toh(UINT32 a){return a;}
- inline UINT64 unalz_le64toh(UINT64 a){return a;}
- #endif
-
--#if defined(__FreeBSD__) || defined(__NetBSD__)
-+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
- # include <sys/endian.h>
- inline UINT16 unalz_le16toh(UINT16 a){return le16toh(a);}
- inline UINT32 unalz_le32toh(UINT32 a){return le32toh(a);}
|