Subject: CVS commit: pkgsrc/archivers/arc
To: None <pkgsrc-changes@NetBSD.org>
From: Thomas Klausner <wiz@netbsd.org>
List: pkgsrc-changes
Date: 05/02/2006 19:06:45
Module Name:	pkgsrc
Committed By:	wiz
Date:		Tue May  2 19:06:45 UTC 2006

Modified Files:
	pkgsrc/archivers/arc: Makefile distinfo
	pkgsrc/archivers/arc/patches: patch-aa patch-ab patch-ac patch-ad
Removed Files:
	pkgsrc/archivers/arc/patches: patch-ae

Log Message:
Update to 5.21o:

                        CHANGES IN VERSION 5.21o
                 (Howard Chu, 12 Oct 2005)

Silence warnings about unused results.

                        CHANGES IN VERSION 5.21n
                 (Howard Chu, 08 Oct 2005)

Better fix for temporary file creations, previous patch did not fix marc.
Silence all gcc-4.0.0 -Wall warnings.

                        CHANGES IN VERSION 5.21m
                 (Klaus Reimer, 21 Sep 2005)

Applied patch from Joey Schulze fixing the following problems:

  - Fixed insecure permissions of a temporary file [arcsvc.c, CAN-2005-2945]
  - Fixed insecure temporary file creation [arcsvc.c, CAN-2005-2992]

                        CHANGES IN VERSION 5.21l
                 (Klaus Reimer, 13 Mar 2005)

Fixed warnings because missing inclusion of string.h and fixed a gcc-4.0
problem with marc.c (Missing declaration of makefnam).

                        CHANGES IN VERSION 5.21k
                 (Klaus Reimer, 6 Nov 2004)

Ulf Harnhammar found some buffer overflows causing segfaults and provided a
patch which is now applied to arc to close these bugs.

                        CHANGES IN VERSION 5.21

The following changes have been made in ARC version 5.21, but have not
yet been included in the manual:

o   When adding files to an archive, ARC now shows the stowage facter
    achieved on each file.

o   A bug was found that would keep an archive entry from being
    encrypted if it was stored without compression.  This has now been
    fixed.

o   If changes are made to a corrupted archive, the corrupted entries
    are discarded.  This makes it possible to lose data accidentally.
    ARC will now only make changes to a corrupted archive if the W
    (suppress Warnings) option has been given.

o   The N (suppress Notes) option now suppresses the "Creating
    archive" note when a new archive is being created.

o   The N (suppress Notes) option formerly did nothing useful when
    used with the L (List files) command.  It now causes a terse
    listing of filenames only, suitable for use with pipes and
    redirection.

o   The list of filenames given to ARC may now include indirect
    references.  If a filename begins with an "at sign" ("@"), it is
    taken to be the name of a file which contains a list of file
    names.  The list of file names may include further indirection.
    If no extension is given, ".CMD" is assumed.  For example, the
    command:

         arc a waste junk.txt @trash

    would cause ARC to add JUNK.TXT plus all files listed in the file
    TRASH.CMD to an archive named WASTE.ARC.  If no file is specified,
    then the list is read from standard input.  For example, the
    command:

         arc ln waste | arc a trash @

    would cause ARC to add files to TRASH.ARC based on the names of
    the files stored in WASTE.ARC.  It is probably a good idea to give
    the O (Overwrite) option if you are extracting files this way.

    Version 5.21 of MARC also allows for indirection.


To generate a diff of this commit:
cvs rdiff -r1.27 -r1.28 pkgsrc/archivers/arc/Makefile
cvs rdiff -r1.9 -r1.10 pkgsrc/archivers/arc/distinfo
cvs rdiff -r1.3 -r1.4 pkgsrc/archivers/arc/patches/patch-aa
cvs rdiff -r1.4 -r1.5 pkgsrc/archivers/arc/patches/patch-ab
cvs rdiff -r1.1 -r1.2 pkgsrc/archivers/arc/patches/patch-ac \
    pkgsrc/archivers/arc/patches/patch-ad
cvs rdiff -r1.1 -r0 pkgsrc/archivers/arc/patches/patch-ae

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.