diff options
author | marino <marino@FreeBSD.org> | 2014-11-05 00:57:20 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-11-05 00:57:20 +0800 |
commit | 6db4252081f8a2356eb0a27cb92c0be7752e8ef5 (patch) | |
tree | 9cea7fd84befdb65b169d6d9be50c19d7fc1b4cb | |
parent | ed95111a380858360fb3893bab0b4f96d1bac5ba (diff) | |
download | freebsd-ports-gnome-6db4252081f8a2356eb0a27cb92c0be7752e8ef5.tar.gz freebsd-ports-gnome-6db4252081f8a2356eb0a27cb92c0be7752e8ef5.tar.zst freebsd-ports-gnome-6db4252081f8a2356eb0a27cb92c0be7752e8ef5.zip |
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.
-rw-r--r-- | archivers/Makefile | 1 | ||||
-rw-r--r-- | archivers/atool/Makefile | 18 | ||||
-rw-r--r-- | archivers/atool/distinfo | 2 | ||||
-rw-r--r-- | archivers/atool/files/patch-configure | 11 | ||||
-rw-r--r-- | archivers/atool/pkg-descr | 12 | ||||
-rw-r--r-- | archivers/atool/pkg-plist | 14 |
6 files changed, 58 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile index 4c3c7d35cf18..377698da9af9 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -9,6 +9,7 @@ SUBDIR += arc SUBDIR += arj SUBDIR += ark + SUBDIR += atool SUBDIR += bicom SUBDIR += bzip SUBDIR += bzip2 diff --git a/archivers/atool/Makefile b/archivers/atool/Makefile new file mode 100644 index 000000000000..8a3c34c82f86 --- /dev/null +++ b/archivers/atool/Makefile @@ -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> diff --git a/archivers/atool/distinfo b/archivers/atool/distinfo new file mode 100644 index 000000000000..8400cfea7d6b --- /dev/null +++ b/archivers/atool/distinfo @@ -0,0 +1,2 @@ +SHA256 (atool-0.39.0.tar.gz) = aaf60095884abb872e25f8e919a8a63d0dabaeca46faeba87d12812d6efc703b +SIZE (atool-0.39.0.tar.gz) = 119307 diff --git a/archivers/atool/files/patch-configure b/archivers/atool/files/patch-configure new file mode 100644 index 000000000000..3460043639a9 --- /dev/null +++ b/archivers/atool/files/patch-configure @@ -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 diff --git a/archivers/atool/pkg-descr b/archivers/atool/pkg-descr new file mode 100644 index 000000000000..451cd1eb4564 --- /dev/null +++ b/archivers/atool/pkg-descr @@ -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/ diff --git a/archivers/atool/pkg-plist b/archivers/atool/pkg-plist new file mode 100644 index 000000000000..4f3837b76aae --- /dev/null +++ b/archivers/atool/pkg-plist @@ -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 |