head	1.7;
access;
symbols
	netbsd-11-0-RC5:1.7
	netbsd-11-0-RC4:1.7
	netbsd-11-0-RC3:1.7
	netbsd-11-0-RC2:1.7
	netbsd-11-0-RC1:1.7
	perseant-exfatfs-base-20250801:1.7
	netbsd-11:1.7.0.6
	netbsd-11-base:1.7
	netbsd-10-1-RELEASE:1.7
	perseant-exfatfs-base-20240630:1.7
	perseant-exfatfs:1.7.0.4
	perseant-exfatfs-base:1.7
	netbsd-8-3-RELEASE:1.3
	netbsd-9-4-RELEASE:1.3
	netbsd-10-0-RELEASE:1.7
	netbsd-10-0-RC6:1.7
	netbsd-10-0-RC5:1.7
	netbsd-10-0-RC4:1.7
	netbsd-10-0-RC3:1.7
	netbsd-10-0-RC2:1.7
	netbsd-10-0-RC1:1.7
	netbsd-10:1.7.0.2
	netbsd-10-base:1.7
	netbsd-9-3-RELEASE:1.3
	cjep_sun2x-base1:1.6
	cjep_sun2x:1.6.0.4
	cjep_sun2x-base:1.6
	cjep_staticlib_x-base1:1.6
	netbsd-9-2-RELEASE:1.3
	cjep_staticlib_x:1.6.0.2
	cjep_staticlib_x-base:1.6
	netbsd-9-1-RELEASE:1.3
	phil-wifi-20200421:1.6
	phil-wifi-20200411:1.5
	is-mlppp:1.3.0.22
	is-mlppp-base:1.3
	phil-wifi-20200406:1.5
	netbsd-8-2-RELEASE:1.3
	netbsd-9-0-RELEASE:1.3
	netbsd-9-0-RC2:1.3
	netbsd-9-0-RC1:1.3
	phil-wifi-20191119:1.3
	netbsd-9:1.3.0.20
	netbsd-9-base:1.3
	phil-wifi-20190609:1.3
	netbsd-8-1-RELEASE:1.3
	netbsd-8-1-RC1:1.3
	pgoyette-compat-merge-20190127:1.3
	pgoyette-compat-20190127:1.3
	pgoyette-compat-20190118:1.3
	pgoyette-compat-1226:1.3
	pgoyette-compat-1126:1.3
	pgoyette-compat-1020:1.3
	pgoyette-compat-0930:1.3
	pgoyette-compat-0906:1.3
	netbsd-7-2-RELEASE:1.3.18.2
	netbsd-7:1.3.0.18
	pgoyette-compat-0728:1.3
	netbsd-8-0-RELEASE:1.3
	phil-wifi:1.3.0.16
	phil-wifi-base:1.3
	pgoyette-compat-0625:1.3
	netbsd-8-0-RC2:1.3
	pgoyette-compat-0521:1.3
	pgoyette-compat-0502:1.3
	pgoyette-compat-0422:1.3
	netbsd-8-0-RC1:1.3
	pgoyette-compat-0415:1.3
	pgoyette-compat-0407:1.3
	pgoyette-compat-0330:1.3
	pgoyette-compat-0322:1.3
	pgoyette-compat-0315:1.3
	pgoyette-compat:1.3.0.14
	pgoyette-compat-base:1.3
	matt-nb8-mediatek:1.3.0.12
	matt-nb8-mediatek-base:1.3
	perseant-stdc-iso10646:1.3.0.10
	perseant-stdc-iso10646-base:1.3
	netbsd-8:1.3.0.8
	netbsd-8-base:1.3
	prg-localcount2-base3:1.3
	prg-localcount2-base2:1.3
	prg-localcount2-base1:1.3
	prg-localcount2:1.3.0.6
	prg-localcount2-base:1.3
	pgoyette-localcount:1.3.0.4
	pgoyette-localcount-20170426:1.3
	bouyer-socketcan:1.3.0.2
	bouyer-socketcan-base1:1.3;
locks; strict;
comment	@# @;


1.7
date	2021.10.22.13.25.57;	author roy;	state Exp;
branches;
next	1.6;
commitid	6dgvE7usPkjQeOdD;

1.6
date	2020.04.14.03.16.27;	author kre;	state Exp;
branches;
next	1.5;
commitid	sPeviJYcQf97Ji4C;

1.5
date	2020.04.03.15.02.11;	author roy;	state Exp;
branches;
next	1.4;
commitid	Vot9B8uCjUyPZW2C;

1.4
date	2020.04.02.14.05.28;	author roy;	state Exp;
branches;
next	1.3;
commitid	Rj1siliVFVQhIO2C;

1.3
date	2017.04.02.20.18.38;	author roy;	state Exp;
branches
	1.3.2.1
	1.3.4.1
	1.3.16.1
	1.3.18.1;
next	1.2;
commitid	inaUtJKnLtYq00Mz;

1.2
date	2017.04.01.19.02.58;	author roy;	state Exp;
branches;
next	1.1;
commitid	VgaCHV25J85DCRLz;

1.1
date	2017.03.31.21.02.09;	author roy;	state Exp;
branches;
next	;
commitid	w1lEKQVvigvrjKLz;

1.3.2.1
date	2017.04.02.20.18.38;	author roy;	state dead;
branches;
next	1.3.2.2;

1.3.2.2
date	2017.04.02.20.18.39;	author roy;	state Exp;
branches;
next	;

1.3.4.1
date	2017.04.02.20.18.38;	author pgoyette;	state dead;
branches;
next	1.3.4.2;
commitid	ojV02aOSdzvBqZOz;

1.3.4.2
date	2017.04.26.02.52.24;	author pgoyette;	state Exp;
branches;
next	;
commitid	ojV02aOSdzvBqZOz;

1.3.16.1
date	2020.04.08.14.04.03;	author martin;	state Exp;
branches;
next	1.3.16.2;
commitid	Qli2aW9E74UFuA3C;

1.3.16.2
date	2020.04.21.18.41.55;	author martin;	state Exp;
branches;
next	;
commitid	86tA4aEmdr3VCh5C;

1.3.18.1
date	2017.04.02.20.18.38;	author martin;	state dead;
branches;
next	1.3.18.2;
commitid	f7m57PquJspCcULA;

1.3.18.2
date	2018.07.28.13.20.46;	author martin;	state Exp;
branches;
next	;
commitid	f7m57PquJspCcULA;


desc
@@


1.7
log
@Remove build for stuff dhcpcd's import-src target now does.
@
text
@# $NetBSD: Makefile,v 1.6 2020/04/14 03:16:27 kre Exp $
#

.include <bsd.own.mk>

.include "../../Makefile.inc"
HOOKSRC=	${DIST}/hooks
.PATH:		${HOOKSRC}

FILES=		01-test 20-resolv.conf 30-hostname
FILES+=		50-ntp.conf

FILESDIR=	/libexec/dhcpcd-hooks

.include <bsd.prog.mk>
@


1.6
log
@
Since dhcpcd-hools/02-dump seems to have been removed from the
repository, don't attempt to install it, and don't expect it to
be installed.    If a better fix is to return 02-dump, then this
change can be reverted (by anyone, just go ahead and do it).

dhcpcd(8) should also have mention of 02-dump removed, if removing
it was intentional.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2020/04/03 15:02:11 roy Exp $
a14 8
FILESBUILD_30-hostname=   YES
CLEANFILES=	30-hostname

.SUFFIXES:	.in

.in:	../../Makefile.inc
	${TOOL_SED} ${SED_SYS} $< > $@@

@


1.5
log
@Try a better syntax for building 30-hostname
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2020/04/02 14:05:28 roy Exp $
d10 1
a10 1
FILES=		01-test 02-dump 20-resolv.conf 30-hostname
@


1.4
log
@Fix the build by building 30-hostname
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2017/04/02 20:18:38 roy Exp $
a12 2
FILESBUILD_30-hostname=   YES

d15 1
d18 4
a21 4
.for f in ${FILES}
${f}:	../../Makefile.inc ${f}.in
	${TOOL_SED} ${SED_SYS} ${HOOKSRC}/${f}.in > $@@
.endfor
@


1.3
log
@Let's make things easier and split the example hooks out into
a new Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2017/04/01 19:02:58 roy Exp $
d7 2
d10 2
a11 1
.PATH:			${DIST}/hooks
d13 1
a13 2
FILES=			01-test 02-dump 20-resolv.conf 30-hostname
FILES+=			50-ntp.conf
d15 8
a22 1
FILESDIR=		/libexec/dhcpcd-hooks
@


1.3.16.1
log
@Merge changes from current as of 20200406
@
text
@d1 1
a1 1
# $NetBSD$
a6 2
HOOKSRC=	${DIST}/hooks
.PATH:		${HOOKSRC}
d8 1
a8 2
FILES=		01-test 02-dump 20-resolv.conf 30-hostname
FILES+=		50-ntp.conf
d10 2
a11 1
FILESDIR=	/libexec/dhcpcd-hooks
d13 1
a13 7
FILESBUILD_30-hostname=   YES
CLEANFILES=	30-hostname

.SUFFIXES:	.in

.in:	../../Makefile.inc
	${TOOL_SED} ${SED_SYS} $< > $@@
@


1.3.16.2
log
@Sync with HEAD
@
text
@d10 1
a10 1
FILES=		01-test 20-resolv.conf 30-hostname
@


1.3.18.1
log
@file Makefile was added on branch netbsd-7 on 2018-07-28 13:20:46 +0000
@
text
@d1 15
@


1.3.18.2
log
@Additionally pull up the following/apply patch requested by roy in
ticket #1621:

	external/bsd/dhcpcd/examples/hooks/Makefile     up to 1.1
	external/bsd/dhcpcd/examples/Makefile           up to 1.1
	external/bsd/dhcpcd/Makefile.inc                up to 1.3
	external/bsd/dhcpcd/include/config.h            up to 1.3
	external/bsd/dhcpcd/libexec/dhcpcd-hooks/Makefile up to 1.3
	external/bsd/dhcpcd/libexec/Makefile            up to 1.2
	external/bsd/dhcpcd/libexec/dhcpcd-run-hooks/Makefile up to 1.1
	external/bsd/dhcpcd/Makefile                    up to 1.3
	external/bsd/dhcpcd/sbin/Makefile.inc           up to 1.5
	external/bsd/dhcpcd/sbin/dhcpcd/Makefile        up to 1.43
	external/bsd/dhcpcd/include/config.h		(apply patch)
	external/bsd/dhcpcd/sbin/dhcpcd/Makefile	(apply patch)

Import dhcpcd-7.0.7
@
text
@a0 15
# $NetBSD: Makefile,v 1.3 2017/04/02 20:18:38 roy Exp $
#

.include <bsd.own.mk>

.include "../../Makefile.inc"

.PATH:			${DIST}/hooks

FILES=			01-test 02-dump 20-resolv.conf 30-hostname
FILES+=			50-ntp.conf

FILESDIR=		/libexec/dhcpcd-hooks

.include <bsd.prog.mk>
@


1.3.2.1
log
@file Makefile was added on branch bouyer-socketcan on 2017-04-02 20:18:39 +0000
@
text
@d1 15
@


1.3.2.2
log
@2552802
@
text
@a0 15
# $NetBSD: Makefile,v 1.3 2017/04/02 20:18:38 roy Exp $
#

.include <bsd.own.mk>

.include "../../Makefile.inc"

.PATH:			${DIST}/hooks

FILES=			01-test 02-dump 20-resolv.conf 30-hostname
FILES+=			50-ntp.conf

FILESDIR=		/libexec/dhcpcd-hooks

.include <bsd.prog.mk>
@


1.3.4.1
log
@file Makefile was added on branch pgoyette-localcount on 2017-04-26 02:52:24 +0000
@
text
@d1 15
@


1.3.4.2
log
@Sync with HEAD
@
text
@a0 15
# $NetBSD: Makefile,v 1.3 2017/04/02 20:18:38 roy Exp $
#

.include <bsd.own.mk>

.include "../../Makefile.inc"

.PATH:			${DIST}/hooks

FILES=			01-test 02-dump 20-resolv.conf 30-hostname
FILES+=			50-ntp.conf

FILESDIR=		/libexec/dhcpcd-hooks

.include <bsd.prog.mk>
@


1.2
log
@Fix building 50-ypbind
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2017/03/31 21:02:09 roy Exp $
a6 2
HOOKSRC=		${DIST}/hooks
.PATH:			${HOOKSRC} ${OBJDIR}
d8 4
a11 2
HOOKS=			01-test 02-dump 20-resolv.conf 30-hostname
HOOKS+=			50-ntp.conf
a12 1
FILES=			${HOOKS:C,^,${HOOKSRC}/,}
a14 20
EGHOOKS=		10-wpa_supplicant 15-timezone 29-lookup-hostname
MKEGHOOKS=		50-ypbind
CLEANFILES+=		50-ypbind

.if ${MKSHARE} != "no"
EGFILES=		${EGHOOKS:C,^,${HOOKSRC}/,}
EGFILES+=		${MKEGHOOKS:C,^,${.OBJDIR}/,}
FILES+=			${EGFILES}
.for f in ${EGFILES}
FILESDIR_${f}=		/usr/share/examples/dhcpcd/hooks
.endfor
.endif

.SUFFIXES:		.in

all:	${HOOKS} ${EGHOOKS} ${MKEGHOOKS}

.in:	../../Makefile.inc
	${TOOL_SED} ${SED_SYS} $< > $@@

@


1.1
log
@Adjust build glue for dhcpcd-7
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2016/12/02 02:41:54 riastradh Exp $
d8 1
a8 1
.PATH:			${HOOKSRC}
d17 2
a18 1
EGHOOKS+=		50-ypbind
d22 1
d29 7
@

