BSD Ports

archivers/ruby-minitar 1.0.2 NetBSD

Pure-Ruby library to deal with POSIX tar(1) archive files

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
ruby-license OR 2-clause-bsd
Categories
archivers, ruby
Package size
76.7 KiB, 231.3 KiB installed

Description

The minitar library is a pure-Ruby library that provides the ability to deal with POSIX tar(1) archive files.

This is release 0.6, providing a number of bug fixes including a directory traversal vulnerability, CVE-2016-10173. This release starts the migration and modernization of the code:

* the licence has been changed to match the modern Ruby licensing scheme (Ruby and Simplified BSD instead of Ruby and GNU GPL); * the +minitar+ command-line program has been separated into the +minitar-cli+ gem; and * the +archive-tar-minitar+ gem now points to the +minitar+ and +minitar-cli+ gems and discourages its installation.

Some of these changes may break existing programs that depend on the internal structure of the minitar library, but every effort has been made to ensure compatibility; inasmuch as is possible, this compatibility will be maintained through the release of minitar 1.0 (which will have strong breaking changes).

minitar (previously called Archive::Tar::Minitar) is based heavily on code originally written by Mauricio Julio Fern\u{e1}ndez Pradier for the rpa-base project.

In the other systems

SystemPortVersion
NetBSDarchivers/ruby-minitar1.0.2
OpenBSDarchivers/ruby-minitar1.1.0

Install

Binary package:

pkgin install ruby33-minitar

From pkgsrc:

cd /usr/pkgsrc/archivers/ruby-minitar && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.0.2
NetBSD 10.1 aarch641.0.2
SmartOS / illumos x86_641.0.2
macOS 15 arm641.0.2

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-minitar-1.0.2, ruby40-minitar-1.0.2