Module Name: src Committed By: joerg Date: Tue Nov 2 16:34:36 UTC 2010
Modified Files: src/compat: compatsubdir.mk src/distrib/sets/lists/base: ad.mips64eb ad.mips64el md.amd64 md.sparc64 mi shl.mi src/distrib/sets/lists/comp: ad.mips64eb ad.mips64el md.amd64 md.sparc64 mi shl.mi src/distrib/sets/lists/man: mi src/external: Makefile src/external/lib: Makefile Added Files: src/external/public-domain: Makefile src/external/public-domain/xz: Makefile Makefile.inc prepare-import.sh src/external/public-domain/xz/bin: Makefile src/external/public-domain/xz/include: config.h src/external/public-domain/xz/lib: Makefile shlib_version Log Message: Hook up xz into the build system. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/compat/compatsubdir.mk cvs rdiff -u -r1.22 -r1.23 src/distrib/sets/lists/base/ad.mips64eb cvs rdiff -u -r1.21 -r1.22 src/distrib/sets/lists/base/ad.mips64el cvs rdiff -u -r1.96 -r1.97 src/distrib/sets/lists/base/md.amd64 cvs rdiff -u -r1.90 -r1.91 src/distrib/sets/lists/base/md.sparc64 cvs rdiff -u -r1.884 -r1.885 src/distrib/sets/lists/base/mi cvs rdiff -u -r1.552 -r1.553 src/distrib/sets/lists/base/shl.mi cvs rdiff -u -r1.10 -r1.11 src/distrib/sets/lists/comp/ad.mips64eb \ src/distrib/sets/lists/comp/ad.mips64el cvs rdiff -u -r1.76 -r1.77 src/distrib/sets/lists/comp/md.amd64 cvs rdiff -u -r1.65 -r1.66 src/distrib/sets/lists/comp/md.sparc64 cvs rdiff -u -r1.1518 -r1.1519 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.135 -r1.136 src/distrib/sets/lists/comp/shl.mi cvs rdiff -u -r1.1244 -r1.1245 src/distrib/sets/lists/man/mi cvs rdiff -u -r1.12 -r1.13 src/external/Makefile cvs rdiff -u -r1.16 -r1.17 src/external/lib/Makefile cvs rdiff -u -r0 -r1.1 src/external/public-domain/Makefile cvs rdiff -u -r0 -r1.1 src/external/public-domain/xz/Makefile \ src/external/public-domain/xz/Makefile.inc \ src/external/public-domain/xz/prepare-import.sh cvs rdiff -u -r0 -r1.1 src/external/public-domain/xz/bin/Makefile cvs rdiff -u -r0 -r1.1 src/external/public-domain/xz/include/config.h cvs rdiff -u -r0 -r1.1 src/external/public-domain/xz/lib/Makefile \ src/external/public-domain/xz/lib/shlib_version Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/compat/compatsubdir.mk diff -u src/compat/compatsubdir.mk:1.3 src/compat/compatsubdir.mk:1.4 --- src/compat/compatsubdir.mk:1.3 Tue Dec 15 05:23:25 2009 +++ src/compat/compatsubdir.mk Tue Nov 2 16:34:33 2010 @@ -1,4 +1,4 @@ -# $NetBSD: compatsubdir.mk,v 1.3 2009/12/15 05:23:25 mrg Exp $ +# $NetBSD: compatsubdir.mk,v 1.4 2010/11/02 16:34:33 joerg Exp $ # Build netbsd libraries. @@ -27,6 +27,7 @@ ../../../external/bsd/bind/lib \ ../../../external/bsd/libevent/lib \ ../../../external/bsd/file/lib \ + ../../../external/public-domain/xz/lib \ ../../../libexec/ld.elf_so .if ${MKATF} != "no" Index: src/distrib/sets/lists/base/ad.mips64eb diff -u src/distrib/sets/lists/base/ad.mips64eb:1.22 src/distrib/sets/lists/base/ad.mips64eb:1.23 --- src/distrib/sets/lists/base/ad.mips64eb:1.22 Fri Sep 24 18:01:39 2010 +++ src/distrib/sets/lists/base/ad.mips64eb Tue Nov 2 16:34:33 2010 @@ -1,4 +1,4 @@ -# $NetBSD: ad.mips64eb,v 1.22 2010/09/24 18:01:39 skrll Exp $ +# $NetBSD: ad.mips64eb,v 1.23 2010/11/02 16:34:33 joerg Exp $ ./libexec/ld.elf_so-64 base-compat-shlib compat,pic ./libexec/ld.elf_so-o32 base-sysutil-bin compat,pic ./usr/lib/64 base-compat-lib @@ -123,6 +123,8 @@ ./usr/lib/64/libldap_r.so.4.1 base-compat-shlib compat,pic,ldap ./usr/lib/64/liblwres.so.5 base-compat-shlib compat,pic ./usr/lib/64/liblwres.so.5.1 base-compat-shlib compat,pic +./usr/lib/64/liblzma.so.1 base-compat-shlib compat,pic +./usr/lib/64/liblzma.so.1.0 base-compat-shlib compat,pic ./usr/lib/64/libm.so.0 base-compat-shlib compat,pic ./usr/lib/64/libm.so.0.8 base-compat-shlib compat,pic ./usr/lib/64/libmagic.so.3 base-compat-shlib compat,pic @@ -358,6 +360,8 @@ ./usr/lib/o32/libldap_r.so.4.1 base-compat-shlib compat,pic,ldap ./usr/lib/o32/liblwres.so.5 base-compat-shlib compat,pic ./usr/lib/o32/liblwres.so.5.1 base-compat-shlib compat,pic +./usr/lib/o32/liblzma.so.1 base-compat-shlib compat,pic +./usr/lib/o32/liblzma.so.1.0 base-compat-shlib compat,pic ./usr/lib/o32/libm.so.0 base-compat-shlib compat,pic ./usr/lib/o32/libm.so.0.8 base-compat-shlib compat,pic ./usr/lib/o32/libmagic.so.3 base-compat-shlib compat,pic Index: src/distrib/sets/lists/base/ad.mips64el diff -u src/distrib/sets/lists/base/ad.mips64el:1.21 src/distrib/sets/lists/base/ad.mips64el:1.22 --- src/distrib/sets/lists/base/ad.mips64el:1.21 Fri Sep 24 18:01:39 2010 +++ src/distrib/sets/lists/base/ad.mips64el Tue Nov 2 16:34:33 2010 @@ -1,4 +1,4 @@ -# $NetBSD: ad.mips64el,v 1.21 2010/09/24 18:01:39 skrll Exp $ +# $NetBSD: ad.mips64el,v 1.22 2010/11/02 16:34:33 joerg Exp $ ./libexec/ld.elf_so-64 base-compat-shlib compat,pic ./libexec/ld.elf_so-o32 base-sysutil-bin compat,pic ./usr/lib/64 base-compat-lib @@ -123,6 +123,8 @@ ./usr/lib/64/libldap_r.so.4.1 base-compat-shlib compat,pic,ldap ./usr/lib/64/liblwres.so.5 base-compat-shlib compat,pic ./usr/lib/64/liblwres.so.5.1 base-compat-shlib compat,pic +./usr/lib/64/liblzma.so.1 base-compat-shlib compat,pic +./usr/lib/64/liblzma.so.1.0 base-compat-shlib compat,pic ./usr/lib/64/libm.so.0 base-compat-shlib compat,pic ./usr/lib/64/libm.so.0.8 base-compat-shlib compat,pic ./usr/lib/64/libmagic.so.3 base-compat-shlib compat,pic @@ -358,6 +360,8 @@ ./usr/lib/o32/libldap_r.so.4.1 base-compat-shlib compat,pic,ldap ./usr/lib/o32/liblwres.so.5 base-compat-shlib compat,pic ./usr/lib/o32/liblwres.so.5.1 base-compat-shlib compat,pic +./usr/lib/o32/liblzma.so.1 base-compat-shlib compat,pic +./usr/lib/o32/liblzma.so.1.0 base-compat-shlib compat,pic ./usr/lib/o32/libm.so.0 base-compat-shlib compat,pic ./usr/lib/o32/libm.so.0.8 base-compat-shlib compat,pic ./usr/lib/o32/libmagic.so.3 base-compat-shlib compat,pic Index: src/distrib/sets/lists/base/md.amd64 diff -u src/distrib/sets/lists/base/md.amd64:1.96 src/distrib/sets/lists/base/md.amd64:1.97 --- src/distrib/sets/lists/base/md.amd64:1.96 Sun Oct 31 16:31:12 2010 +++ src/distrib/sets/lists/base/md.amd64 Tue Nov 2 16:34:33 2010 @@ -1,4 +1,4 @@ -# $NetBSD: md.amd64,v 1.96 2010/10/31 16:31:12 mbalmer Exp $ +# $NetBSD: md.amd64,v 1.97 2010/11/02 16:34:33 joerg Exp $ ./dev/lms0 base-obsolete obsolete ./dev/mms0 base-obsolete obsolete ./libexec/ld.elf_so-i386 base-sys-shlib compat,pic @@ -131,6 +131,8 @@ ./usr/lib/i386/liblua.so.1.0 base-compat-shlib compat,pic ./usr/lib/i386/liblwres.so.5 base-compat-shlib compat,pic ./usr/lib/i386/liblwres.so.5.1 base-compat-shlib compat,pic +./usr/lib/i386/liblzma.so.1 base-compat-shlib compat,pic +./usr/lib/i386/liblzma.so.1.0 base-compat-shlib compat,pic ./usr/lib/i386/libm.so.0 base-compat-shlib compat,pic ./usr/lib/i386/libm.so.0.8 base-compat-shlib compat,pic ./usr/lib/i386/libmagic.so.3 base-compat-shlib compat,pic Index: src/distrib/sets/lists/base/md.sparc64 diff -u src/distrib/sets/lists/base/md.sparc64:1.90 src/distrib/sets/lists/base/md.sparc64:1.91 --- src/distrib/sets/lists/base/md.sparc64:1.90 Sun Oct 31 16:31:12 2010 +++ src/distrib/sets/lists/base/md.sparc64 Tue Nov 2 16:34:33 2010 @@ -1,4 +1,4 @@ -# $NetBSD: md.sparc64,v 1.90 2010/10/31 16:31:12 mbalmer Exp $ +# $NetBSD: md.sparc64,v 1.91 2010/11/02 16:34:33 joerg Exp $ ./libexec/ld.elf_so-sparc base-sysutil-bin compat,pic ./sbin/edlabel base-sysutil-root obsolete ./usr/bin/fdformat base-util-bin @@ -128,6 +128,8 @@ ./usr/lib/sparc/liblwres.so.5 base-compat-shlib compat,pic ./usr/lib/sparc/liblwres.so.5.1 base-compat-shlib compat,pic +./usr/lib/sparc/liblzma.so.1 base-compat-shlib compat,pic +./usr/lib/sparc/liblzma.so.1.0 base-compat-shlib compat,pic ./usr/lib/sparc/libm.so.0 base-compat-shlib compat,pic ./usr/lib/sparc/libm.so.0.8 base-compat-shlib compat,pic ./usr/lib/sparc/libmagic.so.3 base-compat-shlib compat,pic Index: src/distrib/sets/lists/base/mi diff -u src/distrib/sets/lists/base/mi:1.884 src/distrib/sets/lists/base/mi:1.885 --- src/distrib/sets/lists/base/mi:1.884 Sun Oct 31 11:52:51 2010 +++ src/distrib/sets/lists/base/mi Tue Nov 2 16:34:33 2010 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.884 2010/10/31 11:52:51 mbalmer Exp $ +# $NetBSD: mi,v 1.885 2010/11/02 16:34:33 joerg Exp $ # # Note: Don't delete entries from here - mark them as "obsolete" instead, # unless otherwise stated below. @@ -646,6 +646,7 @@ ./usr/bin/uniq base-util-bin ./usr/bin/units base-util-bin ./usr/bin/unvis base-util-bin +./usr/bin/unxz base-util-bin ./usr/bin/unzip base-util-bin ./usr/bin/uptime base-util-bin ./usr/bin/usbhidaction base-util-bin @@ -683,6 +684,8 @@ ./usr/bin/window base-util-bin ./usr/bin/write base-util-bin ./usr/bin/xargs base-util-bin +./usr/bin/xz base-util-bin +./usr/bin/xzcat base-util-bin ./usr/bin/yes base-util-bin ./usr/bin/ypcat base-nis-bin yp ./usr/bin/ypmatch base-nis-bin yp @@ -2440,6 +2443,7 @@ ./usr/share/locale/cs/LC_MESSAGES/grep.mo base-util_locale-cs nls ./usr/share/locale/cs/LC_MESSAGES/tar.mo base-obsolete obsolete ./usr/share/locale/cs/LC_MESSAGES/texinfo.mo base-texinfo_locale-cs nls +./usr/share/locale/cs/LC_MESSAGES/xz.mo base-util_locale-cs nls ./usr/share/locale/cs_CZ.ISO8859-2 base-locale-cs ./usr/share/locale/cs_CZ.ISO8859-2/LC_CTYPE base-locale-cs nls ./usr/share/locale/cs_CZ.ISO8859-2/LC_MESSAGES base-locale-cs @@ -2470,6 +2474,7 @@ ./usr/share/locale/de/LC_MESSAGES/grep.mo base-util_locale-de nls ./usr/share/locale/de/LC_MESSAGES/tar.mo base-obsolete obsolete ./usr/share/locale/de/LC_MESSAGES/texinfo.mo base-texinfo_locale-de nls +./usr/share/locale/de/LC_MESSAGES/xz.mo base-util_locale-de nls ./usr/share/locale/de_AT base-locale-de ./usr/share/locale/de_AT.ISO8859-1 base-locale-de ./usr/share/locale/de_AT.ISO8859-1/LC_CTYPE base-locale-de nls @@ -2820,6 +2825,7 @@ ./usr/share/locale/it/LC_MESSAGES base-locale-it ./usr/share/locale/it/LC_MESSAGES/grep.mo base-util_locale-it nls ./usr/share/locale/it/LC_MESSAGES/tar.mo base-obsolete obsolete +./usr/share/locale/it/LC_MESSAGES/xz.mo base-util_locale-it nls ./usr/share/locale/it_CH.ISO8859-1 base-locale-it ./usr/share/locale/it_CH.ISO8859-1/LC_CTYPE base-locale-it nls ./usr/share/locale/it_CH.ISO8859-1/LC_MESSAGES base-locale-it Index: src/distrib/sets/lists/base/shl.mi diff -u src/distrib/sets/lists/base/shl.mi:1.552 src/distrib/sets/lists/base/shl.mi:1.553 --- src/distrib/sets/lists/base/shl.mi:1.552 Sun Oct 31 11:52:51 2010 +++ src/distrib/sets/lists/base/shl.mi Tue Nov 2 16:34:33 2010 @@ -1,4 +1,4 @@ -# $NetBSD: shl.mi,v 1.552 2010/10/31 11:52:51 mbalmer Exp $ +# $NetBSD: shl.mi,v 1.553 2010/11/02 16:34:33 joerg Exp $ # # Note: Don't delete entries from here - mark them as "obsolete" instead, # unless otherwise stated below. @@ -43,6 +43,9 @@ ./lib/liblzf.so base-sys-shlib dynamicroot ./lib/liblzf.so.0 base-sys-shlib dynamicroot ./lib/liblzf.so.0.0 base-sys-shlib dynamicroot +./lib/liblzma.so base-sys-shlib dynamicroot +./lib/liblzma.so.1 base-sys-shlib dynamicroot +./lib/liblzma.so.1.0 base-sys-shlib dynamicroot ./lib/libm.so base-sys-shlib dynamicroot ./lib/libm.so.0 base-sys-shlib dynamicroot ./lib/libm.so.0.8 base-sys-shlib dynamicroot @@ -287,6 +290,9 @@ ./usr/lib/liblwres.so base-bind-shlib ./usr/lib/liblwres.so.5 base-bind-shlib ./usr/lib/liblwres.so.5.1 base-bind-shlib +./usr/lib/liblzma.so base-sys-shlib +./usr/lib/liblzma.so.1 base-sys-shlib +./usr/lib/liblzma.so.1.0 base-sys-shlib ./usr/lib/liblzf.so base-sys-shlib ./usr/lib/liblzf.so.0 base-sys-shlib ./usr/lib/liblzf.so.0.0 base-sys-shlib Index: src/distrib/sets/lists/comp/ad.mips64eb diff -u src/distrib/sets/lists/comp/ad.mips64eb:1.10 src/distrib/sets/lists/comp/ad.mips64eb:1.11 --- src/distrib/sets/lists/comp/ad.mips64eb:1.10 Sat Aug 7 05:53:20 2010 +++ src/distrib/sets/lists/comp/ad.mips64eb Tue Nov 2 16:34:34 2010 @@ -1,4 +1,4 @@ -# $NetBSD: ad.mips64eb,v 1.10 2010/08/07 05:53:20 agc Exp $ +# $NetBSD: ad.mips64eb,v 1.11 2010/11/02 16:34:34 joerg Exp $ ./usr/bin/elf2aout comp-obsolete obsolete ./usr/bin/elf2ecoff comp-sysutil-bin ./usr/include/mips comp-c-include @@ -340,6 +340,10 @@ ./usr/lib/64/liblwres.so base-sys-shlib compat,pic ./usr/lib/64/liblwres_p.a comp-c-proflib compat,profile ./usr/lib/64/liblwres_pic.a comp-c-piclib compat,pic +./usr/lib/64/liblzma.a comp-c-lib compat +./usr/lib/64/liblzma.so base-sys-shlib compat,pic +./usr/lib/64/liblzma_p.a comp-c-proflib compat,profile +./usr/lib/64/liblzma_pic.a comp-c-piclib compat,pic ./usr/lib/64/libm.a comp-c-lib compat ./usr/lib/64/libm.so base-sys-shlib compat,pic ./usr/lib/64/libm_p.a comp-c-proflib compat,profile @@ -809,6 +813,10 @@ ./usr/lib/o32/liblwres.so base-sys-shlib compat,pic ./usr/lib/o32/liblwres_p.a comp-c-proflib compat,profile ./usr/lib/o32/liblwres_pic.a comp-c-piclib compat,pic +./usr/lib/o32/liblzma.a comp-c-lib compat +./usr/lib/o32/liblzma.so base-sys-shlib compat,pic +./usr/lib/o32/liblzma_p.a comp-c-proflib compat,profile +./usr/lib/o32/liblzma_pic.a comp-c-piclib compat,pic ./usr/lib/o32/libm.a comp-c-lib compat ./usr/lib/o32/libm.so base-sys-shlib compat,pic ./usr/lib/o32/libm_p.a comp-c-proflib compat,profile Index: src/distrib/sets/lists/comp/ad.mips64el diff -u src/distrib/sets/lists/comp/ad.mips64el:1.10 src/distrib/sets/lists/comp/ad.mips64el:1.11 --- src/distrib/sets/lists/comp/ad.mips64el:1.10 Sat Aug 7 05:53:20 2010 +++ src/distrib/sets/lists/comp/ad.mips64el Tue Nov 2 16:34:34 2010 @@ -1,4 +1,4 @@ -# $NetBSD: ad.mips64el,v 1.10 2010/08/07 05:53:20 agc Exp $ +# $NetBSD: ad.mips64el,v 1.11 2010/11/02 16:34:34 joerg Exp $ ./usr/bin/elf2aout comp-obsolete obsolete ./usr/bin/elf2ecoff comp-sysutil-bin ./usr/include/mips comp-c-include @@ -809,6 +809,10 @@ ./usr/lib/o32/liblwres.so base-sys-shlib compat,pic ./usr/lib/o32/liblwres_p.a comp-c-proflib compat,profile ./usr/lib/o32/liblwres_pic.a comp-c-piclib compat,pic +./usr/lib/o32/liblzma.a comp-c-lib compat +./usr/lib/o32/liblzma.so base-sys-shlib compat,pic +./usr/lib/o32/liblzma_p.a comp-c-proflib compat,profile +./usr/lib/o32/liblzma_pic.a comp-c-piclib compat,pic ./usr/lib/o32/libm.a comp-c-lib compat ./usr/lib/o32/libm.so base-sys-shlib compat,pic ./usr/lib/o32/libm_p.a comp-c-proflib compat,profile Index: src/distrib/sets/lists/comp/md.amd64 diff -u src/distrib/sets/lists/comp/md.amd64:1.76 src/distrib/sets/lists/comp/md.amd64:1.77 --- src/distrib/sets/lists/comp/md.amd64:1.76 Sun Oct 31 23:29:16 2010 +++ src/distrib/sets/lists/comp/md.amd64 Tue Nov 2 16:34:34 2010 @@ -1,4 +1,4 @@ -# $NetBSD: md.amd64,v 1.76 2010/10/31 23:29:16 njoly Exp $ +# $NetBSD: md.amd64,v 1.77 2010/11/02 16:34:34 joerg Exp $ ./usr/include/amd64 comp-c-include ./usr/include/amd64/ansi.h comp-c-include ./usr/include/amd64/aout_machdep.h comp-c-include @@ -563,6 +563,7 @@ ./usr/lib/i386/libkvm_g.a comp-c-proflib compat,debuglib ./usr/lib/i386/libkvm_p.a comp-c-proflib compat,profile ./usr/lib/i386/libkvm_pic.a comp-c-piclib compat,pic +./usr/lib/i386/liblzma_pic.a comp-c-piclib compat,pic ./usr/lib/i386/libl.a comp-c-lib compat ./usr/lib/i386/libl_g.a comp-c-proflib compat,debuglib ./usr/lib/i386/libl_p.a comp-c-proflib compat,profile @@ -590,6 +591,10 @@ ./usr/lib/i386/liblwres_g.a comp-c-proflib compat,debuglib ./usr/lib/i386/liblwres_p.a comp-c-proflib compat,profile ./usr/lib/i386/liblwres_pic.a comp-c-piclib compat,pic +./usr/lib/i386/liblzma.a comp-c-lib compat +./usr/lib/i386/liblzma.so comp-sys-shlib compat,pic +./usr/lib/i386/liblzma_g.a comp-c-proflib compat,debuglib +./usr/lib/i386/liblzma_p.a comp-c-proflib compat,profile ./usr/lib/i386/libm.a comp-c-lib compat ./usr/lib/i386/libm.so comp-sys-shlib compat,pic ./usr/lib/i386/libm_g.a comp-c-proflib compat,debuglib @@ -891,6 +896,7 @@ ./usr/libdata/debug/usr/lib/i386/libldap_r.so.4.1.debug comp-compat-shlib compat,pic,ldap,debug ./usr/libdata/debug/usr/lib/i386/liblua.so.1.0.debug comp-compat-shlib compat,pic,debug ./usr/libdata/debug/usr/lib/i386/liblwres.so.5.1.debug comp-compat-shlib compat,pic,debug +./usr/libdata/debug/usr/lib/i386/liblzma.so.1.0.debug comp-compat-shlib compat,pic,debug ./usr/libdata/debug/usr/lib/i386/libm.so.0.8.debug comp-compat-shlib compat,pic,debug ./usr/libdata/debug/usr/lib/i386/libmagic.so.3.0.debug comp-compat-shlib compat,pic,debug ./usr/libdata/debug/usr/lib/i386/libmenu.so.6.0.debug comp-compat-shlib compat,pic,debug Index: src/distrib/sets/lists/comp/md.sparc64 diff -u src/distrib/sets/lists/comp/md.sparc64:1.65 src/distrib/sets/lists/comp/md.sparc64:1.66 --- src/distrib/sets/lists/comp/md.sparc64:1.65 Sun Oct 31 23:29:16 2010 +++ src/distrib/sets/lists/comp/md.sparc64 Tue Nov 2 16:34:34 2010 @@ -1,4 +1,4 @@ -# $NetBSD: md.sparc64,v 1.65 2010/10/31 23:29:16 njoly Exp $ +# $NetBSD: md.sparc64,v 1.66 2010/11/02 16:34:34 joerg Exp $ ./usr/include/ieeefp.h comp-c-include ./usr/include/sparc comp-c-include ./usr/include/sparc/_G_config.h comp-obsolete obsolete @@ -416,6 +416,10 @@ ./usr/lib/sparc/liblwres.so base-sys-shlib compat,pic ./usr/lib/sparc/liblwres_p.a comp-c-proflib compat,profile ./usr/lib/sparc/liblwres_pic.a comp-c-piclib compat,pic +./usr/lib/sparc/liblzma.a comp-c-lib compat +./usr/lib/sparc/liblzma.so base-sys-shlib compat,pic +./usr/lib/sparc/liblzma_p.a comp-c-proflib compat,profile +./usr/lib/sparc/liblzma_pic.a comp-c-piclib compat,pic ./usr/lib/sparc/libm.a comp-c-lib compat ./usr/lib/sparc/libm.so base-sys-shlib compat,pic ./usr/lib/sparc/libm_p.a comp-c-proflib compat,profile @@ -667,6 +671,7 @@ ./usr/libdata/debug/usr/lib/sparc/libldap_r.so.4.1.debug comp-compat-shlib compat,pic,debug,ldap ./usr/libdata/debug/usr/lib/sparc/liblua.so.1.0.debug comp-compat-shlib compat,pic,debug ./usr/libdata/debug/usr/lib/sparc/liblwres.so.5.1.debug comp-compat-shlib compat,pic,debug +./usr/libdata/debug/usr/lib/sparc/liblzma.so.1.0.debug comp-compat-shlib compat,pic,debug ./usr/libdata/debug/usr/lib/sparc/libm.so.0.8.debug comp-compat-shlib compat,pic,debug ./usr/libdata/debug/usr/lib/sparc/libmagic.so.3.0.debug comp-compat-shlib compat,pic,debug ./usr/libdata/debug/usr/lib/sparc/libmenu.so.6.0.debug comp-compat-shlib compat,pic,debug Index: src/distrib/sets/lists/comp/mi diff -u src/distrib/sets/lists/comp/mi:1.1518 src/distrib/sets/lists/comp/mi:1.1519 --- src/distrib/sets/lists/comp/mi:1.1518 Sun Oct 31 23:29:16 2010 +++ src/distrib/sets/lists/comp/mi Tue Nov 2 16:34:34 2010 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.1518 2010/10/31 23:29:16 njoly Exp $ +# $NetBSD: mi,v 1.1519 2010/11/02 16:34:34 joerg Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -2516,6 +2516,9 @@ ./usr/lib/liblzf.a comp-c-lib ./usr/lib/liblzf_g.a -unknown- debuglib ./usr/lib/liblzf_p.a comp-c-proflib profile +./usr/lib/liblzma.a comp-c-lib +./usr/lib/liblzma_g.a -unknown- debuglib +./usr/lib/liblzma_p.a comp-c-proflib profile ./usr/lib/libm.a comp-c-lib ./usr/lib/libm_g.a -unknown- debuglib ./usr/lib/libm_p.a comp-c-proflib profile Index: src/distrib/sets/lists/comp/shl.mi diff -u src/distrib/sets/lists/comp/shl.mi:1.135 src/distrib/sets/lists/comp/shl.mi:1.136 --- src/distrib/sets/lists/comp/shl.mi:1.135 Sun Oct 31 23:29:17 2010 +++ src/distrib/sets/lists/comp/shl.mi Tue Nov 2 16:34:34 2010 @@ -1,4 +1,4 @@ -# $NetBSD: shl.mi,v 1.135 2010/10/31 23:29:17 njoly Exp $ +# $NetBSD: shl.mi,v 1.136 2010/11/02 16:34:34 joerg Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -65,6 +65,7 @@ ./usr/lib/libldap_r_pic.a comp-ldap-piclib ldap ./usr/lib/liblua_pic.a comp-c-piclib ./usr/lib/liblwres_pic.a comp-bind-piclib +./usr/lib/liblzma_pic.a comp-c-piclib ./usr/lib/liblzf_pic.a comp-c-piclib ./usr/lib/libm_pic.a comp-c-piclib ./usr/lib/libmagic_pic.a comp-c-piclib @@ -250,6 +251,7 @@ ./usr/libdata/debug/usr/lib/libldap_r.so.4.1.debug comp-ldap-debug ldap,debug ./usr/libdata/debug/usr/lib/liblua.so.1.0.debug comp-sys-debug debug ./usr/libdata/debug/usr/lib/liblwres.so.5.1.debug comp-bind-debug debug +./usr/libdata/debug/usr/lib/liblzma.so.1.0.debug comp-sys-debug debug ./usr/libdata/debug/usr/lib/liblzf.so.0.0.debug comp-sys-debug debug ./usr/libdata/debug/usr/lib/libm.so.0.8.debug comp-sys-debug debug ./usr/libdata/debug/usr/lib/libmagic.so.3.0.debug comp-sys-debug debug Index: src/distrib/sets/lists/man/mi diff -u src/distrib/sets/lists/man/mi:1.1244 src/distrib/sets/lists/man/mi:1.1245 --- src/distrib/sets/lists/man/mi:1.1244 Sun Oct 31 11:52:52 2010 +++ src/distrib/sets/lists/man/mi Tue Nov 2 16:34:34 2010 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.1244 2010/10/31 11:52:52 mbalmer Exp $ +# $NetBSD: mi,v 1.1245 2010/11/02 16:34:34 joerg Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -561,6 +561,7 @@ ./usr/share/man/cat1/x68k/tvctrl.0 man-util-catman .cat ./usr/share/man/cat1/xargs.0 man-util-catman .cat ./usr/share/man/cat1/xgettext.0 man-locale-catman .cat +./usr/share/man/cat1/xz.0 man-util-catman .cat ./usr/share/man/cat1/yes.0 man-util-catman .cat ./usr/share/man/cat1/ypcat.0 man-nis-catman yp,.cat ./usr/share/man/cat1/ypmatch.0 man-nis-catman yp,.cat @@ -3306,6 +3307,7 @@ ./usr/share/man/html1/x68k/tvctrl.html man-util-htmlman html ./usr/share/man/html1/xargs.html man-util-htmlman html ./usr/share/man/html1/xgettext.html man-locale-htmlman html +./usr/share/man/html1/xz.html man-util-htmlman html ./usr/share/man/html1/yes.html man-util-htmlman html ./usr/share/man/html1/ypcat.html man-nis-htmlman yp,html ./usr/share/man/html1/ypmatch.html man-nis-htmlman yp,html @@ -5719,6 +5721,7 @@ ./usr/share/man/man1/x68k/tvctrl.1 man-util-man .man ./usr/share/man/man1/xargs.1 man-util-man .man ./usr/share/man/man1/xgettext.1 man-locale-man .man +./usr/share/man/man1/xz.1 man-util-man .man ./usr/share/man/man1/yes.1 man-util-man .man ./usr/share/man/man1/ypcat.1 man-nis-man yp,.man ./usr/share/man/man1/ypmatch.1 man-nis-man yp,.man Index: src/external/Makefile diff -u src/external/Makefile:1.12 src/external/Makefile:1.13 --- src/external/Makefile:1.12 Sun Oct 31 11:52:53 2010 +++ src/external/Makefile Tue Nov 2 16:34:35 2010 @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.12 2010/10/31 11:52:53 mbalmer Exp $ +# $NetBSD: Makefile,v 1.13 2010/11/02 16:34:35 joerg Exp $ SUBDIR+= lib .WAIT SUBDIR+= apache2 bsd intel-fw-eula intel-fw-public gpl2 gpl3 historical -SUBDIR+= ibm-public intel-public cddl mit +SUBDIR+= ibm-public intel-public public-domain cddl mit .include <bsd.subdir.mk> Index: src/external/lib/Makefile diff -u src/external/lib/Makefile:1.16 src/external/lib/Makefile:1.17 --- src/external/lib/Makefile:1.16 Wed Jun 9 23:02:44 2010 +++ src/external/lib/Makefile Tue Nov 2 16:34:35 2010 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2010/06/09 23:02:44 christos Exp $ +# $NetBSD: Makefile,v 1.17 2010/11/02 16:34:35 joerg Exp $ # # This Makefile exists to provide a single point to build @@ -28,6 +28,8 @@ SUBDIR+= ../bsd/iscsi/lib # depends on libpthread .endif +SUBDIR+= ../public-domain/xz/lib .WAIT + SUBDIR+= ../bsd/fetch/lib SUBDIR+= ../bsd/libarchive/lib SUBDIR+= ../bsd/libevent/lib Added files: Index: src/external/public-domain/Makefile diff -u /dev/null src/external/public-domain/Makefile:1.1 --- /dev/null Tue Nov 2 16:34:37 2010 +++ src/external/public-domain/Makefile Tue Nov 2 16:34:35 2010 @@ -0,0 +1,7 @@ +# $NetBSD: Makefile,v 1.1 2010/11/02 16:34:35 joerg Exp $ + +.include <bsd.own.mk> + +SUBDIR+= xz + +.include <bsd.subdir.mk> Index: src/external/public-domain/xz/Makefile diff -u /dev/null src/external/public-domain/xz/Makefile:1.1 --- /dev/null Tue Nov 2 16:34:37 2010 +++ src/external/public-domain/xz/Makefile Tue Nov 2 16:34:36 2010 @@ -0,0 +1,5 @@ +# $NetBSD: Makefile,v 1.1 2010/11/02 16:34:36 joerg Exp $ + +SUBDIR+= lib .WAIT bin + +.include <bsd.subdir.mk> Index: src/external/public-domain/xz/Makefile.inc diff -u /dev/null src/external/public-domain/xz/Makefile.inc:1.1 --- /dev/null Tue Nov 2 16:34:37 2010 +++ src/external/public-domain/xz/Makefile.inc Tue Nov 2 16:34:36 2010 @@ -0,0 +1,15 @@ +# $NetBSD: Makefile.inc,v 1.1 2010/11/02 16:34:36 joerg Exp $ + +XZHOMEPAGE= http://tukaani.org/xz/ +XZVERSION= 5.0.0 + +XZSRCDIR:= ${.PARSEDIR}/dist +XZINCDIR:= ${.PARSEDIR}/include + +CPPFLAGS+= -I${XZINCDIR} +CPPFLAGS+= -I${XZSRCDIR}/src/common +CPPFLAGS+= -I${XZSRCDIR}/src/liblzma/api +CPPFLAGS+= -DHAVE_CONFIG_H + +CFLAGS+= -std=c99 +WARNS= 2 Index: src/external/public-domain/xz/prepare-import.sh diff -u /dev/null src/external/public-domain/xz/prepare-import.sh:1.1 --- /dev/null Tue Nov 2 16:34:37 2010 +++ src/external/public-domain/xz/prepare-import.sh Tue Nov 2 16:34:36 2010 @@ -0,0 +1,33 @@ +#!/bin/sh +# $NetBSD: prepare-import.sh,v 1.1 2010/11/02 16:34:36 joerg Exp $ + +set -e + +rm -rf dist tmp +tar xzf xz-5.0.0.tar.gz +mv xz-5.0.0 dist + +cd dist +# Binary files derived from distribution files +rm -rf doc/man +# Files under GPL +rm -rf build-aux extra lib m4/[a-s]* m4/[u-z]* src/scripts/xz* Doxyfile.in +# Files not of relevance +rm -rf ABOUT-NLS aclocal.m4 autogen.sh configure COPYING.*GPL* INSTALL.generic +mkdir po.tmp +mv po/*.po po/*.gmo po.tmp/ +rm -rf po +mv po.tmp po +rm -rf debug dos windows +rm -rf Makefile* */Makefile* */*/Makefile* */*/*/Makefile* +# Binary files to be encoded +for f in tests/compress_prepared_bcj_sparc tests/compress_prepared_bcj_x86 \ + tests/files/*.xz; do + uuencode -m $f $f > $f.base64 + rm $f +done + +# Files under GPL/LGPL kept: +# build-aux/* from autoconf +# lib/* +# m4/* Index: src/external/public-domain/xz/bin/Makefile diff -u /dev/null src/external/public-domain/xz/bin/Makefile:1.1 --- /dev/null Tue Nov 2 16:34:37 2010 +++ src/external/public-domain/xz/bin/Makefile Tue Nov 2 16:34:36 2010 @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1 2010/11/02 16:34:36 joerg Exp $ + +PROG= xz +BINDIR= /usr/bin +SRCS= args.c coder.c file_io.c hardware.c list.c main.c \ + message.c options.c signals.c suffix.c util.c \ + tuklib_exit.c tuklib_cpucores.c tuklib_open_stdxxx.c \ + tuklib_mbstr_fw.c tuklib_mbstr_width.c \ + tuklib_physmem.c tuklib_progname.c + +USETBL= yes + +.include <bsd.init.mk> + +CPPFLAGS+= -DPACKAGE=\"xz\" +CPPFLAGS+= -DENABLE_NLS -DLOCALEDIR=\"/usr/share/locale\" + +DPADD+= ${LIBLZMA} ${LIBINTL} +LDADD+= -llzma -lintl + +LINKS+= ${BINDIR}/xz ${BINDIR}/unxz \ + ${BINDIR}/xz ${BINDIR}/xzcat \ + +.PATH: ${XZSRCDIR}/src/common ${XZSRCDIR}/src/xz + +.for lang in cs de it +FILES+= ${XZSRCDIR}/po/${lang}.gmo +FILESDIR_${XZSRCDIR}/po/${lang}.gmo= /usr/share/locale/${lang}/LC_MESSAGES +FILESNAME_${XZSRCDIR}/po/${lang}.gmo= xz.mo +.endfor + +.include <bsd.prog.mk> Index: src/external/public-domain/xz/include/config.h diff -u /dev/null src/external/public-domain/xz/include/config.h:1.1 --- /dev/null Tue Nov 2 16:34:37 2010 +++ src/external/public-domain/xz/include/config.h Tue Nov 2 16:34:36 2010 @@ -0,0 +1,356 @@ +/* config.h. Generated from config.h.in by configure. */ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Define if building universal (internal helper macro) */ +/* #undef AC_APPLE_UNIVERSAL_BUILD */ + +/* How many MiB of RAM to assume if the real amount cannot be determined. */ +#define ASSUME_RAM 128 + +/* Define to 1 if bswap_16 is available. */ +/* #undef HAVE_BSWAP_16 */ + +/* Define to 1 if bswap_32 is available. */ +/* #undef HAVE_BSWAP_32 */ + +/* Define to 1 if bswap_64 is available. */ +/* #undef HAVE_BSWAP_64 */ + +/* Define to 1 if you have the <byteswap.h> header file. */ +/* #undef HAVE_BYTESWAP_H */ + +/* Define to 1 if crc32 integrity check is enabled. */ +#define HAVE_CHECK_CRC32 1 + +/* Define to 1 if crc64 integrity check is enabled. */ +#define HAVE_CHECK_CRC64 1 + +/* Define to 1 if sha256 integrity check is enabled. */ +#define HAVE_CHECK_SHA256 1 + +/* Define to 1 if you have the declaration of `program_invocation_name', and + to 0 if you don't. */ +#define HAVE_DECL_PROGRAM_INVOCATION_NAME 0 + +/* Define to 1 if arm decoder is enabled. */ +#define HAVE_DECODER_ARM 1 + +/* Define to 1 if armthumb decoder is enabled. */ +#define HAVE_DECODER_ARMTHUMB 1 + +/* Define to 1 if delta decoder is enabled. */ +#define HAVE_DECODER_DELTA 1 + +/* Define to 1 if ia64 decoder is enabled. */ +#define HAVE_DECODER_IA64 1 + +/* Define to 1 if lzma1 decoder is enabled. */ +#define HAVE_DECODER_LZMA1 1 + +/* Define to 1 if lzma2 decoder is enabled. */ +#define HAVE_DECODER_LZMA2 1 + +/* Define to 1 if powerpc decoder is enabled. */ +#define HAVE_DECODER_POWERPC 1 + +/* Define to 1 if sparc decoder is enabled. */ +#define HAVE_DECODER_SPARC 1 + +/* Define to 1 if x86 decoder is enabled. */ +#define HAVE_DECODER_X86 1 + +/* Define to 1 if arm encoder is enabled. */ +#define HAVE_ENCODER_ARM 1 + +/* Define to 1 if armthumb encoder is enabled. */ +#define HAVE_ENCODER_ARMTHUMB 1 + +/* Define to 1 if delta encoder is enabled. */ +#define HAVE_ENCODER_DELTA 1 + +/* Define to 1 if ia64 encoder is enabled. */ +#define HAVE_ENCODER_IA64 1 + +/* Define to 1 if lzma1 encoder is enabled. */ +#define HAVE_ENCODER_LZMA1 1 + +/* Define to 1 if lzma2 encoder is enabled. */ +#define HAVE_ENCODER_LZMA2 1 + +/* Define to 1 if powerpc encoder is enabled. */ +#define HAVE_ENCODER_POWERPC 1 + +/* Define to 1 if sparc encoder is enabled. */ +#define HAVE_ENCODER_SPARC 1 + +/* Define to 1 if x86 encoder is enabled. */ +#define HAVE_ENCODER_X86 1 + +/* Define to 1 if you have the <fcntl.h> header file. */ +#define HAVE_FCNTL_H 1 + +/* Define to 1 if you have the `futimens' function. */ +/* #undef HAVE_FUTIMENS */ + +/* Define to 1 if you have the `futimes' function. */ +#define HAVE_FUTIMES 1 + +/* Define to 1 if you have the `futimesat' function. */ +/* #undef HAVE_FUTIMESAT */ + +/* Define to 1 if you have the <inttypes.h> header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define to 1 if you have the <limits.h> header file. */ +#define HAVE_LIMITS_H 1 + +/* Define to 1 if mbrtowc and mbstate_t are properly declared. */ +#define HAVE_MBRTOWC 1 + +/* Define to 1 if you have the <memory.h> header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 to enable bt2 match finder. */ +#define HAVE_MF_BT2 1 + +/* Define to 1 to enable bt3 match finder. */ +#define HAVE_MF_BT3 1 + +/* Define to 1 to enable bt4 match finder. */ +#define HAVE_MF_BT4 1 + +/* Define to 1 to enable hc3 match finder. */ +#define HAVE_MF_HC3 1 + +/* Define to 1 to enable hc4 match finder. */ +#define HAVE_MF_HC4 1 + +/* Define to 1 if optimizing for size. */ +/* #undef HAVE_SMALL */ + +/* Define to 1 if stdbool.h conforms to C99. */ +#define HAVE_STDBOOL_H 1 + +/* Define to 1 if you have the <stdint.h> header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the <stdlib.h> header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the <strings.h> header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the <string.h> header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if `st_atimensec' is a member of `struct stat'. */ +#define HAVE_STRUCT_STAT_ST_ATIMENSEC 1 + +/* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */ +#define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1 + +/* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */ +/* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */ + +/* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ +/* #undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC */ + +/* Define to 1 if `st_uatime' is a member of `struct stat'. */ +/* #undef HAVE_STRUCT_STAT_ST_UATIME */ + +/* Define to 1 if you have the <sys/byteorder.h> header file. */ +/* #undef HAVE_SYS_BYTEORDER_H */ + +/* Define to 1 if you have the <sys/endian.h> header file. */ +#define HAVE_SYS_ENDIAN_H 1 + +/* Define to 1 if you have the <sys/param.h> header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the <sys/time.h> header file. */ +#define HAVE_SYS_TIME_H 1 + +/* Define to 1 if you have the <sys/types.h> header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if the system has the type `uintptr_t'. */ +#define HAVE_UINTPTR_T 1 + +/* Define to 1 if you have the <unistd.h> header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to 1 if you have the `utime' function. */ +/* #undef HAVE_UTIME */ + +/* Define to 1 if you have the `utimes' function. */ +/* #undef HAVE_UTIMES */ + +/* Define to 1 if you have the `wcwidth' function. */ +#define HAVE_WCWIDTH 1 + +/* Define to 1 if the system has the type `_Bool'. */ +#define HAVE__BOOL 1 + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "jo...@netbsd.org" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "XZ Utils" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "XZ Utils 5.0.0" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "xz" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "http://tukaani.org/xz/" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "5.0.0" + +/* The size of `size_t', as computed by sizeof. */ +#define SIZEOF_SIZE_T 8 + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define to 1 if the number of available CPU cores can be detected with + pstat_getdynamic(). */ +/* #undef TUKLIB_CPUCORES_PSTAT_GETDYNAMIC */ + +/* Define to 1 if the number of available CPU cores can be detected with + sysconf(_SC_NPROCESSORS_ONLN) or sysconf(_SC_NPROC_ONLN). */ +/* #undef TUKLIB_CPUCORES_SYSCONF */ + +/* Define to 1 if the number of available CPU cores can be detected with + sysctl(). */ +#define TUKLIB_CPUCORES_SYSCTL 1 + +/* Define to 1 if the system supports fast unaligned access to 16-bit and + 32-bit integers. */ +/* #undef TUKLIB_FAST_UNALIGNED_ACCESS */ + +/* Define to 1 if the amount of physical memory can be detected with + _system_configuration.physmem. */ +/* #undef TUKLIB_PHYSMEM_AIX */ + +/* Define to 1 if the amount of physical memory can be detected with + getinvent_r(). */ +/* #undef TUKLIB_PHYSMEM_GETINVENT_R */ + +/* Define to 1 if the amount of physical memory can be detected with + getsysinfo(). */ +/* #undef TUKLIB_PHYSMEM_GETSYSINFO */ + +/* Define to 1 if the amount of physical memory can be detected with + pstat_getstatic(). */ +/* #undef TUKLIB_PHYSMEM_PSTAT_GETSTATIC */ + +/* Define to 1 if the amount of physical memory can be detected with + sysconf(_SC_PAGESIZE) and sysconf(_SC_PHYS_PAGES). */ +/* #undef TUKLIB_PHYSMEM_SYSCONF */ + +/* Define to 1 if the amount of physical memory can be detected with sysctl(). + */ +#define TUKLIB_PHYSMEM_SYSCTL 1 + +/* Define to 1 if the amount of physical memory can be detected with Linux + sysinfo(). */ +/* #undef TUKLIB_PHYSMEM_SYSINFO */ + +/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# define _ALL_SOURCE 1 +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif +/* Enable threading extensions on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# define _POSIX_PTHREAD_SEMANTICS 1 +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# define _TANDEM_SOURCE 1 +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# define __EXTENSIONS__ 1 +#endif + + +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +/* # undef WORDS_BIGENDIAN */ +# endif +#endif + +/* Number of bits in a file offset, on hosts where this is settable. */ +/* #undef _FILE_OFFSET_BITS */ + +/* Define for large files, on AIX-style hosts. */ +/* #undef _LARGE_FILES */ + +/* Define to 1 if on MINIX. */ +/* #undef _MINIX */ + +/* Define to 2 if the system does not provide POSIX.1 features except with + this defined. */ +/* #undef _POSIX_1_SOURCE */ + +/* Define to 1 if you need to in order for `stat' and other things to work. */ +/* #undef _POSIX_SOURCE */ + +/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>, + <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the + #define below would cause a syntax error. */ +/* #undef _UINT32_T */ + +/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>, + <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the + #define below would cause a syntax error. */ +/* #undef _UINT64_T */ + +/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>, + <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the + #define below would cause a syntax error. */ +/* #undef _UINT8_T */ + +/* Define to the type of a signed integer type of width exactly 32 bits if + such a type exists and the standard includes do not define it. */ +/* #undef int32_t */ + +/* Define to the type of a signed integer type of width exactly 64 bits if + such a type exists and the standard includes do not define it. */ +/* #undef int64_t */ + +/* Define to the type of an unsigned integer type of width exactly 16 bits if + such a type exists and the standard includes do not define it. */ +/* #undef uint16_t */ + +/* Define to the type of an unsigned integer type of width exactly 32 bits if + such a type exists and the standard includes do not define it. */ +/* #undef uint32_t */ + +/* Define to the type of an unsigned integer type of width exactly 64 bits if + such a type exists and the standard includes do not define it. */ +/* #undef uint64_t */ + +/* Define to the type of an unsigned integer type of width exactly 8 bits if + such a type exists and the standard includes do not define it. */ +/* #undef uint8_t */ + +/* Define to the type of an unsigned integer type wide enough to hold a + pointer, if such a type exists, and if the system does not define it. */ +/* #undef uintptr_t */ Index: src/external/public-domain/xz/lib/Makefile diff -u /dev/null src/external/public-domain/xz/lib/Makefile:1.1 --- /dev/null Tue Nov 2 16:34:37 2010 +++ src/external/public-domain/xz/lib/Makefile Tue Nov 2 16:34:36 2010 @@ -0,0 +1,80 @@ +# $NetBSD: Makefile,v 1.1 2010/11/02 16:34:36 joerg Exp $ + +LIB= lzma +USE_SHLIBDIR= yes +NOLINT= yes + +.include <bsd.init.mk> + +LDFLAGS+= -Wl,-z,defs + +CPPFLAGS+= -I${XZSRCDIR}/src/liblzma/check +CPPFLAGS+= -I${XZSRCDIR}/src/liblzma/common +CPPFLAGS+= -I${XZSRCDIR}/src/liblzma/delta +CPPFLAGS+= -I${XZSRCDIR}/src/liblzma/lz +CPPFLAGS+= -I${XZSRCDIR}/src/liblzma/lzma +CPPFLAGS+= -I${XZSRCDIR}/src/liblzma/rangecoder +CPPFLAGS+= -I${XZSRCDIR}/src/liblzma/simple +CPPFLAGS+= -DTUKLIB_SYMBOL_PREFIX=lzma_ +CPPFLAGS+= -DNETBSD_NATIVE_SHA256 + +.PATH: ${XZSRCDIR}/src/common +SRCS+= tuklib_physmem.c + +.PATH: ${XZSRCDIR}/src/liblzma/check +SRCS+= check.c crc32_table.c crc64_table.c +SRCS+= crc32_fast.c crc64_fast.c + +.PATH: ${XZSRCDIR}/src/liblzma/common +SRCS+= common.c block_util.c easy_preset.c filter_common.c \ + hardware_physmem.c index.c \ + stream_flags_common.c vli_size.c \ + alone_encoder.c block_buffer_encoder.c block_encoder.c \ + block_header_encoder.c easy_buffer_encoder.c \ + easy_encoder_memusage.c filter_buffer_encoder.c \ + filter_encoder.c filter_flags_encoder.c index_encoder.c \ + stream_buffer_encoder.c stream_encoder.c stream_flags_encoder.c \ + vli_encoder.c \ + alone_decoder.c auto_decoder.c block_buffer_decoder.c \ + block_decoder.c block_header_decoder.c easy_decoder_memusage.c \ + filter_buffer_decoder.c filter_decoder.c filter_flags_decoder.c \ + index_decoder.c index_hash.c stream_buffer_decoder.c \ + stream_decoder.c stream_flags_decoder.c vli_decoder.c + +.PATH: ${XZSRCDIR}/src/liblzma/delta +SRCS+= delta_common.c delta_encoder.c delta_decoder.c + +.PATH: ${XZSRCDIR}/src/liblzma/lz +SRCS+= lz_decoder.c lz_encoder.c lz_encoder_mf.c + +.PATH: ${XZSRCDIR}/src/liblzma/lzma +SRCS+= lzma_encoder.c lzma_encoder_presets.c \ + lzma_encoder_optimum_fast.c lzma_encoder_optimum_normal.c \ + lzma_decoder.c lzma2_encoder.c lzma2_decoder.c \ + fastpos_table.c + +.PATH: ${XZSRCDIR}/src/liblzma/rangecoder +SRCS+= price_table.c + +.PATH: ${XZSRCDIR}/src/liblzma/simple +SRCS+= simple_coder.c simple_encoder.c simple_decoder.c \ + arm.c armthumb.c ia64.c powerpc.c sparc.c x86.c + +liblzma.pc: ${XZSRCDIR}/src/liblzma/liblzma.pc.in + ${_MKTARGET_CREATE} + rm -f ${.TARGET} + ${TOOL_SED} \ + -e 's,@prefix@,/usr,' \ + -e 's,@exec_prefix@,/usr,' \ + -e 's,@libdir@,/usr/lib,' \ + -e 's,@includedir@,/usr/include,' \ + -e 's,@PACKAGE_HOMEPAGE@,${XZHOMEPAGE:Q},' \ + -e 's,@PACKAGE_VERSION@,${XZVERSION:Q},' \ + -e 's,@PTHREAD_CFLAGS@ @PTHREAD_LIBS@,,' \ + < ${XZSRCDIR}/src/liblzma/liblzma.pc.in \ + > ${.TARGET}.tmp && \ + mv -f ${.TARGET}.tmp ${.TARGET} + +CLEANFILES+= liblzma.pc + +.include <bsd.lib.mk> Index: src/external/public-domain/xz/lib/shlib_version diff -u /dev/null src/external/public-domain/xz/lib/shlib_version:1.1 --- /dev/null Tue Nov 2 16:34:37 2010 +++ src/external/public-domain/xz/lib/shlib_version Tue Nov 2 16:34:36 2010 @@ -0,0 +1,4 @@ +# $NetBSD: shlib_version,v 1.1 2010/11/02 16:34:36 joerg Exp $ +# +major=1 +minor=0