pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
atool: Update packaging from PR pkg/52545
Module Name: pkgsrc-wip
Committed By: Matteo Cypriani <mcy%lm7.fr@localhost>
Pushed By: mcy
Date: Fri Sep 22 13:51:17 2017 -0400
Changeset: 149060baa8f715aed13e4bf988de42e3e23c15ec
Modified Files:
atool/DESCR
atool/Makefile
atool/distinfo
Added Files:
atool/TODO
atool/patches/patch-configure
Log Message:
atool: Update packaging from PR pkg/52545
Update atool packaging with my own version (already submitted as PR
pkg/52545). Notable changes are:
- Set myself as the maintainer. The initial commiter seems to be MIA,
and MAINTAINER was pkgsrc-users@ anyway.
- Improved DESC and COMMENT.
- Fixed LICENSE (the GPLv3 text is in the tarball, but the copyright
notices in the files themselves state "GPLv2+").
- Dropped build-dependency on bash (but added patch-configure).
- Added TODO (package ready).
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=149060baa8f715aed13e4bf988de42e3e23c15ec
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
atool/DESCR | 21 ++++++++++++---------
atool/Makefile | 14 +++++++-------
atool/TODO | 1 +
atool/distinfo | 2 ++
atool/patches/patch-configure | 14 ++++++++++++++
5 files changed, 36 insertions(+), 16 deletions(-)
diffs:
diff --git a/atool/DESCR b/atool/DESCR
index 00da7d1946..76a6b08c4d 100644
--- a/atool/DESCR
+++ b/atool/DESCR
@@ -1,10 +1,13 @@
-A set of tools for managing file archives of various types (tar,
-tar+gzip, zip etc).
+atool is a script for managing file archives of various types (tar,
+tar+gzip, zip, etc.). It provides the following commands:
-aunpack: extracts files from an archive
-apack: creates archives (or compresses files). If no file arguments are
-specified, filenames to add are read from standard in.
-als: lists files in an archive
-acat: extracts files in an archive to standard out
-adiff: generates a diff between two archives
-arepack: repacks archives to a different format
+
+ * aunpack: extract an archive, avoiding tar bombs
+ * apack: create archives or compressed files
+ * als: list the contents of an archive
+ * acat: extract to the standard output
+ * adiff: generate a diff between two archives
+ * arepack: repack archives to a different format
+
+Optional dependencies: lbzip2 or pbzip2, lzip, plzip, lzop, lzma, zip,
+unzip, unrar, lha, unace, arj, arc, nomarch, p7zip, unalz.
diff --git a/atool/Makefile b/atool/Makefile
index dad5750b7f..1eb1875a36 100644
--- a/atool/Makefile
+++ b/atool/Makefile
@@ -4,14 +4,14 @@ DISTNAME= atool-0.39.0
CATEGORIES= archivers
MASTER_SITES= http://savannah.nongnu.org/download/atool/
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://www.nongnu.org/atool
-COMMENT= Script for managing various archives
-LICENSE= gnu-gpl-v3
+MAINTAINER= mcy%lm7.fr@localhost
+HOMEPAGE= http://www.nongnu.org/atool/
+COMMENT= Manage file archives of various types
+LICENSE= gnu-gpl-v2
-USE_TOOLS+= perl gmake bash
GNU_CONFIGURE= yes
-USE_LANGUAGES= # none
-CONFIG_SHELL= bash
+USE_LANGUAGES= # none (perl)
+USE_TOOLS+= gmake perl
+REPLACE_PERL= atool
.include "../../mk/bsd.pkg.mk"
diff --git a/atool/TODO b/atool/TODO
new file mode 100644
index 0000000000..48e68cd112
--- /dev/null
+++ b/atool/TODO
@@ -0,0 +1 @@
+Package ready for review/import.
diff --git a/atool/distinfo b/atool/distinfo
index 4878a3bb97..b6220e510b 100644
--- a/atool/distinfo
+++ b/atool/distinfo
@@ -2,4 +2,6 @@ $NetBSD: distinfo,v 1.1 2013/05/11 16:20:39 slitvinov Exp $
SHA1 (atool-0.39.0.tar.gz) = 40865bdc533f95fcaffdf8002889eb2ac67224a9
RMD160 (atool-0.39.0.tar.gz) = ca067ba295ff2ad11dc1c9147a13f8a1becaf078
+SHA512 (atool-0.39.0.tar.gz) = 2011c13f510a140e71d26f9eac60d07f2cb9004dc278303fd37c5c7f78a6a2366ad9193e7b4e015d9fba8218c59205a6339189ae4775b0afc42328f9607524d3
Size (atool-0.39.0.tar.gz) = 119307 bytes
+SHA1 (patch-configure) = f7e4c5a07a9886f1ed4eb49f53523bd9bd0643f6
diff --git a/atool/patches/patch-configure b/atool/patches/patch-configure
new file mode 100644
index 0000000000..5edf61a138
--- /dev/null
+++ b/atool/patches/patch-configure
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Fix bad substitution in configure.
+--- configure.orig 2012-02-21 18:14:06 UTC
++++ configure
+@@ -2261,7 +2261,7 @@ fi
+
+
+ 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
Home |
Main Index |
Thread Index |
Old Index