pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/doc Update gtar packages to 1.14:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a7d2463305f
branches:  trunk
changeset: 481196:3a7d2463305f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Sep 27 16:12:04 2004 +0000

description:
Update gtar packages to 1.14:

XXX: man page not updated (didn't find new version of suse
gtar man page which we're using in the package)

version 1.14 - Sergey Poznyakoff, 2004-05-11

* Added support for POSIX.1-2001 and ustar archive formats.
* New option --format allows to select the output archive format
* The default output format can be selected at configuration time
  by presetting the environment variable DEFAULT_ARCHIVE_FORMAT.
  Allowed values are GNU, V7, OLDGNU and POSIX.
* New option --strip-path allows to cut off a given number of
  path elements from the name of the file being extracted.

* New options --index-file, --no-overwrite-dir.  The --overwrite-dir
  option is now the default; use --no-overwrite-dir if you prefer
  the previous default behavior.

* The semantics of -o option is changed. When extracting, it
  does the same as --no-same-owner GNU tar option. This is compatible
  with UNIX98 tar. Otherwise, its effect is the same as that of
  --old-archive option. This latter is deprecated and will be removed
  in future.

* New option --check-links prints a message if not all links are dumped
  for a file being archived. This corresponds to the UNIX98 -l option.
  The current semantics of the -l option is retained for compatibility
  with previous releases, however such usage is strongly deprecated as
  the option will change to its UNIX98 semantics in the future releases.

* New option --occurrence[=N] can be used in conjunction with one of
  the subcommands --delete, --diff, --extract or --list when a list of
  files is given either on the command line or via -T option. This
  option instructs tar to process only the Nth occurrence of each named
  file. N defaults to 1, so `tar -x -f archive --occurrence filename'
  extracts the first occurrence of `filename' from `archive'
  and terminates without scanning to the end of the archive.

* New option --pax-option allows to control the handling of POSIX
  keywords in `pax' extended headers. It is equivalent to `pax'
  -o option.

* --incremental and --listed-incremental options work correctly on
  individual files, as well as on directories.

* New scripts: backup (replaces old level-0 and level-1) and restore.
The scripts are compiled and installed if --enable-backup-scripts
option is given to configure.

* By default tar searches "rmt" utility in "$prefix/libexec/rmt",
which is consistent with the location where the version of "rmt"
included in the package is installed. Previous versions of tar
used "/etc/rmt". To install "rmt" to its traditional location,
run configure with option --libexecdir=/etc. Otherwise, if you
already have rmt installed and wish to use it, instead of the
shipped in version, set the variable DEFAULT_RMT_COMMAND to
the full path name of the utility, e.g. ./configure
DEFAULT_RMT_COMMAND=/etc/rmt.

Notice also that the full path name of the "rmt" utility to
use can be set at runtime, by giving option --rmt-command to
tar.

* Removed obsolete command line options:
** --absolute-paths superseded by --absolute-names
** --block-compress is not needed any longer
** --block-size superseded by --blocking-factor
** --modification-time superseded by --touch
** --read-full-blocks superseded by --read-full-records
** --record-number superseded by --block-number
** --version-control superseded by --backup

* New message translations fi (Finnish), gl (Galician), hr (Croatian),
  hu (Hungarian), ms (Malaysian), nb (Norwegian), ro (Romanian), sk
  (Slovak), zh_CN (Chinese simplified), zh_TW (Chinese traditional).
  The code 'no' for Norwegian (Bokmål) has been withdrawn; use 'nb' instead.

diffstat:

 archivers/gtar-base/Makefile         |  20 ++++++++---------
 archivers/gtar-base/PLIST            |  13 +++++++++-
 archivers/gtar-base/distinfo         |  17 +++++++--------
 archivers/gtar-base/files/gtar.1     |   5 +--
 archivers/gtar-base/patches/patch-aa |  27 ++++++++----------------
 archivers/gtar-base/patches/patch-ab |  40 ++++++++++++++++++------------------
 archivers/gtar-base/patches/patch-ac |   6 ++--
 archivers/gtar-base/patches/patch-ae |  27 ++++++++++-------------
 archivers/gtar-base/patches/patch-af |  35 -------------------------------
 archivers/gtar-base/patches/patch-ag |  38 +++++++---------------------------
 archivers/gtar-info/Makefile         |  12 ++++------
 archivers/gtar-info/distinfo         |   6 ++--
 archivers/gtar/Makefile              |  11 ++++-----
 doc/CHANGES                          |   5 +++-
 doc/TODO                             |   3 +-
 15 files changed, 100 insertions(+), 165 deletions(-)

diffs (truncated from 513 to 300 lines):

diff -r a3267d8bb0c8 -r 3a7d2463305f archivers/gtar-base/Makefile
--- a/archivers/gtar-base/Makefile      Mon Sep 27 14:58:35 2004 +0000
+++ b/archivers/gtar-base/Makefile      Mon Sep 27 16:12:04 2004 +0000
@@ -1,21 +1,19 @@
-# $NetBSD: Makefile,v 1.36 2004/06/02 23:20:55 heinz Exp $
+# $NetBSD: Makefile,v 1.37 2004/09/27 16:12:04 wiz Exp $
 #
 
-DISTNAME=       tar-1.13.25
-PKGNAME=       gtar-base-1.13.25
-PKGREVISION=   2
+DISTNAME=       tar-1.14
+PKGNAME=       gtar-base-1.14
 SVR4_PKGNAME=  gtarb
 CATEGORIES=    archivers
-MASTER_SITES=  ftp://alpha.gnu.org/gnu/tar/ \
-               ftp://ftp.sunsite.org.uk/Mirrors/alpha.gnu.org/gnu/tar/ \
-               ftp://ftp.funet.fi/pub/mirrors/alpha.gnu.org/gnu/tar/
+MASTER_SITES=  ${MASTER_SITE_GNU:=tar/}
 
 MAINTAINER=    tech-pkg%NetBSD.org@localhost
 HOMEPAGE=      http://www.gnu.org/software/tar/tar.html
 COMMENT=       The GNU tape archiver with remote magnetic tape support
 
+BUILD_USES_MSGFMT=     YES
+
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
-BUILD_USES_MSGFMT=     YES
 
 USE_BUILDLINK3=                YES
 USE_PKGLOCALEDIR=      YES
@@ -37,6 +35,9 @@
 .endif
 
 CONFIGURE_ARGS+=       --with-catgets
+# lie to configure about gettext -- it does not need GNU gettext
+CONFIGURE_ENV+=                gt_cv_func_gnugettext2_libintl=yes
+
 PLIST_SUBST+=          GTAR_PROGRAM_PREFIX=${GTAR_PROGRAM_PREFIX}
 BUILD_DEFS+=           GNU_PROGRAM_PREFIX
 BUILD_DEFS+=           GTAR_PROGRAM_PREFIX
@@ -49,9 +50,6 @@
 PLIST_SUBST+=           GTAR_LINK="@comment "
 .endif
 
-post-patch:
-       @${TOUCH} ${WRKSRC}/po/fr.po
-
 post-install:
        ${INSTALL_MAN_DIR} ${PREFIX}/man/man1
        ${INSTALL_DATA} ${FILESDIR}/gtar.1 \
diff -r a3267d8bb0c8 -r 3a7d2463305f archivers/gtar-base/PLIST
--- a/archivers/gtar-base/PLIST Mon Sep 27 14:58:35 2004 +0000
+++ b/archivers/gtar-base/PLIST Mon Sep 27 16:12:04 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2004/04/05 18:38:43 reed Exp $
+@comment $NetBSD: PLIST,v 1.7 2004/09/27 16:12:04 wiz Exp $
 bin/${GTAR_PROGRAM_PREFIX}tar
 ${GTAR_LINK}bin/gtar
 man/man1/${GTAR_PROGRAM_PREFIX}tar.1
@@ -7,17 +7,26 @@
 ${PKGLOCALEDIR}/locale/de/LC_MESSAGES/tar.mo
 ${PKGLOCALEDIR}/locale/es/LC_MESSAGES/tar.mo
 ${PKGLOCALEDIR}/locale/et/LC_MESSAGES/tar.mo
+${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/tar.mo
 ${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/tar.mo
+${PKGLOCALEDIR}/locale/gl/LC_MESSAGES/tar.mo
+${PKGLOCALEDIR}/locale/hr/LC_MESSAGES/tar.mo
+${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/tar.mo
 ${PKGLOCALEDIR}/locale/id/LC_MESSAGES/tar.mo
 ${PKGLOCALEDIR}/locale/it/LC_MESSAGES/tar.mo
 ${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/tar.mo
 ${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/tar.mo
+${PKGLOCALEDIR}/locale/ms/LC_MESSAGES/tar.mo
+${PKGLOCALEDIR}/locale/nb/LC_MESSAGES/tar.mo
 ${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/tar.mo
-${PKGLOCALEDIR}/locale/no/LC_MESSAGES/tar.mo
 ${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/tar.mo
 ${PKGLOCALEDIR}/locale/pt/LC_MESSAGES/tar.mo
 ${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/tar.mo
+${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/tar.mo
 ${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/tar.mo
+${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/tar.mo
 ${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/tar.mo
 ${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/tar.mo
 ${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/tar.mo
+${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/tar.mo
+${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/tar.mo
diff -r a3267d8bb0c8 -r 3a7d2463305f archivers/gtar-base/distinfo
--- a/archivers/gtar-base/distinfo      Mon Sep 27 14:58:35 2004 +0000
+++ b/archivers/gtar-base/distinfo      Mon Sep 27 16:12:04 2004 +0000
@@ -1,10 +1,9 @@
-$NetBSD: distinfo,v 1.9 2004/04/24 23:19:27 tv Exp $
+$NetBSD: distinfo,v 1.10 2004/09/27 16:12:04 wiz Exp $
 
-SHA1 (tar-1.13.25.tar.gz) = d27fda27af621a1182bff289d4bfc7b37019effe
-Size (tar-1.13.25.tar.gz) = 1312227 bytes
-SHA1 (patch-aa) = 607455dae33416396ed9589e74179a097f89adbf
-SHA1 (patch-ab) = 676a9ad625166d052ba8430c4ee19651c25c6451
-SHA1 (patch-ac) = 88f1c52efcad98dfb6688d9184b50f1e8aabe31d
-SHA1 (patch-ae) = c91b7225146d6dd18031a5ebaa69993904c5c078
-SHA1 (patch-af) = 2a5eff3022bcc279131dcd1144fe9c8a7acebecb
-SHA1 (patch-ag) = fdb46bf9c32ae6df32c6569f12e9232217f53506
+SHA1 (tar-1.14.tar.gz) = 484d3ac9c15a598f2ee110155d87b3daecc7b13c
+Size (tar-1.14.tar.gz) = 1485633 bytes
+SHA1 (patch-aa) = df97e08202682939f329f33222540b46ed6baa36
+SHA1 (patch-ab) = 416495f330cb7614eb466547bc468213213e3a90
+SHA1 (patch-ac) = 41d4153b44b5852664401d9be3a0b0a4ef4984eb
+SHA1 (patch-ae) = 428a5a263dd889e09c0d5404eb8d4fe5dbeeb61d
+SHA1 (patch-ag) = 3cb3f8ed288a141896e65410c453b15578943ab3
diff -r a3267d8bb0c8 -r 3a7d2463305f archivers/gtar-base/files/gtar.1
--- a/archivers/gtar-base/files/gtar.1  Mon Sep 27 14:58:35 2004 +0000
+++ b/archivers/gtar-base/files/gtar.1  Mon Sep 27 16:12:04 2004 +0000
@@ -1,5 +1,5 @@
 .\"
-.\" $NetBSD: gtar.1,v 1.3 2002/11/20 16:57:55 bouyer Exp $
+.\" $NetBSD: gtar.1,v 1.4 2004/09/27 16:12:04 wiz Exp $
 .\" @(#)tar.1 1.13.25 2000/12/14 Werner;
 .\" from SuSe tar-1.13.25-45.src.rpm
 .TH TAR 1 "14 December 2000" "Version 1.13.25"
@@ -63,7 +63,7 @@
 .I directory1 \fR[\fP directory2\fR,\fP \fR...\fP directoryN \fR]
 .SH DESCRIPTION
 .LP
-This manual page documents the GNU version of
+This manual page documents the GNU version 1.13.25 of
 .BR tar ,
 an archiving program designed to store and extract files from
 an archive file known as a
@@ -263,4 +263,3 @@
 
 If you really want to understand tar, then you should run info and read the
 tar info pages, or use the info mode in emacs.
-
diff -r a3267d8bb0c8 -r 3a7d2463305f archivers/gtar-base/patches/patch-aa
--- a/archivers/gtar-base/patches/patch-aa      Mon Sep 27 14:58:35 2004 +0000
+++ b/archivers/gtar-base/patches/patch-aa      Mon Sep 27 16:12:04 2004 +0000
@@ -1,22 +1,13 @@
-$NetBSD: patch-aa,v 1.5 2002/11/20 16:57:55 bouyer Exp $
+$NetBSD: patch-aa,v 1.6 2004/09/27 16:12:04 wiz Exp $
 
---- src/Makefile.in.orig       Wed Sep 26 22:34:33 2001
-+++ src/Makefile.in    Sun Nov 17 18:04:11 2002
-@@ -103,7 +103,7 @@
- 
- AUTOMAKE_OPTIONS = gnits
- bin_PROGRAMS = tar
--libexec_PROGRAMS = @RMT@
-+libexec_PROGRAMS = 
- EXTRA_PROGRAMS = rmt
- 
- noinst_HEADERS = arith.h common.h rmt.h system.h tar.h
-@@ -127,7 +127,7 @@
- CONFIG_CLEAN_FILES =
- EXTRA_PROGRAMS = rmt$(EXEEXT)
+--- src/Makefile.in.orig       2004-05-11 10:13:27.000000000 +0200
++++ src/Makefile.in
+@@ -44,7 +44,7 @@ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
  bin_PROGRAMS = tar$(EXEEXT)
 -libexec_PROGRAMS = @RMT@
 +libexec_PROGRAMS =
- PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
- 
- am_rmt_OBJECTS = rmt.$(OBJEXT)
+ EXTRA_PROGRAMS = rmt$(EXEEXT)
+ subdir = src
+ DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
diff -r a3267d8bb0c8 -r 3a7d2463305f archivers/gtar-base/patches/patch-ab
--- a/archivers/gtar-base/patches/patch-ab      Mon Sep 27 14:58:35 2004 +0000
+++ b/archivers/gtar-base/patches/patch-ab      Mon Sep 27 16:12:04 2004 +0000
@@ -1,40 +1,40 @@
-$NetBSD: patch-ab,v 1.8 2002/11/20 16:57:55 bouyer Exp $
+$NetBSD: patch-ab,v 1.9 2004/09/27 16:12:04 wiz Exp $
 
---- src/tar.c.orig     Fri Sep 21 02:11:27 2001
-+++ src/tar.c  Sun Nov 17 18:24:55 2002
-@@ -136,6 +136,7 @@
-   NEWER_MTIME_OPTION,
+--- src/tar.c.orig     2004-05-10 13:49:19.000000000 +0200
++++ src/tar.c
+@@ -196,6 +196,7 @@ enum
    NO_ANCHORED_OPTION,
    NO_IGNORE_CASE_OPTION,
+   NO_OVERWRITE_DIR_OPTION,
 +  NO_UNLINK_FIRST_OPTION,
    NO_WILDCARDS_OPTION,
    NO_WILDCARDS_MATCH_SLASH_OPTION,
    NULL_OPTION,
-@@ -233,6 +234,7 @@
+@@ -292,6 +293,7 @@ static struct option long_options[] =
    {"no-recursion", no_argument, &recursion_option, 0},
    {"no-same-owner", no_argument, &same_owner_option, -1},
    {"no-same-permissions", no_argument, &same_permissions_option, -1},
 +  {"no-unlink-first", no_argument, NULL, NO_UNLINK_FIRST_OPTION},
-   {"numeric-owner", no_argument, &numeric_owner_option, 1},
+   {"numeric-owner", no_argument, 0, NUMERIC_OWNER_OPTION},
+   {"occurrence", optional_argument, 0, OCCURRENCE_OPTION},
    {"old-archive", no_argument, 0, 'o'},
-   {"one-file-system", no_argument, 0, 'l'},
-@@ -266,6 +268,7 @@
+@@ -327,6 +329,7 @@ static struct option long_options[] =
    {"touch", no_argument, 0, 'm'},
    {"uncompress", no_argument, 0, 'Z'},
    {"ungzip", no_argument, 0, 'z'},
 +  {"unlink", no_argument, 0, 'U'},
    {"unlink-first", no_argument, 0, 'U'},
    {"update", no_argument, 0, 'u'},
-   {"use-compress-program", required_argument, 0, USE_COMPRESS_PROGRAM_OPTION},
-@@ -327,6 +330,7 @@
+   {"utc", no_argument, 0, UTC_OPTION },
+@@ -390,6 +393,7 @@ Operation modifiers:\n\
        --overwrite            overwrite existing files when extracting\n\
-       --overwrite-dir        overwrite directory metadata when extracting\n\
+       --no-overwrite-dir     preserve metadata of existing directories\n\
    -U, --unlink-first         remove each file prior to extracting over it\n\
 +      --no-unlink-first      don't remove each file prior to extracting\n\
        --recursive-unlink     empty hierarchies prior to extracting directory\n\
    -S, --sparse               handle sparse files efficiently\n\
    -O, --to-stdout            extract files to standard output\n\
-@@ -510,6 +514,7 @@
+@@ -604,6 +608,7 @@ decode_options (int argc, char **argv)
  
    owner_option = -1;
    group_option = -1;
@@ -42,14 +42,14 @@
  
    backup_suffix_string = getenv ("SIMPLE_BACKUP_SUFFIX");
  
-@@ -843,6 +848,10 @@
+@@ -916,6 +921,10 @@ decode_options (int argc, char **argv)
+       old_files_option = UNLINK_FIRST_OLD_FILES;
+       break;
  
-       case 'U':
-       old_files_option = UNLINK_FIRST_OLD_FILES;
++      case NO_UNLINK_FIRST_OPTION:
++      old_files_option = 0;
 +      break;
 +
-+      case NO_UNLINK_FIRST_OPTION:
-+      old_files_option = 0;
+       case UTC_OPTION:
+       utc_option = true;
        break;
- 
-       case 'v':
diff -r a3267d8bb0c8 -r 3a7d2463305f archivers/gtar-base/patches/patch-ac
--- a/archivers/gtar-base/patches/patch-ac      Mon Sep 27 14:58:35 2004 +0000
+++ b/archivers/gtar-base/patches/patch-ac      Mon Sep 27 16:12:04 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.4 2004/04/24 23:07:53 tv Exp $
+$NetBSD: patch-ac,v 1.5 2004/09/27 16:12:04 wiz Exp $
 
---- src/system.h.orig  Sat Apr 24 19:05:49 2004
+--- src/system.h.orig  2004-05-11 10:11:49.000000000 +0200
 +++ src/system.h
-@@ -309,6 +309,9 @@ extern int errno;
+@@ -282,6 +282,9 @@ extern int errno;
  
  #if MAJOR_IN_MKDEV
  # include <sys/mkdev.h>
diff -r a3267d8bb0c8 -r 3a7d2463305f archivers/gtar-base/patches/patch-ae
--- a/archivers/gtar-base/patches/patch-ae      Mon Sep 27 14:58:35 2004 +0000
+++ b/archivers/gtar-base/patches/patch-ae      Mon Sep 27 16:12:04 2004 +0000
@@ -1,21 +1,18 @@
-$NetBSD: patch-ae,v 1.4 2002/11/20 16:57:55 bouyer Exp $
+$NetBSD: patch-ae,v 1.5 2004/09/27 16:12:04 wiz Exp $
 
---- Makefile.in.orig   Wed Sep 26 22:35:05 2001
-+++ Makefile.in        Sun Nov 17 18:32:32 2002
-@@ -102,10 +102,15 @@
- rmt_LDADD = @rmt_LDADD@
- tar_LDADD = @tar_LDADD@
- 
-+OPSYS!= uname -s
- AUTOMAKE_OPTIONS = gnits dist-bzip2 dist-shar
+--- Makefile.in.orig   2004-05-11 10:13:22.000000000 +0200
++++ Makefile.in
+@@ -229,7 +229,12 @@ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
  ACLOCAL_AMFLAGS = -I m4
  EXTRA_DIST = ChangeLog.1 PORTS
--SUBDIRS = doc intl lib m4 src scripts po tests
+-SUBDIRS = doc lib src scripts po tests
++OPSYS!= uname -s
 +.if ${OPSYS} == "Darwin"
-+SUBDIRS = intl lib m4 src scripts tests
++SUBDIRS = lib src scripts tests
 +.else
-+SUBDIRS = intl lib m4 src scripts po tests
++SUBDIRS = lib src scripts po tests
 +.endif
- subdir = .
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ all: config.h
+       $(MAKE) $(AM_MAKEFLAGS) all-recursive
+ 



Home | Main Index | Thread Index | Old Index