summaryrefslogtreecommitdiff
path: root/archivers/ruby-xz
AgeCommit message (Collapse)AuthorFilesLines
2022-04-03archivers/ruby-xz: update to 1.0.3taca2-7/+6
1.0.3 (2022-03-28) * *Fix* a number of memory leaks by freeing allocated liblzma data structures (Issue Quintus#20 reported by xTRiM, PR win93#7 by Alex Gittemeier)
2022-01-14archivers/ruby-xz: drop dependency to ruby-fiddletaca1-3/+2
Now devel/ruby-fiddle is part of ruby*-base package. Bump PKGREVISION.
2021-12-05archivers/ruby-xz: update to 1.0.2taca2-7/+7
1.0.2 (2021-11-28) * Fix a deprecation warning and some other gemspec concerns (PR win93#6 by Alex Gittemeier)
2021-11-20archivers/ruby-xz: update to 1.0.1taca2-7/+6
1.0.1 (2021-11-13) * Fix a buffer overflow error in XZ::Stream (PR Quintus#17 by genail) * Fix an issue with transcode_options that was introduced by Ruby 3 (PR win93#1 by Alex Gittemeier) * Update project README, gemspec, and other metadata to reflect a change in maintainership. All prior releases were released by Marvin Gülker.
2021-10-26archivers: Replace RMD160 checksums with BLAKE2s checksumsnia1-2/+2
All checksums have been double-checked against existing RMD160 and SHA512 hashes.
2021-10-07archivers: Remove SHA1 distfiles hashesnia1-2/+1
2020-04-25archivers/ruby-xz: remove redundant SUBST blockrillig1-7/+1
2020-03-23archivers/ruby-xz: allow build with ruby27taca1-3/+1
Allow build with Ruby 2.7.
2019-05-23all: replace SUBST_SED with the simpler SUBST_VARSrillig1-2/+2
pkglint -Wall -r --only "substitution command" -F With manual review and indentation fixes since pkglint doesn't get that part correct in every case.
2019-04-15*: remove references to ruby 2.3wiz1-2/+2
2019-02-03Allow Ruby 2.6 to build.taca1-2/+2
2018-09-27ruby-xz: needs ruby 2.3.0 or highertnn1-1/+3
2018-09-23archivers/ruby-xz: update to 1.0.0taca4-27/+11
== 1.0.0 (2018-05-20) * *BreakingChange* The XZ module's methods now take any parameters beyond the IO object as real Ruby keyword arguments rather than a long argument list. * *BreakingChange* XZ.decompress_stream now honours Ruby's external and internal encoding concept instead of just returning BINARY-tagged strings. * *BreakingChange* Remove deprecated API on stream reader/writer class and instead sync the API with Ruby's zlib library (Ticket #12 by me). * *BreakingChange* StreamWriter.new and StreamReader.new do not accept a block anymore. This is part of syncing with Ruby's zlib API. * *BreakingChange* StreamReader.open and StreamWriter.open always return the new instance, even if a block is given to the method (previous behaviour was to return the return value of the block). This is part of the syncing with Ruby's zlib API. * *BreakingChange* StreamReader.new and StreamWriter.new as well as the ::open variants take additional arguments as real Ruby keyword arguments now instead of a long parameter list plus options hash. This is different from Ruby's own zlib API as that one takes both a long parameter list and a hash of additional options. ruby-xz is meant to follow zlib's semantics mostly, but not as a drop-in replacement, so this divergence from zlib's API is okay (also given that it isn't possible to replicate all possible options 1:1 anyway, since liblzma simply accepts different options as libz). If you've never used these methods' optional arguments, you should be fine. * *BreakingChange* Stream#close now returns nil instead of the number of bytes written. This syncs Stream#close with Ruby's own IO#close, which also returns nil. * *BreakingChange* Remove Stream#pos=, Stream#seek, Stream#stat. These methods irritated the minitar gem, which doesn't expect them to raise NotImplementedError, but directly to be missing if the object does not support seeking. * *BreakingChange* StreamReader and StreamWriter now honour Ruby's encoding system instead of returning only BINARY-tagged strings. * *Dependency* Remove dependency on ffi. ruby-xz now uses fiddle from the stdlib instead. * *Dependency* Remove dependency on io-like. ruby-xz now implements all the IO mechanics itself. (Ticket #10 by me) * *Dependency* Bump required Ruby version to 2.3.0. * *Fix* libzlma.dylib not being found on OS X (Ticket #15 by s0nspark).
2016-01-03Update ruby-xz to 0.2.3.taca3-9/+11
== 0.2.3 (2015-12-29) * *Fix* documentation of XZ module (a :nodoc: was causing havoc in the XZ module so it appeared to have no methods). * No other changes this release. == 0.2.2 (2015-12-27) * *Add* XZ.disable_deprecation_notices * *Deprecate* use of XZ::StreamReader.open with an IO argument * *Deprecate* use of XZ::StreamReader.new with a filename argument * *Deprecate* use of XZ::StreamWriter.open with an IO argument * *Deprecate* use of XZ::StreamWriter.new with a filename argument * *Deprecate* nonautomatic IO close in XZ::StreamReader#close * *Deprecate* nonautomatic IO close in XZ::StreamWriter#close * *Fix* incompatibility with Resolv.getaddress() in Ruby 2.2 (Ticket #13 by Ken Simon) * Goal of these deprecations is to sync the API with Ruby’s own Zlib::GzipWriter and Zlib::GzipReader mostly. * Add required versions to gemspec. * Comment format cleanup, results in better docs. * Internal code cleanup * Add more tests.
2015-11-25Remove mk/find-prefix.mk usage from the archivers category.jperkin1-4/+2
The find-prefix infrastructure was required in a pkgviews world where packages installed from pkgsrc could have different installation prefixes, and this was a way for a dependency prefix to be determined. Now that pkgviews has been removed there is no longer any need for the overhead of this infrastructure. Instead we use BUILDLINK_PREFIX.pkg for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the dependency is coming from pkgsrc. Provides a reasonable performance win due to the reduction of `pkg_info -qp` calls, some of which were redundant anyway as they were duplicating the same information provided by BUILDLINK_PREFIX.pkg.
2015-11-03Add SHA512 digests for distfiles for archivers categoryagc1-1/+2
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-05-31This package is built with ruby22.taca1-3/+1
2015-03-01Update ruby-xz to 0.2.1.taca4-30/+19
0.2.1 (2014-02-08) * Build the gem properly on Ruby 2.0+ (PR #8 by Nana Sakisaka (saki7)) * Release the GIL when interfacing with liblzma (PR #7 by Lars Christensen * (larsch)) 0.2.0 (2013-06-23) * Fix #6 (errors on JRuby) by Ben Nagy * Remove 1.8 compatibility
2013-11-13Let ruby-xz use a full filename in loading a library.minskim3-5/+6
2012-09-11"user-destdir" is default these daysasau1-3/+1
2012-03-20Oops, forgot to update distinfo.taca1-2/+2
2012-03-20Update ruby-xz package to 0.1.1.taca5-25/+31
== 0.1.0 * <b>Add XZ::StreamReader and XZ::StreamWriter for io-like behaviour.</b> * New dependency on the +io-like+ gem. * <b>Add Ruby 1.8 compatibility.</b> Thanks to Christoph Plank. * We now have proper unit tests.
2011-11-12- s/RUBY_VERSION_REQD/RUBY_VERSION_SUPPORTED/taca1-2/+2
- ALlow build with ruby193.
2011-11-11Move LICENSE up where it belongs. Remove duplicate PKG_DESTDIR_SUPPORT.joerg1-4/+2
2011-11-11Supports user-destdirjoerg1-1/+3
2011-11-07Set PKG_DEDTDIR_SUPPORT for ruby-xz.minskim1-1/+3
2011-10-08ruby-xz requires ruby19-base.minskim1-2/+3
2011-10-03Import ruby19-xz-0.0.1 as archivers/ruby-xz.minskim5-0/+66
ruby-xz is a basic binding for liblzma that allows you to create and extract XZ-compressed archives. It can cope with big files as well as small ones, but doesn't offer much of the possibilities liblzma itself has.