SHA256
3
0
forked from pool/bzip2
OBS User unknown 2007-01-19 11:25:02 +00:00 committed by Git OBS Bridge
parent 47e150a6bc
commit 4cbcbe04ee
7 changed files with 59 additions and 21 deletions

View File

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

View File

@ -1,7 +1,11 @@
--- Makefile --- Makefile
+++ Makefile +++ Makefile
@@ -14,30 +14,47 @@ @@ -24,33 +24,50 @@
PREFIX=/usr CFLAGS=-Wall -Winline -O2 -g $(BIGFILES)
# Where you want it installed when you do 'make install'
-PREFIX=/usr/local
+PREFIX=/usr
-OBJS= blocksort.o \ -OBJS= blocksort.o \
@ -19,9 +23,9 @@
+ decompress.lo \ + decompress.lo \
+ bzlib.lo + bzlib.lo
+ +
+LIB= libbz2.la +LIB= libbz2.la
+ +
+prefix= /usr +prefix= /usr
+bindir= $(prefix)/bin +bindir= $(prefix)/bin
+libdir= $(prefix)/lib +libdir= $(prefix)/lib
+mandir= $(prefix)/share/man +mandir= $(prefix)/share/man
@ -68,7 +72,7 @@
check: test check: test
test: bzip2 test: bzip2
@@ -56,70 +73,18 @@ @@ -69,70 +86,18 @@
cmp sample3.tst sample3.ref cmp sample3.tst sample3.ref
@cat words3 @cat words3
@ -93,14 +97,14 @@
- cp -f libbz2.a $(PREFIX)/lib - cp -f libbz2.a $(PREFIX)/lib
- chmod a+r $(PREFIX)/lib/libbz2.a - chmod a+r $(PREFIX)/lib/libbz2.a
- cp -f bzgrep $(PREFIX)/bin/bzgrep - cp -f bzgrep $(PREFIX)/bin/bzgrep
- ln $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzegrep - ln -s -f $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzegrep
- ln $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzfgrep - ln -s -f $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzfgrep
- chmod a+x $(PREFIX)/bin/bzgrep - chmod a+x $(PREFIX)/bin/bzgrep
- cp -f bzmore $(PREFIX)/bin/bzmore - cp -f bzmore $(PREFIX)/bin/bzmore
- ln $(PREFIX)/bin/bzmore $(PREFIX)/bin/bzless - ln -s -f $(PREFIX)/bin/bzmore $(PREFIX)/bin/bzless
- chmod a+x $(PREFIX)/bin/bzmore - chmod a+x $(PREFIX)/bin/bzmore
- cp -f bzdiff $(PREFIX)/bin/bzdiff - cp -f bzdiff $(PREFIX)/bin/bzdiff
- ln $(PREFIX)/bin/bzdiff $(PREFIX)/bin/bzcmp - ln -s -f $(PREFIX)/bin/bzdiff $(PREFIX)/bin/bzcmp
- chmod a+x $(PREFIX)/bin/bzdiff - chmod a+x $(PREFIX)/bin/bzdiff
- cp -f bzgrep.1 bzmore.1 bzdiff.1 $(PREFIX)/man/man1 - cp -f bzgrep.1 bzmore.1 bzdiff.1 $(PREFIX)/man/man1
- chmod a+r $(PREFIX)/man/man1/bzgrep.1 - chmod a+r $(PREFIX)/man/man1/bzgrep.1

3
bzip2-1.0.4.tar.gz Normal file
View File

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

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Mon Jan 15 13:50:53 CET 2007 - lmichnovic@suse.cz
- Update to version 1.0.4
* Fixes some minor bugs since the last version, 1.0.3.
* Fix file permissions race problem (CAN-2005-0953).
* Avoid possible segfault in BZ2_bzclose. From Coverity's NetBSD
scan.
* 'const'/prototype cleanups in the C code.
* Change default install location to /usr/local, and handle
multiple 'make install's without error.
* Sanitise file names more carefully in bzgrep. Fixes
CAN-2005-0758 to the extent that applies to bzgrep.
* Use 'mktemp' rather than 'tempfile' in bzdiff.
* Tighten up a couple of assertions in blocksort.c following
automated analysis.
* Fix minor doc/comment bugs.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 16 12:15:05 CEST 2006 - dmueller@suse.de Mon Oct 16 12:15:05 CEST 2006 - dmueller@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package bzip2 (Version 1.0.3) # spec file for package bzip2 (Version 1.0.4)
# #
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine # This file and all modifications and additions to the pristine
# package are under the same license as the package itself. # package are under the same license as the package itself.
# #
@ -11,21 +11,21 @@
# norootforbuild # norootforbuild
Name: bzip2 Name: bzip2
Version: 1.0.3 Version: 1.0.4
Release: 26 Release: 1
Provides: bzip Provides: bzip
Obsoletes: bzip Obsoletes: bzip
Autoreqprov: on Autoreqprov: on
Group: Productivity/Archiving/Compression Group: Productivity/Archiving/Compression
License: Other License(s), see package License: BSD License and BSD-like
URL: http://www.bzip.org/ URL: http://www.bzip.org/
Summary: A Program for Compressing Files Summary: A Program for Compressing Files
Source: bzip2-%{version}.tar.gz Source: bzip2-%{version}.tar.gz
Source1: bznew.gz Source1: bznew.gz
Source2: bznew.1.gz Source2: bznew.1.gz
Patch: bzip2-%{version}.diff Patch1: bzip2-%{version}-makefile.patch
Patch2: bzip2-maxlen20.diff Patch2: bzip2-maxlen20.patch
Patch3: bzip2-faster.diff Patch3: bzip2-faster.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -39,7 +39,7 @@ Authors:
%prep %prep
%setup -q %setup -q
%patch %patch1
%patch2 %patch2
%patch3 %patch3
@ -76,6 +76,21 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/* %{_bindir}/*
%changelog -n bzip2 %changelog -n bzip2
* Mon Jan 15 2007 - lmichnovic@suse.cz
- Update to version 1.0.4
* Fixes some minor bugs since the last version, 1.0.3.
* Fix file permissions race problem (CAN-2005-0953).
* Avoid possible segfault in BZ2_bzclose. From Coverity's NetBSD
scan.
* 'const'/prototype cleanups in the C code.
* Change default install location to /usr/local, and handle
multiple 'make install's without error.
* Sanitise file names more carefully in bzgrep. Fixes
CAN-2005-0758 to the extent that applies to bzgrep.
* Use 'mktemp' rather than 'tempfile' in bzdiff.
* Tighten up a couple of assertions in blocksort.c following
automated analysis.
* Fix minor doc/comment bugs.
* Mon Oct 16 2006 - dmueller@suse.de * Mon Oct 16 2006 - dmueller@suse.de
- strip .la files - strip .la files
* Wed Jan 25 2006 - mls@suse.de * Wed Jan 25 2006 - mls@suse.de