summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authortaca <taca>2017-03-13 16:05:01 +0000
committertaca <taca>2017-03-13 16:05:01 +0000
commit3aa8dffa2b0b120f410431b8e740873e72fd6361 (patch)
treec01ff29200e3fc3dabf77198ec049b855d87f21e /archivers
parente81883bcefb36e4fb0ef3607139787eb4c3fbfb9 (diff)
downloadpkgsrc-3aa8dffa2b0b120f410431b8e740873e72fd6361.tar.gz
Add ruby-minitar 0.6.1.
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.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/ruby-minitar/DESCR22
-rw-r--r--archivers/ruby-minitar/Makefile12
-rw-r--r--archivers/ruby-minitar/PLIST27
-rw-r--r--archivers/ruby-minitar/distinfo6
4 files changed, 67 insertions, 0 deletions
diff --git a/archivers/ruby-minitar/DESCR b/archivers/ruby-minitar/DESCR
new file mode 100644
index 00000000000..64a353b061d
--- /dev/null
+++ b/archivers/ruby-minitar/DESCR
@@ -0,0 +1,22 @@
+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.
diff --git a/archivers/ruby-minitar/Makefile b/archivers/ruby-minitar/Makefile
new file mode 100644
index 00000000000..6c50383133e
--- /dev/null
+++ b/archivers/ruby-minitar/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2017/03/13 16:05:01 taca Exp $
+
+DISTNAME= minitar-0.6.1
+CATEGORIES= archivers
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/halostatue/minitar/
+COMMENT= Pure-Ruby library to deal with POSIX tar(1) archive files
+LICENSE= ruby-license OR 2-clause-bsd
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/ruby-minitar/PLIST b/archivers/ruby-minitar/PLIST
new file mode 100644
index 00000000000..8986b498312
--- /dev/null
+++ b/archivers/ruby-minitar/PLIST
@@ -0,0 +1,27 @@
+@comment $NetBSD: PLIST,v 1.1 2017/03/13 16:05:01 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/Code-of-Conduct.md
+${GEM_LIBDIR}/Contributing.md
+${GEM_LIBDIR}/History.md
+${GEM_LIBDIR}/Licence.md
+${GEM_LIBDIR}/Manifest.txt
+${GEM_LIBDIR}/README.rdoc
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/docs/bsdl.txt
+${GEM_LIBDIR}/docs/ruby.txt
+${GEM_LIBDIR}/lib/archive-tar-minitar.rb
+${GEM_LIBDIR}/lib/archive/tar/minitar.rb
+${GEM_LIBDIR}/lib/archive/tar/minitar/input.rb
+${GEM_LIBDIR}/lib/archive/tar/minitar/output.rb
+${GEM_LIBDIR}/lib/archive/tar/minitar/posix_header.rb
+${GEM_LIBDIR}/lib/archive/tar/minitar/reader.rb
+${GEM_LIBDIR}/lib/archive/tar/minitar/writer.rb
+${GEM_LIBDIR}/lib/minitar.rb
+${GEM_LIBDIR}/test/minitest_helper.rb
+${GEM_LIBDIR}/test/support/tar_test_helpers.rb
+${GEM_LIBDIR}/test/test_tar_header.rb
+${GEM_LIBDIR}/test/test_tar_input.rb
+${GEM_LIBDIR}/test/test_tar_output.rb
+${GEM_LIBDIR}/test/test_tar_reader.rb
+${GEM_LIBDIR}/test/test_tar_writer.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/archivers/ruby-minitar/distinfo b/archivers/ruby-minitar/distinfo
new file mode 100644
index 00000000000..1274c23b71c
--- /dev/null
+++ b/archivers/ruby-minitar/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/03/13 16:05:01 taca Exp $
+
+SHA1 (minitar-0.6.1.gem) = 5e2c3938cb6bb3e0d76682e08eed774ccb2f5328
+RMD160 (minitar-0.6.1.gem) = 7b352a7cb83af2a2054296e6ff7f84692bc18366
+SHA512 (minitar-0.6.1.gem) = e8a4acd8c831ef587d9571376ae111454faba1d6d4db5c88f2087c84d3dbb5487cdcac8ad47c5f717e195262b95040a9ee72cdaeaad23715b8a1270baec6ec70
+Size (minitar-0.6.1.gem) = 29184 bytes