diff --git a/archivers/Makefile b/archivers/Makefile index 7898d6ed415a..f55acb656125 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -231,6 +231,7 @@ SUBDIR += rubygem-libarchive SUBDIR += rubygem-minitar SUBDIR += rubygem-minitar-cli + SUBDIR += rubygem-minitar-cli0 SUBDIR += rubygem-minitar0 SUBDIR += rubygem-ruby-xz SUBDIR += rubygem-rubyzip diff --git a/archivers/rubygem-minitar-cli0/Makefile b/archivers/rubygem-minitar-cli0/Makefile new file mode 100644 index 000000000000..3b0a862ced69 --- /dev/null +++ b/archivers/rubygem-minitar-cli0/Makefile @@ -0,0 +1,28 @@ +PORTNAME= minitar-cli +PORTVERSION= 0.12 +CATEGORIES= archivers rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 0 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Library and command-line utility for tar archives +WWW= https://github.com/halostatue/minitar-cli + +LICENSE= BSD2CLAUSE RUBY +LICENSE_COMB= dual +LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/docs/bsdl.txt +LICENSE_FILE_RUBY= ${WRKSRC}/docs/ruby.txt + +RUN_DEPENDS= rubygem-minitar0>=${PORTVERSION}.0<0.13:archivers/rubygem-minitar0 \ + rubygem-powerbar>=1.0<2:devel/rubygem-powerbar + +USES= gem + +NO_ARCH= yes + +PORTSCOUT= limit:^0\. + +post-install: + ${RM} ${STAGEDIR}${PREFIX}/bin/minitar + +.include diff --git a/archivers/rubygem-minitar-cli0/distinfo b/archivers/rubygem-minitar-cli0/distinfo new file mode 100644 index 000000000000..d49fcd158ed1 --- /dev/null +++ b/archivers/rubygem-minitar-cli0/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1724084672 +SHA256 (rubygem/minitar-cli-0.12.gem) = 667e17bff71baf3d0c4c4998d4e51c21fcdccf6c8a4c945efade6fede2559bb5 +SIZE (rubygem/minitar-cli-0.12.gem) = 17408 diff --git a/archivers/rubygem-minitar-cli0/pkg-descr b/archivers/rubygem-minitar-cli0/pkg-descr new file mode 100644 index 000000000000..62d782c3d85c --- /dev/null +++ b/archivers/rubygem-minitar-cli0/pkg-descr @@ -0,0 +1,10 @@ +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.