head	1.12;
access;
symbols
	netbsd-11-0-RC4:1.11
	netbsd-11-0-RC3:1.11
	netbsd-11-0-RC2:1.11
	netbsd-11-0-RC1:1.11
	perseant-exfatfs-base-20250801:1.11
	netbsd-11:1.11.0.10
	netbsd-11-base:1.11
	netbsd-10-1-RELEASE:1.11
	perseant-exfatfs-base-20240630:1.11
	perseant-exfatfs:1.11.0.8
	perseant-exfatfs-base:1.11
	netbsd-8-3-RELEASE:1.9.38.1
	netbsd-9-4-RELEASE:1.9.48.1
	netbsd-10-0-RELEASE:1.11
	netbsd-10-0-RC6:1.11
	netbsd-10-0-RC5:1.11
	netbsd-10-0-RC4:1.11
	netbsd-10-0-RC3:1.11
	netbsd-10-0-RC2:1.11
	netbsd-10-0-RC1:1.11
	netbsd-10:1.11.0.6
	netbsd-10-base:1.11
	netbsd-9-3-RELEASE:1.9.48.1
	cjep_sun2x-base1:1.11
	cjep_sun2x:1.11.0.4
	cjep_sun2x-base:1.11
	cjep_staticlib_x-base1:1.11
	netbsd-9-2-RELEASE:1.9.48.1
	cjep_staticlib_x:1.11.0.2
	cjep_staticlib_x-base:1.11
	netbsd-9-1-RELEASE:1.9
	phil-wifi-20200421:1.10
	phil-wifi-20200411:1.10
	is-mlppp:1.10.0.2
	is-mlppp-base:1.10
	phil-wifi-20200406:1.10
	netbsd-8-2-RELEASE:1.9
	netbsd-9-0-RELEASE:1.9
	netbsd-9-0-RC2:1.9
	netbsd-9-0-RC1:1.9
	phil-wifi-20191119:1.10
	netbsd-9:1.9.0.48
	netbsd-9-base:1.9
	phil-wifi-20190609:1.9
	netbsd-8-1-RELEASE:1.9
	netbsd-8-1-RC1:1.9
	pgoyette-compat-merge-20190127:1.9
	pgoyette-compat-20190127:1.9
	pgoyette-compat-20190118:1.9
	pgoyette-compat-1226:1.9
	pgoyette-compat-1126:1.9
	pgoyette-compat-1020:1.9
	pgoyette-compat-0930:1.9
	pgoyette-compat-0906:1.9
	netbsd-7-2-RELEASE:1.9
	pgoyette-compat-0728:1.9
	netbsd-8-0-RELEASE:1.9
	phil-wifi:1.9.0.46
	phil-wifi-base:1.9
	pgoyette-compat-0625:1.9
	netbsd-8-0-RC2:1.9
	pgoyette-compat-0521:1.9
	pgoyette-compat-0502:1.9
	pgoyette-compat-0422:1.9
	netbsd-8-0-RC1:1.9
	pgoyette-compat-0415:1.9
	pgoyette-compat-0407:1.9
	pgoyette-compat-0330:1.9
	pgoyette-compat-0322:1.9
	pgoyette-compat-0315:1.9
	netbsd-7-1-2-RELEASE:1.9
	pgoyette-compat:1.9.0.44
	pgoyette-compat-base:1.9
	netbsd-7-1-1-RELEASE:1.9
	matt-nb8-mediatek:1.9.0.42
	matt-nb8-mediatek-base:1.9
	perseant-stdc-iso10646:1.9.0.40
	perseant-stdc-iso10646-base:1.9
	netbsd-8:1.9.0.38
	netbsd-8-base:1.9
	prg-localcount2-base3:1.9
	prg-localcount2-base2:1.9
	prg-localcount2-base1:1.9
	prg-localcount2:1.9.0.36
	prg-localcount2-base:1.9
	pgoyette-localcount-20170426:1.9
	bouyer-socketcan-base1:1.9
	pgoyette-localcount-20170320:1.9
	netbsd-7-1:1.9.0.34
	netbsd-7-1-RELEASE:1.9
	netbsd-7-1-RC2:1.9
	netbsd-7-nhusb-base-20170116:1.9
	bouyer-socketcan:1.9.0.32
	bouyer-socketcan-base:1.9
	pgoyette-localcount-20170107:1.9
	netbsd-7-1-RC1:1.9
	pgoyette-localcount-20161104:1.9
	netbsd-7-0-2-RELEASE:1.9
	localcount-20160914:1.9
	netbsd-7-nhusb:1.9.0.30
	netbsd-7-nhusb-base:1.9
	pgoyette-localcount-20160806:1.9
	pgoyette-localcount-20160726:1.9
	pgoyette-localcount:1.9.0.28
	pgoyette-localcount-base:1.9
	netbsd-7-0-1-RELEASE:1.9
	netbsd-7-0:1.9.0.26
	netbsd-7-0-RELEASE:1.9
	netbsd-7-0-RC3:1.9
	netbsd-7-0-RC2:1.9
	netbsd-7-0-RC1:1.9
	netbsd-5-2-3-RELEASE:1.1.6.1
	netbsd-5-1-5-RELEASE:1.1.6.1
	netbsd-6-0-6-RELEASE:1.9
	netbsd-6-1-5-RELEASE:1.9
	netbsd-7:1.9.0.24
	netbsd-7-base:1.9
	yamt-pagecache-base9:1.9
	yamt-pagecache-tag8:1.9
	netbsd-6-1-4-RELEASE:1.9
	netbsd-6-0-5-RELEASE:1.9
	tls-earlyentropy:1.9.0.22
	tls-earlyentropy-base:1.9
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.9
	riastradh-drm2-base3:1.9
	netbsd-6-1-3-RELEASE:1.9
	netbsd-6-0-4-RELEASE:1.9
	netbsd-5-2-2-RELEASE:1.1.6.1
	netbsd-5-1-4-RELEASE:1.1.6.1
	netbsd-6-1-2-RELEASE:1.9
	netbsd-6-0-3-RELEASE:1.9
	netbsd-5-2-1-RELEASE:1.1.6.1
	netbsd-5-1-3-RELEASE:1.1.6.1
	netbsd-6-1-1-RELEASE:1.9
	riastradh-drm2-base2:1.9
	riastradh-drm2-base1:1.9
	riastradh-drm2:1.9.0.16
	riastradh-drm2-base:1.9
	netbsd-6-1:1.9.0.20
	netbsd-6-0-2-RELEASE:1.9
	netbsd-6-1-RELEASE:1.9
	netbsd-6-1-RC4:1.9
	netbsd-6-1-RC3:1.9
	agc-symver:1.9.0.18
	agc-symver-base:1.9
	netbsd-6-1-RC2:1.9
	netbsd-6-1-RC1:1.9
	yamt-pagecache-base8:1.9
	netbsd-5-2:1.1.6.1.0.6
	netbsd-6-0-1-RELEASE:1.9
	yamt-pagecache-base7:1.9
	netbsd-5-2-RELEASE:1.1.6.1
	netbsd-5-2-RC1:1.1.6.1
	matt-nb6-plus-nbase:1.9
	yamt-pagecache-base6:1.9
	netbsd-6-0:1.9.0.14
	netbsd-6-0-RELEASE:1.9
	netbsd-6-0-RC2:1.9
	tls-maxphys:1.9.0.12
	tls-maxphys-base:1.9
	matt-nb6-plus:1.9.0.10
	matt-nb6-plus-base:1.9
	netbsd-6-0-RC1:1.9
	yamt-pagecache-base5:1.9
	yamt-pagecache-base4:1.9
	netbsd-6:1.9.0.8
	netbsd-6-base:1.9
	netbsd-5-1-2-RELEASE:1.1.6.1
	netbsd-5-1-1-RELEASE:1.1.6.1
	yamt-pagecache-base3:1.9
	yamt-pagecache-base2:1.9
	yamt-pagecache:1.9.0.6
	yamt-pagecache-base:1.9
	cherry-xenmp:1.9.0.4
	cherry-xenmp-base:1.9
	bouyer-quota2-nbase:1.9
	bouyer-quota2:1.9.0.2
	bouyer-quota2-base:1.9
	matt-mips64-premerge-20101231:1.9
	matt-nb5-mips64-premerge-20101231:1.1.8.1.2.1
	matt-nb5-pq3:1.1.6.1.0.4
	matt-nb5-pq3-base:1.1.6.1
	netbsd-5-1:1.1.6.1.0.2
	netbsd-5-1-RELEASE:1.1.6.1
	netbsd-5-1-RC4:1.1.6.1
	matt-nb5-mips64-k15:1.1.8.1.2.1
	netbsd-5-1-RC3:1.1.6.1
	netbsd-5-1-RC2:1.1.6.1
	netbsd-5-1-RC1:1.1.6.1
	netbsd-5-0-2-RELEASE:1.1.8.1
	matt-nb5-mips64-premerge-20091211:1.1.8.1
	matt-premerge-20091211:1.8
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.1.8.1
	matt-nb4-mips64-k7-u2a-k9b:1.1.8.1
	matt-nb5-mips64-u1-k1-k5:1.1.8.1
	matt-nb5-mips64:1.1.8.1.0.2
	netbsd-5-0-1-RELEASE:1.1.8.1
	netbsd-4:1.7.0.4
	netbsd-4-0:1.7.0.2
	jym-xensuspend-nbase:1.7
	netbsd-5-0:1.1.0.8
	netbsd-5-0-RELEASE:1.1
	netbsd-5-0-RC4:1.1
	netbsd-5-0-RC3:1.1
	netbsd-5-0-RC2:1.1
	jym-xensuspend:1.2.0.2
	jym-xensuspend-base:1.7
	netbsd-5-0-RC1:1.1
	haad-dm-base:1.1
	haad-dm-base2:1.1
	haad-nbase2:1.1
	netbsd-5:1.1.0.6
	netbsd-5-base:1.1
	matt-mips64-base2:1.1
	haad-dm:1.1.0.4
	haad-dm-base1:1.1;
locks; strict;
comment	@# @;


1.12
date	2025.09.18.03.36.00;	author mrg;	state Exp;
branches;
next	1.11;
commitid	RQc1sc69acbZ59bG;

1.11
date	2020.12.02.13.54.25;	author wiz;	state Exp;
branches;
next	1.10;
commitid	IboEu58UfkGgOayC;

1.10
date	2019.10.04.09.47.28;	author mrg;	state Exp;
branches;
next	1.9;
commitid	0iPWTdULrbFp2xFB;

1.9
date	2010.04.23.20.56.01;	author joerg;	state Exp;
branches
	1.9.38.1
	1.9.46.1
	1.9.48.1;
next	1.8;

1.8
date	2009.08.06.16.57.20;	author joerg;	state Exp;
branches;
next	1.7;

1.7
date	2009.04.26.14.18.44;	author joerg;	state Exp;
branches
	1.7.2.1
	1.7.4.1;
next	1.6;

1.6
date	2009.02.28.19.36.32;	author joerg;	state Exp;
branches;
next	1.5;

1.5
date	2009.02.26.18.35.13;	author joerg;	state Exp;
branches;
next	1.4;

1.4
date	2009.02.25.21.23.17;	author joerg;	state Exp;
branches;
next	1.3;

1.3
date	2009.02.15.18.24.49;	author joerg;	state Exp;
branches;
next	1.2;

1.2
date	2009.02.02.20.47.21;	author joerg;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2008.09.30.19.19.56;	author joerg;	state Exp;
branches
	1.1.4.1
	1.1.6.1
	1.1.8.1;
next	;

1.9.38.1
date	2020.12.08.18.48.58;	author martin;	state Exp;
branches;
next	;
commitid	bonyc9wJsvakfYyC;

1.9.46.1
date	2020.04.13.07.56.30;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.9.48.1
date	2020.12.08.18.45.58;	author martin;	state Exp;
branches;
next	;
commitid	FMamoGyUjXHheYyC;

1.7.2.1
date	2009.04.26.14.18.44;	author snj;	state dead;
branches;
next	1.7.2.2;

1.7.2.2
date	2009.06.05.17.02.01;	author snj;	state Exp;
branches;
next	;

1.7.4.1
date	2009.04.26.14.18.44;	author snj;	state dead;
branches;
next	1.7.4.2;

1.7.4.2
date	2009.06.05.17.19.41;	author snj;	state Exp;
branches;
next	;

1.2.2.1
date	2009.05.13.18.52.38;	author jym;	state Exp;
branches;
next	;

1.1.4.1
date	2008.09.30.19.19.56;	author haad;	state dead;
branches;
next	1.1.4.2;

1.1.4.2
date	2008.10.19.22.40.52;	author haad;	state Exp;
branches;
next	;

1.1.6.1
date	2009.05.30.16.40.33;	author snj;	state Exp;
branches;
next	;

1.1.8.1
date	2009.05.30.16.21.38;	author snj;	state Exp;
branches
	1.1.8.1.2.1;
next	;

1.1.8.1.2.1
date	2010.04.21.05.23.10;	author matt;	state Exp;
branches;
next	;


desc
@@


1.12
log
@introduce a couple of new turn-off-gcc-warning variables and use them.

GCC 14 has a new annoying calloc() checker that we turn off in a bunch
of places, and there are a few more dangling-pointer issuse that come up,
but seem bogus.
@
text
@# $NetBSD: Makefile,v 1.11 2020/12/02 13:54:25 wiz Exp $
# Original from FreeBSD, no rcs id.

LIBISPRIVATE=	yes

LIB=		install
SRCS=		automatic.c conflicts.c dewey.c \
		fexec.c file.c global.c gpgsig.c iterate.c license.c lpkg.c \
		opattern.c parse-config.c pkcs7.c pkg_signature.c \
		pkgdb.c pkg_io.c plist.c remove.c \
		str.c version.c var.c vulnerabilities-file.c xwrapper.c
MAN=		pkg_install.conf.5 pkg_summary.5

version.o: version.h version.c

.include <bsd.init.mk>

pkg_install.conf.5: ${DIST}/lib/pkg_install.conf.5.in
	${TOOL_SED} -e 's,@@SYSCONFDIR@@,/etc,' \
	    ${DIST}/lib/pkg_install.conf.5.in > ${.TARGET}

.PATH:	${DIST}/lib

CLEANFILES+=	pkg_install.conf.5

CPPFLAGS+=	-DNETBSD
CPPFLAGS+=	-DPREFIX=\"/usr/pkg\"

COPTS.plist.c+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=restrict :}
COPTS.license.c+= ${CC_WNO_CALLOC_TRANSPOSED_ARGS}

.include <bsd.lib.mk>
@


1.11
log
@Define PREFIX for pkg_install build.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2019/10/04 09:47:28 mrg Exp $
d30 1
@


1.10
log
@turn off various warnings for various things:

- file has looks bogus maybe-uninitialized
- llvm triggers an attribute violation:
  ScheduleDAGInstrs.cpp:1430:14: error: declaration of
    'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::ILPValue&)'
    with attribute 'noinline' follows inline declaration [-Werror=attributes]
- ntp and pkg_install have obvious restrict violations, should be
  fixed but i'm avoiding patching upstream code in this pass
- tftp has an array bounds that doesn't seem real issue
- sysinst's partman.c has major problem with passing the same
  string as source and dest in snprintf, as a way to strcat
  with formatting which trip restrict violations.  non trivial
  to fix so for now the warning is elided.
- Xext's XEVI.c has similar issue as partman.c

everyone and GCC 8 gets these warnings turned off for now:

	-Wno-format-truncation
	-Wno-stringop-overflow
	-Wno-stringop-truncation
	-Wno-cast-function-type

as they trip a large amount of code.  most of them should be
investigated, but the few i looked at were not finding actually
real bugs, vs instances of poor coding, so skipping for now.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2010/04/23 20:56:01 joerg Exp $
d27 1
@


1.9
log
@Update build glue for pkg_install-20100421
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2009/08/06 16:57:20 joerg Exp $
d28 2
@


1.9.38.1
log
@Sync external/bsd/pkg_install with -current, requested by wiz in ticket #1626:

	external/bsd/pkg_install/Makefile.inc           up to 1.7
	external/bsd/pkg_install/dist/add/perform.c     up to 1.7
	external/bsd/pkg_install/dist/admin/check.c     up to 1.4
	external/bsd/pkg_install/dist/admin/main.c      up to 1.6
	external/bsd/pkg_install/dist/admin/pkg_admin.1 up to 1.6
	external/bsd/pkg_install/dist/create/perform.c  up to 1.3
	external/bsd/pkg_install/dist/create/pl.c       up to 1.4
	external/bsd/pkg_install/dist/info/perform.c    up to 1.3
	external/bsd/pkg_install/dist/lib/iterate.c     up to 1.3
	external/bsd/pkg_install/dist/lib/lib.h         up to 1.10
	external/bsd/pkg_install/dist/lib/license.c     up to 1.10
	external/bsd/pkg_install/dist/lib/pkgdb.c       up to 1.4
	external/bsd/pkg_install/dist/lib/plist.c       up to 1.4
	external/bsd/pkg_install/dist/lib/version.h     up to 1.17
	external/bsd/pkg_install/dist/lib/vulnerabilities-file.c up to 1.4
	external/bsd/pkg_install/lib/Makefile           up to 1.11
	external/bsd/pkg_install/lib/config.h           up to 1.3

Import pkg_info 20201205, move the default pkg database from /var/db/pkg
to ${PREFIX/pkgdb.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2020/12/02 13:54:25 wiz Exp $
a26 3
CPPFLAGS+=	-DPREFIX=\"/usr/pkg\"

COPTS.plist.c+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=restrict :}
@


1.9.48.1
log
@Sync external/bsd/pkg_install with -current, requested by wiz in ticket #1140:

	external/bsd/pkg_install/Makefile.inc           up to 1.7
	external/bsd/pkg_install/dist/add/perform.c     up to 1.7
	external/bsd/pkg_install/dist/admin/check.c     up to 1.4
	external/bsd/pkg_install/dist/admin/main.c      up to 1.6
	external/bsd/pkg_install/dist/admin/pkg_admin.1 up to 1.6
	external/bsd/pkg_install/dist/create/perform.c  up to 1.3
	external/bsd/pkg_install/dist/create/pl.c       up to 1.4
	external/bsd/pkg_install/dist/info/perform.c    up to 1.3
	external/bsd/pkg_install/dist/lib/iterate.c     up to 1.3
	external/bsd/pkg_install/dist/lib/lib.h         up to 1.10
	external/bsd/pkg_install/dist/lib/license.c     up to 1.10
	external/bsd/pkg_install/dist/lib/pkgdb.c       up to 1.4
	external/bsd/pkg_install/dist/lib/plist.c       up to 1.4
	external/bsd/pkg_install/dist/lib/version.h     up to 1.17
	external/bsd/pkg_install/dist/lib/vulnerabilities-file.c up to 1.4
	external/bsd/pkg_install/lib/Makefile           up to 1.11
	external/bsd/pkg_install/lib/config.h           up to 1.3

Import pkg_info 20201205, move the default pkg database from /var/db/pkg
to ${PREFIX/pkgdb.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2020/12/02 13:54:25 wiz Exp $
a26 3
CPPFLAGS+=	-DPREFIX=\"/usr/pkg\"

COPTS.plist.c+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=restrict :}
@


1.9.46.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
# $NetBSD$
a27 2
COPTS.plist.c+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=restrict :}

@


1.8
log
@Use WARNS=4.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2009/04/26 14:18:44 joerg Exp $
d7 1
a7 1
SRCS=		automatic.c conflicts.c decompress.c dewey.c \
@


1.7
log
@Update build system for pkg_install-20090425.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2009/02/28 19:36:32 joerg Exp $
a26 1
COPTS.plist.c+=	-Wno-pointer-sign
@


1.7.4.1
log
@file Makefile was added on branch netbsd-4 on 2009-06-05 17:19:41 +0000
@
text
@d1 29
@


1.7.4.2
log
@Pull up pkg_install-20090528, libarchive-2.5.5 and libfetch-2.23
with the associated build infrastructure as of 20090929 from HEAD.
@
text
@a0 29
# $NetBSD: Makefile,v 1.7 2009/04/26 14:18:44 joerg Exp $
# Original from FreeBSD, no rcs id.

MKPRIVATELIB=	yes

LIB=		install
SRCS=		automatic.c conflicts.c decompress.c dewey.c \
		fexec.c file.c global.c gpgsig.c iterate.c license.c lpkg.c \
		opattern.c parse-config.c pkcs7.c pkg_signature.c \
		pkgdb.c pkg_io.c plist.c remove.c \
		str.c version.c var.c vulnerabilities-file.c xwrapper.c
MAN=		pkg_install.conf.5 pkg_summary.5

version.o: version.h version.c

.include <bsd.init.mk>

pkg_install.conf.5: ${DIST}/lib/pkg_install.conf.5.in
	${TOOL_SED} -e 's,@@SYSCONFDIR@@,/etc,' \
	    ${DIST}/lib/pkg_install.conf.5.in > ${.TARGET}

.PATH:	${DIST}/lib

CLEANFILES+=	pkg_install.conf.5

CPPFLAGS+=	-DNETBSD
COPTS.plist.c+=	-Wno-pointer-sign

.include <bsd.lib.mk>
@


1.7.2.1
log
@file Makefile was added on branch netbsd-4-0 on 2009-06-05 17:02:01 +0000
@
text
@d1 29
@


1.7.2.2
log
@Apply patch (requested by joerg in ticket #1322):
Pull up pkg_install-20090528, libarchive-2.5.5 and libfetch-2.23
with the associated build infrastructure as of 20090529 from HEAD.
@
text
@a0 29
# $NetBSD: Makefile,v 1.7 2009/04/26 14:18:44 joerg Exp $
# Original from FreeBSD, no rcs id.

MKPRIVATELIB=	yes

LIB=		install
SRCS=		automatic.c conflicts.c decompress.c dewey.c \
		fexec.c file.c global.c gpgsig.c iterate.c license.c lpkg.c \
		opattern.c parse-config.c pkcs7.c pkg_signature.c \
		pkgdb.c pkg_io.c plist.c remove.c \
		str.c version.c var.c vulnerabilities-file.c xwrapper.c
MAN=		pkg_install.conf.5 pkg_summary.5

version.o: version.h version.c

.include <bsd.init.mk>

pkg_install.conf.5: ${DIST}/lib/pkg_install.conf.5.in
	${TOOL_SED} -e 's,@@SYSCONFDIR@@,/etc,' \
	    ${DIST}/lib/pkg_install.conf.5.in > ${.TARGET}

.PATH:	${DIST}/lib

CLEANFILES+=	pkg_install.conf.5

CPPFLAGS+=	-DNETBSD
COPTS.plist.c+=	-Wno-pointer-sign

.include <bsd.lib.mk>
@


1.6
log
@Update build glue for pkg_install-20090228.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2009/02/26 18:35:13 joerg Exp $
d8 1
a8 1
		fexec.c file.c global.c gpgsig.c iterate.c lpkg.c \
@


1.5
log
@Remove pkg_install.conf.5 on make clean.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2009/02/25 21:23:17 joerg Exp $
d9 1
a9 1
		opattern.c path.c parse-config.c pkcs7.c pkg_signature.c \
@


1.4
log
@Update build glue for pkg_install-20090225.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2009/02/15 18:24:49 joerg Exp $
d24 2
@


1.3
log
@Install pkg_install.conf(5).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2009/02/02 20:47:21 joerg Exp $
d18 4
@


1.2
log
@Merge pkg_install-20090201 and update build system.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2008/09/30 19:19:56 joerg Exp $
d12 1
a12 1
MAN=		pkg_summary.5
@


1.2.2.1
log
@Sync with HEAD.

Second commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2009/04/26 14:18:44 joerg Exp $
d8 2
a9 2
		fexec.c file.c global.c gpgsig.c iterate.c license.c lpkg.c \
		opattern.c parse-config.c pkcs7.c pkg_signature.c \
d12 1
a12 1
MAN=		pkg_install.conf.5 pkg_summary.5
a17 4
pkg_install.conf.5: ${DIST}/lib/pkg_install.conf.5.in
	${TOOL_SED} -e 's,@@SYSCONFDIR@@,/etc,' \
	    ${DIST}/lib/pkg_install.conf.5.in > ${.TARGET}

a19 2
CLEANFILES+=	pkg_install.conf.5

@


1.1
log
@Add build glue for pkg_install.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2008/05/03 14:48:32 lukem Exp $
d8 4
a11 3
		fexec.c file.c ftpio.c global.c iterate.c lpkg.c \
		opattern.c path.c pexec.c pen.c pkgdb.c pkg_io.c plist.c \
		str.c version.c var.c vulnerabilities-file.c
a13 2
CPPFLAGS+=	-DNETBSD

@


1.1.6.1
log
@Pull up following revision(s) (requested by joerg in ticket #784):
	UPDATING: patch
	distrib/sets/lists/base/mi: patch
	distrib/sets/lists/etc/mi: patch
	distrib/sets/lists/man/mi: patch
	external/bsd/pkg_install/Makefile.inc: patch
	external/bsd/pkg_install/prepare-import.sh: patch
	external/bsd/pkg_install/dist/add/add.h: pkg_install-20090528
	external/bsd/pkg_install/dist/add/main.c: pkg_install-20090528
	external/bsd/pkg_install/dist/add/perform.c: pkg_install-20090528
	external/bsd/pkg_install/dist/add/pkg_add.1: pkg_install-20090528
	external/bsd/pkg_install/dist/admin/admin.h: pkg_install-20090528
	external/bsd/pkg_install/dist/admin/audit.c: pkg_install-20090528
	external/bsd/pkg_install/dist/admin/check.c: pkg_install-20090528
	external/bsd/pkg_install/dist/admin/main.c: pkg_install-20090528
	external/bsd/pkg_install/dist/admin/pkg_admin.1: pkg_install-20090528
	external/bsd/pkg_install/dist/bpm/bpm.1: pkg_install-20090528
	external/bsd/pkg_install/dist/create/build.c: pkg_install-20090528
	external/bsd/pkg_install/dist/create/create.h: pkg_install-20090528
	external/bsd/pkg_install/dist/create/main.c: pkg_install-20090528
	external/bsd/pkg_install/dist/create/perform.c: pkg_install-20090528
	external/bsd/pkg_install/dist/create/pkg_create.1: pkg_install-20090528
	external/bsd/pkg_install/dist/create/pl.c: pkg_install-20090528
	external/bsd/pkg_install/dist/create/util.c: pkg_install-20090528
	external/bsd/pkg_install/dist/delete/pkg_delete.1: pkg_install-20090528
	external/bsd/pkg_install/dist/info/info.h: pkg_install-20090528
	external/bsd/pkg_install/dist/info/main.c: pkg_install-20090528
	external/bsd/pkg_install/dist/info/perform.c: pkg_install-20090528
	external/bsd/pkg_install/dist/info/pkg_info.1: pkg_install-20090528
	external/bsd/pkg_install/dist/info/show.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/automatic.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/config.h.in: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/conflicts.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/decompress.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/dewey.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/fexec.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/file.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/global.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/iterate.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/lib.h: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/lpkg.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/opattern.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/pkg_io.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/pkg_summary.5: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/pkgdb.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/plist.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/str.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/var.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/version.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/version.h: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/vulnerabilities-file.c: pkg_install-20090528
	external/bsd/pkg_install/dist/admin/audit-packages.sh.in: pkg_install-20090528
	external/bsd/pkg_install/dist/admin/download-vulnerability-list.sh.in: pkg_install-20090528
	external/bsd/pkg_install/dist/delete/pkg_delete.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/gpgsig.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/license.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/parse-config.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/pkcs7.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/pkg_install.conf.5.in: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/pkg_signature.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/remove.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/xwrapper.c: pkg_install-20090528
	external/bsd/pkg_install/dist/x509/pkgsrc.cnf: pkg_install-20090528
	external/bsd/pkg_install/dist/x509/pkgsrc.sh: pkg_install-20090528
	external/bsd/pkg_install/dist/x509/signing.txt: pkg_install-20090528
	external/bsd/pkg_install/lib/Makefile: patch
	external/bsd/pkg_install/sbin/Makefile: patch
	external/bsd/pkg_install/sbin/Makefile.inc: patch
	external/bsd/pkg_install/sbin/pkg_add/Makefile: patch
	external/bsd/pkg_install/sbin/pkg_admin/Makefile: patch
	external/bsd/pkg_install/sbin/pkg_create/Makefile: patch
	external/bsd/pkg_install/sbin/pkg_delete/Makefile: patch
	external/bsd/pkg_install/sbin/pkg_info/Makefile: patch
	external/bsd/pkg_install/dist/add/extract.c: removed
	external/bsd/pkg_install/dist/add/futil.c: removed
	external/bsd/pkg_install/dist/add/verify.c: removed
	external/bsd/pkg_install/dist/add/verify.h: removed
	external/bsd/pkg_install/dist/admin/config.c: removed
	external/bsd/pkg_install/dist/audit-packages/AUTHORS: removed
	external/bsd/pkg_install/dist/audit-packages/COPYING: removed
	external/bsd/pkg_install/dist/audit-packages/README: removed
	external/bsd/pkg_install/dist/audit-packages/audit-packages.1.in: removed
	external/bsd/pkg_install/dist/audit-packages/audit-packages.c: removed
	external/bsd/pkg_install/dist/audit-packages/audit-packages.conf.5.in: removed
	external/bsd/pkg_install/dist/audit-packages/audit-packages.conf.in: removed
	external/bsd/pkg_install/dist/audit-packages/download-vulnerability-list.1.in: removed
	external/bsd/pkg_install/dist/audit-packages/download-vulnerability-list.sh.in: removed
	external/bsd/pkg_install/dist/delete/delete.h: removed
	external/bsd/pkg_install/dist/delete/main.c: removed
	external/bsd/pkg_install/dist/delete/perform.c: removed
	external/bsd/pkg_install/dist/lib/ftpio.c: removed
	external/bsd/pkg_install/dist/lib/path.c: removed
	external/bsd/pkg_install/dist/lib/path.h: removed
	external/bsd/pkg_install/dist/lib/pen.c: removed
	external/bsd/pkg_install/dist/lib/pexec.c: removed
	external/bsd/pkg_install/dist/view/linkfarm.1: removed
	external/bsd/pkg_install/dist/view/linkfarm.sh.in: removed
	external/bsd/pkg_install/dist/view/pkg_view.1: removed
	external/bsd/pkg_install/dist/view/pkg_view.sh.in: removed
	external/bsd/pkg_install/sbin/audit-packages/Makefile: removed
	external/bsd/pkg_install/sbin/pkg_view/Makefile: removed
Merge pkg_install-20090528 from HEAD.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2009/04/26 14:18:44 joerg Exp $
d8 6
a13 5
		fexec.c file.c global.c gpgsig.c iterate.c license.c lpkg.c \
		opattern.c parse-config.c pkcs7.c pkg_signature.c \
		pkgdb.c pkg_io.c plist.c remove.c \
		str.c version.c var.c vulnerabilities-file.c xwrapper.c
MAN=		pkg_install.conf.5 pkg_summary.5
a18 4
pkg_install.conf.5: ${DIST}/lib/pkg_install.conf.5.in
	${TOOL_SED} -e 's,@@SYSCONFDIR@@,/etc,' \
	    ${DIST}/lib/pkg_install.conf.5.in > ${.TARGET}

a20 2
CLEANFILES+=	pkg_install.conf.5

@


1.1.8.1
log
@Pull up following revision(s) (requested by joerg in ticket #784):
	distrib/sets/lists/base/mi: patch
	distrib/sets/lists/etc/mi: patch
	distrib/sets/lists/man/mi: patch
	external/bsd/pkg_install/Makefile.inc: patch
	external/bsd/pkg_install/prepare-import.sh: patch
	external/bsd/pkg_install/dist/add/add.h: pkg_install-20090528
	external/bsd/pkg_install/dist/add/main.c: pkg_install-20090528
	external/bsd/pkg_install/dist/add/perform.c: pkg_install-20090528
	external/bsd/pkg_install/dist/add/pkg_add.1: pkg_install-20090528
	external/bsd/pkg_install/dist/admin/admin.h: pkg_install-20090528
	external/bsd/pkg_install/dist/admin/audit.c: pkg_install-20090528
	external/bsd/pkg_install/dist/admin/check.c: pkg_install-20090528
	external/bsd/pkg_install/dist/admin/main.c: pkg_install-20090528
	external/bsd/pkg_install/dist/admin/pkg_admin.1: pkg_install-20090528
	external/bsd/pkg_install/dist/bpm/bpm.1: pkg_install-20090528
	external/bsd/pkg_install/dist/create/build.c: pkg_install-20090528
	external/bsd/pkg_install/dist/create/create.h: pkg_install-20090528
	external/bsd/pkg_install/dist/create/main.c: pkg_install-20090528
	external/bsd/pkg_install/dist/create/perform.c: pkg_install-20090528
	external/bsd/pkg_install/dist/create/pkg_create.1: pkg_install-20090528
	external/bsd/pkg_install/dist/create/pl.c: pkg_install-20090528
	external/bsd/pkg_install/dist/create/util.c: pkg_install-20090528
	external/bsd/pkg_install/dist/delete/pkg_delete.1: pkg_install-20090528
	external/bsd/pkg_install/dist/info/info.h: pkg_install-20090528
	external/bsd/pkg_install/dist/info/main.c: pkg_install-20090528
	external/bsd/pkg_install/dist/info/perform.c: pkg_install-20090528
	external/bsd/pkg_install/dist/info/pkg_info.1: pkg_install-20090528
	external/bsd/pkg_install/dist/info/show.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/automatic.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/config.h.in: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/conflicts.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/decompress.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/dewey.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/fexec.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/file.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/global.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/iterate.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/lib.h: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/lpkg.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/opattern.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/pkg_io.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/pkg_summary.5: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/pkgdb.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/plist.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/str.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/var.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/version.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/version.h: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/vulnerabilities-file.c: pkg_install-20090528
	external/bsd/pkg_install/dist/admin/audit-packages.sh.in: pkg_install-20090528
	external/bsd/pkg_install/dist/admin/download-vulnerability-list.sh.in: pkg_install-20090528
	external/bsd/pkg_install/dist/delete/pkg_delete.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/gpgsig.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/license.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/parse-config.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/pkcs7.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/pkg_install.conf.5.in: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/pkg_signature.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/remove.c: pkg_install-20090528
	external/bsd/pkg_install/dist/lib/xwrapper.c: pkg_install-20090528
	external/bsd/pkg_install/dist/x509/pkgsrc.cnf: pkg_install-20090528
	external/bsd/pkg_install/dist/x509/pkgsrc.sh: pkg_install-20090528
	external/bsd/pkg_install/dist/x509/signing.txt: pkg_install-20090528
	external/bsd/pkg_install/lib/Makefile: patch
	external/bsd/pkg_install/sbin/Makefile: patch
	external/bsd/pkg_install/sbin/Makefile.inc: patch
	external/bsd/pkg_install/sbin/pkg_add/Makefile: patch
	external/bsd/pkg_install/sbin/pkg_admin/Makefile: patch
	external/bsd/pkg_install/sbin/pkg_create/Makefile: patch
	external/bsd/pkg_install/sbin/pkg_delete/Makefile: patch
	external/bsd/pkg_install/sbin/pkg_info/Makefile: patch
	external/bsd/pkg_install/dist/add/extract.c: removed
	external/bsd/pkg_install/dist/add/futil.c: removed
	external/bsd/pkg_install/dist/add/verify.c: removed
	external/bsd/pkg_install/dist/add/verify.h: removed
	external/bsd/pkg_install/dist/admin/config.c: removed
	external/bsd/pkg_install/dist/audit-packages/AUTHORS: removed
	external/bsd/pkg_install/dist/audit-packages/COPYING: removed
	external/bsd/pkg_install/dist/audit-packages/README: removed
	external/bsd/pkg_install/dist/audit-packages/audit-packages.1.in: removed
	external/bsd/pkg_install/dist/audit-packages/audit-packages.c: removed
	external/bsd/pkg_install/dist/audit-packages/audit-packages.conf.5.in: removed
	external/bsd/pkg_install/dist/audit-packages/audit-packages.conf.in: removed
	external/bsd/pkg_install/dist/audit-packages/download-vulnerability-list.1.in: removed
	external/bsd/pkg_install/dist/audit-packages/download-vulnerability-list.sh.in: removed
	external/bsd/pkg_install/dist/delete/delete.h: removed
	external/bsd/pkg_install/dist/delete/main.c: removed
	external/bsd/pkg_install/dist/delete/perform.c: removed
	external/bsd/pkg_install/dist/lib/ftpio.c: removed
	external/bsd/pkg_install/dist/lib/path.c: removed
	external/bsd/pkg_install/dist/lib/path.h: removed
	external/bsd/pkg_install/dist/lib/pen.c: removed
	external/bsd/pkg_install/dist/lib/pexec.c: removed
	external/bsd/pkg_install/dist/view/linkfarm.1: removed
	external/bsd/pkg_install/dist/view/linkfarm.sh.in: removed
	external/bsd/pkg_install/dist/view/pkg_view.1: removed
	external/bsd/pkg_install/dist/view/pkg_view.sh.in: removed
	external/bsd/pkg_install/sbin/audit-packages/Makefile: removed
	external/bsd/pkg_install/sbin/pkg_view/Makefile: removed
Merge pkg_install-20090528 from HEAD.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2009/04/26 14:18:44 joerg Exp $
d8 6
a13 5
		fexec.c file.c global.c gpgsig.c iterate.c license.c lpkg.c \
		opattern.c parse-config.c pkcs7.c pkg_signature.c \
		pkgdb.c pkg_io.c plist.c remove.c \
		str.c version.c var.c vulnerabilities-file.c xwrapper.c
MAN=		pkg_install.conf.5 pkg_summary.5
a18 4
pkg_install.conf.5: ${DIST}/lib/pkg_install.conf.5.in
	${TOOL_SED} -e 's,@@SYSCONFDIR@@,/etc,' \
	    ${DIST}/lib/pkg_install.conf.5.in > ${.TARGET}

a20 2
CLEANFILES+=	pkg_install.conf.5

@


1.1.8.1.2.1
log
@sync to netbsd-5
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.6.1 2009/05/30 16:40:33 snj Exp $
@


1.1.4.1
log
@file Makefile was added on branch haad-dm on 2008-10-19 22:40:52 +0000
@
text
@d1 24
@


1.1.4.2
log
@Sync with HEAD.
@
text
@a0 24
# $NetBSD: Makefile,v 1.1 2008/09/30 19:19:56 joerg Exp $
# Original from FreeBSD, no rcs id.

LIBISPRIVATE=	yes

LIB=		install
SRCS=		automatic.c conflicts.c decompress.c dewey.c \
		fexec.c file.c ftpio.c global.c iterate.c lpkg.c \
		opattern.c path.c pexec.c pen.c pkgdb.c pkg_io.c plist.c \
		str.c version.c var.c vulnerabilities-file.c
MAN=		pkg_summary.5

CPPFLAGS+=	-DNETBSD

version.o: version.h version.c

.include <bsd.init.mk>

.PATH:	${DIST}/lib

CPPFLAGS+=	-DNETBSD
COPTS.plist.c+=	-Wno-pointer-sign

.include <bsd.lib.mk>
@
