OBS User unknown 2007-02-08 21:56:04 +00:00 committed by Git OBS Bridge
parent 58339c0630
commit 0a3d655221
3 changed files with 1 additions and 108 deletions

View File

@ -1,26 +0,0 @@
-------------------------------------------------------------------
Fri Feb 2 00:41:40 CET 2007 - ro@suse.de
- added -fno-stack-protector
-------------------------------------------------------------------
Wed Jan 25 21:31:09 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Wed Jul 27 11:40:59 CEST 2005 - ro@suse.de
- Upgraded to 1.2.3. Security fix is now in mainline.
-------------------------------------------------------------------
Wed Jul 6 17:56:41 CEST 2005 - meissner@suse.de
- added denial of service attack fix.
-------------------------------------------------------------------
Tue Jun 14 00:14:59 CEST 2005 - ro@suse.de
- cloned from zlib / built against dietlibc
- needed until dietlibc implements fortify extensions

View File

@ -1,81 +0,0 @@
#
# spec file for package dietzlib (Version 1.2.3)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: dietzlib
BuildRequires: dietlibc
License: Other License(s), see package
Group: System/Libraries
Autoreqprov: on
Version: 1.2.3
Release: 36
Summary: Data Compression Library
Source: zlib-%{version}.tar.bz2
Patch: zlib-1.2.1-make-test.patch
Patch1: zlib-1.2.1-vsnprintf.patch
Patch2: zlib-1.2.1-CFLAGS.dif
Patch3: zlib-1.2.2-format.patch
URL: http://www.zlib.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
ftp://ds.internic.net/rfc/rfc1950.txt (zlib format), rfc1951.txt
(deflate format), and rfc1952.txt (gzip format). These documents are
also available in other formats from
ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html.
Authors:
--------
Rob Hooft <hooft@EMBL-Heidelberg.DE>
Michael Mauldin <mlm@cs.cmu.edu>
%prep
%setup -n zlib-%version
%patch -p1
%patch1
%patch2
%patch3 -p1
%build
CC="diet -v gcc" \
LD="diet -v gcc" \
CFLAGS="$RPM_OPT_FLAGS -fno-stack-protector" ./configure --static
make
make test
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/%_lib
# static lib
make libz.a
install -m 644 libz.a $RPM_BUILD_ROOT/usr/%{_lib}/libdiet_z.a
%clean
rm -rf %RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/usr/%{_lib}/libdiet_z.a
%changelog -n dietzlib
* Fri Feb 02 2007 - ro@suse.de
- added -fno-stack-protector
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jul 27 2005 - ro@suse.de
- Upgraded to 1.2.3. Security fix is now in mainline.
* Wed Jul 06 2005 - meissner@suse.de
- added denial of service attack fix.
* Tue Jun 14 2005 - ro@suse.de
- cloned from zlib / built against dietlibc
- needed until dietlibc implements fortify extensions

View File

@ -17,7 +17,7 @@ Provides: libz
Obsoletes: libz Obsoletes: libz
Autoreqprov: on Autoreqprov: on
Version: 1.2.3 Version: 1.2.3
Release: 37 Release: 39
Summary: Data Compression Library Summary: Data Compression Library
Source: zlib-%{version}.tar.bz2 Source: zlib-%{version}.tar.bz2
Patch: zlib-1.2.1-make-test.patch Patch: zlib-1.2.1-make-test.patch