|
|
7184a4 |
diff -urN zlib-1.2.3.orig/Makefile.am zlib-1.2.3.kasal/Makefile.am
|
|
|
7184a4 |
--- zlib-1.2.3.orig/Makefile.am 1970-01-01 01:00:00.000000000 +0100
|
|
|
7184a4 |
+++ zlib-1.2.3.kasal/Makefile.am 2009-03-17 17:58:36.000000000 +0100
|
|
|
7184a4 |
@@ -0,0 +1,70 @@
|
|
|
7184a4 |
+ACLOCAL_AMFLAGS = -I m4 --install
|
|
|
7184a4 |
+
|
|
|
7184a4 |
+lib_LTLIBRARIES = libz.la
|
|
|
7184a4 |
+
|
|
|
7184a4 |
+libz_la_SOURCES = \
|
|
|
7184a4 |
+ adler32.c \
|
|
|
7184a4 |
+ compress.c \
|
|
|
7184a4 |
+ crc32.c \
|
|
|
7184a4 |
+ crc32.h \
|
|
|
7184a4 |
+ gzclose.c \
|
|
|
7184a4 |
+ gzlib.c \
|
|
|
7184a4 |
+ gzread.c \
|
|
|
7184a4 |
+ gzwrite.c \
|
|
|
7184a4 |
+ uncompr.c \
|
|
|
7184a4 |
+ deflate.c \
|
|
|
7184a4 |
+ deflate.h \
|
|
|
7184a4 |
+ trees.c \
|
|
|
7184a4 |
+ trees.h \
|
|
|
7184a4 |
+ zutil.c \
|
|
|
7184a4 |
+ zutil.h \
|
|
|
7184a4 |
+ inflate.c \
|
|
|
7184a4 |
+ inflate.h \
|
|
|
7184a4 |
+ infback.c \
|
|
|
7184a4 |
+ inftrees.c \
|
|
|
7184a4 |
+ inftrees.h \
|
|
|
7184a4 |
+ inffast.c \
|
|
|
7184a4 |
+ inffast.h \
|
|
|
7184a4 |
+ infflate.h
|
|
|
7184a4 |
+
|
|
|
7184a4 |
+# Use -version-number to match the file name used before autoconfiscation.
|
|
|
7184a4 |
+libz_la_LDFLAGS = -version-number 1:2:5 -no-undefined
|
|
|
7184a4 |
+
|
|
|
7184a4 |
+include_HEADERS = zlib.h
|
|
|
7184a4 |
+nodist_include_HEADERS = zconf.h
|
|
|
7184a4 |
+
|
|
|
7184a4 |
+dist_man_MANS = zlib.3
|
|
|
7184a4 |
+
|
|
|
7184a4 |
+## libminizip:
|
|
|
7184a4 |
+
|
|
|
7184a4 |
+lib_LTLIBRARIES += libminizip.la
|
|
|
7184a4 |
+
|
|
|
7184a4 |
+libminizip_la_SOURCES = \
|
|
|
7184a4 |
+ contrib/minizip/ioapi.c \
|
|
|
7184a4 |
+ contrib/minizip/mztools.c \
|
|
|
7184a4 |
+ contrib/minizip/unzip.c \
|
|
|
7184a4 |
+ contrib/minizip/zip.c
|
|
|
7184a4 |
+
|
|
|
7184a4 |
+# do not build the static version of libminizip
|
|
|
7184a4 |
+libminizip_la_CFLAGS = -shared
|
|
|
7184a4 |
+libminizip_la_LDFLAGS = -version-info 1:0:0 -no-undefined
|
|
|
7184a4 |
+libminizip_la_LIBADD = libz.la
|
|
|
7184a4 |
+
|
|
|
7184a4 |
+minizip_includedir = $(includedir)/minizip
|
|
|
7184a4 |
+minizip_include_HEADERS = \
|
|
|
7184a4 |
+ contrib/minizip/crypt.h \
|
|
|
7184a4 |
+ contrib/minizip/ioapi.h \
|
|
|
7184a4 |
+ contrib/minizip/mztools.h \
|
|
|
7184a4 |
+ contrib/minizip/unzip.h \
|
|
|
7184a4 |
+ contrib/minizip/zip.h
|
|
|
7184a4 |
+
|
|
|
7184a4 |
+pkgconfigdir = $(libdir)/pkgconfig
|
|
|
7184a4 |
+pkgconfig_DATA = minizip.pc
|
|
|
7184a4 |
+
|
|
|
7184a4 |
+EXTRA_PROGRAMS = miniunzip minizip
|
|
|
7184a4 |
+
|
|
|
7184a4 |
+miniunzip_SOURCES = contrib/minizip/miniunz.c
|
|
|
7184a4 |
+miniunzip_LDADD = libminizip.la
|
|
|
7184a4 |
+
|
|
|
7184a4 |
+minizip_SOURCES = contrib/minizip/minizip.c
|
|
|
7184a4 |
+minizip_LDADD = libminizip.la
|
|
|
7184a4 |
diff -urN zlib-1.2.3.orig/configure.ac zlib-1.2.3.kasal/configure.ac
|
|
|
7184a4 |
--- zlib-1.2.3.orig/configure.ac 1970-01-01 01:00:00.000000000 +0100
|
|
|
7184a4 |
+++ zlib-1.2.3.kasal/configure.ac 2009-03-17 17:28:41.000000000 +0100
|
|
|
7184a4 |
@@ -0,0 +1,13 @@
|
|
|
7184a4 |
+# -*- Autoconf -*-
|
|
|
7184a4 |
+# Process this file with autoconf to produce a configure script.
|
|
|
7184a4 |
+
|
|
|
7184a4 |
+AC_INIT([zlib], [1.2.5], [bugzilla.redhat.com])
|
|
|
7184a4 |
+AC_CONFIG_SRCDIR([gzlib.c])
|
|
|
7184a4 |
+AC_CONFIG_MACRO_DIR([m4])
|
|
|
7184a4 |
+AM_INIT_AUTOMAKE([foreign])
|
|
|
7184a4 |
+LT_INIT
|
|
|
7184a4 |
+
|
|
|
7184a4 |
+AC_SUBST([HAVE_UNISTD_H], [0])
|
|
|
7184a4 |
+AC_CHECK_HEADER([unistd.h], [HAVE_UNISTD_H=1], [])
|
|
|
7184a4 |
+AC_CONFIG_FILES([Makefile minizip.pc zlib.pc zconf.h:zconf.h.in])
|
|
|
7184a4 |
+AC_OUTPUT
|
|
|
7184a4 |
diff -urN zlib-1.2.3.orig/minizip.pc.in zlib-1.2.3.kasal/minizip.pc.in
|
|
|
7184a4 |
--- zlib-1.2.3.orig/minizip.pc.in 1970-01-01 01:00:00.000000000 +0100
|
|
|
7184a4 |
+++ zlib-1.2.3.kasal/minizip.pc.in 2009-01-07 15:49:34.000000000 +0100
|
|
|
7184a4 |
@@ -0,0 +1,11 @@
|
|
|
7184a4 |
+prefix=@prefix@
|
|
|
7184a4 |
+exec_prefix=@exec_prefix@
|
|
|
7184a4 |
+libdir=@libdir@
|
|
|
7184a4 |
+includedir=@includedir@/minizip
|
|
|
7184a4 |
+
|
|
|
7184a4 |
+Name: minizip
|
|
|
7184a4 |
+Description: Minizip zip file manipulation library
|
|
|
7184a4 |
+Requires:
|
|
|
7184a4 |
+Version: @PACKAGE_VERSION@
|
|
|
7184a4 |
+Libs: -L${libdir} -lminizip -lz
|
|
|
7184a4 |
+Cflags: -I${includedir}
|
|
|
7184a4 |
--- zlib-1.2.3.orig/zlib.pc.in.orig 2011-08-12 13:00:47.043690473 +0200
|
|
|
7184a4 |
+++ zlib-1.2.3/zlib.pc.in 2011-08-12 13:01:00.874943334 +0200
|
|
|
7184a4 |
@@ -1,7 +1,6 @@
|
|
|
7184a4 |
prefix=@prefix@
|
|
|
7184a4 |
exec_prefix=@exec_prefix@
|
|
|
7184a4 |
libdir=@libdir@
|
|
|
7184a4 |
-sharedlibdir=@sharedlibdir@
|
|
|
7184a4 |
includedir=@includedir@
|
|
|
7184a4 |
|
|
|
7184a4 |
Name: zlib
|
|
|
7184a4 |
@@ -9,5 +8,5 @@
|
|
|
7184a4 |
Version: @VERSION@
|
|
|
7184a4 |
|
|
|
7184a4 |
Requires:
|
|
|
7184a4 |
-Libs: -L${libdir} -L${sharedlibdir} -lz
|
|
|
7184a4 |
+Libs: -L${libdir} -lz
|
|
|
7184a4 |
Cflags: -I${includedir}
|