Commit graph

20 commits

Author SHA1 Message Date
taca
59018eacc2 Update ruby-zip to 1.2.1.
v1.2.1

* Add accessor to @internal_file_attributes #304
* Extended globbing #303
* README updates #283, #289
* Cleanup after tests #298, #306
* Fix permissions on new zip files #294, #300
* Fix examples #297
* Support cp932 encoding #308
* Fix Directory traversal vulnerability #315
* Allow open_buffer to work without a given block #314
2017-03-11 15:34:46 +00:00
taca
0471a0304a Update rubyzip to 1.2.0.
* Don't enable JRuby objectspace #252
* Fixes an exception thrown when decoding some weird .zip files #248
* Use duck typing with IO methods #244
* Added error for empty (zero bit) zip file #242
* Accept StringIO in Zip.open_buffer #238
* Do something more expected with new file permissions #237
* Case insensitivity option for #find_entry #222
* Fixes in documentation and examples
2016-03-08 13:50:17 +00:00
agc
7ef3a4270a Add SHA512 digests for distfiles for archivers category
Problems found with existing distfile for eagle:
	distfiles/bicom101.zip
	distfiles/szip-2.1nb3/szip-2.1.tar.gz
	distfiles/xmill-0.9.1.tar.gz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 00:56:19 +00:00
taca
6f78459028 Allow build on Ruby 2.2. 2015-06-12 22:57:42 +00:00
sevan
12df864fec Add Ruby 2.2 to RUBY_VERSION_SUPPORTED 2015-05-17 12:57:18 +00:00
taca
51ab3b85b8 Update ruby-zip to 1.1.7.
1.1.7

* Fix UTF-8 support for comments
* Zip.sort_entries working for zip output
* Prevent tempfile path from being unlinked by garbage collection
* NTFS Extra Field (0x000a) support
* Use String#tr instead of String#gsub
* Ability to not show warning about incorrect date
* Be smarter about handling buffer file modes.
* Support for Traditional Encryption (ZipCrypto)
2015-02-03 13:37:45 +00:00
taca
13b54bfc96 Update ruby-zip to 1.1.6.
1.1.6

    Revert "Return created zip file from Zip::File.open when supplied a block"

1.1.5

    Treat empty file as non-exists (@layerssss)
    Revert regression commit
    Return created zip file from Zip::File.open when supplied a block (@tpickett66)
    Zip::Entry::DEFLATED is forced on every file (@mehmetc)
    Add InputStream#ungetc (@zacstewart)
    Alias for legacy error names (@orien)
2015-02-01 12:46:24 +00:00
rodent
9127574a20 Some package i'm working on needs this >=1.0.0. Since nothing depends on it,
i don't see this update breaking anything. rubygems says that package requires
ruby>=1.9.2, so removing 1.8 from supported versions. This package needs to be
renamed to ruby-rubyzip, because there is a ruby-zip which is not this package.
From Changelog.md:

1.1.4

    Don't send empty string to stream (@mrloop)
    Zip::Entry::DEFLATED was forced on every file (@mehmetc)
    Alias for legacy error names (@orien)

1.1.3

    Fix compatibility of ::OutputStream::write_buffer (@orien)
    Clean up tempfiles from output stream (@iangreenleaf)

1.1.2

    Fix compatibility of ::Zip::File.write_buffer

1.1.1

    Speedup deflater (@loadhigh)
    Less Arrays and Strings allocations (@srawlins)
    Fix Zip64 writting support (@mrjamesriley)
    Fix StringIO support (@simonoff)
    Posibility to change default compression level
    Make Zip64 write support optional via configuration

1.1.0

    StringIO Support
    Zip64 Support
    Better jRuby Support
    Order of files in the archive can be sorted
    Other small fixes

1.0.0

    Removed support for Ruby 1.8
    Changed the API for gem. Now it can be used without require param in Gemfile.
    Added read-only support for Zip64 files.
    Added support for setting Unicode file names.
2014-06-20 02:09:43 +00:00
taca
28a274a68a Update ruby-zip to 0.9.9.
= Version 0.9.9

Added support for backslashes in zip files (generated by the default Windows
zip packer for example) and comment sections with the comment length set to zero
even though there is actually a comment.
2012-07-31 13:44:30 +00:00
taca
81cbca8001 Update ruby-zip package to 0.9.8.
pkgsrc change: Update HOMEPAGE.

= Version 0.9.8

Fixed: "Unitialized constant NullInputStream" error
2012-04-28 13:55:58 +00:00
taca
1a70abe4d5 Update ruby-zip package to 0.9.6.1.
Exact changes are unknown.
2012-03-18 09:10:21 +00:00
taca
942c660c73 Update ruby-zip package to 0.9.5.
Exact changes are unknown.
2011-12-14 17:01:13 +00:00
taca
415c07db85 Add fix for Ruby 1.9 from http://gist.github.com/611956.
Bump PKGREVISION.
2010-10-06 12:27:24 +00:00
taca
5c9b531482 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
joerg
d6ab8f9691 Don't create documentation diectory 2009-06-14 18:03:11 +00:00
joerg
e209761d06 Remove @dirrm entries from PLISTs 2009-06-14 17:28:16 +00:00
jlam
49044b1ec2 Install as a gem using the pkgsrc rubygem.mk framework instead of
directly into site_ruby.
2008-04-04 15:30:00 +00:00
rillig
40c18f0881 Made the package definition simpler and fixed pkglint -Wall warnings. 2007-03-08 19:26:41 +00:00
taca
6da3cd9ae1 Update ruby-zip package to 0.9.1.
Also install some documents and examples.

= Version 0.9.1

Added symlink support and support for unix file permissions. Reduced
memory usage during decompression.

New methods ZipFile::[follow_symlinks, restore_times, restore_permissions, restore_ownership].
New methods ZipEntry::unix_perms, ZipInputStream::eof?.
Added documentation and test for new ZipFile::extract.
Added some of the API suggestions from sf.net #1281314.
Applied patch for sf.net bug #1446926.
Applied patch for sf.net bug #1459902.
Rework ZipEntry and delegate classes.
2007-01-28 15:18:48 +00:00
minskim
190ad9ab87 Import ruby-zip.
rubyzip is a ruby module for reading and writing zip files.
2006-03-30 03:16:48 +00:00