--- zlib-1.2.3.orig/debian/vars +++ zlib-1.2.3/debian/vars @@ -0,0 +1,31 @@ +# This file is NOT a shell script. +# +# This file gets included by both debian/rules (make) AND the scripts in +# debian/scripts (bash) +# + +# Where to cd to to unpack all the tarballs. +SOURCE_DIR=build-tree +# For a single pkg, this is the directory that is embedded in the tarball. +# For multiple pkgs, this is null. +TAR_DIR=zlib-1.2.3 +# Where to place all the stamp files. This directory can be removed, and +# all the targets will then be rerun. +STAMP_DIR=debian/stampdir +# When sys-build.mk is used to build the source, this is the target(s) to +# run. +BUILD_TARGET= +# When cleaning the source, during diff generation, if this is set, this +# target will be called in debian/rules. This allows for pkgs that have +# complicated cleaning rules. +CLEAN_TARGET_EXTERNAL= +# Whether to die if the source cleaning fails. +CLEAN_IGNORE=yes +# The clean target to run. Defaults to clean. +CLEAN_TARGET=distclean +# Files to exclude from the diff. +DIFF_EXCLUDE="Makefile.in configure" +# Where the patches are located(duh!). +PATCH_DIR=debian/patches +SRC_PATCH_DIR=upstream/patches +SRC_TAR_DIR=upstream/tarballs --- zlib-1.2.3.orig/debian/compat +++ zlib-1.2.3/debian/compat @@ -0,0 +1 @@ +4 --- zlib-1.2.3.orig/debian/README.Debian +++ zlib-1.2.3/debian/README.Debian @@ -0,0 +1,3 @@ +contrib.tar.gz is an archive of the contrib directory that +comes with the zlib sources. It is mostly programming examples. + --- zlib-1.2.3.orig/debian/shlibs +++ zlib-1.2.3/debian/shlibs @@ -0,0 +1 @@ +libz 1 zlib1g (>= 1:1.2.1) --- zlib-1.2.3.orig/debian/copyright +++ zlib-1.2.3/debian/copyright @@ -0,0 +1,36 @@ +This is the pre-packaged Debian Linux version of the zlib compression +library. It was packaged by Michael Alan Dorman +from sources originally retrieved from ftp.uu.net in the directory +/pub/archiving/zip/zlib as the file zlib-1.0.4.tar.gz. + +There is a homepage at http://www.gzip.org/zlib/ + +Acknowledgments: + + The deflate format used by zlib was defined by Phil Katz. The deflate + and zlib specifications were written by Peter Deutsch. Thanks to all the + people who reported problems and suggested various improvements in zlib; + they are too numerous to cite here. + +Copyright notice: + + Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu --- zlib-1.2.3.orig/debian/preinst +++ zlib-1.2.3/debian/preinst @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +dpkg --assert-working-epoch 2>&- || { + echo -e "\nYou must upgrade dpkg before installing this package.\n" + false +} + +#DEBHELPER# --- zlib-1.2.3.orig/debian/zlib1g.dirs +++ zlib-1.2.3/debian/zlib1g.dirs @@ -0,0 +1 @@ +usr/lib --- zlib-1.2.3.orig/debian/zlib1g-udeb.dirs +++ zlib-1.2.3/debian/zlib1g-udeb.dirs @@ -0,0 +1 @@ +/usr/lib --- zlib-1.2.3.orig/debian/postinst.simple +++ zlib-1.2.3/debian/postinst.simple @@ -0,0 +1,6 @@ +#!/bin/sh -e +if [ "$1" = "configure" ]; then + if [ -d /usr/doc ] && [ ! -e /usr/doc/@PKG@ ] && [ -d /usr/share/doc/@PKG@ ]; then + ln -sf ../share/doc/@PKG@ /usr/doc/@PKG@ + fi +fi --- zlib-1.2.3.orig/debian/miniunzip.1 +++ zlib-1.2.3/debian/miniunzip.1 @@ -0,0 +1,63 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH miniunzip 1 "Nov 7, 2001" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +miniunzip - uncompress and examine ZIP archives +.SH SYNOPSIS +.B miniunzip +.RI [ -exvlo ] +zipfile [ files_to_extract ] [-d tempdir] +.SH DESCRIPTION +.B minizip +is a simple tool which allows the extraction of compressed file +archives in the ZIP format used by the MS-DOS utility PKZIP. It was +written as a demonstration of the +.IR zlib (3) +library and therefore lack many of the features of the +.IR unzip (1) +program. +.SH OPTIONS +A number of options are supported. With the exception of +.BI \-d\ tempdir +these must be supplied before any +other arguments and are: +.TP +.BI \-l\ ,\ \-\-v +List the files in the archive without extracting them. +.TP +.B \-o +Overwrite files without prompting for confirmation. +.TP +.B \-x +Extract files (default). +.PP +The +.I zipfile +argument is the name of the archive to process. The next argument can be used +to specify a single file to extract from the archive. + +Lastly, the following option can be specified at the end of the command-line: +.TP +.BI \-d\ tempdir +Extract the archive in the directory +.I tempdir +rather than the current directory. +.SH SEE ALSO +.BR minizip (1), +.BR zlib (3), +.BR unzip (1). +.SH AUTHOR +This program was written by Gilles Vollant. This manual page was +written by Mark Brown . The -d tempdir option +was added by Dirk Eddelbuettel . --- zlib-1.2.3.orig/debian/lib64z1.dirs +++ zlib-1.2.3/debian/lib64z1.dirs @@ -0,0 +1 @@ +usr/lib64 --- zlib-1.2.3.orig/debian/minizip.1 +++ zlib-1.2.3/debian/minizip.1 @@ -0,0 +1,46 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH minizip 1 "May 2, 2001" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +minizip - create ZIP archives +.SH SYNOPSIS +.B minizip +.RI [ -o ] +zipfile [ " files" ... ] +.SH DESCRIPTION +.B minizip +is a simple tool which allows the creation of compressed file archives +in the ZIP format used by the MS-DOS utility PKZIP. It was written as +a demonstration of the +.IR zlib (3) +library and therefore lack many of the features of the +.IR zip (1) +program. +.SH OPTIONS +The first argument supplied is the name of the ZIP archive to create or +.RI -o +in which case it is ignored and the second argument treated as the +name of the ZIP file. If the ZIP file already exists it will be +overwritten. +.PP +Subsequent arguments specify a list of files to place in the ZIP +archive. If none are specified then an empty archive will be created. +.SH SEE ALSO +.BR miniunzip (1), +.BR zlib (3), +.BR zip (1). +.SH AUTHOR +This program was written by Gilles Vollant. This manual page was +written by Mark Brown . + --- zlib-1.2.3.orig/debian/lib64z1-dev.dirs +++ zlib-1.2.3/debian/lib64z1-dev.dirs @@ -0,0 +1 @@ +usr/lib64 --- zlib-1.2.3.orig/debian/perms +++ zlib-1.2.3/debian/perms @@ -0,0 +1,10 @@ +zlib/shlibs 0644 +zlib/postinst 0755 +zlib/preinst 0755 +zlib/prerm 0755 +zlib-bin/postinst 0755 +zlib-bin/preinst 0755 +zlib-bin/prerm 0755 +zlib-dev/postinst 0755 +zlib-dev/preinst 0755 +zlib-dev/prerm 0755 --- zlib-1.2.3.orig/debian/zlib1g-dev.dirs +++ zlib-1.2.3/debian/zlib1g-dev.dirs @@ -0,0 +1,4 @@ +usr/lib +usr/include +usr/share/doc/zlib1g-dev/examples +usr/share/man/man3 --- zlib-1.2.3.orig/debian/zlib-bin.preinst +++ zlib-1.2.3/debian/zlib-bin.preinst @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +dpkg --assert-working-epoch 2>&- || { + echo -e "\nYou must upgrade dpkg before installing this package.\n" + false +} + +#DEBHELPER# --- zlib-1.2.3.orig/debian/postinst +++ zlib-1.2.3/debian/postinst @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +if [ "$1" = configure ]; then + ldconfig +fi +#DEBHELPER# --- zlib-1.2.3.orig/debian/zlib1g-dev.preinst +++ zlib-1.2.3/debian/zlib1g-dev.preinst @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +dpkg --assert-working-epoch 2>&- || { + echo -e "\nYou must upgrade dpkg before installing this package.\n" + false +} + +#DEBHELPER# --- zlib-1.2.3.orig/debian/sources +++ zlib-1.2.3/debian/sources @@ -0,0 +1,2 @@ +upstream tar zlib_1:1.1.3.tar.gz +debian patch debian/patches/000_debian-000 --- zlib-1.2.3.orig/debian/sys-build.mk +++ zlib-1.2.3/debian/sys-build.mk @@ -0,0 +1,167 @@ +#!/usr/bin/make -f +# Separate tarball/patch build system by Adam Heath + +# The magic targets that you need to concern yourself with are: +# +# source.build: Unpacks upstream tarballs, optionally applies patches +# to fix the upstream patches, then applies upstream +# patches. +# source.make: Applies debian patches. +# source.clean: Cleans the build directory, then unfixes the upstream +# patches. +# source.compile: Will compile the source for you. Please check +# debian/scripts/vars. +# source.cmd: When calling this target, if you define a variable +# SOURCE_CMD, it will run that command in the build +# tree. +# make-diff: Generates debian.diff in the current directory which +# contains all edits that are currently in the build +# tree. +# +# Nothing in this file should require any editting. Please look at +# debian/scripts/vars for things to change for the local environment. +# +# debian/rules target command +# ---------------------------------------------------------------- +# clean: $(MAKE) -f debian/sys-build.mk source.clean +# build: $(MAKE) -f debian/sys-build.mk source.compile +# for simple systems. +# build: $(MAKE) -f debian/sys-build.mk source.make +# and, in the rules file, you can +# build the targets you want. +SHELL=/bin/bash +ifndef NOISY +.SILENT: +endif + +include debian/scripts/vars +# remove quotes +DIFF_EXCLUDE:=$(patsubst %,-x %,$(shell echo $(DIFF_EXCLUDE))) + +ifdef TAR_DIR +BUILD_TREE=$(SOURCE_DIR)/$(TAR_DIR) +else +BUILD_TREE=$(SOURCE_DIR) +endif + +SOURCE_CMD=: + +ifdef CLEAN_IGNORE + CLEAN_CMD=- + CLEAN_SH= +else + CLEAN_CMD= + CLEAN_SH= +endif +ifndef CLEAN_TARGET + CLEAN_TARGET=clean +endif + +foo: + echo $(DIFF_EXCLUDE) + +make-diff: + mv $(BUILD_TREE) bak + $(MAKE) -f debian/sys-build.mk source.clean + $(MAKE) -f debian/sys-build.mk source.make + mv $(BUILD_TREE) $(BUILD_TREE).orig + mv bak $(BUILD_TREE) + +ifdef TAR_DIR +ifdef CLEAN_TARGET_EXTERNAL + $(CLEAN_CMD)$(MAKE) -f debian/rules $(CLEAN_TARGET_EXTERNAL) +else + $(CLEAN_CMD)$(MAKE) -C $(BUILD_TREE) $(CLEAN_TARGET) +endif + -(cd $(SOURCE_DIR);diff -ruN $(TAR_DIR).orig $(TAR_DIR) $(DIFF_EXCLUDE)) > debian.diff +else +ifdef CLEAN_TARGET_EXTERNAL + $(CLEAN_CMD)$(MAKE) -f debian/rules $(CLEAN_TARGET_EXTERNAL) +else + $(CLEAN_CMD)for a in $(BUILD_TREE)/*;do $(MAKE) -C $$a $(CLEAN_TARGET);done +endif + -(diff -ruN $(BUILD_TREE).orig $(BUILD_TREE) $(DIFF_EXCLUDE)) > debian.diff + if [ ! -s debian.diff ];then\ + rm debian.diff;\ + fi +endif + rm -rf $(BUILD_TREE).orig + +patchapply: $(STAMP_DIR)/patchapply +$(STAMP_DIR)/patchapply: $(STAMP_DIR)/source.build $(STAMP_DIR) + $(SHELL) debian/scripts/lib patch.apply + touch $@ + rm -f $(STAMP_DIR)/patchunapply + +patchunapply: $(STAMP_DIR)/patchunapply +$(STAMP_DIR)/patchunapply: $(STAMP_DIR)/source.build $(STAMP_DIR) + $(SHELL) debian/scripts/lib patch.unapply + touch $@ + rm -f $(STAMP_DIR)/patchapply + +.export: SOURCE_TREE + +# +# The rules that really do the work all start with $(STAMPDIR) +# This little trick allows us to use stamp files to keep us from +# having to rerun long targets over and over. It also puts +# all stamp files in one place, for easy cleaning. +# +# If a stampdir rule depends on something else, be sure it is +# another stampdir rule. Depending on base rule won't work. +# + +source.build: $(STAMP_DIR)/source.build +STAMP_DIR_TARGETS+= $(STAMP_DIR)/source.build +$(STAMP_DIR)/source.build: $(STAMP_DIR)/source.unpack $(STAMP_DIR)/source.patch $(STAMP_DIR) + touch $@ + +source.make: $(STAMP_DIR)/source.make +STAMP_DIR_TARGETS+= $(STAMP_DIR)/source.make +$(STAMP_DIR)/source.make: $(STAMP_DIR)/source.build $(STAMP_DIR)/patchapply $(STAMP_DIR) + touch $@ + +source.unpack: $(STAMP_DIR)/source.unpack +STAMP_DIR_TARGETS+= $(STAMP_DIR)/source.unpack +$(STAMP_DIR)/source.unpack: $(STAMP_DIR) + $(SHELL) debian/scripts/source.unpack + touch $@ + +source.patch: $(STAMP_DIR)/source.patch +STAMP_DIR_TARGETS+= $(STAMP_DIR)/source.patch +$(STAMP_DIR)/source.patch: $(STAMP_DIR)/source.unpack $(STAMP_DIR)/fix.source.patch $(STAMP_DIR) + $(SHELL) debian/scripts/lib source.patch + touch $@ + +fix.source.patch: $(STAMP_DIR)/fix.source.patch +STAMP_DIR_TARGETS+= $(STAMP_DIR)/fix.source.patch +$(STAMP_DIR)/fix.source.patch: $(STAMP_DIR) + $(SHELL) debian/scripts/lib fix.source.patch + touch $@ + +unfix.source.patch: $(STAMP_DIR)/unfix.source.patch +STAMP_DIR_TARGETS+= $(STAMP_DIR)/unfix.source.patch +$(STAMP_DIR)/unfix.source.patch: $(STAMP_DIR) + $(SHELL) debian/scripts/lib unfix.source.patch + touch $@ + +source.compile: $(STAMP_DIR)/source.compile +STAMP_DIR_TARGETS+= $(STAMP_DIR)/source.compile +$(STAMP_DIR)/source.compile: $(STAMP_DIR)/source.make $(STAMP_DIR) + $(MAKE) -C $(BUILD_TREE) $(BUILD_TARGET) + touch $@ + +source.command: + (cd $(BUILD_TREE); $(SOURCE_CMD)) + +DIR_TARGETS+=$(STAMP_DIR) +$(STAMP_DIR_TARGETS): $(STAMP_DIR) + +$(DIR_TARGETS)/: + mkdir -p $@ + +source.clean: unfix.source.patch + $(SHELL) debian/scripts/lib source.clean + rm -f $(STAMP_DIR_TARGETS) + rm -rf $(STAMP_DIR) + $(MAKE) -C debian/scripts clean --- zlib-1.2.3.orig/debian/zlib-bin.dirs +++ zlib-1.2.3/debian/zlib-bin.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/man/man1 --- zlib-1.2.3.orig/debian/patches/016_hack_ar +++ zlib-1.2.3/debian/patches/016_hack_ar @@ -0,0 +1,33 @@ +Should do something a tiny bit more elegant about this... + +--- zlib-1.2.1/configure.orig 2003-12-06 15:20:19.000000000 +0000 ++++ zlib-1.2.1/configure 2003-12-06 15:20:30.000000000 +0000 +@@ -23,7 +23,7 @@ + VER=`sed -n -e '/VERSION "/s/.*"\(.*\)".*/\1/p' < zlib.h` + VER2=`sed -n -e '/VERSION "/s/.*"\([0-9]*\\.[0-9]*\)\\..*/\1/p' < zlib.h` + VER1=`sed -n -e '/VERSION "/s/.*"\([0-9]*\)\\..*/\1/p' < zlib.h` +-AR=${AR-"ar rc"} ++AR=${AR-"ar"} + RANLIB=${RANLIB-"ranlib"} + prefix=${prefix-/usr/local} + exec_prefix=${exec_prefix-'${prefix}'} +--- zlib-1.2.1/Makefile.in.orig 2003-12-06 15:59:57.000000000 +0000 ++++ zlib-1.2.1/Makefile.in 2003-12-06 16:00:47.000000000 +0000 +@@ -33,7 +33,7 @@ + SHAREDLIBV=libz.so.1.2.1 + SHAREDLIBM=libz.so.1 + +-AR=ar rc ++AR=ar + RANLIB=ranlib + TAR=tar + SHELL=/bin/sh +@@ -68,7 +68,7 @@ + fi + + libz.a: $(OBJS) $(OBJA) +- $(AR) $@ $(OBJS) $(OBJA) ++ $(AR) rc $@ $(OBJS) $(OBJA) + -@ ($(RANLIB) $@ || true) >/dev/null 2>&1 + + match.o: match.S --- zlib-1.2.3.orig/debian/patches/012_detect_snprintf +++ zlib-1.2.3/debian/patches/012_detect_snprintf @@ -0,0 +1,32 @@ +--- zlib-1.1.4/configure.orig 2003-02-03 17:07:39.000000000 +0000 ++++ zlib-1.1.4/configure 2003-02-03 17:07:44.000000000 +0000 +@@ -181,6 +181,29 @@ + echo Checking for mmap support... No. + fi + ++cat > $test.c < ++int main() { char buf[10]; snprintf(buf, sizeof(buf), "%s", "F"); return 0; } ++EOF ++if test "`($CC -c $CFLAGS $test.c) 2>&1`" = ""; then ++ echo "Checking for snprintf... Yes." ++ CFLAGS="$CFLAGS -DHAS_snprintf" ++else ++ echo "Checking for snprintf.. No." ++fi ++ ++cat > $test.c < ++#include ++int main(void) { va_list a; vsnprintf(0, 0, "", a); return 0; } ++EOF ++if test "`($CC -c $CFLAGS $test.c) 2>&1`" = ""; then ++ echo "Checking for vsnprintf... Yes." ++ CFLAGS="$CFLAGS -DHAS_vsnprintf" ++else ++ echo "Checking for vsnprintf.. No." ++fi ++ + CPP=${CPP-"$CC -E"} + case $CFLAGS in + *ASMV*) --- zlib-1.2.3.orig/debian/patches/004-define_REENTRANT +++ zlib-1.2.3/debian/patches/004-define_REENTRANT @@ -0,0 +1,12 @@ +diff -ruN -x Makefile.in zlib-1.1.4.orig/configure zlib-1.1.4/configure +--- zlib-1.2.1.orig/configure Sun Jul 9 16:26:39 2000 ++++ zlib-1.2.1/configure Sun Jul 9 16:26:26 2000 +@@ -69,7 +69,7 @@ + + if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) 2>/dev/null; then + CC="$cc" +- SFLAGS=${CFLAGS-"-fPIC -O3"} ++ SFLAGS=${CFLAGS-"-D_REENTRANT -fPIC -O3"} + CFLAGS="$cflags" + case `(uname -s || echo unknown) 2>/dev/null` in + Linux | linux) LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1"};; --- zlib-1.2.3.orig/debian/patches/007_use_ldflags_for_library +++ zlib-1.2.3/debian/patches/007_use_ldflags_for_library @@ -0,0 +1,12 @@ +diff -ruN -x Makefile zlib-1.1.4.orig/Makefile.in zlib-1.1.4/Makefile.in +--- zlib-1.2.1.orig/Makefile.in Thu Jul 9 11:07:18 1998 ++++ zlib-1.2.1/Makefile.in Sun Jul 9 17:09:40 2000 +@@ -80,7 +80,7 @@ + rm -f _match.s + + $(SHAREDLIBV): $(OBJS) +- $(LDSHARED) -o $@ $(OBJS) ++ $(LDSHARED) -lc -o $@ $(OBJS) + rm -f $(SHAREDLIB) $(SHAREDLIBM) + ln -s $@ $(SHAREDLIB) + ln -s $@ $(SHAREDLIBM) --- zlib-1.2.3.orig/debian/patches/001-link_to_shared_zlib_in_contrib +++ zlib-1.2.3/debian/patches/001-link_to_shared_zlib_in_contrib @@ -0,0 +1,27 @@ +--- zlib-1.2.1.orig/contrib/minizip/Makefile 2003-09-10 09:00:16.000000000 +0100 ++++ zlib-1.2.1/contrib/minizip/Makefile 2003-11-17 22:11:05.000000000 +0000 +@@ -1,8 +1,8 @@ + CC=cc +-CFLAGS=-O -I../.. ++CFLAGS=-O2 -g -I../.. + +-UNZ_OBJS = miniunz.o unzip.o ioapi.o ../../libz.a +-ZIP_OBJS = minizip.o zip.o ioapi.o ../../libz.a ++UNZ_OBJS = miniunz.o unzip.o ioapi.o ++ZIP_OBJS = minizip.o zip.o ioapi.o + + .c.o: + $(CC) -c $(CFLAGS) $*.c +@@ -10,10 +10,10 @@ + all: miniunz minizip + + miniunz: $(UNZ_OBJS) +- $(CC) $(CFLAGS) -o $@ $(UNZ_OBJS) ++ $(CC) $(CFLAGS) -o $@ $(UNZ_OBJS) -L ../.. -lz + + minizip: $(ZIP_OBJS) +- $(CC) $(CFLAGS) -o $@ $(ZIP_OBJS) ++ $(CC) $(CFLAGS) -o $@ $(ZIP_OBJS) -L ../.. -lz + + test: miniunz minizip + ./minizip test readme.txt --- zlib-1.2.3.orig/debian/patches/006-dont_remove_space_in_Makefile +++ zlib-1.2.3/debian/patches/006-dont_remove_space_in_Makefile @@ -0,0 +1,40 @@ +--- zlib-1.2.1/configure.orig 2003-11-17 22:37:13.000000000 +0000 ++++ zlib-1.2.1/configure 2003-11-17 22:41:46.000000000 +0000 +@@ -426,20 +426,21 @@ + # udpate Makefile + sed < Makefile.in " + /^CC *=/s#=.*#=$CC# +-/^CFLAGS *=/s#=.*#=$CFLAGS# +-/^CPP *=/s#=.*#=$CPP# +-/^LDSHARED *=/s#=.*#=$LDSHARED# +-/^LIBS *=/s#=.*#=$LIBS# +-/^SHAREDLIB *=/s#=.*#=$SHAREDLIB# +-/^SHAREDLIBV *=/s#=.*#=$SHAREDLIBV# +-/^SHAREDLIBM *=/s#=.*#=$SHAREDLIBM# +-/^AR *=/s#=.*#=$AR# +-/^RANLIB *=/s#=.*#=$RANLIB# +-/^EXE *=/s#=.*#=$EXE# +-/^prefix *=/s#=.*#=$prefix# +-/^exec_prefix *=/s#=.*#=$exec_prefix# +-/^libdir *=/s#=.*#=$libdir# +-/^includedir *=/s#=.*#=$includedir# +-/^mandir *=/s#=.*#=$mandir# +-/^LDFLAGS *=/s#=.*#=$LDFLAGS# ++/^CC *=/s%=.*%= $CC% ++/^CFLAGS *=/s%=.*%= $CFLAGS% ++/^CPP *=/s%=.*%= $CPP% ++/^LDSHARED *=/s%=.*%= $LDSHARED% ++/^LIBS *=/s%=.*%= $LIBS% ++/^SHAREDLIB *=/s%=.*%= $SHAREDLIB% ++/^SHAREDLIBV *=/s%=.*%= $SHAREDLIBV% ++/^SHAREDLIBM *=/s%=.*%= $SHAREDLIBM% ++/^AR *=/s%=.*%= $AR% ++/^RANLIB *=/s%=.*%= $RANLIB% ++/^EXE *=/s%=.*%= $EXE% ++/^prefix *=/s%=.*%= $prefix% ++/^exec_prefix *=/s%=.*%= $exec_prefix% ++/^libdir *=/s%=.*%= $libdir% ++/^includedir *=/s%=.*%= $includedir% ++/^mandir *=/s%=.*%= $mandir% ++/^LDFLAGS *=/s%=.*%= $LDFLAGS% + " > Makefile --- zlib-1.2.3.orig/debian/patches/018_CAN-2004-0797 +++ zlib-1.2.3/debian/patches/018_CAN-2004-0797 @@ -0,0 +1,26 @@ +Index: infback.c +--- zlib-1.2.1.1/infback.c.orig 2003-08-12 01:48:06 +0200 ++++ zlib-1.2.1.1/infback.c 2004-08-25 12:37:07 +0200 +@@ -434,6 +434,9 @@ + } + } + ++ if (state->mode == BAD) ++ break; ++ + /* build code tables */ + state->next = state->codes; + state->lencode = (code const FAR *)(state->next); +Index: inflate.c +--- zlib-1.2.1.1/inflate.c.orig 2003-10-26 07:15:36 +0100 ++++ zlib-1.2.1.1/inflate.c 2004-08-25 12:37:07 +0200 +@@ -861,6 +861,9 @@ + } + } + ++ if (state->mode == BAD) ++ break; ++ + /* build code tables */ + state->next = state->codes; + state->lencode = (code const FAR *)(state->next); --- zlib-1.2.3.orig/debian/patches/010_NetBSD_minizip +++ zlib-1.2.3/debian/patches/010_NetBSD_minizip @@ -0,0 +1,14 @@ +This patch is safe, because all Debian systems should be POSIX compliant +enough to have and related headers, whether or not they have +'unix' as a compiler symbol (NetBSD, in particular, lacks it). + +diff -ur zlib-1.1.4.orig/contrib/minizip/Makefile zlib-1.1.4/contrib/minizip/Makefile +--- zlib-1.1.4.orig/contrib/minizip/Makefile 2002-10-10 04:24:24.000000000 +0000 ++++ zlib-1.1.4/contrib/minizip/Makefile 2002-10-10 04:25:09.000000000 +0000 +@@ -1,5 +1,5 @@ + CC=cc +-CFLAGS=-O2 -g -I../.. ++CFLAGS=$(OPT) -I../.. -Dunix + + UNZ_OBJS = miniunz.o unzip.o + ZIP_OBJS = minizip.o zip.o --- zlib-1.2.3.orig/debian/lib32z1.dirs +++ zlib-1.2.3/debian/lib32z1.dirs @@ -0,0 +1 @@ +usr/lib32/ --- zlib-1.2.3.orig/debian/lib32z1-dev.dirs +++ zlib-1.2.3/debian/lib32z1-dev.dirs @@ -0,0 +1 @@ +usr/lib32/ --- zlib-1.2.3.orig/debian/changelog +++ zlib-1.2.3/debian/changelog @@ -0,0 +1,670 @@ +zlib (1:1.2.3-3ubuntu4) breezy; urgency=low + + * Fix lib32z1-dev dependency. + + -- Matthias Klose Sat, 3 Sep 2005 07:44:54 +0200 + +zlib (1:1.2.3-3ubuntu3) breezy; urgency=low + + * Explicitely set -march/-mtune options for 64bit i386 build. + + -- Matthias Klose Mon, 22 Aug 2005 14:28:12 +0200 + +zlib (1:1.2.3-3ubuntu2) breezy; urgency=low + + * Fix typo in build dependencies. + + -- Matthias Klose Mon, 22 Aug 2005 11:53:18 +0200 + +zlib (1:1.2.3-3ubuntu1) breezy; urgency=low + + * Synchronize with Debian. + * Build lib64z1 for i386 and powerpc, conflicts/replaces amd64-libs. + * Ignore dh_shlibdeps failures, trying to run 32bit ldd on 64bit + binaries. + * lib64z1-dev: Depend on the needed libc6-dev package. + * debian/*dirs: Replace /emul/* with /usr/lib32. + + -- Matthias Klose Fri, 12 Aug 2005 09:55:10 +0200 + +zlib (1:1.2.3-3) unstable; urgency=low + + * Fix minizip build (closes: #321355). + + -- Mark Brown Fri, 5 Aug 2005 18:52:09 +0100 + +zlib (1:1.2.3-2) unstable; urgency=low + + * Fix noopt (closes: #320999). + * Apply CFLAGS to minizip too. + * Policy 3.6.2 (no changes). + + -- Mark Brown Wed, 3 Aug 2005 23:31:47 +0100 + +zlib (1:1.2.3-1ubuntu3) breezy; urgency=low + + * Put the libraries into /usr/lib32 on amd64. + + -- Tollef Fog Heen Tue, 9 Aug 2005 12:55:50 +0200 + +zlib (1:1.2.3-1ubuntu2) breezy; urgency=low + + * Stop calling dh_shlibdeps when building lib32z1 on amd64. + + -- Adam Conrad Fri, 22 Jul 2005 00:59:11 +0000 + +zlib (1:1.2.3-1ubuntu1) breezy; urgency=low + + * Resynchronise with Debian, resolving conflicts (Ubuntu #12391). + - Drop patches incorporated upstream. + - Drop most of our changes in favour of Debian's to minimize our diff. + + -- Adam Conrad Thu, 21 Jul 2005 23:28:00 +0000 + +zlib (1:1.2.3-1) unstable; urgency=high + + * New upstream release. + * This release includes a fix for CAN-2005-1849. + + -- Mark Brown Mon, 18 Jul 2005 23:02:31 +0100 + +zlib (1:1.2.2-9) unstable; urgency=low + + * Work around an ICE on m68k by building at -O2 there. + * Implement noopt support while we're at it. + + -- Mark Brown Thu, 14 Jul 2005 18:06:21 +0300 + +zlib (1:1.2.2-8) unstable; urgency=low + + * Remove GCC 3.4 hack for amd64 since the default compiler is now supposed + to be able to do biarch. + + -- Mark Brown Sun, 10 Jul 2005 13:10:15 +0300 + +zlib (1:1.2.2-7) unstable; urgency=high + + * Add patch fixing CAN-2005-2096 in inflate. + + -- Mark Brown Mon, 4 Jul 2005 23:58:05 +0100 + +zlib (1:1.2.2-6) unstable; urgency=low + + * Fix some build failures on amd64 (closes: #316779). The package still + fails to build but this appears to be due to toolchain issues. + + -- Mark Brown Mon, 4 Jul 2005 21:49:55 +0100 + +zlib (1:1.2.2-5) unstable; urgency=low + + * Build a 32 bit copy on amd64 (closes: #311618). + * Hack build with GCC 3.4 on amd64 since the default 3.3 is broken for + biarch builds. This should be removed once the default compiler does + this properly. + * Remove libc5 support and therefore revert to using plain gcc when not + cross-compiling. + * Upgrade to Debhelper interface 4. + + -- Mark Brown Tue, 21 Jun 2005 09:52:45 +0100 + +zlib (1:1.2.2-4ubuntu6) breezy; urgency=low + + * SECURITY UPDATE: Fix another buffer overflow on invalid data streams. + * Add debian/patches/020_CAN-2005-1849: + - inftrees.h: Raise ENOUGH and MAXD to be big enough. + - Patch from zlib upstream author. + - CAN-2005-1849 + + -- Martin Pitt Thu, 21 Jul 2005 10:44:32 +0200 + +zlib (1:1.2.2-4ubuntu5) breezy; urgency=low + + * SECURITY UPDATE: Fix buffer overflow on invalid data streams. + * Add debian/patches/019_CAN-2005-2096.patch: + - Permit incomplete codes only if they consist of a single code of length + 1, as described in the spec. Longer codes overflowed various buffers. + - Patch from zlib upstream author. + - CAN-2005-2096 + + -- Martin Pitt Mon, 4 Jul 2005 08:39:33 +0200 + +zlib (1:1.2.2-4ubuntu4) breezy; urgency=low + + * Add a (temporary) build dependency on lib32gcc1. + + -- Matthias Klose Thu, 2 Jun 2005 21:33:16 +0200 + +zlib (1:1.2.2-4ubuntu3) breezy; urgency=low + + * Fix build failure with dpkg 1.13. + + -- Matthias Klose Thu, 2 Jun 2005 18:19:38 +0000 + +zlib (1:1.2.2-4ubuntu2) breezy; urgency=low + + * Build 32bit packages for amd64. + + -- Matthias Klose Sat, 21 May 2005 11:59:48 +0000 + +zlib (1:1.2.2-4ubuntu1) hoary; urgency=low + + * Resynchronise with Debian. + + -- Scott James Remnant Fri, 10 Dec 2004 13:00:13 +0000 + +zlib (1:1.2.2-4) unstable; urgency=low + + * Run dh_installdeb before dh_shlibdeps (closes: #282882). + * Specify the shlibs for the library directly to dpkg-shlibs. + + -- Mark Brown Tue, 7 Dec 2004 14:37:32 +0000 + +zlib (1:1.2.2-3ubuntu1) hoary; urgency=low + + * Resynchronise with Debian. + + -- LaMont Jones Thu, 11 Nov 2004 17:15:32 -0700 + +zlib (1:1.2.2-3) unstable; urgency=low + + * Generate shared libraries sensibly for zlib-bin (closes: #278977). + + -- Mark Brown Sat, 30 Oct 2004 19:40:57 +0100 + +zlib (1:1.2.2-2) unstable; urgency=low + + * Remove shlibs from udeb. + + -- Mark Brown Sat, 9 Oct 2004 19:06:41 +0100 + +zlib (1:1.2.2-1ubuntu1) hoary; urgency=low + + * Resynchronise with Debian. + + -- Scott James Remnant Wed, 27 Oct 2004 15:34:11 +0100 + +zlib (1:1.2.2-1) unstable; urgency=low + + * New upstream release. + + -- Mark Brown Wed, 6 Oct 2004 20:10:10 +0100 + +zlib (1:1.2.1.2-1) unstable; urgency=low + + * New upstream release. + * Upstream now includes patch improving error reporting when gzio is used on + empty files (closes: #258087). + * Upstream have fixed a valgrind warning. Other valgrind warnings remain + but have been analysed and found safe - uninitialised memory is read from + a buffer allocated by zlib during deflate but bounds checking is + subsequently performed and the output unaffected (closes: #270070). + + -- Mark Brown Sat, 11 Sep 2004 10:59:41 +0100 + +zlib (1:1.2.1.1-7) unstable; urgency=high + + * Once more, with feeling. + + -- Mark Brown Thu, 26 Aug 2004 20:49:42 +0100 + +zlib (1:1.2.1.1-6) testing; urgency=high + + * Fix the error handling in the new inflate implementation to avoid + incorrectly continuing to process in the error state. Thanks to Johan + Thelmén for his help in finding and fixing this + bug. This is CAN-2004-0797 (closes: #252253). + + -- Mark Brown Sat, 21 Aug 2004 23:30:57 +0100 + +zlib (1:1.2.1.1-5) unstable; urgency=low + + * Build a 64 bit libz on s390 and sparc. Original patch provided by Bastian + Blank but since modified (closes: #257940). + * Mark the udeb as such for Debhelper but note that the udeb support appears + not to cope with epochs so leave the code to build it. + * Apply patch from David Weinehall avoiding some XSIisms in + the package scripts (closes: #256363). + * Policy 3.6.1 (no changes). + + -- Mark Brown Sun, 11 Jul 2004 20:47:25 +0100 + +zlib (1:1.2.1.1-4) unstable; urgency=low + + * Incorporate current upstream patch to minizip. This supercedes most of + the current Debian patches (8,14,15 and 17) and has some additional + bugfixes. + + -- Mark Brown Sat, 12 Jun 2004 10:31:57 +0100 + +zlib (1:1.2.1.1-3ubuntu1) warty; urgency=high + + * Backport from 1:1.2.1.1-6 [debian/patches/018_CAN-2004-0797] + Fix the error handling in the new inflate implementation to avoid + incorrectly continuing to process in the error state. Thanks to Johan + Thelmén for his help in finding and fixing this + bug. This is CAN-2004-0797 (closes: #252253). + + -- Matt Zimmerman Fri, 10 Sep 2004 12:36:00 -0700 + +zlib (1:1.2.1.1-3) unstable; urgency=low + + * Fix -fPIC provision for HPPA (closes: #249289). + * Provide -D_REENTRANT while we're at it. + + -- Mark Brown Sun, 16 May 2004 18:54:08 +0100 + +zlib (1:1.2.1.1-2) unstable; urgency=low + + * Build with debug symbols. + * Revert partially done 64 bit support. + + -- Mark Brown Sun, 16 May 2004 12:22:14 +0100 + +zlib (1:1.2.1.1-1) unstable; urgency=low + + * New upstream release with bugfix for inflate (closes: #221590). + + -- Mark Brown Sat, 8 May 2004 11:27:44 +0100 + +zlib (1:1.2.1-5) unstable; urgency=low + + * Apparently udebs shouldn't call ldconfig (closes: #237345). + + -- Mark Brown Thu, 11 Mar 2004 21:27:09 +0000 + +zlib (1:1.2.1-4) unstable; urgency=low + + * Make checks when minizip is skipping arguments less likely to generate + false positives (closes: #231036). + + -- Mark Brown Sat, 7 Feb 2004 18:48:41 +0000 + +zlib (1:1.2.1-3) unstable; urgency=low + + * Use dpkg-architecture to get the target architecture and use the compiler + it tells us to. + * Don't run the testsuite when we're cross-compiling. + + -- Mark Brown Sat, 6 Dec 2003 14:49:48 +0000 + +zlib (1:1.2.1-2) unstable; urgency=low + + * Version build dependency on the DBS package (closes: #221599). + + -- Mark Brown Fri, 21 Nov 2003 14:13:40 +0000 + +zlib (1:1.2.1-1) unstable; urgency=low + + * New upstream release. + * The override fie tells me zlib1g is now required. + * Use dbs package to build rather than carting around our own copy. + * Many patches have been incorporated upstream. + * Upstream no longer has a readme.txt for zlib-bin. + * Check the return value of scanf() in miniunzip. + + -- Mark Brown Mon, 17 Nov 2003 23:49:22 +0000 + +zlib (1:1.1.4-17) unstable; urgency=low + + * Support GNU/KFreeBSD (closes: #220844). + + -- Mark Brown Sat, 15 Nov 2003 12:00:24 +0000 + +zlib (1:1.1.4-16) unstable; urgency=low + + * Check the return value of scanf in minizip (closes: #215658). + * Issue a diagnostic if minizip has no ZIP file to work on (closes: #215657). + + -- Mark Brown Thu, 16 Oct 2003 19:02:39 +0100 + +zlib (1:1.1.4-15) unstable; urgency=low + + * Replace "udeb" with "for Debian installer" in the short description for + the udeb (closes: #211019). + * Fix conflicts between real binary package and udeb. + + -- Mark Brown Tue, 16 Sep 2003 07:38:47 +0100 + +zlib (1:1.1.4-14) unstable; urgency=low + + * Remove the libc5 libraries from the control file. Apparently the archive + software isn't too keen on having packages built for the null set of + architectures. + + -- Mark Brown Sat, 12 Jul 2003 09:02:39 +0100 + +zlib (1:1.1.4-13) unstable; urgency=low + + * Nothing's actually appeared that uses the fact that zlib is in /lib so + move it back to /usr/lib. + * Drop libc5 support since it's breaking builds. The infrastructure is + still there so if we do decided to continue building libc5 stuff after all + it can be added back. + + -- Mark Brown Sat, 21 Jun 2003 14:07:39 +0100 + +zlib (1:1.1.4-12) unstable; urgency=low + + * Change section of zlib1g-dev to libdevel. + * GCC has now complains about improper usage of functions even without + prototypes so fix vsnprintf() test to call vsnprintf() with the + correct arguments (closes: #194828). + + -- Mark Brown Tue, 27 May 2003 08:32:02 +0100 + +zlib (1:1.1.4-11) unstable; urgency=low + + * The "Premature implementation is the root of all evil" release. + * Change udeb name to zlib1g-udeb (closes: #183296). + * Make the udeb provide zlib1g. + + -- Mark Brown Mon, 3 Mar 2003 22:00:21 +0000 + +zlib (1:1.1.4-10) unstable; urgency=low + + * Fix buffer overflow in gzprintf() by adding configure test for + vsnprintf() and failing the build out if it's not used. + * Use snprintf() for printing file descriptor name in gzdopen(). + * Remove Emacs variables from changelog. + + -- Mark Brown Sun, 23 Feb 2003 17:37:38 +0000 + +zlib (1:1.1.4-9) unstable; urgency=low + + * Build a zlib-udeb package. The changes are a modified version of some + provided by Sebastian Ley . + * Updated Standards-Version to 3.5.8 (no changes). + * Don't check for the preprocessor constant i386 in zconf.h, use the + better namespaced __i386__ instead. + + -- Mark Brown Mon, 30 Dec 2002 20:54:25 +0000 + +zlib (1:1.1.4-8) unstable; urgency=low + + * Leave libz.so in /usr/lib (closes: #169924). + + -- Mark Brown Wed, 20 Nov 2002 21:04:58 +0000 + +zlib (1:1.1.4-7) unstable; urgency=low + + * Install libz.so in /lib rather than /usr/lib (closes: #168797). + + -- Mark Brown Tue, 19 Nov 2002 00:01:34 +0000 + +zlib (1:1.1.4-6) unstable; urgency=low + + * Depend on libc-dev rather than libc6-dev (closes: #164649). + + -- Mark Brown Mon, 14 Oct 2002 11:35:09 +0100 + +zlib (1:1.1.4-5) unstable; urgency=low + + * Include patch from Joel Baker forcing -Dunix + when building minizip for NetBSD (closes: #164060). + * Don't set /usr/doc link in zlib1-altdev. + + -- Mark Brown Sat, 12 Oct 2002 19:32:25 +0100 + +zlib (1:1.1.4-4) unstable; urgency=low + + * Complete sentance in minzip.1 (closes: #160929). + + -- Mark Brown Sun, 15 Sep 2002 15:02:06 +0100 + +zlib (1:1.1.4-3) unstable; urgency=low + + * Update upstream URL in copyright file (closes: #154940). + + -- Mark Brown Wed, 31 Jul 2002 12:26:13 +0100 + +zlib (1:1.1.4-2) unstable; urgency=low + + * Build glibc static library without PIC (closes: #149939). + + -- Mark Brown Wed, 17 Jul 2002 20:37:50 +0100 + +zlib (1:1.1.4-1) unstable; urgency=low + + * New upstream release. + + -- Mark Brown Mon, 11 Mar 2002 21:44:13 +0000 + +zlib (1:1.1.3-19.1) unstable; urgency=high + + * Non-maintainer upload + * Apply patch for double-free bug + + -- Matt Zimmerman Sun, 10 Mar 2002 23:52:20 -0500 + +zlib (1:1.1.3-19) unstable; urgency=low + + * Include patch to minizip from Steve Kemp + fixing various stability issues with minizip. + + -- Mark Brown Sat, 19 Jan 2002 13:19:22 +0000 + +zlib (1:1.1.3-18) unstable; urgency=low + + * Fix -d option support so that archives can be extracted without + using -d (closes: #119898). + * s/pkzip/PKZIP/ in control file. + + -- Mark Brown Sat, 17 Nov 2001 13:42:23 +0000 + +zlib (1:1.1.3-17) unstable; urgency=low + + * Add patch from Dirk Eddelbuettel supporting an + additional "-d extractdir" option and correcting the miniunzip + manual page (closes: #118658). + + -- Mark Brown Wed, 7 Nov 2001 23:00:03 +0000 + +zlib (1:1.1.3-16) unstable; urgency=low + + * Add to LD_LIBRARY_PATH rather than setting it since fakeroot now + relies on setting it (closes: #108553). + + -- Mark Brown Mon, 27 Aug 2001 13:52:57 +0100 + +zlib (1:1.1.3-15) unstable; urgency=low + + * Call tar with --force-local in debian/rules to force it to interpret + filenames as filenames (closes: #96078). + * Supply manual pages for minizip and miniunzip. + * Update description of libc5 packages to mention that they are + libc5 variants. + + -- Mark Brown Wed, 2 May 2001 23:28:54 +0100 + +zlib (1:1.1.3-14) unstable; urgency=low + + * Update debian/rules for m68k again (closes: #91863). + * Upgrade priority of zlib1g to standard. + * Update to policy 3.5.2 (no changes). + + -- Mark Brown Thu, 22 Mar 2001 20:54:11 +0000 + +zlib (1:1.1.3-13) unstable; urgency=low + + * Don't build libc5 packages on m68k any more (closes: #90639). + + -- Mark Brown Thu, 22 Mar 2001 10:49:32 +0000 + +zlib (1:1.1.3-12) unstable; urgency=low + + * Install zlib.3 in zlib1g-dev (closes: #78122). + * Update to policy 3.2.1 (no changes). + + -- Mark Brown Mon, 1 Jan 2001 15:52:58 +0000 + +zlib (1:1.1.3-11) unstable; urgency=low + + * Build-depends on debhelper (closes: #72400). + + -- Mark Brown Mon, 25 Sep 2000 14:17:46 +0100 + +zlib (1:1.1.3-10) unstable; urgency=low + + * Fix bashism in build.vars (closes: #71756). + + -- Mark Brown Fri, 22 Sep 2000 14:04:10 +0100 + +zlib (1:1.1.3-9) unstable; urgency=low + + * Fix source dependancies (closes: #68469). + + -- Mark Brown Fri, 4 Aug 2000 01:24:49 +0100 + +zlib (1:1.1.3-8) unstable; urgency=low + + * New maintainer. + * Initialise DH_OPTIONS in debian/rules (closes: #67113). + * Add source dependancies. + * Update copyright information. + + -- Mark Brown Wed, 2 Aug 2000 18:05:16 +0100 + +zlib (1:1.1.3-7) unstable; urgency=low + + * Fixed zlib1g shlibs. Closes: #67164. + + -- Adam Heath Fri, 14 Jul 2000 11:06:06 -0500 + +zlib (1:1.1.3-6) unstable; urgency=low + + * Joel is taking a leave of absence(indefinate). He has given the package + to me. + * Ported to dbs, an enhanced source management system. + * Ported to debhelper. + * Fix broken libz.so link in -altdev. Closes: #54573. + * Incorrect shlibs file on hurd. Fixed in -5. Closes: #56125. + + -- Adam Heath Mon, 10 Jul 2000 16:38:02 -0500 + +zlib (1:1.1.3-5) unstable; urgency=low + + * Remove sparc from libc5-compat architectures. + * control: zlib1g: Provide libz1. + zlib1g-dev: Provide libz-dev. + * shlibs-libc6: Use libz1. + * /usr/doc symlinks. + * Correct zlib-bin description in debian/control. + * Only call ldconfig when configuring (closes:Bug#42518). + * Add hurd configure patch (closes:Bug#46899). + * Ensure contrib.tar.gz is really tarred *and* gzipped (closes:Bug#30367,#32001). + * zlib1g-dev has had the man page since 1.1.3-1 (closes:Bug#23802). + * Fix URL in minizip (closes:Bug#43888). + * Install example.c and minigzip.c in zlib1g-dev examples (closes:Bug#32002). + + -- Joel Klecker Sat, 30 Oct 1999 12:25:25 -0700 + +zlib (1:1.1.3-4) unstable; urgency=low + + * Policy 3.0.1. + * dpkg-architecture variables. + * zlib-bin: `miniunz' -> `miniunzip'. + * Source package is zlib again. + + -- Joel Klecker Sat, 31 Jul 1999 21:01:58 -0700 + +zlib1 (1:1.1.3-3) unstable; urgency=low + + * Made zlib-bin package containing `minizip' and `miniunz'. + + -- Joel Klecker Thu, 11 Mar 1999 13:16:58 -0800 + +zlib1 (1:1.1.3-2) unstable; urgency=low + + * Fix incorrect dependency in shlibs files (Bug:#28083). + + -- Joel Klecker Fri, 16 Oct 1998 23:58:41 -0700 + +zlib1 (1:1.1.3-1) unstable; urgency=low + + * New maintainer (hijacking the package due to non-response of + active maintainer to repeated queries). + * New upstream release. + * (shlibs-libc6): Paranoia: depend on >= 1:1.1.3. + (shlibs-libc5): likewise. + * (debian/control): changed source package to 'zlib1'. + * Fix /usr/doc/libz* + * Add contrib directory as .tar.gz in zlib1g-dev. + * Add man page. + * Add README, FAQ and algorithm.txt. + * lintian clean. + * Added sparc to libc5-compat architectures. + + -- Joel Klecker Tue, 13 Oct 1998 19:30:29 -0700 + +zlib (1:1.1.2-0.1) unstable; urgency=low + + * New upstream bugfix release. + * libc5 compat packages are now built on only i386 and m68k. + + -- Joel Klecker Mon, 11 May 1998 18:33:46 -0700 + +zlib (1:1.1.1-0.1) unstable; urgency=low + + * Non maintainer release. + * New upstream release. + * Made symlink in zlib1-altdev relative (fixes lintian warning). + * Removed executable bit on shared libs (fixes several lintian warnings). + + -- Joel Klecker Fri, 13 Mar 1998 20:19:15 -0800 + +zlib (1:1.0.4-7.1) unstable; urgency=low + + * Updated for libc6 + * Compiled with -D_REENTRANT. + * Non mantainer release. + + -- Enrique Zanardi Wed, 17 Sep 1997 01:28:05 +0100 + +zlib (1:1.0.4-7) stable unstable; urgency=low + + * Include --assert-working-epoch so people can't try to install with + bogus dpkg. (Bug#6848) + * Correct zlib1-dev description. (Bug#6061). + + -- Michael Alan Dorman Sun, 26 Jan 1997 16:49:19 -0500 + +zlib (1:1.0.4-6) stable unstable; urgency=high + + * Recompile with correct libc requirement. + * Correct zlib1-dev deps to include zlib1. + + -- Michael Alan Dorman Tue, 21 Jan 1997 17:57:22 -0500 + +zlib (1:1.0.4-5) stable; urgency=low + + * Add epoch, to make dselect happier + + -- Michael Alan Dorman Sat, 28 Dec 1996 11:02:43 -0500 + +zlib (1.0.4-4) stable; urgency=high + + * Remember to copy shlibs file to DEBIAN directory (thanks to Christoph + Lameter + + -- Michael Alan Dorman Sun, 15 Dec 1996 10:12:44 -0500 + +zlib (1.0.4-3) unstable; urgency=low + + * Added shlibs file + * Insured that shared library was stripped (Bug#5316) + + -- Michael Alan Dorman Sat, 23 Nov 1996 16:52:19 -0500 + +zlib (1.0.4-2) unstable; urgency=low + + * Accomodate the fact that dpkg-source doesn't properly preserve + permissions on scripts when extracting package. + + -- Michael Alan Dorman Mon, 23 Sep 1996 09:17:57 -0400 + +zlib (1.0.4-1) unstable; urgency=low + + * New upstream version. + * Moved to new source packaging format. + + -- Michael Alan Dorman Thu, 12 Sep 1996 15:19:35 -0400 --- zlib-1.2.3.orig/debian/control +++ zlib-1.2.3/debian/control @@ -0,0 +1,87 @@ +Source: zlib +Section: libs +Priority: optional +Maintainer: Mark Brown +Standards-Version: 3.6.2 +Build-Depends: debhelper (>= 4.2), dbs (>= 0.21), libc6-dev-s390x [s390], libc6-dev-sparc64 [sparc], libc6-dev-i386 [amd64] | ia32-libs-dev [amd64], libc6-dev-amd64 [i386], libc6-dev-ppc64 [powerpc], lib32gcc1 [amd64], lib64gcc1 [i386 powerpc sparc s390] + +Package: zlib1g +Architecture: any +Depends: ${shlibs:Depends} +Priority: required +Conflicts: zlib1 (<= 1:1.0.4-7), zlib1g-udeb +Replaces: zlib1g-udeb +Provides: libz1 +Description: compression library - runtime + zlib is a library implementing the deflate compression method found + in gzip and PKZIP. This package includes the shared library. + +Package: zlib1g-dev +Section: libdevel +Architecture: any +Depends: zlib1g (= ${Source-Version}), libc6-dev | libc-dev +Conflicts: zlib1-dev +Provides: libz-dev +Description: compression library - development + zlib is a library implementing the deflate compression method found + in gzip and PKZIP. This package includes the development support + files. + +Package: zlib-bin +Section: utils +Architecture: any +Depends: ${shlibs:Depends} +Description: compression library - sample programs + Some generally useful sample programs from the contrib directory. + Includes a "mini" implementation of `zip' and `unzip' called + `minizip' and `miniunzip' respectively. + +Package: zlib1g-udeb +XC-Package-Type: udeb +Architecture: any +Priority: optional +Provides: zlib1g +Section: debian-installer +Description: compression library - runtime for Debian installer + zlib is a library implementing the deflate compression method found + in gzip and PKZIP. This minimal package includes the shared library + for use with the Debian installer. + +Package: lib64z1 +Architecture: i386 powerpc sparc s390 +Depends: ${shlibs:Depends}, ${libxx:Depends} +Conflicts: amd64-libs +Replaces: amd64-libs +Description: compression library - 64 bit runtime + zlib is a library implementing the deflate compression method found + in gzip and PKZIP. This package includes a 64 bit version of the + shared library. + +Package: lib64z1-dev +Section: libdevel +Architecture: i386 powerpc sparc s390 +Depends: lib64z1 (= ${Source-Version}), zlib1g-dev (= ${Source-Version}), ${libxxdev:Depends} +Provides: lib64z-dev +Description: compression library - 64 bit development + zlib is a library implementing the deflate compression method found + in gzip and PKZIP. This package includes the development support + files for building 64 bit applications. + +Package: lib32z1 +Architecture: amd64 +Depends: ${shlibs:Depends} +Replaces: ia32-libs (<< 0.5ubuntu4) +Description: compression library - 32 bit runtime + zlib is a library implementing the deflate compression method found + in gzip and PKZIP. This package includes a 32 bit version of the + shared library. + +Package: lib32z1-dev +Section: libdevel +Architecture: amd64 +Depends: lib32z1 (= ${Source-Version}), zlib1g-dev (= ${Source-Version}), ${libxxdev:Depends} +Provides: lib32z-dev +Description: compression library - 32 bit development + zlib is a library implementing the deflate compression method found + in gzip and PKZIP. This package includes the development support + files for building 32 bit applications. --- zlib-1.2.3.orig/debian/rules +++ zlib-1.2.3/debian/rules @@ -0,0 +1,305 @@ +#!/usr/bin/make -f + +VERSION:=$(shell LC_ALL=C dpkg-parsechangelog | grep '^Version:' | \ + sed -e 's/^Version: *//' -e 's/-.*$$//' -e 's/^.*://') +SONAME=1 + +include debian/vars +BUILD_TREE = $(SOURCE_DIR)/$(TAR_DIR) + +DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH) +DEB_BUILD_GNU_CPU := $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU) +DEB_BUILD_GNU_SYSTEM := $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM) +DEB_BUILD_GNU_TYPE=$(DEB_BUILD_GNU_CPU)-$(DEB_BUILD_GNU_SYSTEM) +DEB_HOST_ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH) +DEB_HOST_GNU_CPU=$(shell dpkg-architecture -qDEB_BUILD_GNU_CPU) +DEB_HOST_GNU_SYSTEM=$(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM) +DEB_HOST_GNU_TYPE=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DH_OPTIONS= + +ifeq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) +TESTS=test +CC=gcc +else +CC=$(DEB_HOST_GNU_TYPE)-gcc +endif + +64-ARCHS=i386 powerpc s390 sparc +ifneq (,$(findstring $(DEB_HOST_ARCH), $(64-ARCHS))) +DOBUILD += $(STAMP_DIR)/build-64 $(STAMP_DIR)/build-64-nopic +DOBINARY := binary-lib64z1 binary-lib64z1-dev +CC64=gcc -m64 +endif +ifeq ($(DEB_HOST_ARCH),i386) + CC64 += -march=x86-64 -mtune=x86-64 +endif + +32-ARCHS=amd64 +ifneq (,$(findstring $(DEB_HOST_ARCH), $(32-ARCHS))) +DOBUILD += $(STAMP_DIR)/build-32 $(STAMP_DIR)/build-32-nopic +DOBINARY := binary-lib32z1 binary-lib32z1-dev +endif + +# Did the user want to turn optimisation off for some reason? +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +CFLAGS=-O0 +else +# Temporary bodge for m68k - use less optimisation to work around an ICE. +ifneq (,$(findstring $(DEB_HOST_ARCH), m68k)) +CFLAGS=-O2 +else +# By default, optimise heavily. +CFLAGS=-O3 +endif +endif + +UDEB=$(shell dh_listpackages | grep -- -udeb$$) +DVERSION=$(shell dpkg-parsechangelog | grep ^Version: | cut -d ':' -f 3) +UFILENAME=$(UDEB)_$(DVERSION)_$(DEB_BUILD_ARCH).udeb + +clean: + dh_testdir + $(MAKE) -f /usr/share/dbs/sys-build.mk source.clean + dh_clean + rm -rf debian/nopic-tmp + +$(STAMP_DIR)/source.make: + $(MAKE) -f /usr/share/dbs/sys-build.mk source.make + +make-diff: + $(MAKE) -f /usr/share/dbs/sys-build.mk make-diff + +build: $(STAMP_DIR)/build +$(STAMP_DIR)/build: $(STAMP_DIR)/source.make $(DOBUILDCOMPAT) + dh_testdir + cd $(BUILD_TREE) && CC=$(CC) CFLAGS="$(CFLAGS) -g -D_REENTRANT -fPIC" ./configure --shared + $(MAKE) -C $(BUILD_TREE) all libz.a $(TESTS) + $(MAKE) CC=$(CC) OPT=$(CFLAGS) -C $(BUILD_TREE)/contrib/minizip + touch $@ + +$(STAMP_DIR)/build-64: $(STAMP_DIR)/source.make + dh_testdir + cd $(BUILD_TREE) && CC="$(CC64)" CFLAGS="$(CFLAGS) -g -D_REENTRANT -fPIC" ./configure --shared + $(MAKE) -C $(BUILD_TREE) clean + $(MAKE) -C $(BUILD_TREE) all libz.a $(TESTS) + touch $@ + +$(STAMP_DIR)/build-32: $(STAMP_DIR)/source.make + dh_testdir + cd $(BUILD_TREE) && CC="$(CC) -m32" CFLAGS="$(CFLAGS) -g -D_REENTRANT -fPIC" ./configure --shared + $(MAKE) -C $(BUILD_TREE) clean + $(MAKE) -C $(BUILD_TREE) all libz.a $(TESTS) + touch $@ + +$(STAMP_DIR)/build-nopic: $(STAMP_DIR)/source.make + dh_testdir + mkdir -p debian/nopic-tmp + cd $(BUILD_TREE) && CC=$(CC) CFLAGS="$(CFLAGS) -D_REENTRANT" ./configure + $(MAKE) -C $(BUILD_TREE) clean + $(MAKE) -C $(BUILD_TREE) all libz.a $(TESTS) + $(MAKE) -C $(BUILD_TREE) install prefix=$(CURDIR)/debian/nopic-tmp + install -m 644 $(BUILD_TREE)/libz.a debian/nopic-tmp/lib/libz.a + $(MAKE) -C $(BUILD_TREE) clean + touch $@ + +$(STAMP_DIR)/build-64-nopic: $(STAMP_DIR)/source.make + dh_testdir + mkdir -p debian/nopic-tmp + cd $(BUILD_TREE) && CC="$(CC64)" CFLAGS="$(CFLAGS) -D_REENTRANT" ./configure --libdir=\$${prefix}/lib64 + $(MAKE) -C $(BUILD_TREE) clean + $(MAKE) -C $(BUILD_TREE) all libz.a $(TESTS) + $(MAKE) -C $(BUILD_TREE) install prefix=$(CURDIR)/debian/nopic-tmp + install -m 644 $(BUILD_TREE)/libz.a debian/nopic-tmp/lib64/libz.a + $(MAKE) -C $(BUILD_TREE) clean + touch $@ + +$(STAMP_DIR)/build-32-nopic: $(STAMP_DIR)/source.make + dh_testdir + mkdir -p debian/nopic-tmp + cd $(BUILD_TREE) && CC="$(CC) -m32" CFLAGS="$(CFLAGS) -D_REENTRANT" ./configure --libdir=\$${prefix}/usr/lib32/ + $(MAKE) -C $(BUILD_TREE) clean + $(MAKE) -C $(BUILD_TREE) all libz.a $(TESTS) + $(MAKE) -C $(BUILD_TREE) install prefix=$(CURDIR)/debian/nopic-tmp + install -m 644 $(BUILD_TREE)/libz.a debian/nopic-tmp/usr/lib32/libz.a + $(MAKE) -C $(BUILD_TREE) clean + touch $@ + +binary-indep: + +binary-arch: binary-zlib1g-udeb binary-zlib1g binary-zlib1g-dev binary-zlib-bin $(DOBINARY) + +pkg = $(patsubst binary-%,%,$@) + +middle-binary-zlib1g-dev: tmpdir = $(CURDIR)/debian/zlib1g-dev +middle-binary-zlib-bin: tmpdir = $(CURDIR)/debian/zlib-bin +middle-binary-zlib1g: tmpdir = $(CURDIR)/debian/zlib1g +middle-binary-zlib1g-udeb: tmpdir = $(CURDIR)/debian/zlib1g-udeb +middle-binary-lib64z1: tmpdir = $(CURDIR)/debian/lib64z1 +middle-binary-lib64z1-dev: tmpdir = $(CURDIR)/debian/lib64z1-dev +middle-binary-lib32z1: tmpdir = $(CURDIR)/debian/lib32z1 +middle-binary-lib32z1-dev: tmpdir = $(CURDIR)/debian/lib32z1-dev +post-binary-zlib1g-dev: tmpdir = $(CURDIR)/debian/zlib1g-dev +post-binary-zlib-bin: tmpdir = $(CURDIR)/debian/zlib-bin +post-binary-zlib1g: tmpdir = $(CURDIR)/debian/zlib1g + +post-binary-zlib1g: changelog = $(BUILD_TREE)/ChangeLog +post-binary-zlib1g: docs = $(BUILD_TREE)/README + +post-binary-zlib1g-dev: docs = $(BUILD_TREE)/FAQ $(BUILD_TREE)/README $(BUILD_TREE)/algorithm.txt +post-binary-zlib1g-dev: examples = $(BUILD_TREE)/example.c $(BUILD_TREE)/minigzip.c +post-binary-zlib1g-dev: changelog = $(BUILD_TREE)/ChangeLog +post-binary-zlib1g-dev: manpages3 = $(BUILD_TREE)/zlib.3 + +post-binary-zlib-bin: changelog = $(BUILD_TREE)/contrib/minizip/ChangeLogUnzip +post-binary-zlib-bin: manpages1 = debian/minizip.1 debian/miniunzip.1 + +allpkgs = zlib1g-dev zlib1g zlib1g-udeb zlib-bin lib64z1 lib64z1-dev lib32z1 lib32z1-dev +$(patsubst %,binary-%,$(allpkgs)): DH_OPTIONS += -p$(pkg) + +$(patsubst %,binary-%,$(allpkgs)): binary-%: pre-binary-% +$(patsubst %,binary-%,$(allpkgs)): binary-%: middle-binary-% +$(patsubst %,binary-%,$(allpkgs)): binary-%: post-binary-% + +$(patsubst %,pre-binary-%,$(allpkgs)): pkg = $(patsubst pre-binary-%,%,$@) +$(patsubst %,middle-binary-%,$(allpkgs)): pkg = $(patsubst middle-binary-%,%,$@) +$(patsubst %,post-binary-%,$(allpkgs)): pkg = $(patsubst post-binary-%,%,$@) + +binary-zlib1g-udeb: DH_OPTIONS += -pzlib1g-udeb +binary-zlib1g-udeb: pre-binary-zlib1g-udeb +binary-zlib1g-udeb: middle-binary-zlib1g-udeb +binary-zlib1g-udeb: post-binary-zlib1g-udeb + +post-binary-zlib1-altdev: nodocs=\# + +pre-binary-%: $(STAMP_DIR)/build + dh_testdir $(DH_OPTIONS) + dh_testroot $(DH_OPTIONS) + dh_clean -k $(DH_OPTIONS) + dh_installdirs $(DH_OPTIONS) + dh_link $(DH_OPTIONS) +ifeq ($(DEB_HOST_ARCH),i386) + echo 'libxxdev:Depends=libc6-dev-amd64' > debian/$*.substvars + echo 'libxx:Depends=libc6-amd64' >> debian/$*.substvars +endif +ifeq ($(DEB_HOST_ARCH),amd64) + echo 'libxxdev:Depends=libc6-dev-i386 | ia32-libs-dev' > debian/$*.substvars +endif +ifeq ($(DEB_HOST_ARCH),powerpc) + echo 'libxxdev:Depends=libc6-dev-ppc64' > debian/$*.substvars + echo 'libxx:Depends=libc6-ppc64' >> debian/$*.substvars +endif +ifeq ($(DEB_HOST_ARCH),s390) + echo 'libxxdev:Depends=libc6-dev-s390x' > debian/$*.substvars +endif +ifeq ($(DEB_HOST_ARCH),sparc) + echo 'libxxdev:Depends=libc6-dev-sparc64' > debian/$*.substvars +endif + +post-binary-%: $(STAMP_DIR)/build + $(nodocs)if [ "$(manpages1)" != "" ]; then cp $(manpages1) $(tmpdir)/usr/share/man/man1 ; fi + $(nodocs)if [ "$(manpages3)" != "" ]; then cp $(manpages3) $(tmpdir)/usr/share/man/man3 ; fi + $(nodocs)dh_installexamples $(DH_OPTIONS) $(examples) + $(nodocs)dh_installchangelogs $(DH_OPTIONS) $(changelog) + $(nodocs)dh_installdocs $(DH_OPTIONS) $(docs) + dh_installdeb $(DH_OPTIONS) + dh_shlibdeps $(DH_OPTIONS) -l$(BUILD_TREE) + dh_compress $(DH_OPTIONS) + dh_strip $(DH_OPTIONS) + dh_md5sums $(DH_OPTIONS) + dh_fixperms $(DH_OPTIONS) + dh_gencontrol $(DH_OPTIONS) + dh_builddeb $(DH_OPTIONS) + +post-binary-zlib-bin: $(STAMP_DIR)/build + $(nodocs)if [ "$(manpages1)" != "" ]; then cp $(manpages1) $(tmpdir)/usr/share/man/man1 ; fi + $(nodocs)if [ "$(manpages3)" != "" ]; then cp $(manpages3) $(tmpdir)/usr/share/man/man3 ; fi + $(nodocs)dh_installexamples $(DH_OPTIONS) $(examples) + $(nodocs)dh_installchangelogs $(DH_OPTIONS) $(changelog) + $(nodocs)dh_installdocs $(DH_OPTIONS) $(docs) + dh_installdeb $(DH_OPTIONS) + dh_shlibdeps $(DH_OPTIONS) -l$(BUILD_TREE) -- -Ldebian/shlibs + dh_compress $(DH_OPTIONS) + dh_strip $(DH_OPTIONS) + dh_md5sums $(DH_OPTIONS) + dh_fixperms $(DH_OPTIONS) + dh_gencontrol $(DH_OPTIONS) + dh_builddeb $(DH_OPTIONS) + +post-binary-zlib1g-udeb: $(STAMP_DIR)/build + dh_installdeb $(DH_OPTIONS) + dh_shlibdeps $(DH_OPTIONS) -l$(BUILD_TREE) + dh_compress $(DH_OPTIONS) + dh_strip $(DH_OPTIONS) + dh_fixperms $(DH_OPTIONS) + dh_gencontrol $(DH_OPTIONS) -- -fdebian/files~ + dpkg-distaddfile $(UFILENAME) debian-installer optional + dh_builddeb $(DH_OPTIONS) --filename=$(UFILENAME) + +post-binary-lib64z1: $(STAMP_DIR)/build-64 + dh_installchangelogs $(DH_OPTIONS) $(changelog) + dh_installdocs $(DH_OPTIONS) $(docs) + dh_installdeb $(DH_OPTIONS) + -dh_shlibdeps $(DH_OPTIONS) -l$(BUILD_TREE) + dh_compress $(DH_OPTIONS) + dh_strip $(DH_OPTIONS) + dh_fixperms $(DH_OPTIONS) + dh_gencontrol $(DH_OPTIONS) + dh_builddeb $(DH_OPTIONS) + +post-binary-lib32z1: $(STAMP_DIR)/build-32 + dh_installchangelogs $(DH_OPTIONS) $(changelog) + dh_installdocs $(DH_OPTIONS) $(docs) + dh_installdeb $(DH_OPTIONS) + dh_shlibdeps $(DH_OPTIONS) -l$(BUILD_TREE) + dh_compress $(DH_OPTIONS) + dh_strip $(DH_OPTIONS) + dh_fixperms $(DH_OPTIONS) + dh_gencontrol $(DH_OPTIONS) + dh_builddeb $(DH_OPTIONS) + +middle-binary-zlib1g: $(STAMP_DIR)/build + install -m 644 -s $(BUILD_TREE)/libz.so.$(VERSION) $(tmpdir)/usr/lib/libz.so.$(VERSION) + ln -s libz.so.$(VERSION) $(tmpdir)/usr/lib/libz.so.$(SONAME) + +middle-binary-zlib1g-udeb: $(STAMP_DIR)/build + install -m 644 -s $(BUILD_TREE)/libz.so.$(VERSION) $(tmpdir)/usr/lib/libz.so.$(VERSION) + ln -s libz.so.$(VERSION) $(tmpdir)/usr/lib/libz.so.$(SONAME) + +middle-binary-zlib1g-dev: $(STAMP_DIR)/build-nopic + install -m 644 debian/nopic-tmp/lib/libz.a \ + $(tmpdir)/usr/lib/libz.a + ln -s libz.so.1 $(tmpdir)/usr/lib/libz.so + install -m 644 $(BUILD_TREE)/zlib.h $(BUILD_TREE)/zconf.h $(tmpdir)/usr/include/ + tar cf $(tmpdir)/usr/share/doc/zlib1g-dev/examples/contrib.tar --force-local -C $(BUILD_TREE)/contrib . + +middle-binary-zlib-bin: $(STAMP_DIR)/build + install -m 755 $(BUILD_TREE)/contrib/minizip/minizip $(tmpdir)/usr/bin/ + install -m 755 $(BUILD_TREE)/contrib/minizip/miniunz $(tmpdir)/usr/bin/miniunzip + +middle-binary-lib64z1: $(STAMP_DIR)/build-64 + install -m 644 -s $(BUILD_TREE)/libz.so.$(VERSION) $(tmpdir)/usr/lib64/libz.so.$(VERSION) + ln -s libz.so.$(VERSION) $(tmpdir)/usr/lib64/libz.so.$(SONAME) + +middle-binary-lib64z1-dev: $(STAMP_DIR)/build-64-nopic + install -m 644 debian/nopic-tmp/lib64/libz.a \ + $(tmpdir)/usr/lib64/libz.a + ln -s libz.so.1 $(tmpdir)/usr/lib64/libz.so + +middle-binary-lib32z1: $(STAMP_DIR)/build-32 + install -m 644 -s $(BUILD_TREE)/libz.so.$(VERSION) $(tmpdir)/usr/lib32/libz.so.$(VERSION) + ln -s libz.so.$(VERSION) $(tmpdir)/usr/lib32/libz.so.$(SONAME) + +middle-binary-lib32z1-dev: $(STAMP_DIR)/build-32-nopic + install -m 644 debian/nopic-tmp/usr/lib32/libz.a \ + $(tmpdir)/usr/lib32/libz.a + ln -s libz.so.1 $(tmpdir)/usr/lib32/libz.so + +# Below here is fairly generic really + +binary: binary-indep binary-arch + +checkroot: + $(checkdir) + test root = "`whoami`" + +.PHONY: binary clean checkroot