aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/rubygem-minitar-cli/Makefile23
-rw-r--r--archivers/rubygem-minitar-cli/distinfo3
-rw-r--r--archivers/rubygem-minitar-cli/pkg-descr12
4 files changed, 39 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index 5704793aa8b1..a8c43a49d349 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -193,6 +193,7 @@
SUBDIR += rubygem-fpm
SUBDIR += rubygem-libarchive
SUBDIR += rubygem-minitar
+ SUBDIR += rubygem-minitar-cli
SUBDIR += rubygem-ruby-xz
SUBDIR += rubygem-rubyzip
SUBDIR += rubygem-rubyzip2
diff --git a/archivers/rubygem-minitar-cli/Makefile b/archivers/rubygem-minitar-cli/Makefile
new file mode 100644
index 000000000000..2790cca94437
--- /dev/null
+++ b/archivers/rubygem-minitar-cli/Makefile
@@ -0,0 +1,23 @@
+# Created by: Steve Wills <swills@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= minitar-cli
+PORTVERSION= 0.6.1
+CATEGORIES= archivers rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Library and command-line utility for tar archives
+
+LICENSE= BSD3CLAUSE RUBY
+LICENSE_COMB= dual
+LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/docs/bsdl.txt
+LICENSE_FILE_RUBY= ${WRKSRC}/docs/ruby.txt
+
+NO_ARCH= yes
+USE_RUBY= yes
+USES= gem
+
+PLIST_FILES= bin/minitar
+
+.include <bsd.port.mk>
diff --git a/archivers/rubygem-minitar-cli/distinfo b/archivers/rubygem-minitar-cli/distinfo
new file mode 100644
index 000000000000..f226a7b67f2a
--- /dev/null
+++ b/archivers/rubygem-minitar-cli/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1496573796
+SHA256 (rubygem/minitar-cli-0.6.1.gem) = 8a285008c8f61fb7f4b8471479661000903fb3cc4de336d314d863360769c735
+SIZE (rubygem/minitar-cli-0.6.1.gem) = 17408
diff --git a/archivers/rubygem-minitar-cli/pkg-descr b/archivers/rubygem-minitar-cli/pkg-descr
new file mode 100644
index 000000000000..78e9ce004b45
--- /dev/null
+++ b/archivers/rubygem-minitar-cli/pkg-descr
@@ -0,0 +1,12 @@
+The minitar (previously called Archive::Tar::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 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.
+
+WWW: https://github.com/halostatue/minitar