pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libtar Update to version 1.2.11.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ad9b2e8e9d37
branches:  trunk
changeset: 468353:ad9b2e8e9d37
user:      seb <seb%pkgsrc.org@localhost>
date:      Thu Feb 12 23:53:09 2004 +0000

description:
Update to version 1.2.11.

While here bl3ify and provide a buildlink3.mk.

Changes since last packaged version (1.2.5):

libtar 1.2.11 - 3/2/03
- updated autoconf macros, compat code, and listhash code
- fixed tar_extract_regfile() to pass mode argument to open()
  (caused EPERM on Solaris NFS clients)
- updated README

libtar 1.2.10 - 12/15/02
- updated README
- minor Makefile fixes
- fixed TH_ISREG() macro to not return true for hard links

libtar 1.2.9 - 11/19/02
- fixed th_read() to return 1 on EOF
  (thanks to Yves Crespin <Crespin.Quartz%WANADOO.FR@localhost> for the bug report)
- minor portability fixes
  (thanks to Yves Crespin <Crespin.Quartz%WANADOO.FR@localhost> for the bug report)
- fixed segfault on extracting filenames with 8-bit ASCII characters
  (thanks to Per Liden <per%FUKT.BTH.SE@localhost> for the patch)
- fixed TH_ISDIR() macro and th_get_mode() function to handle old
  archives that don't set the typeflag field right for directories
- use 0777 instead of 0755 in mkdirhier()
  (thanks to Yves Crespin <Crespin.Quartz%WANADOO.FR@localhost> for the bug report)

libtar 1.2.8 - 9/13/02
- added "-I../listhash" to CPPFLAGS in libtar/Makefile.in
  (thanks to Kris Warkentin <kewarken%QNX.COM@localhost> for the bug report)
- added .PHONY target to Makefile.in
  (thanks to Steven Engelhardt <sengelha%YAHOO.COM@localhost> for the bug report)

libtar 1.2.7 - 9/12/02
- fixed minor bugs in listhash code
  (thanks to Jim Knoble <jmknoble%pobox.com@localhost> for the bug reports)

libtar 1.2.6 - 9/10/02
- updated COPYRIGHT file
- do not check magic field by default
  (replaced TAR_IGNORE_MAGIC option with TAR_CHECK_MAGIC to enable check)
- fixed th_get_mode() not to modify S_IFMT bits if they were already set
- fixed TH_IS*() macros to check the S_IFMT mode bits in addition to typeflag
  (this allows us to handle old tar archives that set mode bits but not
  typeflag field for directories and other special files)
- updated to autoconf-2.53
- restructured autoconf macros
- added "b" to gzoflags in gzopen_frontend() for win32 compatibility
  (thanks to Kris Eric Warkentin <kewarken%QNX.COM@localhost> for reporting this)
- if O_BINARY is defined (as on win32), set that bit in oflags in tar_open()
  (thanks to Kris Eric Warkentin <kewarken%QNX.COM@localhost> for reporting this)
- also use O_BINARY in when calling open() from tar_extract_regfile()
  (based on patch from Graeme Peterson <gp%qnx.com@localhost>)
- added COMPAT_FUNC_MAKEDEV macro to handle 3-arg version of makedev()
  (based on patch from Graeme Peterson <gp%qnx.com@localhost>)

diffstat:

 devel/libtar/Makefile      |  10 +++++-----
 devel/libtar/buildlink3.mk |  20 ++++++++++++++++++++
 devel/libtar/distinfo      |   6 +++---
 3 files changed, 28 insertions(+), 8 deletions(-)

diffs (60 lines):

diff -r 16a094ba6de6 -r ad9b2e8e9d37 devel/libtar/Makefile
--- a/devel/libtar/Makefile     Thu Feb 12 23:45:06 2004 +0000
+++ b/devel/libtar/Makefile     Thu Feb 12 23:53:09 2004 +0000
@@ -1,16 +1,16 @@
-# $NetBSD: Makefile,v 1.5 2003/07/21 16:43:32 martti Exp $
+# $NetBSD: Makefile,v 1.6 2004/02/12 23:53:09 seb Exp $
 #
 
-DISTNAME=      libtar-1.2.5
+DISTNAME=      libtar-1.2.11
 CATEGORIES=    devel archivers
 MASTER_SITES=  ftp://ftp-dev.cso.uiuc.edu/pub/libtar/
 
-MAINTAINER=    tech-pkg%NetBSD.org@localhost
+MAINTAINER=    seb%NetBSD.org@localhost
 HOMEPAGE=      http://www-dev.cso.uiuc.edu/libtar/
 COMMENT=       Library for manipulating POSIX tar files
 
 GNU_CONFIGURE=         YES
-USE_BUILDLINK2=                YES
+USE_BUILDLINK3=                YES
 
-.include "../../devel/zlib/buildlink2.mk"
+.include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 16a094ba6de6 -r ad9b2e8e9d37 devel/libtar/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libtar/buildlink3.mk        Thu Feb 12 23:53:09 2004 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/12 23:53:09 seb Exp $
+#
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+LIBTAR_BUILDLINK3_MK:= ${LIBTAR_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    libtar
+.endif
+
+.if !empty(LIBTAR_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+=                   libtar
+BUILDLINK_DEPENDS.libtar+=             libtar>=1.2.11
+BUILDLINK_PKGSRCDIR.libtar?=           ../../devel/libtar
+
+.include "../../devel/zlib/buildlink3.mk"
+
+.endif # LIBTAR_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r 16a094ba6de6 -r ad9b2e8e9d37 devel/libtar/distinfo
--- a/devel/libtar/distinfo     Thu Feb 12 23:45:06 2004 +0000
+++ b/devel/libtar/distinfo     Thu Feb 12 23:53:09 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2002/08/25 19:22:33 jlam Exp $
+$NetBSD: distinfo,v 1.4 2004/02/12 23:53:09 seb Exp $
 
-SHA1 (libtar-1.2.5.tar.gz) = 35e84315a071d0a0e36471716b64489eb97a8797
-Size (libtar-1.2.5.tar.gz) = 88243 bytes
+SHA1 (libtar-1.2.11.tar.gz) = 9611f23024b0e89aad1cfea301122186b3c160f8
+Size (libtar-1.2.11.tar.gz) = 145354 bytes



Home | Main Index | Thread Index | Old Index