head	1.5;
access;
symbols
	netbsd-11-0-RC4:1.4.12.1
	netbsd-11-0-RC3:1.4.12.1
	netbsd-11-0-RC2:1.4
	netbsd-11-0-RC1:1.4
	perseant-exfatfs-base-20250801:1.4
	netbsd-11:1.4.0.12
	netbsd-11-base:1.4
	netbsd-10-1-RELEASE:1.4
	perseant-exfatfs-base-20240630:1.4
	perseant-exfatfs:1.4.0.10
	perseant-exfatfs-base:1.4
	netbsd-8-3-RELEASE:1.2.8.1
	netbsd-9-4-RELEASE:1.2.18.1
	netbsd-10-0-RELEASE:1.4
	netbsd-10-0-RC6:1.4
	netbsd-10-0-RC5:1.4
	netbsd-10-0-RC4:1.4
	netbsd-10-0-RC3:1.4
	netbsd-10-0-RC2:1.4
	netbsd-10-0-RC1:1.4
	netbsd-10:1.4.0.8
	netbsd-10-base:1.4
	netbsd-9-3-RELEASE:1.2.18.1
	cjep_sun2x-base1:1.4
	cjep_sun2x:1.4.0.6
	cjep_sun2x-base:1.4
	cjep_staticlib_x-base1:1.4
	netbsd-9-2-RELEASE:1.2.18.1
	cjep_staticlib_x:1.4.0.4
	cjep_staticlib_x-base:1.4
	netbsd-9-1-RELEASE:1.2.18.1
	phil-wifi-20200421:1.4
	phil-wifi-20200411:1.4
	is-mlppp:1.4.0.2
	is-mlppp-base:1.4
	phil-wifi-20200406:1.4
	netbsd-8-2-RELEASE:1.2.8.1
	netbsd-9-0-RELEASE:1.2.18.1
	netbsd-9-0-RC2:1.2.18.1
	netbsd-9-0-RC1:1.2.18.1
	phil-wifi-20191119:1.4
	netbsd-9:1.2.0.18
	netbsd-9-base:1.2
	phil-wifi-20190609:1.2
	netbsd-8-1-RELEASE:1.2
	netbsd-8-1-RC1:1.2
	pgoyette-compat-merge-20190127:1.2
	pgoyette-compat-20190127:1.2
	pgoyette-compat-20190118:1.2
	pgoyette-compat-1226:1.2
	pgoyette-compat-1126:1.2
	pgoyette-compat-1020:1.2
	pgoyette-compat-0930:1.2
	pgoyette-compat-0906:1.2
	netbsd-7-2-RELEASE:1.1.14.1
	pgoyette-compat-0728:1.2
	netbsd-8-0-RELEASE:1.2
	phil-wifi:1.2.0.16
	phil-wifi-base:1.2
	pgoyette-compat-0625:1.2
	netbsd-8-0-RC2:1.2
	pgoyette-compat-0521:1.2
	pgoyette-compat-0502:1.2
	pgoyette-compat-0422:1.2
	netbsd-8-0-RC1:1.2
	pgoyette-compat-0415:1.2
	pgoyette-compat-0407:1.2
	pgoyette-compat-0330:1.2
	pgoyette-compat-0322:1.2
	pgoyette-compat-0315:1.2
	netbsd-7-1-2-RELEASE:1.1.14.1
	pgoyette-compat:1.2.0.14
	pgoyette-compat-base:1.2
	netbsd-7-1-1-RELEASE:1.1.14.1
	matt-nb8-mediatek:1.2.0.12
	matt-nb8-mediatek-base:1.2
	perseant-stdc-iso10646:1.2.0.10
	perseant-stdc-iso10646-base:1.2
	netbsd-8:1.2.0.8
	netbsd-8-base:1.2
	prg-localcount2-base3:1.2
	prg-localcount2-base2:1.2
	prg-localcount2-base1:1.2
	prg-localcount2:1.2.0.6
	prg-localcount2-base:1.2
	pgoyette-localcount-20170426:1.2
	bouyer-socketcan-base1:1.2
	pgoyette-localcount-20170320:1.2
	netbsd-7-1:1.1.14.1.0.4
	netbsd-7-1-RELEASE:1.1.14.1
	netbsd-7-1-RC2:1.1.14.1
	netbsd-7-nhusb-base-20170116:1.1.14.1
	bouyer-socketcan:1.2.0.4
	bouyer-socketcan-base:1.2
	pgoyette-localcount-20170107:1.2
	netbsd-7-1-RC1:1.1.14.1
	pgoyette-localcount-20161104:1.2
	netbsd-7-0-2-RELEASE:1.1.16.1
	localcount-20160914:1.2
	netbsd-7-nhusb:1.1.14.1.0.2
	netbsd-7-nhusb-base:1.1.14.1
	pgoyette-localcount-20160806:1.2
	pgoyette-localcount-20160726:1.2
	pgoyette-localcount:1.2.0.2
	pgoyette-localcount-base:1.2
	netbsd-7-0-1-RELEASE:1.1.16.1
	netbsd-7-0:1.1.0.16
	netbsd-7-0-RELEASE:1.1
	netbsd-7-0-RC3:1.1
	netbsd-7-0-RC2:1.1
	netbsd-7-0-RC1:1.1
	netbsd-6-0-6-RELEASE:1.1.2.2
	netbsd-6-1-5-RELEASE:1.1.2.2
	netbsd-7:1.1.0.14
	netbsd-7-base:1.1
	yamt-pagecache-base9:1.1
	yamt-pagecache-tag8:1.1.4.2
	netbsd-6-1-4-RELEASE:1.1.2.2
	netbsd-6-0-5-RELEASE:1.1.2.2
	tls-earlyentropy:1.1.0.12
	tls-earlyentropy-base:1.1
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1
	riastradh-drm2-base3:1.1
	netbsd-6-1-3-RELEASE:1.1.2.2
	netbsd-6-0-4-RELEASE:1.1.2.2
	netbsd-6-1-2-RELEASE:1.1.2.2
	netbsd-6-0-3-RELEASE:1.1.2.2
	netbsd-6-1-1-RELEASE:1.1.2.2
	riastradh-drm2-base2:1.1
	riastradh-drm2-base1:1.1
	riastradh-drm2:1.1.0.8
	riastradh-drm2-base:1.1
	netbsd-6-1:1.1.2.2.0.6
	netbsd-6-0-2-RELEASE:1.1.2.2
	netbsd-6-1-RELEASE:1.1.2.2
	netbsd-6-1-RC4:1.1.2.2
	netbsd-6-1-RC3:1.1.2.2
	agc-symver:1.1.0.10
	agc-symver-base:1.1
	netbsd-6-1-RC2:1.1.2.2
	netbsd-6-1-RC1:1.1.2.2
	yamt-pagecache-base8:1.1
	netbsd-6-0-1-RELEASE:1.1.2.2
	yamt-pagecache-base7:1.1
	matt-nb6-plus-nbase:1.1.2.2
	yamt-pagecache-base6:1.1
	netbsd-6-0:1.1.2.2.0.4
	netbsd-6-0-RELEASE:1.1.2.2
	netbsd-6-0-RC2:1.1.2.2
	tls-maxphys:1.1.0.6
	tls-maxphys-base:1.1
	matt-nb6-plus:1.1.2.2.0.2
	matt-nb6-plus-base:1.1.2.2
	netbsd-6-0-RC1:1.1.2.2
	yamt-pagecache-base5:1.1
	yamt-pagecache:1.1.0.4
	yamt-pagecache-base4:1.1
	netbsd-6:1.1.0.2;
locks; strict;
comment	@# @;


1.5
date	2026.03.20.15.31.36;	author wiz;	state Exp;
branches;
next	1.4;
commitid	hGVBgJ80smrhbJyG;

1.4
date	2019.09.24.19.19.49;	author maya;	state Exp;
branches
	1.4.8.1
	1.4.12.1;
next	1.3;
commitid	HBNbPmejZVivAiEB;

1.3
date	2019.09.23.17.20.41;	author maya;	state Exp;
branches;
next	1.2;
commitid	yXDRLF3qDQzmX9EB;

1.2
date	2016.05.14.14.39.39;	author spz;	state Exp;
branches
	1.2.8.1
	1.2.16.1
	1.2.18.1;
next	1.1;
commitid	gfYDujp4Qw7Gvs6z;

1.1
date	2012.02.29.20.07.56;	author tron;	state Exp;
branches
	1.1.2.1
	1.1.4.1
	1.1.14.1
	1.1.16.1;
next	;

1.4.8.1
date	2026.04.02.18.32.45;	author martin;	state Exp;
branches;
next	;
commitid	ksCqTfESa0UALpAG;

1.4.12.1
date	2026.04.02.18.31.11;	author martin;	state Exp;
branches;
next	;
commitid	cdNJ9DPTpZ84LpAG;

1.2.8.1
date	2019.09.28.07.45.25;	author martin;	state Exp;
branches;
next	;
commitid	JpE4DSDblL0FCKEB;

1.2.16.1
date	2020.04.13.08.02.23;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.2.18.1
date	2019.09.28.07.29.15;	author martin;	state Exp;
branches;
next	;
commitid	Q2vJSnrVd1B6xKEB;

1.1.2.1
date	2012.02.29.20.07.56;	author riz;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2012.03.02.18.27.54;	author riz;	state Exp;
branches
	1.1.2.2.4.1
	1.1.2.2.6.1;
next	1.1.2.3;

1.1.2.3
date	2016.05.18.10.49.24;	author snj;	state Exp;
branches;
next	;
commitid	rBQKbLw2qANU6X6z;

1.1.2.2.4.1
date	2016.05.18.10.40.43;	author snj;	state Exp;
branches;
next	;
commitid	sn3ewMlOwSnM3X6z;

1.1.2.2.6.1
date	2016.05.18.10.45.14;	author snj;	state Exp;
branches;
next	;
commitid	5xlzCAOqLNUu5X6z;

1.1.4.1
date	2012.02.29.20.07.56;	author yamt;	state dead;
branches;
next	1.1.4.2;

1.1.4.2
date	2012.04.17.00.04.45;	author yamt;	state Exp;
branches;
next	;

1.1.14.1
date	2016.05.18.09.14.15;	author snj;	state Exp;
branches;
next	;
commitid	L9D8vOB1Fk8fAW6z;

1.1.16.1
date	2016.05.18.09.15.17;	author snj;	state Exp;
branches;
next	;
commitid	QP6HLZ4lDbRvAW6z;


desc
@@


1.5
log
@expat: install expat_config.h

recently required by python311
@
text
@#	$NetBSD: Makefile,v 1.4 2019/09/24 19:19:49 maya Exp $

.include <bsd.init.mk>

LIB=		expat

.PATH:	${EXPATSRCDIR}/lib
SRCS=	xmlparse.c xmlrole.c xmltok.c

INCS=		expat.h expat_config.h expat_external.h
INCSDIR=	/usr/include

CPPFLAGS+=		-I${EXPATSRCDIR} -I${.CURDIR}
CPPFLAGS+=		-DHAVE_EXPAT_CONFIG_H
COPTS.xmlparse.c=	-Wno-error # macppc
COPTS.xmlrole.c=	-Wno-error # macppc
COPTS.xmltok.c=		-Wno-error # macppc

FILES+=			expat.pc
FILESOWN_expat.pc=	${BINOWN}
FILESGRP_expat.pc=	${BINGRP}
FILESMODE_expat.pc=	${NONBINMODE}
FILESDIR_expat.pc=	/usr/lib/pkgconfig

CLEANFILES+=expat.pc

.include <bsd.lib.mk>

gaga:
	@@echo MKLINT=${MKLINT}
	@@echo LSRCS=${LSRCS}
	@@echo LOBJS=${LOBJS}

all: expat.pc
dependall: all

expat.pc: expat_config.h expat.pc.in
	@@(V=$$( (echo '#include <expat_config.h>'; echo PACKAGE_VERSION) | \
	    ${CC} ${CPPFLAGS} -E -I${.CURDIR} - | tail -1 | tr -d '"') && \
	    ${TOOL_SED} -e s/@@VERSION@@/$$V/ < ${.CURDIR}/expat.pc.in \
	    > ${.TARGET})

@


1.4
log
@Unless we add --sysroot, the netbsd src tree headers won't be used.
Do so, so we don't rely on the build machine to have <endian.h> for
this macro check.

Using ${CPPFLAGS} rather than my own encoding of --sysroot, since it
already includes it.

Tested by agc, thanks.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2019/09/23 17:20:41 maya Exp $
d10 1
a10 1
INCS=		expat.h expat_external.h
@


1.4.8.1
log
@Pull up following revision(s) (requested by wiz in ticket #1251):

	distrib/sets/lists/comp/mi: revision 1.2521
	external/mit/expat/lib/libexpat/Makefile: revision 1.5

expat: install expat_config.h
recently required by python311
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2019/09/24 19:19:49 maya Exp $
d10 1
a10 1
INCS=		expat.h expat_config.h expat_external.h
@


1.4.12.1
log
@Pull up following revision(s) (requested by wiz in ticket #225):

	distrib/sets/lists/comp/mi: revision 1.2521
	external/mit/expat/lib/libexpat/Makefile: revision 1.5

expat: install expat_config.h
recently required by python311
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2019/09/24 19:19:49 maya Exp $
d10 1
a10 1
INCS=		expat.h expat_config.h expat_external.h
@


1.3
log
@Now that expat_config.h uses a header that is OS-specific, using the HOST_CC
breaks for some setups which lack it (netbsd<8, possibly other things).

Use the compiler targetting netbsd that uses netbsd headers to figure out
PACKAGE_VERSION to avoid this problem.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2016/05/14 14:39:39 spz Exp $
d39 1
a39 1
	    ${CC} -E -I${.CURDIR} - | tail -1 | tr -d '"') && \
@


1.2
log
@merge conflicts, bump shlib version, add expat.pc
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2012/02/29 20:07:56 tron Exp $
d39 1
a39 1
	    ${HOST_CC} -E -I${.CURDIR} - | tail -1 | tr -d '"') && \
@


1.2.16.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
#	$NetBSD$
d39 1
a39 1
	    ${CC} ${CPPFLAGS} -E -I${.CURDIR} - | tail -1 | tr -d '"') && \
@


1.2.8.1
log
@Pull up following revision(s) (requested by maya in ticket #1394):

	external/mit/expat/lib/libexpat/Makefile: revision 1.3
	external/mit/expat/lib/libexpat/Makefile: revision 1.4

Now that expat_config.h uses a header that is OS-specific, using the HOST_CC
breaks for some setups which lack it (netbsd<8, possibly other things).

Use the compiler targetting netbsd that uses netbsd headers to figure out
PACKAGE_VERSION to avoid this problem.

Unless we add --sysroot, the netbsd src tree headers won't be used.
Do so, so we don't rely on the build machine to have <endian.h> for
this macro check.

Using ${CPPFLAGS} rather than my own encoding of --sysroot, since it
already includes it.

Tested by agc, thanks.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2016/05/14 14:39:39 spz Exp $
d39 1
a39 1
	    ${CC} ${CPPFLAGS} -E -I${.CURDIR} - | tail -1 | tr -d '"') && \
@


1.2.18.1
log
@Pull up following revision(s) (requested by maya in ticket #259):

	external/mit/expat/lib/libexpat/Makefile: revision 1.3
	external/mit/expat/lib/libexpat/Makefile: revision 1.4

Now that expat_config.h uses a header that is OS-specific, using the HOST_CC
breaks for some setups which lack it (netbsd<8, possibly other things).
Use the compiler targetting netbsd that uses netbsd headers to figure out
PACKAGE_VERSION to avoid this problem.

Unless we add --sysroot, the netbsd src tree headers won't be used.

Do so, so we don't rely on the build machine to have <endian.h> for
this macro check.

Using ${CPPFLAGS} rather than my own encoding of --sysroot, since it
already includes it.

Tested by agc, thanks.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2016/05/14 14:39:39 spz Exp $
d39 1
a39 1
	    ${CC} ${CPPFLAGS} -E -I${.CURDIR} - | tail -1 | tr -d '"') && \
@


1.1
log
@Move "libexpat" from X11 into base which fixes PR lib/40346.
This change was approved by the Core Group.
@
text
@d1 1
a1 1
#	$NetBSD$
d19 8
d33 10
@


1.1.16.1
log
@Pull up following revision(s) (requested by spz in ticket #1169):
	distrib/sets/lists/base/ad.aarch64: patch
	distrib/sets/lists/base/ad.arm: patch
	distrib/sets/lists/base/ad.mips: patch
	distrib/sets/lists/base/ad.powerpc: patch
	distrib/sets/lists/base/md.amd64: patch
	distrib/sets/lists/base/md.sparc64: patch
	distrib/sets/lists/base/shl.mi: 1.771, 1.772 via patch
	distrib/sets/lists/comp/mi: 1.2035
	distrib/sets/lists/debug/ad.aarch64: patch
	distrib/sets/lists/debug/ad.arm: patch
	distrib/sets/lists/debug/ad.mips: patch
	distrib/sets/lists/debug/ad.powerpc: patch
	distrib/sets/lists/debug/md.amd64: patch
	distrib/sets/lists/debug/md.sparc64: patch
	distrib/sets/lists/debug/shl.mi: 1.133, 1.134 via patch
	doc/3RDPARTY: 1.1316, 1.1330
	external/mit/expat/dist/CMake.README: up to 1.1.1.2
	external/mit/expat/dist/CMakeLists.txt: up to 1.1.1.2
	external/mit/expat/dist/Changes: up to 1.1.1.3
	external/mit/expat/dist/MANIFEST: up to 1.1.1.3
	external/mit/expat/dist/Makefile.in: up to 1.1.1.3
	external/mit/expat/dist/README: up to 1.1.1.3
	external/mit/expat/dist/aclocal.m4: up to 1.1.1.2
	external/mit/expat/dist/configure: up to 1.1.1.3
	external/mit/expat/dist/configure.ac: up to 1.1.1.1
	external/mit/expat/dist/expat_config.h.in: up to 1.1.1.3
	external/mit/expat/dist/bcb5/elements.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/expat.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/expat_static.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/expatw.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/expatw_static.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/outline.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/xmlwf.bpr: up to 1.1.1.2
	external/mit/expat/dist/conftools/ac_c_bigendian_cross.m4: up to 1.4
	external/mit/expat/dist/conftools/config.guess: up to 1.1.1.3
	external/mit/expat/dist/conftools/config.sub: up to 1.1.1.3
	external/mit/expat/dist/conftools/install-sh: up to 1.1.1.3
	external/mit/expat/dist/conftools/ltmain.sh: up to 1.1.1.3
	external/mit/expat/dist/conftools/mkinstalldirs: up to 1.4
	external/mit/expat/dist/doc/reference.html: up to 1.1.1.3
	external/mit/expat/dist/doc/xmlwf.1: up to 1.1.1.2
	external/mit/expat/dist/doc/xmlwf.sgml: up to 1.1.1.3
	external/mit/expat/dist/examples/elements.c: up to 1.1.1.2
	external/mit/expat/dist/lib/amigaconfig.h: up to 1.1.1.2
	external/mit/expat/dist/lib/expat.h: up to 1.1.1.3
	external/mit/expat/dist/lib/libexpat.def: up to 1.1.1.2
	external/mit/expat/dist/lib/libexpatw.def: up to 1.1.1.2
	external/mit/expat/dist/lib/xmlparse.c: up to 1.4
	external/mit/expat/dist/lib/xmltok.c: up to 1.1.1.2
	external/mit/expat/dist/lib/xmltok.h: up to 1.1.1.1
	external/mit/expat/dist/lib/xmltok_impl.c: up to 1.3
	external/mit/expat/dist/m4/libtool.m4: up to 1.1.1.2
	external/mit/expat/dist/m4/ltoptions.m4: up to 1.1.1.2
	external/mit/expat/dist/m4/ltversion.m4: up to 1.1.1.2
	external/mit/expat/dist/tests/chardata.c: up to 1.1.1.2
	external/mit/expat/dist/tests/benchmark/README.txt: up to 1.1.1.2
	external/mit/expat/dist/win32/expat.iss: up to 1.1.1.3
	external/mit/expat/dist/xmlwf/unixfilemap.c: up to 1.1.1.2
	external/mit/expat/dist/xmlwf/xmlwf.c: up to 1.1.1.3
	external/mit/expat/lib/libexpat/Makefile: up to 1.2
	external/mit/expat/lib/libexpat/expat.pc.in: up to 1.1
	external/mit/expat/lib/libexpat/expat_config.h: up to 1.3
	external/mit/expat/lib/libexpat/shlib_version: up to 1.3
Update expat to 2.1.1.  Apply fixes for CVE-2016-0718.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2012/02/29 20:07:56 tron Exp $
a18 8
FILES+=			expat.pc
FILESOWN_expat.pc=	${BINOWN}
FILESGRP_expat.pc=	${BINGRP}
FILESMODE_expat.pc=	${NONBINMODE}
FILESDIR_expat.pc=	/usr/lib/pkgconfig

CLEANFILES+=expat.pc

a24 10

all: expat.pc
dependall: all

expat.pc: expat_config.h expat.pc.in
	@@(V=$$( (echo '#include <expat_config.h>'; echo PACKAGE_VERSION) | \
	    ${HOST_CC} -E -I${.CURDIR} - | tail -1 | tr -d '"') && \
	    ${TOOL_SED} -e s/@@VERSION@@/$$V/ < ${.CURDIR}/expat.pc.in \
	    > ${.TARGET})

@


1.1.14.1
log
@Pull up following revision(s) (requested by spz in ticket #1169):
	distrib/sets/lists/base/ad.aarch64: patch
	distrib/sets/lists/base/ad.arm: patch
	distrib/sets/lists/base/ad.mips: patch
	distrib/sets/lists/base/ad.powerpc: patch
	distrib/sets/lists/base/md.amd64: patch
	distrib/sets/lists/base/md.sparc64: patch
	distrib/sets/lists/base/shl.mi: 1.771, 1.772 via patch
	distrib/sets/lists/comp/mi: 1.2035
	distrib/sets/lists/debug/ad.aarch64: patch
	distrib/sets/lists/debug/ad.arm: patch
	distrib/sets/lists/debug/ad.mips: patch
	distrib/sets/lists/debug/ad.powerpc: patch
	distrib/sets/lists/debug/md.amd64: patch
	distrib/sets/lists/debug/md.sparc64: patch
	distrib/sets/lists/debug/shl.mi: 1.133, 1.134 via patch
	doc/3RDPARTY: 1.1316, 1.1330
	external/mit/expat/dist/CMake.README: up to 1.1.1.2
	external/mit/expat/dist/CMakeLists.txt: up to 1.1.1.2
	external/mit/expat/dist/Changes: up to 1.1.1.3
	external/mit/expat/dist/MANIFEST: up to 1.1.1.3
	external/mit/expat/dist/Makefile.in: up to 1.1.1.3
	external/mit/expat/dist/README: up to 1.1.1.3
	external/mit/expat/dist/aclocal.m4: up to 1.1.1.2
	external/mit/expat/dist/configure: up to 1.1.1.3
	external/mit/expat/dist/configure.ac: up to 1.1.1.1
	external/mit/expat/dist/expat_config.h.in: up to 1.1.1.3
	external/mit/expat/dist/bcb5/elements.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/expat.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/expat_static.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/expatw.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/expatw_static.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/outline.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/xmlwf.bpr: up to 1.1.1.2
	external/mit/expat/dist/conftools/ac_c_bigendian_cross.m4: up to 1.4
	external/mit/expat/dist/conftools/config.guess: up to 1.1.1.3
	external/mit/expat/dist/conftools/config.sub: up to 1.1.1.3
	external/mit/expat/dist/conftools/install-sh: up to 1.1.1.3
	external/mit/expat/dist/conftools/ltmain.sh: up to 1.1.1.3
	external/mit/expat/dist/conftools/mkinstalldirs: up to 1.4
	external/mit/expat/dist/doc/reference.html: up to 1.1.1.3
	external/mit/expat/dist/doc/xmlwf.1: up to 1.1.1.2
	external/mit/expat/dist/doc/xmlwf.sgml: up to 1.1.1.3
	external/mit/expat/dist/examples/elements.c: up to 1.1.1.2
	external/mit/expat/dist/lib/amigaconfig.h: up to 1.1.1.2
	external/mit/expat/dist/lib/expat.h: up to 1.1.1.3
	external/mit/expat/dist/lib/libexpat.def: up to 1.1.1.2
	external/mit/expat/dist/lib/libexpatw.def: up to 1.1.1.2
	external/mit/expat/dist/lib/xmlparse.c: up to 1.4
	external/mit/expat/dist/lib/xmltok.c: up to 1.1.1.2
	external/mit/expat/dist/lib/xmltok.h: up to 1.1.1.1
	external/mit/expat/dist/lib/xmltok_impl.c: up to 1.3
	external/mit/expat/dist/m4/libtool.m4: up to 1.1.1.2
	external/mit/expat/dist/m4/ltoptions.m4: up to 1.1.1.2
	external/mit/expat/dist/m4/ltversion.m4: up to 1.1.1.2
	external/mit/expat/dist/tests/chardata.c: up to 1.1.1.2
	external/mit/expat/dist/tests/benchmark/README.txt: up to 1.1.1.2
	external/mit/expat/dist/win32/expat.iss: up to 1.1.1.3
	external/mit/expat/dist/xmlwf/unixfilemap.c: up to 1.1.1.2
	external/mit/expat/dist/xmlwf/xmlwf.c: up to 1.1.1.3
	external/mit/expat/lib/libexpat/Makefile: up to 1.2
	external/mit/expat/lib/libexpat/expat.pc.in: up to 1.1
	external/mit/expat/lib/libexpat/expat_config.h: up to 1.3
	external/mit/expat/lib/libexpat/shlib_version: up to 1.3
Update expat to 2.1.1.  Apply fixes for CVE-2016-0718.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2012/02/29 20:07:56 tron Exp $
a18 8
FILES+=			expat.pc
FILESOWN_expat.pc=	${BINOWN}
FILESGRP_expat.pc=	${BINGRP}
FILESMODE_expat.pc=	${NONBINMODE}
FILESDIR_expat.pc=	/usr/lib/pkgconfig

CLEANFILES+=expat.pc

a24 10

all: expat.pc
dependall: all

expat.pc: expat_config.h expat.pc.in
	@@(V=$$( (echo '#include <expat_config.h>'; echo PACKAGE_VERSION) | \
	    ${HOST_CC} -E -I${.CURDIR} - | tail -1 | tr -d '"') && \
	    ${TOOL_SED} -e s/@@VERSION@@/$$V/ < ${.CURDIR}/expat.pc.in \
	    > ${.TARGET})

@


1.1.4.1
log
@file Makefile was added on branch yamt-pagecache on 2012-04-17 00:04:45 +0000
@
text
@d1 24
@


1.1.4.2
log
@sync with head
@
text
@a0 24
#	$NetBSD$

.include <bsd.init.mk>

LIB=		expat

.PATH:	${EXPATSRCDIR}/lib
SRCS=	xmlparse.c xmlrole.c xmltok.c

INCS=		expat.h expat_external.h
INCSDIR=	/usr/include

CPPFLAGS+=		-I${EXPATSRCDIR} -I${.CURDIR}
CPPFLAGS+=		-DHAVE_EXPAT_CONFIG_H
COPTS.xmlparse.c=	-Wno-error # macppc
COPTS.xmlrole.c=	-Wno-error # macppc
COPTS.xmltok.c=		-Wno-error # macppc

.include <bsd.lib.mk>

gaga:
	@@echo MKLINT=${MKLINT}
	@@echo LSRCS=${LSRCS}
	@@echo LOBJS=${LOBJS}
@


1.1.2.1
log
@file Makefile was added on branch netbsd-6 on 2012-03-02 18:27:54 +0000
@
text
@d1 24
@


1.1.2.2
log
@Pull up following revision(s) (requested by tron in ticket #72):
	external/mit/xorg/lib/fontconfig/src/Makefile: revision 1.8
	distrib/sets/lists/xbase/shl.mi: revision 1.45
	distrib/sets/lists/comp/ad.mips64eb: revision 1.72
	external/mit/expat/lib/Makefile: revision 1.1
	external/mit/xorg/tools/fc-cache/Makefile: revision 1.6
	x11/lib/fontconfig/src/Makefile: revision 1.11
	distrib/sets/lists/xcomp/mi: revision 1.134
	distrib/sets/lists/base/md.amd64: revision 1.159
	distrib/sets/lists/base/ad.mips64eb: revision 1.85
	external/mit/xorg/lib/dri/dri.mk: revision 1.11
	external/mit/expat/lib/Makefile.inc: revision 1.1
	external/mit/expat/Makefile.inc: revision 1.1
	distrib/sets/lists/base/shl.mi: revision 1.619
	distrib/sets/lists/comp/shl.mi: revision 1.212
	distrib/sets/lists/man/mi: revision 1.1382
	distrib/sets/lists/comp/mi: revision 1.1743
	x11/lib/expat/Makefile: file removal
	lib/Makefile: revision 1.182
	external/mit/expat/Makefile: revision 1.1
	external/mit/Makefile: revision 1.2
	distrib/sets/lists/xcomp/shl.mi: revision 1.31
	external/mit/xorg/bin/xmlwf/Makefile: revision 1.4
	external/mit/xorg/lib/Makefile: revision 1.25
	external/mit/expat/lib/libexpat/Makefile: revision 1.1
	distrib/sets/lists/comp/ad.mips64el: revision 1.72
	x11/lib/expat/shlib_version: file removal
	external/mit/xorg/lib/expat/expat_config.h: file removal
	external/mit/expat/bin/xmlwf/Makefile: revision 1.1
	share/mk/bsd.prog.mk: revision 1.274
	distrib/sets/lists/base/ad.mips64el: revision 1.84
	x11/lib/Makefile: revision 1.11
	external/mit/xorg/lib/expat/Makefile: file removal
	external/mit/xorg/lib/expat/shlib_version: file removal
	distrib/sets/lists/comp/md.amd64: revision 1.158
	distrib/sets/lists/base/mi: revision 1.987
	distrib/sets/lists/base/md.sparc64: revision 1.150
	share/mk/bsd.README: revision 1.294
	external/mit/expat/bin/Makefile.inc: revision 1.1
	distrib/sets/lists/xbase/mi: revision 1.113
	external/mit/expat/lib/libexpat/shlib_version: revision 1.1
	external/mit/expat/lib/libexpat/expat_config.h: revision 1.1
	distrib/sets/lists/comp/md.sparc64: revision 1.141
	share/mk/bsd.hostprog.mk: revision 1.67
	external/mit/expat/bin/Makefile: revision 1.1
Move &quot;libexpat&quot; from X11 into base which fixes PR lib/40346.
This change was approved by the Core Group.
@
text
@a0 24
#	$NetBSD: Makefile,v 1.1 2012/02/29 20:07:56 tron Exp $

.include <bsd.init.mk>

LIB=		expat

.PATH:	${EXPATSRCDIR}/lib
SRCS=	xmlparse.c xmlrole.c xmltok.c

INCS=		expat.h expat_external.h
INCSDIR=	/usr/include

CPPFLAGS+=		-I${EXPATSRCDIR} -I${.CURDIR}
CPPFLAGS+=		-DHAVE_EXPAT_CONFIG_H
COPTS.xmlparse.c=	-Wno-error # macppc
COPTS.xmlrole.c=	-Wno-error # macppc
COPTS.xmltok.c=		-Wno-error # macppc

.include <bsd.lib.mk>

gaga:
	@@echo MKLINT=${MKLINT}
	@@echo LSRCS=${LSRCS}
	@@echo LOBJS=${LOBJS}
@


1.1.2.3
log
@Pull up following revision(s) (requested by spz in ticket #1383):
	distrib/sets/lists/base/ad.mips64eb: patch
	distrib/sets/lists/base/ad.mips64el: patch
	distrib/sets/lists/base/md.amd64: patch
	distrib/sets/lists/base/md.sparc64: patch
	distrib/sets/lists/base/shl.mi: 1.771, 1.772 via patch
	distrib/sets/lists/comp/ad.mips64eb: patch
	distrib/sets/lists/comp/ad.mips64el: patch
	distrib/sets/lists/comp/md.amd64: patch
	distrib/sets/lists/comp/md.sparc64: patch
	distrib/sets/lists/comp/mi: 1.2035 via patch
	distrib/sets/lists/comp/shl.mi: patch
	external/mit/expat/dist/CMake.README: up to 1.1.1.2
	external/mit/expat/dist/CMakeLists.txt: up to 1.1.1.2
	external/mit/expat/dist/Changes: up to 1.1.1.3
	external/mit/expat/dist/ConfigureChecks.cmake: up to 1.1.1.1
	external/mit/expat/dist/MANIFEST: up to 1.1.1.3
	external/mit/expat/dist/Makefile.in: up to 1.1.1.3
	external/mit/expat/dist/README: up to 1.1.1.3
	external/mit/expat/dist/aclocal.m4: up to 1.1.1.2
	external/mit/expat/dist/configure: up to 1.1.1.3
	external/mit/expat/dist/configure.ac: up to 1.1.1.1
	external/mit/expat/dist/configure.in: up to 1.1.1.2
	external/mit/expat/dist/expat.pc.in: up to 1.1.1.1
	external/mit/expat/dist/expat_config.h.cmake: up to 1.1.1.1
	external/mit/expat/dist/expat_config.h.in: up to 1.1.1.3
	external/mit/expat/dist/amiga/Makefile: up to 1.1.1.2
	external/mit/expat/dist/amiga/README.txt: up to 1.1.1.2
	external/mit/expat/dist/amiga/expat_68k.c: up to 1.1.1.1
	external/mit/expat/dist/amiga/expat_68k.h: up to 1.1.1.1
	external/mit/expat/dist/amiga/expat_68k_handler_stubs.c: up to 1.1.1.1
	external/mit/expat/dist/amiga/expat_base.h: up to 1.1.1.1
	external/mit/expat/dist/amiga/expat_lib.c: up to 1.1.1.2
	external/mit/expat/dist/amiga/expat_vectors.c: up to 1.1.1.2
	external/mit/expat/dist/amiga/launch.c: up to 1.1.1.2
	external/mit/expat/dist/amiga/stdlib.c: delete
	external/mit/expat/dist/bcb5/elements.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/expat.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/expat_static.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/expatw.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/expatw_static.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/outline.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/xmlwf.bpr: up to 1.1.1.2
	external/mit/expat/dist/conftools/ac_c_bigendian_cross.m4: up to 1.4
	external/mit/expat/dist/conftools/config.guess: up to 1.1.1.3
	external/mit/expat/dist/conftools/config.sub: up to 1.1.1.3
	external/mit/expat/dist/conftools/expat.m4: up to 1.1.1.2
	external/mit/expat/dist/conftools/install-sh: up to 1.1.1.3
	external/mit/expat/dist/conftools/libtool.m4: delete
	external/mit/expat/dist/conftools/ltmain.sh: up to 1.1.1.3
	external/mit/expat/dist/conftools/mkinstalldirs: up to 1.4
	external/mit/expat/dist/doc/reference.html: up to 1.1.1.3
	external/mit/expat/dist/doc/xmlwf.1: up to 1.1.1.2
	external/mit/expat/dist/doc/xmlwf.sgml: up to 1.1.1.3
	external/mit/expat/dist/examples/elements.c: up to 1.1.1.2
	external/mit/expat/dist/examples/elements.dsp: up to 1.1.1.2
	external/mit/expat/dist/examples/outline.dsp: up to 1.1.1.2
	external/mit/expat/dist/lib/amigaconfig.h: up to 1.1.1.2
	external/mit/expat/dist/lib/expat.dsp: up to 1.1.1.2
	external/mit/expat/dist/lib/expat.h: up to 1.1.1.3
	external/mit/expat/dist/lib/expat_static.dsp: up to 1.1.1.2
	external/mit/expat/dist/lib/expatw.dsp: up to 1.1.1.2
	external/mit/expat/dist/lib/libexpat.def: up to 1.1.1.2
	external/mit/expat/dist/lib/libexpatw.def: up to 1.1.1.2
	external/mit/expat/dist/lib/xmlparse.c: up to 1.4
	external/mit/expat/dist/lib/xmlrole.c: up to 1.1.1.2
	external/mit/expat/dist/lib/xmltok.c: up to 1.1.1.2
	external/mit/expat/dist/lib/xmltok.h: up to 1.1.1.1
	external/mit/expat/dist/lib/xmltok_impl.c: up to 1.3
	external/mit/expat/dist/m4/libtool.m4: up to 1.1.1.2
	external/mit/expat/dist/m4/ltoptions.m4: up to 1.1.1.2
	external/mit/expat/dist/m4/ltsugar.m4: up to 1.1.1.1
	external/mit/expat/dist/m4/ltversion.m4: up to 1.1.1.2
	external/mit/expat/dist/m4/lt~obsolete.m4: up to 1.1.1.1
	external/mit/expat/dist/tests/README.txt: up to 1.1.1.2
	external/mit/expat/dist/tests/chardata.c: up to 1.1.1.2
	external/mit/expat/dist/tests/minicheck.h: up to 1.1.1.2
	external/mit/expat/dist/tests/runtests.c: up to 1.1.1.2
	external/mit/expat/dist/tests/xmltest.sh: up to 1.1.1.2
	external/mit/expat/dist/tests/benchmark/README.txt: up to 1.1.1.2
	external/mit/expat/dist/tests/benchmark/benchmark.dsp: up to 1.1.1.2
	external/mit/expat/dist/win32/README.txt: up to 1.1.1.2
	external/mit/expat/dist/win32/expat.iss: up to 1.1.1.3
	external/mit/expat/dist/xmlwf/unixfilemap.c: up to 1.1.1.2
	external/mit/expat/dist/xmlwf/xmlwf.c: up to 1.1.1.3
	external/mit/expat/dist/xmlwf/xmlwf.dsp: up to 1.1.1.2
	external/mit/expat/lib/libexpat/Makefile: up to 1.2
	external/mit/expat/lib/libexpat/expat.pc.in: up to 1.1
	external/mit/expat/lib/libexpat/expat_config.h: up to 1.3
	external/mit/expat/lib/libexpat/shlib_version: up to 1.3
Update expat to 2.1.1.  Apply fixes for CVE-2016-0718.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.2 2012/03/02 18:27:54 riz Exp $
a18 8
FILES+=			expat.pc
FILESOWN_expat.pc=	${BINOWN}
FILESGRP_expat.pc=	${BINGRP}
FILESMODE_expat.pc=	${NONBINMODE}
FILESDIR_expat.pc=	/usr/lib/pkgconfig

CLEANFILES+=expat.pc

a24 10

all: expat.pc
dependall: all

expat.pc: expat_config.h expat.pc.in
	@@(V=$$( (echo '#include <expat_config.h>'; echo PACKAGE_VERSION) | \
	    ${HOST_CC} -E -I${.CURDIR} - | tail -1 | tr -d '"') && \
	    ${TOOL_SED} -e s/@@VERSION@@/$$V/ < ${.CURDIR}/expat.pc.in \
	    > ${.TARGET})

@


1.1.2.2.6.1
log
@Pull up following revision(s) (requested by spz in ticket #1383):
	distrib/sets/lists/base/ad.mips64eb: patch
	distrib/sets/lists/base/ad.mips64el: patch
	distrib/sets/lists/base/md.amd64: patch
	distrib/sets/lists/base/md.sparc64: patch
	distrib/sets/lists/base/shl.mi: 1.771, 1.772 via patch
	distrib/sets/lists/comp/ad.mips64eb: patch
	distrib/sets/lists/comp/ad.mips64el: patch
	distrib/sets/lists/comp/md.amd64: patch
	distrib/sets/lists/comp/md.sparc64: patch
	distrib/sets/lists/comp/mi: 1.2035 via patch
	distrib/sets/lists/comp/shl.mi: patch
	external/mit/expat/dist/CMake.README: up to 1.1.1.2
	external/mit/expat/dist/CMakeLists.txt: up to 1.1.1.2
	external/mit/expat/dist/Changes: up to 1.1.1.3
	external/mit/expat/dist/ConfigureChecks.cmake: up to 1.1.1.1
	external/mit/expat/dist/MANIFEST: up to 1.1.1.3
	external/mit/expat/dist/Makefile.in: up to 1.1.1.3
	external/mit/expat/dist/README: up to 1.1.1.3
	external/mit/expat/dist/aclocal.m4: up to 1.1.1.2
	external/mit/expat/dist/configure: up to 1.1.1.3
	external/mit/expat/dist/configure.ac: up to 1.1.1.1
	external/mit/expat/dist/configure.in: up to 1.1.1.2
	external/mit/expat/dist/expat.pc.in: up to 1.1.1.1
	external/mit/expat/dist/expat_config.h.cmake: up to 1.1.1.1
	external/mit/expat/dist/expat_config.h.in: up to 1.1.1.3
	external/mit/expat/dist/amiga/Makefile: up to 1.1.1.2
	external/mit/expat/dist/amiga/README.txt: up to 1.1.1.2
	external/mit/expat/dist/amiga/expat_68k.c: up to 1.1.1.1
	external/mit/expat/dist/amiga/expat_68k.h: up to 1.1.1.1
	external/mit/expat/dist/amiga/expat_68k_handler_stubs.c: up to 1.1.1.1
	external/mit/expat/dist/amiga/expat_base.h: up to 1.1.1.1
	external/mit/expat/dist/amiga/expat_lib.c: up to 1.1.1.2
	external/mit/expat/dist/amiga/expat_vectors.c: up to 1.1.1.2
	external/mit/expat/dist/amiga/launch.c: up to 1.1.1.2
	external/mit/expat/dist/amiga/stdlib.c: delete
	external/mit/expat/dist/bcb5/elements.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/expat.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/expat_static.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/expatw.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/expatw_static.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/outline.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/xmlwf.bpr: up to 1.1.1.2
	external/mit/expat/dist/conftools/ac_c_bigendian_cross.m4: up to 1.4
	external/mit/expat/dist/conftools/config.guess: up to 1.1.1.3
	external/mit/expat/dist/conftools/config.sub: up to 1.1.1.3
	external/mit/expat/dist/conftools/expat.m4: up to 1.1.1.2
	external/mit/expat/dist/conftools/install-sh: up to 1.1.1.3
	external/mit/expat/dist/conftools/libtool.m4: delete
	external/mit/expat/dist/conftools/ltmain.sh: up to 1.1.1.3
	external/mit/expat/dist/conftools/mkinstalldirs: up to 1.4
	external/mit/expat/dist/doc/reference.html: up to 1.1.1.3
	external/mit/expat/dist/doc/xmlwf.1: up to 1.1.1.2
	external/mit/expat/dist/doc/xmlwf.sgml: up to 1.1.1.3
	external/mit/expat/dist/examples/elements.c: up to 1.1.1.2
	external/mit/expat/dist/examples/elements.dsp: up to 1.1.1.2
	external/mit/expat/dist/examples/outline.dsp: up to 1.1.1.2
	external/mit/expat/dist/lib/amigaconfig.h: up to 1.1.1.2
	external/mit/expat/dist/lib/expat.dsp: up to 1.1.1.2
	external/mit/expat/dist/lib/expat.h: up to 1.1.1.3
	external/mit/expat/dist/lib/expat_static.dsp: up to 1.1.1.2
	external/mit/expat/dist/lib/expatw.dsp: up to 1.1.1.2
	external/mit/expat/dist/lib/libexpat.def: up to 1.1.1.2
	external/mit/expat/dist/lib/libexpatw.def: up to 1.1.1.2
	external/mit/expat/dist/lib/xmlparse.c: up to 1.4
	external/mit/expat/dist/lib/xmlrole.c: up to 1.1.1.2
	external/mit/expat/dist/lib/xmltok.c: up to 1.1.1.2
	external/mit/expat/dist/lib/xmltok.h: up to 1.1.1.1
	external/mit/expat/dist/lib/xmltok_impl.c: up to 1.3
	external/mit/expat/dist/m4/libtool.m4: up to 1.1.1.2
	external/mit/expat/dist/m4/ltoptions.m4: up to 1.1.1.2
	external/mit/expat/dist/m4/ltsugar.m4: up to 1.1.1.1
	external/mit/expat/dist/m4/ltversion.m4: up to 1.1.1.2
	external/mit/expat/dist/m4/lt~obsolete.m4: up to 1.1.1.1
	external/mit/expat/dist/tests/README.txt: up to 1.1.1.2
	external/mit/expat/dist/tests/chardata.c: up to 1.1.1.2
	external/mit/expat/dist/tests/minicheck.h: up to 1.1.1.2
	external/mit/expat/dist/tests/runtests.c: up to 1.1.1.2
	external/mit/expat/dist/tests/xmltest.sh: up to 1.1.1.2
	external/mit/expat/dist/tests/benchmark/README.txt: up to 1.1.1.2
	external/mit/expat/dist/tests/benchmark/benchmark.dsp: up to 1.1.1.2
	external/mit/expat/dist/win32/README.txt: up to 1.1.1.2
	external/mit/expat/dist/win32/expat.iss: up to 1.1.1.3
	external/mit/expat/dist/xmlwf/unixfilemap.c: up to 1.1.1.2
	external/mit/expat/dist/xmlwf/xmlwf.c: up to 1.1.1.3
	external/mit/expat/dist/xmlwf/xmlwf.dsp: up to 1.1.1.2
	external/mit/expat/lib/libexpat/Makefile: up to 1.2
	external/mit/expat/lib/libexpat/expat.pc.in: up to 1.1
	external/mit/expat/lib/libexpat/expat_config.h: up to 1.3
	external/mit/expat/lib/libexpat/shlib_version: up to 1.3
Update expat to 2.1.1.  Apply fixes for CVE-2016-0718.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.2 2012/03/02 18:27:54 riz Exp $
a18 8
FILES+=			expat.pc
FILESOWN_expat.pc=	${BINOWN}
FILESGRP_expat.pc=	${BINGRP}
FILESMODE_expat.pc=	${NONBINMODE}
FILESDIR_expat.pc=	/usr/lib/pkgconfig

CLEANFILES+=expat.pc

a24 10

all: expat.pc
dependall: all

expat.pc: expat_config.h expat.pc.in
	@@(V=$$( (echo '#include <expat_config.h>'; echo PACKAGE_VERSION) | \
	    ${HOST_CC} -E -I${.CURDIR} - | tail -1 | tr -d '"') && \
	    ${TOOL_SED} -e s/@@VERSION@@/$$V/ < ${.CURDIR}/expat.pc.in \
	    > ${.TARGET})

@


1.1.2.2.4.1
log
@Pull up following revision(s) (requested by spz in ticket #1383):
	distrib/sets/lists/base/ad.mips64eb: patch
	distrib/sets/lists/base/ad.mips64el: patch
	distrib/sets/lists/base/md.amd64: patch
	distrib/sets/lists/base/md.sparc64: patch
	distrib/sets/lists/base/shl.mi: 1.771, 1.772 via patch
	distrib/sets/lists/comp/ad.mips64eb: patch
	distrib/sets/lists/comp/ad.mips64el: patch
	distrib/sets/lists/comp/md.amd64: patch
	distrib/sets/lists/comp/md.sparc64: patch
	distrib/sets/lists/comp/mi: 1.2035 via patch
	distrib/sets/lists/comp/shl.mi: patch
	external/mit/expat/dist/CMake.README: up to 1.1.1.2
	external/mit/expat/dist/CMakeLists.txt: up to 1.1.1.2
	external/mit/expat/dist/Changes: up to 1.1.1.3
	external/mit/expat/dist/ConfigureChecks.cmake: up to 1.1.1.1
	external/mit/expat/dist/MANIFEST: up to 1.1.1.3
	external/mit/expat/dist/Makefile.in: up to 1.1.1.3
	external/mit/expat/dist/README: up to 1.1.1.3
	external/mit/expat/dist/aclocal.m4: up to 1.1.1.2
	external/mit/expat/dist/configure: up to 1.1.1.3
	external/mit/expat/dist/configure.ac: up to 1.1.1.1
	external/mit/expat/dist/configure.in: up to 1.1.1.2
	external/mit/expat/dist/expat.pc.in: up to 1.1.1.1
	external/mit/expat/dist/expat_config.h.cmake: up to 1.1.1.1
	external/mit/expat/dist/expat_config.h.in: up to 1.1.1.3
	external/mit/expat/dist/amiga/Makefile: up to 1.1.1.2
	external/mit/expat/dist/amiga/README.txt: up to 1.1.1.2
	external/mit/expat/dist/amiga/expat_68k.c: up to 1.1.1.1
	external/mit/expat/dist/amiga/expat_68k.h: up to 1.1.1.1
	external/mit/expat/dist/amiga/expat_68k_handler_stubs.c: up to 1.1.1.1
	external/mit/expat/dist/amiga/expat_base.h: up to 1.1.1.1
	external/mit/expat/dist/amiga/expat_lib.c: up to 1.1.1.2
	external/mit/expat/dist/amiga/expat_vectors.c: up to 1.1.1.2
	external/mit/expat/dist/amiga/launch.c: up to 1.1.1.2
	external/mit/expat/dist/amiga/stdlib.c: delete
	external/mit/expat/dist/bcb5/elements.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/expat.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/expat_static.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/expatw.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/expatw_static.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/outline.bpr: up to 1.1.1.2
	external/mit/expat/dist/bcb5/xmlwf.bpr: up to 1.1.1.2
	external/mit/expat/dist/conftools/ac_c_bigendian_cross.m4: up to 1.4
	external/mit/expat/dist/conftools/config.guess: up to 1.1.1.3
	external/mit/expat/dist/conftools/config.sub: up to 1.1.1.3
	external/mit/expat/dist/conftools/expat.m4: up to 1.1.1.2
	external/mit/expat/dist/conftools/install-sh: up to 1.1.1.3
	external/mit/expat/dist/conftools/libtool.m4: delete
	external/mit/expat/dist/conftools/ltmain.sh: up to 1.1.1.3
	external/mit/expat/dist/conftools/mkinstalldirs: up to 1.4
	external/mit/expat/dist/doc/reference.html: up to 1.1.1.3
	external/mit/expat/dist/doc/xmlwf.1: up to 1.1.1.2
	external/mit/expat/dist/doc/xmlwf.sgml: up to 1.1.1.3
	external/mit/expat/dist/examples/elements.c: up to 1.1.1.2
	external/mit/expat/dist/examples/elements.dsp: up to 1.1.1.2
	external/mit/expat/dist/examples/outline.dsp: up to 1.1.1.2
	external/mit/expat/dist/lib/amigaconfig.h: up to 1.1.1.2
	external/mit/expat/dist/lib/expat.dsp: up to 1.1.1.2
	external/mit/expat/dist/lib/expat.h: up to 1.1.1.3
	external/mit/expat/dist/lib/expat_static.dsp: up to 1.1.1.2
	external/mit/expat/dist/lib/expatw.dsp: up to 1.1.1.2
	external/mit/expat/dist/lib/libexpat.def: up to 1.1.1.2
	external/mit/expat/dist/lib/libexpatw.def: up to 1.1.1.2
	external/mit/expat/dist/lib/xmlparse.c: up to 1.4
	external/mit/expat/dist/lib/xmlrole.c: up to 1.1.1.2
	external/mit/expat/dist/lib/xmltok.c: up to 1.1.1.2
	external/mit/expat/dist/lib/xmltok.h: up to 1.1.1.1
	external/mit/expat/dist/lib/xmltok_impl.c: up to 1.3
	external/mit/expat/dist/m4/libtool.m4: up to 1.1.1.2
	external/mit/expat/dist/m4/ltoptions.m4: up to 1.1.1.2
	external/mit/expat/dist/m4/ltsugar.m4: up to 1.1.1.1
	external/mit/expat/dist/m4/ltversion.m4: up to 1.1.1.2
	external/mit/expat/dist/m4/lt~obsolete.m4: up to 1.1.1.1
	external/mit/expat/dist/tests/README.txt: up to 1.1.1.2
	external/mit/expat/dist/tests/chardata.c: up to 1.1.1.2
	external/mit/expat/dist/tests/minicheck.h: up to 1.1.1.2
	external/mit/expat/dist/tests/runtests.c: up to 1.1.1.2
	external/mit/expat/dist/tests/xmltest.sh: up to 1.1.1.2
	external/mit/expat/dist/tests/benchmark/README.txt: up to 1.1.1.2
	external/mit/expat/dist/tests/benchmark/benchmark.dsp: up to 1.1.1.2
	external/mit/expat/dist/win32/README.txt: up to 1.1.1.2
	external/mit/expat/dist/win32/expat.iss: up to 1.1.1.3
	external/mit/expat/dist/xmlwf/unixfilemap.c: up to 1.1.1.2
	external/mit/expat/dist/xmlwf/xmlwf.c: up to 1.1.1.3
	external/mit/expat/dist/xmlwf/xmlwf.dsp: up to 1.1.1.2
	external/mit/expat/lib/libexpat/Makefile: up to 1.2
	external/mit/expat/lib/libexpat/expat.pc.in: up to 1.1
	external/mit/expat/lib/libexpat/expat_config.h: up to 1.3
	external/mit/expat/lib/libexpat/shlib_version: up to 1.3
Update expat to 2.1.1.  Apply fixes for CVE-2016-0718.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.2 2012/03/02 18:27:54 riz Exp $
a18 8
FILES+=			expat.pc
FILESOWN_expat.pc=	${BINOWN}
FILESGRP_expat.pc=	${BINGRP}
FILESMODE_expat.pc=	${NONBINMODE}
FILESDIR_expat.pc=	/usr/lib/pkgconfig

CLEANFILES+=expat.pc

a24 10

all: expat.pc
dependall: all

expat.pc: expat_config.h expat.pc.in
	@@(V=$$( (echo '#include <expat_config.h>'; echo PACKAGE_VERSION) | \
	    ${HOST_CC} -E -I${.CURDIR} - | tail -1 | tr -d '"') && \
	    ${TOOL_SED} -e s/@@VERSION@@/$$V/ < ${.CURDIR}/expat.pc.in \
	    > ${.TARGET})

@


