pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/libarchive/files libarchive-2.4.14:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c603df064a3f
branches:  trunk
changeset: 539860:c603df064a3f
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Mar 15 10:52:20 2008 +0000

description:
libarchive-2.4.14:
Fix mix-up of gname and uname on one place when writing pax archives.
Reported by tron@.

diffstat:

 archivers/libarchive/files/Makefile.am                               |   2 +-
 archivers/libarchive/files/Makefile.in                               |   2 +-
 archivers/libarchive/files/NEWS                                      |   6 +++
 archivers/libarchive/files/configure                                 |  20 +++++-----
 archivers/libarchive/files/libarchive/archive_write_set_format_pax.c |   2 +-
 archivers/libarchive/files/version                                   |   2 +-
 6 files changed, 20 insertions(+), 14 deletions(-)

diffs (142 lines):

diff -r 8977ac15469f -r c603df064a3f archivers/libarchive/files/Makefile.am
--- a/archivers/libarchive/files/Makefile.am    Sat Mar 15 10:46:08 2008 +0000
+++ b/archivers/libarchive/files/Makefile.am    Sat Mar 15 10:52:20 2008 +0000
@@ -223,7 +223,7 @@
        libarchive/test/test_write_format_tar_empty.c           \
        libarchive/test/test_write_open_memory.c
 
-libarchive_test_CPPFLAGS= -I$(top_builddir)/libarchive -I$(top_builddir)/libarchive/test
+libarchive_test_CPPFLAGS= -I$(top_srcdir)/libarchive -I$(top_builddir)/libarchive/test
 
 # The "list.h" file just lists all of the tests defined in all of the sources.
 # Building it automatically provides a sanity-check on libarchive_test_SOURCES
diff -r 8977ac15469f -r c603df064a3f archivers/libarchive/files/Makefile.in
--- a/archivers/libarchive/files/Makefile.in    Sat Mar 15 10:46:08 2008 +0000
+++ b/archivers/libarchive/files/Makefile.in    Sat Mar 15 10:52:20 2008 +0000
@@ -653,7 +653,7 @@
        libarchive/test/test_write_format_tar_empty.c           \
        libarchive/test/test_write_open_memory.c
 
-libarchive_test_CPPFLAGS = -I$(top_builddir)/libarchive -I$(top_builddir)/libarchive/test
+libarchive_test_CPPFLAGS = -I$(top_srcdir)/libarchive -I$(top_builddir)/libarchive/test
 libarchive_TESTS_ENVIRONMENT = LIBARCHIVE_TEST_FILES=`cd $(top_builddir);/bin/pwd`
 libarchive_test_EXTRA_DIST = \
        libarchive/test/test_compat_gtar_1.tgz.uu                       \
diff -r 8977ac15469f -r c603df064a3f archivers/libarchive/files/NEWS
--- a/archivers/libarchive/files/NEWS   Sat Mar 15 10:46:08 2008 +0000
+++ b/archivers/libarchive/files/NEWS   Sat Mar 15 10:52:20 2008 +0000
@@ -1,3 +1,9 @@
+Mar 14, 2008: libarchive 2.4.14 released.  This is identical to 2.4.13
+       except it contains a one-line fix to the uname/gname problem
+       introduced by the Feb 25 UTF-8 fix.  This bug makes libarchive
+       refuse to add a file to a pax archive if it has a valid gname
+       but not a valid uname.  In some cases, it can also cause the
+       uname to be stored for the gname.
 
 Feb 26, 2008: libarchive 2.4.13 released
 Feb 25, 2008: Handle path, linkname, gname, or uname that can't be converted
diff -r 8977ac15469f -r c603df064a3f archivers/libarchive/files/configure
--- a/archivers/libarchive/files/configure      Sat Mar 15 10:46:08 2008 +0000
+++ b/archivers/libarchive/files/configure      Sat Mar 15 10:52:20 2008 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for libarchive 2.4.13.
+# Generated by GNU Autoconf 2.61 for libarchive 2.4.14.
 #
 # Report bugs to <kientzle%freebsd.org@localhost>.
 #
@@ -728,8 +728,8 @@
 # Identity of this package.
 PACKAGE_NAME='libarchive'
 PACKAGE_TARNAME='libarchive'
-PACKAGE_VERSION='2.4.13'
-PACKAGE_STRING='libarchive 2.4.13'
+PACKAGE_VERSION='2.4.14'
+PACKAGE_STRING='libarchive 2.4.14'
 PACKAGE_BUGREPORT='kientzle%freebsd.org@localhost'
 
 ac_unique_file="libarchive"
@@ -1408,7 +1408,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures libarchive 2.4.13 to adapt to many kinds of systems.
+\`configure' configures libarchive 2.4.14 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1478,7 +1478,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of libarchive 2.4.13:";;
+     short | recursive ) echo "Configuration of libarchive 2.4.14:";;
    esac
   cat <<\_ACEOF
 
@@ -1596,7 +1596,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-libarchive configure 2.4.13
+libarchive configure 2.4.14
 generated by GNU Autoconf 2.61
 
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1610,7 +1610,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by libarchive $as_me 2.4.13, which was
+It was created by libarchive $as_me 2.4.14, which was
 generated by GNU Autoconf 2.61.  Invocation command line was
 
   $ $0 $@
@@ -2304,7 +2304,7 @@
 
 # Define the identity of the package.
  PACKAGE='libarchive'
- VERSION='2.4.13'
+ VERSION='2.4.14'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -27785,7 +27785,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by libarchive $as_me 2.4.13, which was
+This file was extended by libarchive $as_me 2.4.14, which was
 generated by GNU Autoconf 2.61.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -27838,7 +27838,7 @@
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
-libarchive config.status 2.4.13
+libarchive config.status 2.4.14
 configured by $0, generated by GNU Autoconf 2.61,
   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
diff -r 8977ac15469f -r c603df064a3f archivers/libarchive/files/libarchive/archive_write_set_format_pax.c
--- a/archivers/libarchive/files/libarchive/archive_write_set_format_pax.c      Sat Mar 15 10:46:08 2008 +0000
+++ b/archivers/libarchive/files/libarchive/archive_write_set_format_pax.c      Sat Mar 15 10:52:20 2008 +0000
@@ -470,7 +470,7 @@
                hdrcharset = "BINARY";
        }
        gname = archive_entry_gname(entry_main);
-       gname_w = archive_entry_uname_w(entry_main);
+       gname_w = archive_entry_gname_w(entry_main);
        if (gname != NULL && gname_w == NULL) {
                archive_set_error(&a->archive, EILSEQ,
                    "Can't translate gname '%s' to UTF-8", gname);
diff -r 8977ac15469f -r c603df064a3f archivers/libarchive/files/version
--- a/archivers/libarchive/files/version        Sat Mar 15 10:46:08 2008 +0000
+++ b/archivers/libarchive/files/version        Sat Mar 15 10:52:20 2008 +0000
@@ -1,1 +1,1 @@
-2.4.13
\ No newline at end of file
+2.4.14
\ No newline at end of file



Home | Main Index | Thread Index | Old Index