summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2011-10-21 21:41:09 +0000
committerryoon <ryoon@pkgsrc.org>2011-10-21 21:41:09 +0000
commite20138a854b5fbbc78a0a87471e80f669193e9fc (patch)
tree8d56621b99c5645329b020ae16450f4132e566e5 /archivers
parent9eba5dc70e71dbd1d9f131709ee01030c840ba35 (diff)
downloadpkgsrc-e20138a854b5fbbc78a0a87471e80f669193e9fc.tar.gz
Import zutils-0.9 as archivers/zutils
Zutils is a collection of utilities able to deal with any combination of compressed and non-compressed files transparently. If any given file, including standard input, is compressed, its decompressed content is used. Compressed files are decompressed on the fly; no temporary files are created. These utilities are not wrapper scripts but safer and more efficient C++ programs. In particular the "--recursive" option is very efficient in those utilities supporting it. The provided utilities are: Zcat - Decompresses and copies files to standard output. Zcmp - Decompresses and compares two files byte by byte. Zdiff - Decompresses and compares two files line by line. Zgrep - Decompresses and searches files for a regular expression. Ztest - Tests integrity of compressed files.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/zutils/DESCR14
-rw-r--r--archivers/zutils/Makefile23
-rw-r--r--archivers/zutils/PLIST15
-rw-r--r--archivers/zutils/distinfo5
4 files changed, 57 insertions, 0 deletions
diff --git a/archivers/zutils/DESCR b/archivers/zutils/DESCR
new file mode 100644
index 00000000000..0251309d196
--- /dev/null
+++ b/archivers/zutils/DESCR
@@ -0,0 +1,14 @@
+Zutils is a collection of utilities able to deal with any combination
+of compressed and non-compressed files transparently. If any given
+file, including standard input, is compressed, its decompressed
+content is used. Compressed files are decompressed on the fly; no
+temporary files are created. These utilities are not wrapper scripts
+but safer and more efficient C++ programs. In particular the
+"--recursive" option is very efficient in those utilities supporting it.
+
+The provided utilities are:
+Zcat - Decompresses and copies files to standard output.
+Zcmp - Decompresses and compares two files byte by byte.
+Zdiff - Decompresses and compares two files line by line.
+Zgrep - Decompresses and searches files for a regular expression.
+Ztest - Tests integrity of compressed files.
diff --git a/archivers/zutils/Makefile b/archivers/zutils/Makefile
new file mode 100644
index 00000000000..bf73252de68
--- /dev/null
+++ b/archivers/zutils/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/10/21 21:41:09 ryoon Exp $
+#
+
+DISTNAME= zutils-0.9
+CATEGORIES= archivers
+MASTER_SITES= http://download.savannah.gnu.org/releases/zutils/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.nongnu.org/zutils/zutils.html
+COMMENT= Utilities able to deal with any combination of compressed and non-compressed files
+LICENSE= gnu-gpl-v3
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS+= --prefix=${PREFIX}
+CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
+CONFIGURE_ARGS+= --infodir=${PREFIX}/info
+USE_LANGUAGES= c++
+
+INFO_FILES= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/zutils/PLIST b/archivers/zutils/PLIST
new file mode 100644
index 00000000000..57519eaa11f
--- /dev/null
+++ b/archivers/zutils/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/10/21 21:41:09 ryoon Exp $
+bin/zcat
+bin/zcmp
+bin/zdiff
+bin/zegrep
+bin/zfgrep
+bin/zgrep
+bin/ztest
+bin/zutils
+info/zutils.info
+man/man1/zcat.1
+man/man1/zcmp.1
+man/man1/zdiff.1
+man/man1/zgrep.1
+man/man1/ztest.1
diff --git a/archivers/zutils/distinfo b/archivers/zutils/distinfo
new file mode 100644
index 00000000000..cef7df666d6
--- /dev/null
+++ b/archivers/zutils/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/10/21 21:41:09 ryoon Exp $
+
+SHA1 (zutils-0.9.tar.gz) = 69ecf5632c73fc67d5387e0b4e2f429d960e2648
+RMD160 (zutils-0.9.tar.gz) = 59187ba1fa821e3d8314f036f0c39f287b5db595
+Size (zutils-0.9.tar.gz) = 66382 bytes