summaryrefslogtreecommitdiff
path: root/devel/libtar
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2004-02-12 23:53:09 +0000
committerseb <seb@pkgsrc.org>2004-02-12 23:53:09 +0000
commitdddc493cb92ce3df4daa5a273b7f3f4624e34b6b (patch)
tree6e1d19fceeee67a40eb1be83527170c4f6d58f5c /devel/libtar
parent4efd6a8ae9f307a4886f06cb6e91025bb9e5460f (diff)
downloadpkgsrc-dddc493cb92ce3df4daa5a273b7f3f4624e34b6b.tar.gz
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> for the bug report) - minor portability fixes (thanks to Yves Crespin <Crespin.Quartz@WANADOO.FR> for the bug report) - fixed segfault on extracting filenames with 8-bit ASCII characters (thanks to Per Liden <per@FUKT.BTH.SE> 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> 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> for the bug report) - added .PHONY target to Makefile.in (thanks to Steven Engelhardt <sengelha@YAHOO.COM> for the bug report) libtar 1.2.7 - 9/12/02 - fixed minor bugs in listhash code (thanks to Jim Knoble <jmknoble@pobox.com> 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> 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> for reporting this) - also use O_BINARY in when calling open() from tar_extract_regfile() (based on patch from Graeme Peterson <gp@qnx.com>) - added COMPAT_FUNC_MAKEDEV macro to handle 3-arg version of makedev() (based on patch from Graeme Peterson <gp@qnx.com>)
Diffstat (limited to 'devel/libtar')
-rw-r--r--devel/libtar/Makefile10
-rw-r--r--devel/libtar/buildlink3.mk20
-rw-r--r--devel/libtar/distinfo6
3 files changed, 28 insertions, 8 deletions
diff --git a/devel/libtar/Makefile b/devel/libtar/Makefile
index eacaa410859..9b5251e6d27 100644
--- a/devel/libtar/Makefile
+++ b/devel/libtar/Makefile
@@ -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
+MAINTAINER= seb@NetBSD.org
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 --git a/devel/libtar/buildlink3.mk b/devel/libtar/buildlink3.mk
new file mode 100644
index 00000000000..ce6238d6fe4
--- /dev/null
+++ b/devel/libtar/buildlink3.mk
@@ -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 --git a/devel/libtar/distinfo b/devel/libtar/distinfo
index 059f86bca21..45a55e345f9 100644
--- a/devel/libtar/distinfo
+++ b/devel/libtar/distinfo
@@ -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