Subject: CVS commit: pkgsrc/archivers/arc
From: Thomas Klausner
Date: 2006-05-02 21:06:45
Message id: 20060502190645.B5A1A2DA27@cvs.netbsd.org

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.

Files:
RevisionActionfile
1.28modifypkgsrc/archivers/arc/Makefile
1.10modifypkgsrc/archivers/arc/distinfo
1.4modifypkgsrc/archivers/arc/patches/patch-aa
1.5modifypkgsrc/archivers/arc/patches/patch-ab
1.2modifypkgsrc/archivers/arc/patches/patch-ac
1.2modifypkgsrc/archivers/arc/patches/patch-ad
1.1removepkgsrc/archivers/arc/patches/patch-ae