pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/archivers/ruby-zip



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Mar 15 15:52:07 UTC 2020

Modified Files:
        pkgsrc/archivers/ruby-zip: Makefile PLIST distinfo

Log Message:
archivers/ruby-zip: update to 2.3.0

Update ruby-zip to 2.3.0.

pkgsrc change: Add "USE_LANGUAGES=      # none".

2.0.0 (2019-09-25)

Security

* Default the validate_entry_sizes option to true, so that callers can
  trust an entry's reported size when using extract #403

  o This option defaulted to false in 1.3.0 for backward compatibility,
    but it now defaults to true.  If you are using an older version of
    ruby and can't yet upgrade to 2.x, you can still use 1.3.0 and set the
    option to true.

Tooling / Documentation

* Remove test files from the gem to avoid problems with antivirus
  detections on the test files #405 / #384
* Drop support for unsupported ruby versions #406

2.1.0 (2020-01-25)

* Fix (at least partially) the restore_times and restore_permissions
  options to Zip::File.new #413

  o Previously, neither option did anything, regardless of what it was set
    to.  We have therefore defaulted them to false to preserve the current
    behavior, for the time being.  If you have explicitly set either to
    true, it will now have an effect.
  o Fix handling of UniversalTime (mtime, atime, ctime) fields. #421
  o Previously, Zip::File did not pass the options to Zip::Entry in some
    cases.  #423
  o Note that restore_times in this release does nothing on Windows and
    only restores mtime, not atime or ctime.

* Allow Zip::File.open to take an options hash like Zip::File.new #418

* Always print warnings with warn, instead of a mix of puts and warn #416

* Create temporary files in the system temporary directory instead of the
  directory of the zip file #411

* Drop unused tmpdir requirement #411

Tooling

* Move CI to xenial and include jruby on JDK11 #419

2.2.0 (2020-02-01)

* Add support for decompression plugin gems #427

2.3.0 (2020-03-14)

* Fix frozen string literal error #431
* Set OutputStream.write_buffer's buffer to binmode #439
* Upgrade rubocop and fix various linting complaints #437 #440

Tooling:

* Add a bin/console script for development #420
* Update rake requirement (development dependency only) to fix a security
  alert.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/archivers/ruby-zip/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/archivers/ruby-zip/PLIST
cvs rdiff -u -r1.18 -r1.19 pkgsrc/archivers/ruby-zip/distinfo

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

Modified files:

Index: pkgsrc/archivers/ruby-zip/Makefile
diff -u pkgsrc/archivers/ruby-zip/Makefile:1.20 pkgsrc/archivers/ruby-zip/Makefile:1.21
--- pkgsrc/archivers/ruby-zip/Makefile:1.20     Mon Mar  9 00:36:23 2020
+++ pkgsrc/archivers/ruby-zip/Makefile  Sun Mar 15 15:52:07 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2020/03/09 00:36:23 taca Exp $
+# $NetBSD: Makefile,v 1.21 2020/03/15 15:52:07 taca Exp $
 
-DISTNAME=      rubyzip-1.3.0
+DISTNAME=      rubyzip-2.3.0
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby//}
 CATEGORIES=    archivers
 
@@ -9,6 +9,8 @@ HOMEPAGE=       https://github.com/aussiegeek/
 COMMENT=       Ruby module for reading and writing zip files
 LICENSE=       ruby-license
 
+USE_LANGUAGES= # none
+
 pre-configure:
        ${CHMOD} -R -x ${WRKSRC}/Rakefile ${WRKSRC}/lib/zip/*.rb
 

Index: pkgsrc/archivers/ruby-zip/PLIST
diff -u pkgsrc/archivers/ruby-zip/PLIST:1.14 pkgsrc/archivers/ruby-zip/PLIST:1.15
--- pkgsrc/archivers/ruby-zip/PLIST:1.14        Sat Jun 15 03:05:44 2019
+++ pkgsrc/archivers/ruby-zip/PLIST     Sun Mar 15 15:52:07 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2019/06/15 03:05:44 taca Exp $
+@comment $NetBSD: PLIST,v 1.15 2020/03/15 15:52:07 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/README.md
 ${GEM_LIBDIR}/Rakefile
@@ -7,6 +7,7 @@ ${GEM_LIBDIR}/lib/zip.rb
 ${GEM_LIBDIR}/lib/zip/central_directory.rb
 ${GEM_LIBDIR}/lib/zip/compressor.rb
 ${GEM_LIBDIR}/lib/zip/constants.rb
+${GEM_LIBDIR}/lib/zip/crypto/decrypted_io.rb
 ${GEM_LIBDIR}/lib/zip/crypto/encryption.rb
 ${GEM_LIBDIR}/lib/zip/crypto/null_encryption.rb
 ${GEM_LIBDIR}/lib/zip/crypto/traditional_encryption.rb
@@ -47,78 +48,4 @@ ${GEM_LIBDIR}/samples/gtk_ruby_zip.rb
 ${GEM_LIBDIR}/samples/qtzip.rb
 ${GEM_LIBDIR}/samples/write_simple.rb
 ${GEM_LIBDIR}/samples/zipfind.rb
-${GEM_LIBDIR}/test/basic_zip_file_test.rb
-${GEM_LIBDIR}/test/case_sensitivity_test.rb
-${GEM_LIBDIR}/test/central_directory_entry_test.rb
-${GEM_LIBDIR}/test/central_directory_test.rb
-${GEM_LIBDIR}/test/crypto/null_encryption_test.rb
-${GEM_LIBDIR}/test/crypto/traditional_encryption_test.rb
-${GEM_LIBDIR}/test/data/WarnInvalidDate.zip
-${GEM_LIBDIR}/test/data/file1.txt
-${GEM_LIBDIR}/test/data/file1.txt.deflatedData
-${GEM_LIBDIR}/test/data/file2.txt
-${GEM_LIBDIR}/test/data/globTest.zip
-${GEM_LIBDIR}/test/data/globTest/foo.txt
-${GEM_LIBDIR}/test/data/globTest/foo/bar/baz/foo.txt
-${GEM_LIBDIR}/test/data/globTest/food.txt
-${GEM_LIBDIR}/test/data/gpbit3stored.zip
-${GEM_LIBDIR}/test/data/mimetype
-${GEM_LIBDIR}/test/data/notzippedruby.rb
-${GEM_LIBDIR}/test/data/ntfs.zip
-${GEM_LIBDIR}/test/data/oddExtraField.zip
-${GEM_LIBDIR}/test/data/path_traversal/Makefile
-${GEM_LIBDIR}/test/data/path_traversal/jwilk/README.md
-${GEM_LIBDIR}/test/data/path_traversal/jwilk/absolute1.zip
-${GEM_LIBDIR}/test/data/path_traversal/jwilk/absolute2.zip
-${GEM_LIBDIR}/test/data/path_traversal/jwilk/dirsymlink.zip
-${GEM_LIBDIR}/test/data/path_traversal/jwilk/dirsymlink2a.zip
-${GEM_LIBDIR}/test/data/path_traversal/jwilk/dirsymlink2b.zip
-${GEM_LIBDIR}/test/data/path_traversal/jwilk/relative0.zip
-${GEM_LIBDIR}/test/data/path_traversal/jwilk/relative2.zip
-${GEM_LIBDIR}/test/data/path_traversal/jwilk/symlink.zip
-${GEM_LIBDIR}/test/data/path_traversal/relative1.zip
-${GEM_LIBDIR}/test/data/path_traversal/tilde.zip
-${GEM_LIBDIR}/test/data/path_traversal/tuzovakaoff/README.md
-${GEM_LIBDIR}/test/data/path_traversal/tuzovakaoff/absolutepath.zip
-${GEM_LIBDIR}/test/data/path_traversal/tuzovakaoff/symlink.zip
-${GEM_LIBDIR}/test/data/rubycode.zip
-${GEM_LIBDIR}/test/data/rubycode2.zip
-${GEM_LIBDIR}/test/data/test.xls
-${GEM_LIBDIR}/test/data/testDirectory.bin
-${GEM_LIBDIR}/test/data/zip64-sample.zip
-${GEM_LIBDIR}/test/data/zipWithDirs.zip
-${GEM_LIBDIR}/test/data/zipWithEncryption.zip
-${GEM_LIBDIR}/test/deflater_test.rb
-${GEM_LIBDIR}/test/encryption_test.rb
-${GEM_LIBDIR}/test/entry_set_test.rb
-${GEM_LIBDIR}/test/entry_test.rb
-${GEM_LIBDIR}/test/errors_test.rb
-${GEM_LIBDIR}/test/extra_field_test.rb
-${GEM_LIBDIR}/test/file_extract_directory_test.rb
-${GEM_LIBDIR}/test/file_extract_test.rb
-${GEM_LIBDIR}/test/file_permissions_test.rb
-${GEM_LIBDIR}/test/file_split_test.rb
-${GEM_LIBDIR}/test/file_test.rb
-${GEM_LIBDIR}/test/filesystem/dir_iterator_test.rb
-${GEM_LIBDIR}/test/filesystem/directory_test.rb
-${GEM_LIBDIR}/test/filesystem/file_mutating_test.rb
-${GEM_LIBDIR}/test/filesystem/file_nonmutating_test.rb
-${GEM_LIBDIR}/test/filesystem/file_stat_test.rb
-${GEM_LIBDIR}/test/gentestfiles.rb
-${GEM_LIBDIR}/test/inflater_test.rb
-${GEM_LIBDIR}/test/input_stream_test.rb
-${GEM_LIBDIR}/test/ioextras/abstract_input_stream_test.rb
-${GEM_LIBDIR}/test/ioextras/abstract_output_stream_test.rb
-${GEM_LIBDIR}/test/ioextras/fake_io_test.rb
-${GEM_LIBDIR}/test/local_entry_test.rb
-${GEM_LIBDIR}/test/output_stream_test.rb
-${GEM_LIBDIR}/test/pass_thru_compressor_test.rb
-${GEM_LIBDIR}/test/pass_thru_decompressor_test.rb
-${GEM_LIBDIR}/test/path_traversal_test.rb
-${GEM_LIBDIR}/test/samples/example_recursive_test.rb
-${GEM_LIBDIR}/test/settings_test.rb
-${GEM_LIBDIR}/test/test_helper.rb
-${GEM_LIBDIR}/test/unicode_file_names_and_comments_test.rb
-${GEM_LIBDIR}/test/zip64_full_test.rb
-${GEM_LIBDIR}/test/zip64_support_test.rb
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec

Index: pkgsrc/archivers/ruby-zip/distinfo
diff -u pkgsrc/archivers/ruby-zip/distinfo:1.18 pkgsrc/archivers/ruby-zip/distinfo:1.19
--- pkgsrc/archivers/ruby-zip/distinfo:1.18     Mon Mar  9 00:36:23 2020
+++ pkgsrc/archivers/ruby-zip/distinfo  Sun Mar 15 15:52:07 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.18 2020/03/09 00:36:23 taca Exp $
+$NetBSD: distinfo,v 1.19 2020/03/15 15:52:07 taca Exp $
 
-SHA1 (rubyzip-1.3.0.gem) = 21fb7d9976f0968f9e981618f5734c330b130cc7
-RMD160 (rubyzip-1.3.0.gem) = e1c788a015d567491986604a216473721caa9da2
-SHA512 (rubyzip-1.3.0.gem) = d340d5ce69e449ce0f874f9f023fd72287d70cd15507b27a2b09192c1314433b738568469ad474aba05fcced4b9149740ee75046f619744373d4d104bf80f9c9
-Size (rubyzip-1.3.0.gem) = 154624 bytes
+SHA1 (rubyzip-2.3.0.gem) = d5c05d30436ecb24b57150e6100479755df731cd
+RMD160 (rubyzip-2.3.0.gem) = c9fb1549b359e02ce7b70c8d5deaf82c1c208fb0
+SHA512 (rubyzip-2.3.0.gem) = 6c13c5ae766320b0fb74c9de64f5c18d39c9a24725d39571a1c4ed61d559bd97c658cdbf876b7e2a3c0077b67e5407e689952b9a1addc6d655b431eb8146ad8a
+Size (rubyzip-2.3.0.gem) = 40448 bytes



Home | Main Index | Thread Index | Old Index