Commit graph

1695 commits

Author SHA1 Message Date
drochner
99c052495c update to 2.28.2
changes:
-bugfixes
-translation updates
2009-12-16 17:22:19 +00:00
heinz
78b66daee1 Software needs at least gcc 3.4 to compile and link.
With gcc 3.3.3 (from NetBSD/i386 3.1) there are problems with
undefined references to LZMA_CRC32_TABLE and LZMA_CRC64_TABLE in crc32.S
and crc64_x86.S.
2009-12-13 23:48:15 +00:00
wiz
6a2183a87b Add buildlink3.mk file for R. (hi adam!). 2009-12-13 13:26:17 +00:00
sno
76a475e56b Reworking patches to avoid gnu-ld's --export-dynamic flag for environments
without gnu-ld
2009-11-29 20:40:08 +00:00
sno
2bbc7fbbe0 Apply patches to compile on AIX 2009-11-22 20:35:25 +00:00
heinz
26b04f8bd6 Added LICENSE according to WRKSRC/DOCS/License.txt 2009-11-18 19:32:05 +00:00
wiz
aeaa3e74d4 Enable unicode support. Bump PKGREVISION. 2009-11-01 18:55:12 +00:00
joerg
f656633a39 Retire archivers/zip1. It was originally needed because zip didn't
include the encryption support, but that has been addressed ages ago.
2009-11-01 14:24:32 +00:00
heinz
339e61f438 Added missing requirement for p5-Package-Constants. 2009-10-31 03:50:35 +00:00
tnn
13766d41f5 Force extraction with pkgsrc's unzip on NetBSD, due to:
unzip: Unsupported ZIP compression method (imploded)
2009-10-29 20:45:23 +00:00
drochner
6a92903c5f update to 2.28.1
This switches to the gnome-2.28 release branch.
2009-10-21 18:03:19 +00:00
sno
6e1cc5db6d fix typo 2009-10-11 15:33:27 +00:00
ahoka
dfb15b7513 Missed this patch in my last unzip commit. 2009-09-19 07:46:56 +00:00
ahoka
c067c9941d Force pkgsrc's unzip so we can actually list archive content on
NetBSD 5.99.16 with unzip in base.
2009-09-19 07:46:12 +00:00
sketch
e56a5dcdfe Allow assembler to be disabled completely and do so with sunpro. 2009-09-18 14:01:32 +00:00
sketch
c4da4f35b5 Explicitly disable assembler when using sunpro, it can't handle it. 2009-09-18 13:18:54 +00:00
obache
3be6faa7ff include both inttypes.h and stdint.h. patch taken from upstream r897.
Fixes build failure on SUA 6.0.
2009-09-16 06:55:45 +00:00
zafer
dad4b955f7 update master_sites. remove ftp.uni-koeln.de. file has been removed. 2009-09-14 22:08:21 +00:00
tron
3ac7a54592 Disable assembler code under Mac OS X Snow Leopard to fix build failure. 2009-09-13 13:11:56 +00:00
sno
4195e51811 Updating archivers/p5-Archive-Tar from 1.52 to 1.54
Upstream changes:
* important changes in version 1.54 10/09/2009
- Apply a patch from Niko Tyni (ntyni@debian.org) that resolves RT #48879;

    As seen in [rt.cpan.org #48879], although the recommended way of
    retrieving the last error is to use an instance method ($tar->error),
    the returned value is effectively global: an error in one Archive::Tar
    instance changes the error string of another instance.

    This change separates the error strings from each other while keeping
    the (deprecated) global value of $Archive::Tar::error pointing to the
    last error regardless of its instance.

    We also support calling error() as a class method (Archive::Tar->error).
    In this case it returns the global value, which matches the old behaviour.
2009-09-12 19:48:08 +00:00
wiz
882564e4f0 Reformat, was badly cut-n-pasted. 2009-09-06 15:50:41 +00:00
wiz
7b48a92683 Fix build on NetBSD-4.0/i386. Patches from Robert Elz in PR 41963.
(Also sent upstream.)
2009-09-04 16:57:14 +00:00
wiz
1933037d30 Remove lzma-utils, use xz instead. 2009-08-31 09:28:39 +00:00
wiz
bedb5e1a31 Update to 4.999.9beta:
XZ Utils 4.999.9beta was released on 2009-08-27. Among many less
important changes, this release fixes a data corruption in the
compression code.  (The bug was specific to XZ Utils and was not
present in 7-Zip or LZMA SDK.) Everyone using an older version of
XZ Utils should upgrade.

This is the last beta release before XZ Utils 5.0.0. No big changes
are planned before the first stable release.
2009-08-31 08:59:11 +00:00
dsainty
d225a0b080 Patch zip's Makefile to pass LDFLAGS at link time to include Pkgsrc's run time
link path.  Required for finding non-builtin bzip2 library.

Bump PKGREVISION, since the problem only comes to light at run time.
2009-08-30 22:52:58 +00:00
wiz
6e762d4b30 Update to 3.0, add dependency on bzip2. New features in 3.0:
- Large files.  Support for files and archives greater than 2 GB using
  large file I/O and the Zip64 extensions.  Also can now have more
  than 64K entries in an archive.

- Split archives.  Zip now supports split archives, zip archives
  split into a set of files that can then be stored on removable media
  for instance.

- Unicode.  If Unicode support is enabled and supported on the system
  Zip is run on, Zip now can read paths not in the current character
  set and store those paths in portable UTF-8 format.  These Unicode
  paths can then be used to partially or fully recreate the paths on
  other systems depending on the character set support provided by
  the unzip on the receiving system.  In particular, this allows
  portability of paths between Windows and Unix.  Unicode comments
  are also supported on systems where UTF-8 is the current character
  set.  Unicode comment support for other systems is expected in
  Zip 3.1.

- New command line parser.  This new parser allows for command line
  permuting, where options can appear almost anywhere on the command
  line.  This allows adding options to the end of the command line,
  for instance.  It also supports long options, allowing for
  more readable command lines, and also allows lists for the -x
  exclude and -i include options to appear not just at the end of
  the command line.  And some bugs in command line processing in
  Zip 2.32 have been fixed.

- Unix 32-bit UIDs/GIDs.  Now UIDs/GIDs larger than 16 bits are
  supported, but UnZip 6.0 is needed to restore these larger
  UIDs/GIDs.  If Zip detects that the current system does not use
  16-bit UIDs/GIDs, the old 16-bit UID/GID storage is not used
  as putting 32-bit UIDs/GIDs into 16-bit fields can cause
  problems.

- New modes.  Additional archive modes have been added, including a
  difference mode for supporting incremental backups, a file sync
  mode for synchronizing an existing archive with the current file
  system (which can be much faster than creating a new archive), and
  a copy mode that allows copying entries from one archive to another.

- Compression using bzip2.  Now can add bzip2 compression as a
  compression option in Zip.  bzip2 compression can result in much
  more compact entries in some cases, but the user should verify
  that bzip2 is supported on the target unzip before using this new
  compression choice.

- New Windows dll.  The Windows dll has been updated to support the
  new Zip64 large file and larger number of entries limits.  This
  new dll is not backward compatible with the Zip 2.32 dll, as the
  arguments to the dll have been updated to support the added
  capabilities, but modifying existing programs to use the new dll
  should be simple.  See the included Visual Basic example project
  for details.

- Better streaming and piping.  Zip now has better support of
  streaming and piping and handles Unix FIFOs (named pipes) better.

- Gobs of new progress information.  Zip can now output progress
  information, such as how many entries processed and to go, how
  many bytes processed and to go, and adjustable size progress
  dots.  If the initial file scan takes longer than about 5
  seconds, Zip now outputs dots during the scan to avoid a long
  period of quiet.  Zip can also now generate log files.

- Updated archive fixing.  The archive fixing capability is
  slightly improved, and now can fix split archives.

- Windows Archive bit support.  The Windows archive bit is now
  supported, though the new difference mode is probably more
  reliable than relying on the Windows archive bit for creating
  incremental backups.

- File lists.  Zip can list the files that would be added to an
  archive as well as the files in an existing archive.

- Extended help.  A new extended help option lists a very terse
  summary of the major features of Zip and how to use them.

- Many bug fixes.
2009-08-26 22:33:15 +00:00
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
obache
adc54f5ed1 Marked as CONFLICT each other, both package contains lib/liblzma.{a,so}.
Noticed by Jukka Salmi in pkgsrc-users@.
2009-08-23 09:23:28 +00:00
wiz
dacb527287 Update to 1.22:
version 1.22 - Sergey Poznyakoff, 2009-03-05

* Support for xz compression

Tar uses xz for compression if one of the following conditions is met:

 1. The option --xz or -J (see below) is used.
 2. The xz binary is set as compressor using --use-compress-program option.
 3. The file name of the archive being created ends in `.xz' and
 auto-compress option (-a) is used.

Xz is used for decompression if one of the following conditions is met:

 1. The option --xz or -J is used.
 2. The xz binary is set as compressor using --use-compress-program option.
 3. The file is recognized as xz compressed stream data.

* Short option -J reassigned as a short equivalent of --xz

* New option -I

The -I option is assigned as a short equivalent for
--use-compress-program.

* The --no-recursive option works in incremental mode.


version 1.21 - Sergey Poznyakoff, 2008-12-27

* New short option -J

A shortcut for --lzma.

* New option --lzop

* New option --no-auto-compress

Cancels the effect of previous --auto-compress (-a) option.

* New option --no-null

Cancels the effect of previous --null option.

* Compressed format recognition

If tar is unable to determine archive compression format, it falls
back to using archive suffix to determine it.

* VCS support.

Using --exclude-vcs handles also files used internally by Bazaar,
Mercurial and Darcs.

* Transformation scope flags

Name transformation expressions understand additional flags that
control type of archive members affected by them.  The flags are:

 - r
   Apply transformation to regular archive members.

 - s
   Apply transformation to symbolic link targets.

 - h
   Apply transformation to hard link targets.

Corresponding upper-case letters negate the meaning, so that
`H' means ``do not apply transformation to hard link targets.''

The scope flags are listed in the third part of an `s' expression,
e.g.:

   tar --transform 's|^|/usr/local/|S'

Default is `rsh', which means that transformations are applied to
both regular archive members and to the targets of symbolic and hard
links.  If several transform expressions are used, the default flags
can be changed using `flags=' statement before the expressions, e.g.:

   tar --transform 'flags=S;s|^|/usr/local/|S'

* Bugfixes

** The --null option disabled handling of tar options in list files.  This
is fixed.
** Fixed record size autodetection.  If detected record size differs from
the expected value (either default, or set on the command line), tar
always prints a warning if verbosity level is set to 1 or greater,
i.e. if either -t or -v option is given.
2009-08-16 13:53:32 +00:00
christos
1803a55512 update to 3.9.5 2009-08-15 15:30:06 +00:00
dsainty
7216e7e6ae Update php-zip from version 1.0 to version 1.8.10. This appears to be the
last version that can build under both www/php4 and lang/php5, since version
1.9.0 and 1.10.1 both require PCRE support in the PHP engine, which Pkgsrc
php4 seems to build without.

Changes since version 1.0:

1.8.10
  - Fixed build, missing macro

1.8.9
  - Fixed a possible crash in the event directory cannot be created, due to a
    double free. (Ilia)

1.8.8
  - PECL bug #10414, Fixed macros name in stream
  - Fixed possible leak when open_basedir checks fail in extractTo (Ilia)

1.8.7
  - Add missing openbasedir or safemode (php 5.x and 4.x) checks in zip://
    stream or ZipArchive::open
  - Fixed possible relative path issues in zip_open and TS mode (old API)
  - rename SAFEMODE_CHECKFILE to OPENBASEDIR_CHECKPATH (no confusion when used
    wiht php6)

1.8.6
  - Fixed possible leaks in zip_read() and zip_entry_read (old API)
  - Fixed leak when an entry is 0 bytes length in ZipArchive::getFrom*()
    methods
  - Use snprintf instead sprintf (Ilia, Marcus)
  - Add examples images and odt in release

1.8.5
  - Fixed leaks happening on error (Nuno Lopes)
  - PHP bug #40228, extractTo does not create recursive empty path
    (empty1/empty2/)

1.8.4
  - Use phplibdir in config.m4 (for lib64 or other custom location)
  - Add path length sanity checks (Ilia, Tony)
  - Update year, happy new year

1.8.3
  - Fixed threadsafe issue with localtime function, it uses now the php
    php_localtime_r (Ron Korving, Ilia)

1.8.2
  - restore compatibility with php 5.1.0 to 5.1.2 (other versions are not
    affected)

1.8.1
  - PECL #9278, Binary access issues on Windows in any SAPI but CGI, CLI and
    embed (windows API does not respect "b" mode given to fopen)
  - Fixed a possible leak in the entries managements (Nuno Lopes)
  - createEmptyDir returns true one success
  - Use static for each internal functions when possible (Nuno Lopes)
  - Update protos in the sources

1.8.0
  - Fixed a possible leak in statName and statIndex
  - Added zipArchive::adEmptyDir() method, creates an empty directory
  - Fixed setComment when used with a freshly added entry
  - setComment now returns the expected value (boolean) (Hannes)

1.7.5
  - PECL Bug #9082, wrong entry name like "a/b//file.txt" cannot be extracted
    on windows A "bug" in php mkdir was the cause, a work around has been
    introduced for php versions before 5.2.0

1.7.4
  - PHP Bug #38943, properties in extended class cannot be set
  - PHP Bug #38944, freshly created archive has no comment or cdir

1.7.3
  - PECL Bug #8700, zipArchive::getFromIndex fails
  - PECL Bug #8676, zipArchive::addFile was not updated and still used
    VCWD_REALPATH, it now uses expand_filename
  - Fixed wrong internal types for comment lenghts, does not affect userland
    script (Nuno Lopes)

1.7.2
  - Previous release was broken in non threaded environment.  This release
    works smoothly in threaded and non threaded.  Thanks to "FamilleCollet dot
    com" (Fedora-Extra maintainer for the head up)

1.7.1
  - Fix issues with relative path in threaded environment, VCWD_REALPATH is
    used in ZipArchive::open() and ::addFile

1.7.0
  - Add ZIPARCHIVE::OVERWRITE mode for ::open(), creates a new archive and
    write over an existing file
  - locateName do not change anymore the state, it can now be used to test an
    entry
  - fix possilbe crashes when two entries with the same name have been added
  - Enhanced safemode support
  - fix builds against php 6.0 (HEAD)
  - fix compiler warning (Ilia, Tony)
  - cleanup phpinfo() output (Ilia)

1.6.0
  - Rename Class Zip to ZipArchive, required to be bundled in php 5.2.0 (Zip
    being a ZipCode in US), making the role of this class more obvious *Gah*

1.5.0
  - bring consistency to the method names:
  - rename zip::delete() to deleteIndex()
  - add zip::deleteName()
  - rename zip::statPath to zip::statName()
  - rename zip::rename to zip::renameIndex()
  - add zip::renameName();
  - add zip::locateName(), returns the index of an entry, allows case
    insensitive or directory free lookup (ZIP::FL_NOCASE, ZIP::FL_NODIR)
  - add zip::unchangeName(), ::unchangeIndex(), unchangeAll() and
    unchangeArchive() revert changes to an entry, to all entries or the
    archive
  - add zip::getNameIndex(), get the name of the entry at the given position
  - Bug #7658, Modify zip archives causes corruption if the data descriptor is
    used (bit 3 of the general flags)
  - fix a bug when in the delete and rename methods when the index is lower
    than 1
  - zip::addFile() must return true on success
  - zip::open() returns now the error code on error and true on success

1.4.1
  - Add missing files in the package release

1.4.0
  - Add write mode to the archive comment (zip::comment property)
  - Add zip::setCommentName and ::setCommentIndex, add or remove entrie comment
  - Add zip::getCommentName and ::getCommentIndex, get an entrie comment
  - Add zip::setArchiveComment
  - Full sync with zip-0.7.1
  - #8009, modify archives on windows cannot be closed

1.3.1
  - #7500, Fix build with php 5.1.0, 5.1.1 and 5.1.2

1.3.0
  - Fix possible leak with __set/__get in classes extending the Zip intern
    object (tony2001[at]php.net)
  - Added getFromName(), return the contents of an entry using its name
  - Added getFromIndex(), return the contents of an entry using its index

1.2.3
  - #7214, use binary safe string as return value, 0x00 was considered as the
    end of the content, affected only the procedural API

1.2.2
  - fix a bug in internal zip_close, new archives were not written
  - ::open returns now false on error
  - update the "create.php" example, status and returned codes are now checked
  - fix a leak when the ::open method is called twice or more with the same
    object

1.2.1
  - fixed a possible build problem (mkstemp missing)
  - fix a bug where extending the Zip class does allow to write to a property,
    see php bugs #36743 (array)

1.2.0
  - enable stream by default,
    * use uri like zip:///path/to/my.zip#entryname.dat
    (the URI format may change in future version)
  - add support for print_r/var_dump (Zip object)
  - add tests for the OO (still need more)
  - add more example, like using xmlreader and zip stream to parse
    OpenDocument meta info

1.1.2
  - do not create empty file when a zip entry is only a directory (empty or
    not)

1.1.1
  - Fix PHP 5.1 detection at compiletie
  - fix possible build errors with gcc other than 4.0.x
  - add better zlib detection
  - "--with-zlib-dir=[DIR]" added

1.1.0
  - replace the old zip extensions
  - 100% compatible with the old API
  - added zip creation support (write mode)
  - added OO interface
  - Stream support, getStream method returns a file handler
  - bundled libzip and drop zzlib usage (see http://www.nih.at/libzip/)

1.0
  - Initial Release in PECL
2009-08-12 02:38:24 +00:00
zafer
1497828f48 Updated to 2.1.5. Added license.
ChangeLog:
Added 2008, 2009 to --license statement
Allow numeric parameter immediately after -p or -b
Enforce parameter after -p, -b, -s, before other options
Enforce numeric parameters to have only numeric digits
Try to determine the number of processors for -p default
Fix --suffix short option to be -S to match gzip [Bloch]
Decompress if executable named "unpigz" [Amundsen]
Add a little bit of testing to Makefile
2009-08-11 23:09:27 +00:00
zafer
a255c28214 remove master site www.engergyhq.es.eu.org. Doesn't resolve anymore. 2009-08-11 22:03:39 +00:00
wiz
2bed5d0a70 Actually add patch-aa. Www, permission problems. 2009-08-08 22:17:43 +00:00
wiz
6c2685302c fcrackzip was changed and does not conflict any longer. Adapt pattern. 2009-08-08 16:01:31 +00:00
wiz
28b98066f8 Rename zipinfo to fcrackzipinfo. Addresses PR 40113.
(Upstream didn't react.)

Bump PKGREVISION.
2009-08-08 16:00:58 +00:00
joerg
1f07e7d3f8 getline -> get_line 2009-08-06 13:54:03 +00:00
minskim
f272538cff Bump PKGREVISION because of BUILDLINK_ABI_DEPENDS.zziplib change. 2009-07-26 21:15:10 +00:00
minskim
06929d2747 Set BUILDLINK_ABI_DEPENDS.zziplib because of major number change. 2009-07-26 21:13:35 +00:00
drochner
c5b813c27b disable a makefile rule which creates nonsense symlinks,
as /usr/pkg/lib/libzzip*.so.10 -> libzzip*.so.13
2009-07-26 19:31:02 +00:00
minskim
e529d2a861 Update zziplib to 0.13.56.
Major change since 0.10.x:

There were some problematic zip files out there that can trigger
segfaults in 0.10.x.  Later zzip file decoders have extra checks and
helper routines for that.
2009-07-26 10:29:08 +00:00
wiz
d70523df21 Remove USE_DIRS from pkgsrc.
Shared directories can now be created independently by the pacakges
needing them and will be removed automatically by pkg_delete when empty.

Packages needing empty directories can use the @pkgdir command in PLIST.

Discussed and ok'd in thread starting at
http://mail-index.netbsd.org/tech-pkg/2009/06/30/msg003546.html
2009-07-22 09:01:16 +00:00
rillig
ed46b8e252 Fixed some pkglint warnings. 2009-07-17 04:47:27 +00:00
wiz
09e28f3a61 + lzip. 2009-07-15 08:37:45 +00:00
wiz
8a97cd61b5 Initial import of lzip-1.7:
Lzip is a lossless data compressor based on the LZMA algorithm, with
very safe integrity checking and a user interface similar to the one of
gzip or bzip2. Lzip decompresses almost as fast as gzip and compresses
better than bzip2, which makes it well suited for software distribution
and data archiving.
2009-07-15 08:36:48 +00:00
wiz
449e45383c + pigz. 2009-07-13 19:45:24 +00:00
wiz
7233e30dbf Initial import of pigz-2.1.4:
pigz, which stands for Parallel Implementation of GZip, is a fully
functional replacement for gzip that exploits multiple processors
and multiple cores to the hilt when compressing data.
2009-07-13 19:44:58 +00:00
drochner
8b7b7de7d4 update to 2.26.3
changes: bugfixes
2009-07-09 18:20:19 +00:00
sno
7240072b54 pkgsrc changes:
- Updating package for p5 module Archive::Zip from 1.26 to 1.30
  - Setting license according to META.yml to ${PERL5_LICENSE}

Upstream changes:
1.30 Tue 30 Jun 2009 - Adam Kennedy
	- Fixed a bad use of Cwd::getcwd

1.29 Mon 29 Jun 2009 - Adam Kennedy
	- Changed _asLocalName back to rel2abs, but this time using
	  Cwd::getcwd as the base path instead of Cwd::cwd.
	  This hopefully resolved #47223 (ADAMK)

1.28 Tue 16 Jun 2009 - Adam Kennedy
	- Changing to production version for release
	- Reverted to revision 4736 and converted `External File Attribute'
	  values for symbolic links to hexadecimal (HAGGAI)
	- Fixed: #15026: AddTree does not include files with german
	  umlauts in the filename (HAGGAI)
	- Switched from Compress::Zlib to Compress::Raw::Zlib (AGRUNDMA)
	- Moved crc32 from bin to script (ADAMK)

1.27_01 Tue 16 Dec 2008 - Adam Kennedy
	- Makefile.PL will create a better META.yml
	- This is a test release for various improvements provided by
	  Alan Haggai. The entire release is credited to his grant work.
	- Fixed #25726: extractMembers failing across fork on Windows.
	- Fixed #12493: Can't add new files to archives which contain
	  files named 0,1,2,3,4,5,6,7,8,9 with no extension.
	  (Files named "0" are not archived)
	- Fixed #22933: Properly extract symbolic links.
	- Fixed #20246: Ability to assign a compression level to addTree
	  calls.
	- Corrected regular expression for stripping trailing /
	- Corrected addFileOrDirectory() behaviour and cleaned up some code
	- Added symbolic link support to addFileOrDirectory
	- Fixed #34657: No option, undefined behavior zipping symbolic
	  links (symlinks)
	- Added storeSymbolicLink()
	- Fixed bitFlag() to set General Pupose Bit Flags
2009-07-07 19:10:05 +00:00
minskim
114ea28de8 Replace xz-utils with xz. 2009-07-07 11:09:51 +00:00