SHA256
1
0
forked from pool/gzip

Accepting request 178436 from home:jengelh:branches:Base:System

- Update to new upstream release 1.6

OBS-URL: https://build.opensuse.org/request/show/178436
OBS-URL: https://build.opensuse.org/package/show/Base:System/gzip?expand=0&rev=27
This commit is contained in:
Marcus Meissner 2013-06-11 12:44:23 +00:00 committed by Git OBS Bridge
parent 029ff98bb9
commit aff01339ae
7 changed files with 138 additions and 29 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b5d56e8ffc9918e8c941fab56e04121194f9870adeeb859e09c09eac264035a3
size 1114684

3
gzip-1.6.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:37dfed1a485d53212c43b3fa2a7c7952f09bf5cd86e37121c222341ee1b27847
size 725084

19
gzip-1.6.tar.xz.sig Normal file
View File

@ -0,0 +1,19 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
iQJ8BAABCgBmBQJRtREaXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxNTVEM0ZDNTAwQzgzNDQ4NkQxRUVBNjc3
RkQ5RkNDQjAwMEJFRUVFAAoJEH/Z/MsAC+7upigP/AwQtlAaGTR0xGk0BGuM537R
ucSzRKO7buIEgeS9zl5UkrdoKtt3r+SDRlV3R7SuBFPERg98ZJxwQ4h9bHPsi6OK
4DNkSrqJQq5f8qCI6bfcQ86NX17XgPYgo+Hg+zb+48jcXOO70cyS588ZV14a9p0T
EQHSO7ur9PFSmonPH77WHqvF15PrczIzwHxHDRVyEQEufIxtGOsZaS+JiZ7U8biB
18wNviZMcXsrM36Wfq/okHJMnvly6pegE0SoMIExNRN3pFgjZNJUopiW/lLThHmI
jna/XOyLoOJVvRdMaQc8Zp7wrzfOJVNGcJIFVhJaRZ3MMk/UxSeGOUUWJ/Du8n5r
2tizxqOwOgGuoPGCGO66f53iUytklOA8rwufF3GmaF/YvtYFgpH75pFTqmJPeh2h
66TnFBDLbjnTKUQXhzEaXSY1o2J+IExwMOYVhB5ONbMliuquOtMT4mjYQ9AsTFXM
6hVwSHSE4Wbu6PT2pXzJdF207xOjD0q63sSkHRPBfOapkYZl7xeIWhEcogQ5E6HZ
GmPca1apkGRHoCU13+DQJGAAWMFV8iLg9ljaLQwTiMMljLsTI86m6suij7XyHgPg
slWBqWPWC+vv83tVrUSh/ICHgNby0Bkos1rIlHkdgqlaUijhBWaOgi+Xec5Bwnj3
q/9pT4zyqOgNAGvwWwDU
=hSUh
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Jun 10 19:55:39 UTC 2013 - jengelh@inai.de
- Update to new upstream release 1.6
* The "--keep" (-k) option was added to not delete input files,
similar to other tools such as xz, lzip, and bzip2.
* A decompression issue with certain invalid data in the "pack"
format was fixed.
* An incorrect overwrite when compiled with optimization was fixed.
* zgrep's handling of multi-digit context options was fixed.
* zmore now acts more like "more".
- More robust make install call
- Provide files for signature verification (we do not actually do
it because gzip is part of the bootstrap cycle; but if you have
gpg-offline listed as Support or in ~/.oscrc, it will be done)
-------------------------------------------------------------------
Thu Mar 28 08:36:08 UTC 2013 - mmeister@suse.com

72
gzip.keyring Normal file
View File

@ -0,0 +1,72 @@
pub 4096R/000BEEEE 2010-06-14
uid Jim Meyering <jim@meyering.net>
uid Jim Meyering <meyering@fb.com>
uid Jim Meyering <meyering@gnu.org>
uid [ opphevet] Jim Meyering <meyering@redhat.com>
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.19 (GNU/Linux)
mQINBEwWvdkBEACyOXTiLBZ5MFNM6jmm83ui3MqW0/eD8TcAI4gt0gwOvd/jXerI
ros8dRVook7FBoNiFSiJSMVOiNPUMfv5h5wZm0bje33qTJPL7IanSKXtk/I7Za1G
EJfEnfgZI/d4EIV8wrl0WI1lPEteTgRJbo76zfLIUOHpynVC2Wm5gALJ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dso4Gbod1ucmePliMxIxDF3a7zRte9T8GuYFW/cD/yozHi
JrL2k7nVor6+YbIvePToEP/p0XLGeYUn2iZ1XCEp9na2Odw7/g9Z/78aJAXsCvWN
MVXYbKv67lx+4p2u5kwg34gOpnoBfFVMDy+xQYYRM8XrOrcRMnUlBNdFDYue7EB+
E65PfKfzPaTLPBI2eeeyrBg72H9PG9IY5TDFdvm2KCO7GMnd4Kjg9h9d+r1kfZAX
zXHpzkHMpxarvNoAovaxAr8Xh0lP5PwlMA0GkZXpSTXImYrobwLeR2sowGbwXazq
ozsroO7LGwaI8cRcGmXtCMQR+iS/c2gp80tzKazP+7ao+C/AZr67gzrnJY5uO000
Vd5lRaTG1T11feTbAhnxFSmQUE5TnUIOfss2dCCO6CMqcrlac6QTYEolgWRBN/Fo
3zAVAPpbXsqY+OEPnHwwWJeCv9ZprW36PRIjktfw4igP38wTimZ0onI4j0SlKLIT
V1KlGZVpG2onBn/Ly5HGepqZd7VbRQTruLXpWEpn56YN+vtrthw1wcM=
=Q4hV
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -18,13 +18,15 @@
Name: gzip
Url: http://www.gzip.org/
PreReq: %{install_info_prereq} update-alternatives
Version: 1.5
Version: 1.6
Release: 0
Summary: GNU Zip Compression Utilities
License: GPL-2.0+
Group: Productivity/Archiving/Compression
Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Source2: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
Source3: %name.keyring
Patch: zgrep.diff
Patch1: tempfile.diff
Patch2: zmore.diff
@ -34,6 +36,9 @@ Patch6: zdiff.diff
# PATCH FIX OPENSUSE BNC#799561 - zgrep silently fails on LZMA compressed files
Patch7: xz_lzma.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: makeinfo
BuildRequires: xz
PreReq: %{install_info_prereq} update-alternatives
%description
Gzip reduces the size of the named files using Lempel-Ziv coding LZ77.
@ -42,10 +47,11 @@ while keeping the same ownership modes and access and modification
times.
%prep
%{?gpg_verify: %gpg_verify %{S:2}}
%setup -q
%patch
%patch1
%patch2
%patch -P 2 -p1
%patch3
%patch4 -p1
%patch6
@ -84,6 +90,7 @@ for i in 1 2 3 4 5 6 7 8 9; do
done
%install
make install DESTDIR="%buildroot"
%makeinstall
#UsrMerge
mkdir -p $RPM_BUILD_ROOT/bin

View File

@ -1,10 +1,14 @@
Index: zmore.in
---
zmore.in | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
Index: gzip-1.6/zmore.in
===================================================================
--- zmore.in.orig 2012-01-01 09:53:58.000000000 +0100
+++ zmore.in 2012-10-16 13:34:42.842966614 +0200
@@ -55,11 +55,34 @@ else
trap 'stty $ncb echo 2>/dev/null; exit' 0 2 3 5 10 13 15
fi
--- gzip-1.6.orig/zmore.in
+++ gzip-1.6/zmore.in
@@ -44,6 +44,29 @@ case $1 in
exit 1;;
esac
+opt=
+pager ()
@ -31,19 +35,10 @@ Index: zmore.in
+
if test $# = 0; then
if test -t 0; then
echo >&2 "$0: invalid number of operands; try \`$0 --help' for help"
else
- gzip -cdfq | eval ${PAGER-more}
+ gzip -cdfq | pager
fi
else
FIRST=1
@@ -83,7 +106,7 @@ else
fi
if test "$ANS" != 's'; then
echo "------> $FILE <------"
- gzip -cdfq -- "$FILE" | eval ${PAGER-more}
+ gzip -cdfq -- "$FILE" | pager
fi
if test -t 1; then
FIRST=0
printf >&2 '%s\n' "$0: missing operands; try '$0 --help' for help"
@@ -57,4 +80,4 @@ do
test $# -lt 2 ||
printf '::::::::::::::\n%s\n::::::::::::::\n' "$FILE" || break
gzip -cdfq -- "$FILE"
-done 2>&1 | eval ${PAGER-more}
+done 2>&1 | pager