1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Add new port archivers/atool

PR:		194082
Submitted by:	Matteo Cypriani

atool is a script for managing file archives of various types (tar,
tar+gzip, zip, etc.). It provides the following commands:

  * aunpack: extract an archive, avoiding tar bombs
  *     als: list the contents of an archive
  *    acat: extract files to the standard output
  *   apack: create an archive

Optional dependencies: lbzip2 or pbzip2, lzip, plzip, lzop, lzma, zip,
unzip, unrar, lha, unace, arj, arc, nomarch, p7zip, unalz.
This commit is contained in:
John Marino 2014-11-04 16:57:20 +00:00
parent 1e03c74b0f
commit cea8b47d65
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372154
6 changed files with 58 additions and 0 deletions

View File

@ -9,6 +9,7 @@
SUBDIR += arc
SUBDIR += arj
SUBDIR += ark
SUBDIR += atool
SUBDIR += bicom
SUBDIR += bzip
SUBDIR += bzip2

18
archivers/atool/Makefile Normal file
View File

@ -0,0 +1,18 @@
# Created by: Matteo Cypriani <mcy@lm7.fr>
# $FreeBSD$
PORTNAME= atool
PORTVERSION= 0.39.0
CATEGORIES= archivers
MASTER_SITES= SAVANNAH
MAINTAINER= mcy@lm7.fr
COMMENT= Manage file archives of various types
LICENSE= GPLv2
GNU_CONFIGURE= yes
USES= gmake perl5
USE_PERL5= build run
.include <bsd.port.mk>

2
archivers/atool/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (atool-0.39.0.tar.gz) = aaf60095884abb872e25f8e919a8a63d0dabaeca46faeba87d12812d6efc703b
SIZE (atool-0.39.0.tar.gz) = 119307

View File

@ -0,0 +1,11 @@
--- configure.orig 2012-02-21 18:14:06 UTC
+++ configure
@@ -2261,7 +2261,7 @@
eval `$PERL -V:startperl`
-if test "${startperl:0:1}" = "#" ; then
+if test "$(echo ${startperl} | awk '{ string=substr($0, 1, 1); print string; }')" = "#" ; then
startperl="\\$startperl"
fi
PERL_SHEBANG=$startperl

12
archivers/atool/pkg-descr Normal file
View File

@ -0,0 +1,12 @@
atool is a script for managing file archives of various types (tar,
tar+gzip, zip, etc.). It provides the following commands:
* aunpack: extract an archive, avoiding tar bombs
* als: list the contents of an archive
* acat: extract files to the standard output
* apack: create an archive
Optional dependencies: lbzip2 or pbzip2, lzip, plzip, lzop, lzma, zip,
unzip, unrar, lha, unace, arj, arc, nomarch, p7zip, unalz.
WWW: http://www.nongnu.org/atool/

14
archivers/atool/pkg-plist Normal file
View File

@ -0,0 +1,14 @@
bin/acat
bin/adiff
bin/als
bin/apack
bin/arepack
bin/atool
bin/aunpack
man/man1/acat.1.gz
man/man1/adiff.1.gz
man/man1/als.1.gz
man/man1/apack.1.gz
man/man1/arepack.1.gz
man/man1/atool.1.gz
man/man1/aunpack.1.gz