pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/unalz Update unalz to 0.61.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e8d11b5137cc
branches:  trunk
changeset: 534255:e8d11b5137cc
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Oct 14 17:50:04 2007 +0000

description:
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.

diffstat:

 archivers/unalz/Makefile         |   4 ++--
 archivers/unalz/distinfo         |  10 +++++-----
 archivers/unalz/patches/patch-ab |  25 ++++---------------------
 3 files changed, 11 insertions(+), 28 deletions(-)

diffs (68 lines):

diff -r 3990db788996 -r e8d11b5137cc archivers/unalz/Makefile
--- a/archivers/unalz/Makefile  Sun Oct 14 17:43:33 2007 +0000
+++ b/archivers/unalz/Makefile  Sun Oct 14 17:50:04 2007 +0000
@@ -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 -r 3990db788996 -r e8d11b5137cc archivers/unalz/distinfo
--- a/archivers/unalz/distinfo  Sun Oct 14 17:43:33 2007 +0000
+++ b/archivers/unalz/distinfo  Sun Oct 14 17:50:04 2007 +0000
@@ -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 -r 3990db788996 -r e8d11b5137cc archivers/unalz/patches/patch-ab
--- a/archivers/unalz/patches/patch-ab  Sun Oct 14 17:43:33 2007 +0000
+++ b/archivers/unalz/patches/patch-ab  Sun Oct 14 17:50:04 2007 +0000
@@ -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 @@
  #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);}



Home | Main Index | Thread Index | Old Index