Commit graph

1781 commits

Author SHA1 Message Date
wiz
66bdcc44f9 Remove patch that should have been removed with gtar-1.25 update. 2010-12-14 09:18:51 +00:00
wiz
4202ee82c3 Update gtar to 1.25.
version 1.25 - Sergey Poznyakoff, 2010-11-07

* Fix extraction of empty directories with the -C option in effect.
* Fix extraction of device nodes.
* Make sure name matching occurs before eventual name transformation.

Tar 1.24 changed the ordering of name matching and name transformation
so that the former saw already transformed file names.  This made it
impossible to match file names in certain cases.  It is fixed now.

* Fix the behavior of tar -x --overwrite on hosts lacking O_NOFOLLOW.

* Improve the testsuite.

* Alternative decompression programs.

If extraction from a compressed archive fails because the corresponding
compression program is not installed and the following two conditions
are met, tar retries extraction using an alternative decompressor:

 1. Another compression program supported by tar is able to handle this
 compression format.
 2. The compression program was not explicitly requested in the command
 line by the use of such options as -z, -j, etc.

For example, if `compress' is not available, tar will try `gzip'.

version 1.24 - Sergey Poznyakoff, 2010-10-24

* The --full-time option.

New command line option `--full-time' instructs tar to output file
time stamps to the full resolution.

* Bugfixes.

** More reliable directory traversal when creating archives

Tar now checks for inconsistencies caused when a file system is
modified while tar is creating an archive.  In the new approach, tar
maintains a cache of file descriptors to directories, so it uses more
file descriptors than before, but it adjusts to system limits on
the number of file descriptors.  Tar also takes more care when
a file system is modified while tar is extracting from an archive.

The new checks are implemented via the openat and related calls
standardized by POSIX.1-2008.  On an older system where these calls do
not exist or do not return useful results, tar emulates the calls at
some cost in efficiency and reliability.

** Symbolic link attributes

When extracting symbolic links, tar now restores attributes such as
last-modified time and link permissions, if the operating system
supports this.  For example, recent versions of the Linux kernel
support setting times on symlinks, and some BSD kernels also support
symlink permissions.

** --dereference consistency

The --dereference (-h) option now applies to files that are copied
into or out of archives, independently of other options.  For example,
if F is a symbolic link and archive.tar contains a regular-file member
also named F, "tar --overwrite -x -f archive.tar F" now overwrites F
itself, rather than the file that F points to.  (To overwrite the file
that F points to, add the --dereference (-h) option.)  Formerly,
--dereference was intended to apply only when using the -c option, but
the implementation was not consistent.

Also, the --dereference option no longer affects accesses to other
files, such as archives and time stamp files.  Symbolic links to these
files are always followed.  Previously, the links were usually but not
always followed.

** Spurious error diagnostics on broken pipe.

When receiving SIGPIPE, tar would exit with error status and
"write error" diagnostics. In particular, this occurred if
invoked as in the example below:

   tar tf archive.tar | head -n 1

** --remove-files

`Tar --remove-files' failed to remove a directory which contained
symlinks to another files within that directory.

** --test-label behavior

In case of a mismatch, `tar --test-label LABEL' exits with code 1,
not 2 as it did in previous versions.

The `--verbose' option used with `--test-label' provides additional
diagnostics.

Several volume labels may be specified in a command line, e.g.:

   tar --test-label -f archive 'My volume' 'New volume' 'Test volume'

In this case, tar exits with code 0 if any one of the arguments
matches the actual volume label.

** --label used with --update

The `--label' option can be used with `--update' to prevent accidental
update of an archive:

  tar -rf archive --label 'My volume' .

This did not work in previous versions, in spite of what the docs said.

** --record-size and --tape-length (-L) options

Usual size suffixes are allowed for these options.  For example,
-L10k stands for a 10 kilobyte tape length.

** Fix dead loop on extracting existing symlinks with the -k option.
2010-12-12 13:10:39 +00:00
wiz
729b191b71 Update to 1.72:
* important changes in version 1.72 18/11/2010
- Apply patch from Grant McLean to update docs for
  ptargrep

* important changes in version 1.70 15/11/2010
- Add ptargrep utility courtesy of Grant McLean
2010-12-02 12:06:36 +00:00
hauke
150e6af0ed Generally use CPPFLAGS for preprocessor flags, after a hint
of Georg Schwarz.
2010-11-29 13:57:20 +00:00
drochner
c55136b37d update to 2.32.1
This switches to the gnome-2.32 release branch.
2010-11-28 13:04:09 +00:00
hauke
4a11970ec0 Commit the one-liner os specific CFLAGS addition from pkg/43723
and add same for Darwin.
2010-11-26 16:06:03 +00:00
abs
93cde1a832 PKGREVISION bumps for changes to gtk2, librsvg, libbonobo and libgnome 2010-11-15 22:56:08 +00:00
obache
b1309bb8f7 Update lzo to 2.04.
Changes in 2.04 (31 Oct 2010)
  * Fixed a gcc-4.5 aliasing issue in lzo_init().
  * Updated the configure system.
  * Assorted cleanups.
2010-11-13 11:21:05 +00:00
adam
d7774b06bc Changes 5.0.0:
* The memory usage limit is now disabled by default.
* Added support for XZ_DEFAULTS environment variable.
* The compression settings associated with the preset levels
  -0 ... -9 have been changed. --extreme was changed a little too.
* If a preset level (-0 ... -9) is specified after a custom filter
  chain options have been used (e.g. --lzma2), the custom filter
  chain will be forgotten. Earlier the preset options were
  completely ignored after custom filter chain options had been seen.
* xz will create sparse files when decompressing if the uncompressed
  data contains long sequences of binary zeros.
* Support for "xz --list" was added. Combine with --verbose or
  --verbose --verbose (-vv) for detailed output.
* I had hoped that liblzma API would have been stable after
  4.999.9beta, but there have been a couple of changes in the
  advanced features, which don't affect most applications:
  - Index handling code was revised. If you were using the old
    API, you will get a compiler error (so it's easy to notice).
  - A subtle but important change was made to the Block handling
    API. lzma_block.version has to be initialized even for
    lzma_block_header_decode(). Code that doesn't do it will work
    for now, but might break in the future, which makes this API
    change easy to miss.
* The major soname has been bumped to 5.0.0. liblzma API and ABI
  are now stable, so the need to recompile programs linking against
  liblzma shouldn't arise soon.
2010-11-03 14:21:49 +00:00
shattered
f40ffc33eb Fix installation in DESTDIR case. 2010-10-27 19:00:35 +00:00
billc
67b8890fad fix typo and add that it's for older file types 2010-10-08 18:49:26 +00:00
taca
6ee15abe78 Add fix for Ruby 1.9 from http://gist.github.com/611956.
Bump PKGREVISION.
2010-10-06 12:27:24 +00:00
plunky
d197d170b6 the homepage is invalid, and Nathan Phillip Brink has taken over
maintainership of this program. Update URL to his page.
2010-10-04 07:59:17 +00:00
tnn
ed234e9841 fix local patch; void function cannot return vaule.
reported by <BugeyeD> in #pkgsrc
2010-09-28 17:50:07 +00:00
joerg
c0e63ede2a Forcefully merge the branch back. This updates the included version
numbers.
2010-09-23 11:03:35 +00:00
joerg
9ae5bce167 Update to bzip2-1.0.6: Fix for CVE-2010-0405. Also install various
helper scripts.
2010-09-22 14:53:21 +00:00
joerg
79d44dc15c Update to bzip2-1.0.6: Fix for CVE-2010-0405 2010-09-22 14:48:41 +00:00
joerg
a027e62a1b Import stripped down bzip2-1.0.6. 2010-09-22 14:32:17 +00:00
wiz
2c6e8e30b0 Bump dependency on pixman to 0.18.4 because cairo-1.10 needs that
version, and bump all depends.

Per discussion on pkgsrc-changes.
2010-09-14 11:00:44 +00:00
taca
bef1fe99e3 Add and enable ruby-libarchive. 2010-09-11 07:30:53 +00:00
taca
c533ece46c Importing ruby-libarchive 0.1.1.
Libarchive is a programming library that can create and read several
different streaming archive formats, including most popular tar
variants, several cpio formats, and both BSD and GNU ar variants.
2010-09-11 07:29:42 +00:00
taca
bb3a70bdfa Update archivers/ruby-zip package to 0.9.4.
* Use lang/ruby/gem.mk.

= Version 0.9.4

Changed ZipOutputStream.put_next_entry signature (API CHANGE!). Now
allows comment, extra field and compression method to be specified.

= Version 0.9.3

Fixed: Added ZipEntry::name_encoding which retrieves the character
encoding of the name and comment of the entry. Also added convenience
methods ZipEntry::name_in(enc) and ZipEntry::comment_in(enc) for
getting zip entry names and comments in a specified character
encoding.

= Version 0.9.2

Fixed: Renaming an entry failed if the entry's new name was a
different length than its old name. (Diego Barros)
2010-09-10 03:59:20 +00:00
taca
9626cabe84 * Adjust new ruby package's framework.
* Add LICENSE.
* Install minitar command with ${RUBY_VER} suffix and add ALTERNATIVES.

Bump PKGREVISION.
2010-09-10 03:58:06 +00:00
sno
a347c06899 Updating archivers/p5-Archive-Tar from 1.66nb1 to 1.68
Upstream changes:
* important changes in version 1.68 17/08/2010
- Apply a patch from Colin Newell that checks whether long files can be created or
  not in 02_methods.t. Hopefully resolves RT #57312 and RT #56163
2010-09-03 05:11:57 +00:00
obache
3641faccf0 Add builtin support for xz. 2010-08-25 10:44:40 +00:00
seb
febfbb41f9 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
2010-08-21 16:32:42 +00:00
sno
8dc9bc295f Updating archivers/p5-Archive-Tar from 1.58 to 1.66
pkgsrc changes:
- mark package included in Perl5 CORE

Upstream changes:
* important changes in version 1.66 26/07/2010
- Applied a patch from Alexandr Ciornii [RT#59699] to Makefile.PL which
  produces better META.yml
- Apply a patch from Alexandr Ciornii to ptar [RT#59700]:

    Adds option -C to allow archives created with ptar to be uploaded to
    PAUSE in case of Windows or world +w permissions on unix.

* important changes in version 1.64 09/07/2010
- Removed the PERL_CORE specific chdir from all the tests
- Apply a patch from David Muir Sharnoff RT #58916,
  "skip files via a callback and limit memory use when skipping files"
- Apply a patch from Daphne Pfister RT #59150
  "Assumes all references filename are IO::Handle's instead of trying
   to stringify."

* important changes in version 1.62 28/06/2010
- Apply part of patch from
  https://bugzilla.redhat.com/attachment.cgi?id=426194
  reported by Martin Cermak in RT #58636 relating to a Redhat ticket
  https://bugzilla.redhat.com/show_bug.cgi?id=606813

* important changes in version 1.60 23/04/2010
- Apply patch from Darrell K. [RT #54850] that makes write() and
  create_archive() close only handles they opened.

    When you pass a filehandle to Archive::Tar::write() or create_archive(),
    it closes the filehandle after writing to it. I think it makes more
    sense not to close a handle that A::T didn't open, since the application
    may need to write additional data to it. (Consider sockets, package
    files containing encapsulated tar archives, etc.)

    Example:

    $ perl -e 'use Archive::Tar; open(PKG, ">mypkg") or die "open: $!"; my
    $tar = Archive::Tar->new; $tar->add_data("foo.txt","hello");
    $tar->write(\*PKG); print PKG "more data" or die "print: $!";'
    print: Bad file descriptor at -e line 1.

- Fool the installer into replacing our scripts that were installed by
  core with versiononly set.
2010-08-04 18:01:14 +00:00
wiz
c63bd1252c Update to 1.3, set LICENSE.
New in 1.3:
* Bugs in the MS-ZIP and Quantum decompressors have been fixed.
* MS-ZIP recovery has been improved.
* cabextract should now compile with MinGW
2010-07-24 08:45:14 +00:00
joerg
93dd00577c Bump libarchive and bsdtar to 2.8.4. 2010-07-09 12:03:55 +00:00
joerg
df8b221dc9 Merge libarchive-2.8.4 2010-07-09 12:02:41 +00:00
joerg
c9c6b16946 Import libarchive-2.8.4:
- Improved reliability of hash function detection
- Fix issues on ancient FreeBSD, QNX, ancient NetBSD and Minix
2010-07-09 11:53:07 +00:00
obache
bc8d28f0e8 Add workaround of lack of hard link support on BFS of Haiku.
Use symbolic link instead.
2010-07-06 23:36:51 +00:00
obache
2cffc9fc5d Tell Haiku's builtin bzip2. 2010-07-06 23:35:01 +00:00
drochner
ae92a38b99 update to 2.30.2
changes: translation updates
2010-07-06 16:43:05 +00:00
jmmv
56d9d89d24 Transfer ownership to pkgsrc-users. pancake's address is not valid any
more and he has agreed in private mail to drop maintainership.
2010-07-06 10:17:11 +00:00
joerg
91c295a82a Use normal libc malloc on NetBSD. Bump revision 2010-06-27 17:51:07 +00:00
adam
9e54c3b26b Changes 9.13:
- From Windows version of 7-zip 9.12
  - Some bugs were fixed.
- "Crash in Rar decoder on a corrupted file" fixed
- "Dereferencing a zero pointer in cab handler" fixed
- "Division by zero in cab decoder" fixed

Changes 9.12:
- From Windows version of 7-zip 9.12
  - ZIP / PPMd compression ratio was improved in Maximum and Ultra modes.
  - The BUG in 7-Zip 9.* beta was fixed: LZMA2 codec didn't work,
    if more than 10 threads were used (or more than 20 threads in some modes).
- makefile.openbsd is now compatible with OpenBSD ports tree.
- cmake projects added.
- 7zFM and 7zG can be built on MacOSX but these ports are in very alpha stage.
  make app to build p7zip.app (p7zip for MacOSX)

Changes 9.11:
- From Windows version of 7-zip 9.11
  - 7-Zip now supports PPMd compression in .ZIP archives.
  - Speed optimizations in PPMd codec.
  - The support for archives in installers was improved.
  - Some bugs were fixed.
2010-06-16 08:30:09 +00:00
drochner
9ce096488f update to 2.30.1.1
This switches to the gnome-2.30 release branch
2010-06-15 20:48:23 +00:00
wiz
92e0cb52cb Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00
obache
ccd947e45d LICENSE=${PERL5_LICENSE} 2010-05-17 02:29:25 +00:00
obache
28a59492b0 Note commented out LICENSE.
README said LGPL, but not unclear about its version,
because "See the file 'COPYING'", but no such file in distfile.
2010-05-16 00:43:18 +00:00
adam
7508d102f0 Changes 0.13.59:
* Bug-fix release.
2010-05-15 06:37:03 +00:00
tnn
1f823d9af5 can't depend on checkperms; it's distfile is gzipped. 2010-04-20 15:50:23 +00:00
jakllsch
b510ac888c Drop myself as MAINTAINER. 2010-04-15 20:51:23 +00:00
tez
886a7141c1 add patch for CVE-2010-0624 2010-03-23 22:42:17 +00:00
tez
42991b8a12 Update gtar to 1.23 - fixes CVE2010-0624
Also:
# Improved record size autodetection
# Use of lseek on seekable archives
# New command line option --warning
# New command line option --level
# Improved behavior if some files were removed during incremental dumps
# Modification times of PAX extended headers
# Time references in the --pax-option argument
# Augmented environment of the --to-command script
# Bugfixes:
    * Fix handling of hard link targets by -c --transform
    * Fix hard links recognition with -c --remove-files
    * Fix restoring files from backup (debian bug #508199)
    * Correctly restore modes and permissions on existing directories
    * The --remove-files option removes files only if they were succesfully stored in the archive
    * Fix storing and listing of the volume labels in POSIX format
    * Improve algorithm for splitting long file names (ustar format)
2010-03-23 19:00:10 +00:00
joerg
ffbd8f8506 Pick up maintainership. 2010-03-21 16:50:41 +00:00
joerg
f437aa9680 Apply patches from PR 34941 to match prototype and implementatio w.r.t
static.
2010-03-21 16:35:01 +00:00
wiz
5a532b436c Reset maintainer, developer lost his commit bit. 2010-03-21 16:29:38 +00:00
wiz
a1ce3ccc49 Fix detection of available memory. From Ryu ONODERA in PR 42969.
Bump PKGREVISION.
2010-03-20 19:46:14 +00:00