aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-09-30 13:01:19 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-09-30 13:36:22 +0000
commitcbed221150ad442dc7710781d25ec6dafd64ed26 (patch)
tree548e2da568c1d4b15980f5c9a1c052fd6e7e8c0a /archivers
parentea9b4b0ada3744a043d8e091b45163f483b2cd1b (diff)
downloadports-cbed221150ad442dc7710781d25ec6dafd64ed26.tar.gz
ports-cbed221150ad442dc7710781d25ec6dafd64ed26.zip
archivers/rubygem-minitar-cli0: Add rubygem-minitar-cli0 0.12 (copied from rubygem-minitar-cli)
- Change RUN_DEPENDS from rubygem-minitar to rubygem-minitar0 - Add PORTSCOUT
Diffstat (limited to 'archivers')
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/rubygem-minitar-cli0/Makefile28
-rw-r--r--archivers/rubygem-minitar-cli0/distinfo3
-rw-r--r--archivers/rubygem-minitar-cli0/pkg-descr10
4 files changed, 42 insertions, 0 deletions
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 <bsd.port.mk>
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.