Merging upstream version 0.8~rc1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
7dfac6a74c
commit
94ef728d19
14 changed files with 35 additions and 50 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2009-12-01 Antonio Diaz Diaz <ant_diaz@teleline.es>
|
||||||
|
|
||||||
|
* Version 0.8-rc1 released.
|
||||||
|
* Removed environment safeguards from configure as requested by
|
||||||
|
Richard Stallman. Now environment variables affect configure.
|
||||||
|
|
||||||
2009-10-21 Antonio Diaz Diaz <ant_diaz@teleline.es>
|
2009-10-21 Antonio Diaz Diaz <ant_diaz@teleline.es>
|
||||||
|
|
||||||
* Version 0.7 released.
|
* Version 0.7 released.
|
||||||
|
|
8
NEWS
8
NEWS
|
@ -1,6 +1,4 @@
|
||||||
Changes in version 0.7:
|
Changes in version 0.8:
|
||||||
|
|
||||||
The new utility ztest, able to recursively test all the compressed files
|
Environment safeguards from configure have been removed. This allows
|
||||||
in a directory tree, has been added.
|
environment variables to affect configuration.
|
||||||
|
|
||||||
The option "--recursive" has been added to zcat.
|
|
||||||
|
|
41
configure
vendored
41
configure
vendored
|
@ -5,12 +5,12 @@
|
||||||
# This configure script is free software: you have unlimited permission
|
# This configure script is free software: you have unlimited permission
|
||||||
# to copy, distribute and modify it.
|
# to copy, distribute and modify it.
|
||||||
#
|
#
|
||||||
# Date of this version: 2009-10-21
|
# Date of this version: 2009-12-01
|
||||||
|
|
||||||
args=
|
args=
|
||||||
no_create=
|
no_create=
|
||||||
progname=zutils
|
progname=zutils
|
||||||
progversion=0.7
|
progversion=0.8-rc1
|
||||||
srctrigger=zdiff.in
|
srctrigger=zdiff.in
|
||||||
|
|
||||||
# clear some things potentially inherited from environment.
|
# clear some things potentially inherited from environment.
|
||||||
|
@ -24,15 +24,15 @@ datadir='$(prefix)/share'
|
||||||
infodir='$(datadir)/info'
|
infodir='$(datadir)/info'
|
||||||
mandir='$(datadir)/man'
|
mandir='$(datadir)/man'
|
||||||
sysconfdir='$(prefix)/etc'
|
sysconfdir='$(prefix)/etc'
|
||||||
CC=
|
|
||||||
CXX=
|
if [ -n "${CXX}" ] ; then args="${args} CXX=\"${CXX}\"" ; fi
|
||||||
CPPFLAGS=
|
if [ -n "${CPPFLAGS}" ] ; then args="${args} CPPFLAGS=\"${CPPFLAGS}\"" ; fi
|
||||||
CFLAGS='-Wall -W -O2'
|
if [ -n "${CXXFLAGS}" ] ; then args="${args} CXXFLAGS=\"${CXXFLAGS}\""
|
||||||
CXXFLAGS='-Wall -W -O2'
|
else CXXFLAGS='-Wall -W -O2' ; fi
|
||||||
LDFLAGS=
|
if [ -n "${LDFLAGS}" ] ; then args="${args} LDFLAGS=\"${LDFLAGS}\"" ; fi
|
||||||
|
|
||||||
# Loop over all args
|
# Loop over all args
|
||||||
while [ x"$1" != x ] ; do
|
while [ -n "$1" ] ; do
|
||||||
|
|
||||||
# Get the first arg, and shuffle
|
# Get the first arg, and shuffle
|
||||||
option=$1
|
option=$1
|
||||||
|
@ -62,10 +62,8 @@ while [ x"$1" != x ] ; do
|
||||||
echo " --infodir=DIR info files directory [${infodir}]"
|
echo " --infodir=DIR info files directory [${infodir}]"
|
||||||
echo " --mandir=DIR man pages directory [${mandir}]"
|
echo " --mandir=DIR man pages directory [${mandir}]"
|
||||||
echo " --sysconfdir=DIR read-only single-machine data directory [${sysconfdir}]"
|
echo " --sysconfdir=DIR read-only single-machine data directory [${sysconfdir}]"
|
||||||
echo " CC=COMPILER C compiler to use [gcc]"
|
|
||||||
echo " CXX=COMPILER C++ compiler to use [g++]"
|
echo " CXX=COMPILER C++ compiler to use [g++]"
|
||||||
echo " CPPFLAGS=OPTIONS command line options for the preprocessor [${CPPFLAGS}]"
|
echo " CPPFLAGS=OPTIONS command line options for the preprocessor [${CPPFLAGS}]"
|
||||||
echo " CFLAGS=OPTIONS command line options for the C compiler [${CFLAGS}]"
|
|
||||||
echo " CXXFLAGS=OPTIONS command line options for the C++ compiler [${CXXFLAGS}]"
|
echo " CXXFLAGS=OPTIONS command line options for the C++ compiler [${CXXFLAGS}]"
|
||||||
echo " LDFLAGS=OPTIONS command line options for the linker [${LDFLAGS}]"
|
echo " LDFLAGS=OPTIONS command line options for the linker [${LDFLAGS}]"
|
||||||
echo
|
echo
|
||||||
|
@ -92,10 +90,8 @@ while [ x"$1" != x ] ; do
|
||||||
--no-create | --no-c*)
|
--no-create | --no-c*)
|
||||||
no_create=yes ;;
|
no_create=yes ;;
|
||||||
|
|
||||||
CC=*) CC=${optarg} ;;
|
|
||||||
CXX=*) CXX=${optarg} ;;
|
CXX=*) CXX=${optarg} ;;
|
||||||
CPPFLAGS=*) CPPFLAGS=${optarg} ;;
|
CPPFLAGS=*) CPPFLAGS=${optarg} ;;
|
||||||
CFLAGS=*) CFLAGS=${optarg} ;;
|
|
||||||
CXXFLAGS=*) CXXFLAGS=${optarg} ;;
|
CXXFLAGS=*) CXXFLAGS=${optarg} ;;
|
||||||
LDFLAGS=*) LDFLAGS=${optarg} ;;
|
LDFLAGS=*) LDFLAGS=${optarg} ;;
|
||||||
|
|
||||||
|
@ -108,7 +104,7 @@ done
|
||||||
|
|
||||||
# Find the source files, if location was not specified.
|
# Find the source files, if location was not specified.
|
||||||
srcdirtext=
|
srcdirtext=
|
||||||
if [ x"${srcdir}" = x ] ; then
|
if [ -z "${srcdir}" ] ; then
|
||||||
srcdirtext="or . or .." ; srcdir=.
|
srcdirtext="or . or .." ; srcdir=.
|
||||||
if [ ! -r ${srcdir}/${srctrigger} ] ; then srcdir=.. ; fi
|
if [ ! -r ${srcdir}/${srctrigger} ] ; then srcdir=.. ; fi
|
||||||
if [ ! -r ${srcdir}/${srctrigger} ] ; then
|
if [ ! -r ${srcdir}/${srctrigger} ] ; then
|
||||||
|
@ -128,19 +124,8 @@ fi
|
||||||
# Set srcdir to . if that's what it is.
|
# Set srcdir to . if that's what it is.
|
||||||
if [ "`pwd`" = "`cd ${srcdir} ; pwd`" ] ; then srcdir=. ; fi
|
if [ "`pwd`" = "`cd ${srcdir} ; pwd`" ] ; then srcdir=. ; fi
|
||||||
|
|
||||||
# checking whether we are using GNU C.
|
|
||||||
if [ x"${CC}" = x ] ; then # Let the user override the test.
|
|
||||||
if [ -x /bin/gcc ] ||
|
|
||||||
[ -x /usr/bin/gcc ] ||
|
|
||||||
[ -x /usr/local/bin/gcc ] ; then
|
|
||||||
CC="gcc"
|
|
||||||
else
|
|
||||||
CC="cc"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# checking whether we are using GNU C++.
|
# checking whether we are using GNU C++.
|
||||||
if [ x"${CXX}" = x ] ; then # Let the user override the test.
|
if [ -z "${CXX}" ] ; then # Let the user override the test.
|
||||||
if [ -x /bin/g++ ] ||
|
if [ -x /bin/g++ ] ||
|
||||||
[ -x /usr/bin/g++ ] ||
|
[ -x /usr/bin/g++ ] ||
|
||||||
[ -x /usr/local/bin/g++ ] ; then
|
[ -x /usr/local/bin/g++ ] ; then
|
||||||
|
@ -176,10 +161,8 @@ echo "datadir = ${datadir}"
|
||||||
echo "infodir = ${infodir}"
|
echo "infodir = ${infodir}"
|
||||||
echo "mandir = ${mandir}"
|
echo "mandir = ${mandir}"
|
||||||
echo "sysconfdir = ${sysconfdir}"
|
echo "sysconfdir = ${sysconfdir}"
|
||||||
echo "CC = ${CC}"
|
|
||||||
echo "CXX = ${CXX}"
|
echo "CXX = ${CXX}"
|
||||||
echo "CPPFLAGS = ${CPPFLAGS}"
|
echo "CPPFLAGS = ${CPPFLAGS}"
|
||||||
echo "CFLAGS = ${CFLAGS}"
|
|
||||||
echo "CXXFLAGS = ${CXXFLAGS}"
|
echo "CXXFLAGS = ${CXXFLAGS}"
|
||||||
echo "LDFLAGS = ${LDFLAGS}"
|
echo "LDFLAGS = ${LDFLAGS}"
|
||||||
rm -f Makefile
|
rm -f Makefile
|
||||||
|
@ -201,10 +184,8 @@ datadir = ${datadir}
|
||||||
infodir = ${infodir}
|
infodir = ${infodir}
|
||||||
mandir = ${mandir}
|
mandir = ${mandir}
|
||||||
sysconfdir = ${sysconfdir}
|
sysconfdir = ${sysconfdir}
|
||||||
CC = ${CC}
|
|
||||||
CXX = ${CXX}
|
CXX = ${CXX}
|
||||||
CPPFLAGS = ${CPPFLAGS}
|
CPPFLAGS = ${CPPFLAGS}
|
||||||
CFLAGS = ${CFLAGS}
|
|
||||||
CXXFLAGS = ${CXXFLAGS}
|
CXXFLAGS = ${CXXFLAGS}
|
||||||
LDFLAGS = ${LDFLAGS}
|
LDFLAGS = ${LDFLAGS}
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
|
||||||
.TH ZCAT "1" "October 2009" "Zcat 0.7" "User Commands"
|
.TH ZCAT "1" "December 2009" "Zcat (zutils) 0.8-rc1" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
Zcat \- concatenate compressed files to stdout
|
Zcat \- concatenate compressed files to stdout
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
|
||||||
.TH ZDIFF "1" "October 2009" "Zdiff 0.7" "User Commands"
|
.TH ZDIFF "1" "December 2009" "Zdiff (zutils) 0.8-rc1" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
Zdiff \- compare compressed files
|
Zdiff \- compare compressed files
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
|
||||||
.TH ZGREP "1" "October 2009" "Zgrep 0.7" "User Commands"
|
.TH ZGREP "1" "December 2009" "Zgrep (zutils) 0.8-rc1" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
Zgrep \- search compressed files for a regular expression
|
Zgrep \- search compressed files for a regular expression
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
|
||||||
.TH ZTEST "1" "October 2009" "Ztest 0.7" "User Commands"
|
.TH ZTEST "1" "December 2009" "Ztest (zutils) 0.8-rc1" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
Ztest \- verify integrity of compressed files
|
Ztest \- verify integrity of compressed files
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|
BIN
doc/zutils.info
BIN
doc/zutils.info
Binary file not shown.
|
@ -5,8 +5,8 @@
|
||||||
@finalout
|
@finalout
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@set UPDATED 21 October 2009
|
@set UPDATED 1 December 2009
|
||||||
@set VERSION 0.7
|
@set VERSION 0.8-rc1
|
||||||
|
|
||||||
@dircategory Data Compression
|
@dircategory Data Compression
|
||||||
@direntry
|
@direntry
|
||||||
|
|
|
@ -18,7 +18,7 @@ ZFGREP="${objdir}"/zfgrep
|
||||||
ZTEST="${objdir}"/ztest
|
ZTEST="${objdir}"/ztest
|
||||||
ZUTILS="${objdir}"/zutils
|
ZUTILS="${objdir}"/zutils
|
||||||
compressors="bzip2 gzip lzip"
|
compressors="bzip2 gzip lzip"
|
||||||
extensions="gz bz2 lz"
|
extensions="bz2 gz lz"
|
||||||
framework_failure() { echo 'failure in testing framework'; exit 1; }
|
framework_failure() { echo 'failure in testing framework'; exit 1; }
|
||||||
compressor_needed() { echo "${compressors} are needed to run tests"; exit 1; }
|
compressor_needed() { echo "${compressors} are needed to run tests"; exit 1; }
|
||||||
|
|
||||||
|
|
4
zcat.in
4
zcat.in
|
@ -14,7 +14,7 @@ recursive=0
|
||||||
two_hyphens=0
|
two_hyphens=0
|
||||||
|
|
||||||
# Loop over args until a filename is found
|
# Loop over args until a filename is found
|
||||||
while [ x"$1" != x ] ; do
|
while [ -n "$1" ] ; do
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
--help | --he* | -h)
|
--help | --he* | -h)
|
||||||
|
@ -44,7 +44,7 @@ while [ x"$1" != x ] ; do
|
||||||
echo "Zutils home page: http://www.nongnu.org/zutils/zutils.html"
|
echo "Zutils home page: http://www.nongnu.org/zutils/zutils.html"
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
--version | --ve* | -V)
|
--version | --ve* | -V)
|
||||||
echo "Zcat VERSION"
|
echo "Zcat (zutils) VERSION"
|
||||||
echo "Copyright (C) 2009 Antonio Diaz Diaz."
|
echo "Copyright (C) 2009 Antonio Diaz Diaz."
|
||||||
echo "This script is free software: you have unlimited permission"
|
echo "This script is free software: you have unlimited permission"
|
||||||
echo "to copy, distribute and modify it."
|
echo "to copy, distribute and modify it."
|
||||||
|
|
4
zdiff.in
4
zdiff.in
|
@ -14,7 +14,7 @@ file2=
|
||||||
two_hyphens=0
|
two_hyphens=0
|
||||||
|
|
||||||
# Loop over args
|
# Loop over args
|
||||||
while [ x"$1" != x ] ; do
|
while [ -n "$1" ] ; do
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
--help | --he* | -h)
|
--help | --he* | -h)
|
||||||
|
@ -47,7 +47,7 @@ while [ x"$1" != x ] ; do
|
||||||
echo "Zutils home page: http://www.nongnu.org/zutils/zutils.html"
|
echo "Zutils home page: http://www.nongnu.org/zutils/zutils.html"
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
--version | --ve* | -V)
|
--version | --ve* | -V)
|
||||||
echo "Zdiff VERSION"
|
echo "Zdiff (zutils) VERSION"
|
||||||
echo "Copyright (C) 2009 Antonio Diaz Diaz."
|
echo "Copyright (C) 2009 Antonio Diaz Diaz."
|
||||||
echo "This script is free software: you have unlimited permission"
|
echo "This script is free software: you have unlimited permission"
|
||||||
echo "to copy, distribute and modify it."
|
echo "to copy, distribute and modify it."
|
||||||
|
|
4
zgrep.in
4
zgrep.in
|
@ -14,7 +14,7 @@ no_name=0
|
||||||
two_hyphens=0
|
two_hyphens=0
|
||||||
|
|
||||||
# Loop over args until pattern is found
|
# Loop over args until pattern is found
|
||||||
while [ x"$1" != x ] ; do
|
while [ -n "$1" ] ; do
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
--help | --he* | -h)
|
--help | --he* | -h)
|
||||||
|
@ -46,7 +46,7 @@ while [ x"$1" != x ] ; do
|
||||||
echo "Zutils home page: http://www.nongnu.org/zutils/zutils.html"
|
echo "Zutils home page: http://www.nongnu.org/zutils/zutils.html"
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
--version | --ve* | -V)
|
--version | --ve* | -V)
|
||||||
echo "Zgrep VERSION"
|
echo "Zgrep (zutils) VERSION"
|
||||||
echo "Copyright (C) 2009 Antonio Diaz Diaz."
|
echo "Copyright (C) 2009 Antonio Diaz Diaz."
|
||||||
echo "This script is free software: you have unlimited permission"
|
echo "This script is free software: you have unlimited permission"
|
||||||
echo "to copy, distribute and modify it."
|
echo "to copy, distribute and modify it."
|
||||||
|
|
4
ztest.in
4
ztest.in
|
@ -12,7 +12,7 @@ recursive=0
|
||||||
two_hyphens=0
|
two_hyphens=0
|
||||||
|
|
||||||
# Loop over args until a filename is found
|
# Loop over args until a filename is found
|
||||||
while [ x"$1" != x ] ; do
|
while [ -n "$1" ] ; do
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
--help | --he* | -h)
|
--help | --he* | -h)
|
||||||
|
@ -39,7 +39,7 @@ while [ x"$1" != x ] ; do
|
||||||
echo "Zutils home page: http://www.nongnu.org/zutils/zutils.html"
|
echo "Zutils home page: http://www.nongnu.org/zutils/zutils.html"
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
--version | --ve* | -V)
|
--version | --ve* | -V)
|
||||||
echo "Ztest VERSION"
|
echo "Ztest (zutils) VERSION"
|
||||||
echo "Copyright (C) 2009 Antonio Diaz Diaz."
|
echo "Copyright (C) 2009 Antonio Diaz Diaz."
|
||||||
echo "This script is free software: you have unlimited permission"
|
echo "This script is free software: you have unlimited permission"
|
||||||
echo "to copy, distribute and modify it."
|
echo "to copy, distribute and modify it."
|
||||||
|
|
Loading…
Add table
Reference in a new issue