head	1.2;
access;
symbols
	perseant-exfatfs-base-20250801:1.2
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.6
	perseant-exfatfs-base:1.2
	netbsd-8-3-RELEASE:1.1.1.4.2.2
	netbsd-9-4-RELEASE:1.1.1.6.2.2
	netbsd-9-3-RELEASE:1.1.1.6.2.2
	cjep_sun2x:1.2.0.4
	cjep_sun2x-base:1.2
	cjep_staticlib_x-base1:1.2
	netbsd-9-2-RELEASE:1.1.1.6.2.2
	cjep_staticlib_x:1.2.0.2
	cjep_staticlib_x-base:1.2
	netbsd-9-1-RELEASE:1.1.1.6.2.2
	phil-wifi-20200421:1.2
	phil-wifi-20200411:1.2
	phil-wifi-20200406:1.2
	netbsd-8-2-RELEASE:1.1.1.4.2.2
	netbsd-9-0-RELEASE:1.1.1.6.2.2
	netbsd-9-0-RC2:1.1.1.6.2.2
	netbsd-9-0-RC1:1.1.1.6.2.2
	dhcpcd-8-0-4:1.1.1.7
	dhcpcd-8-0-3:1.1.1.6
	netbsd-9:1.1.1.6.0.2
	netbsd-9-base:1.1.1.6
	dhcpcd-8-0-2:1.1.1.6
	dhcpcd-8-0-1:1.1.1.6
	dhcpcd-8-0-0:1.1.1.6
	dhcpcd-7-2-3a:1.1.1.6
	phil-wifi-20190609:1.1.1.6
	netbsd-8-1-RELEASE:1.1.1.4.2.2
	netbsd-8-1-RC1:1.1.1.4.2.2
	dhcpcd-7-2-2:1.1.1.6
	dhcpcd-7-2-1:1.1.1.6
	dhcpcd-7-2-0:1.1.1.6
	dhcpcd-7-1-1:1.1.1.5
	pgoyette-compat-merge-20190127:1.1.1.4.8.1
	pgoyette-compat-20190127:1.1.1.5
	dhcpcd-7-1-0:1.1.1.5
	pgoyette-compat-20190118:1.1.1.5
	pgoyette-compat-1226:1.1.1.5
	pgoyette-compat-1126:1.1.1.5
	pgoyette-compat-1020:1.1.1.5
	pgoyette-compat-0930:1.1.1.5
	pgoyette-compat-0906:1.1.1.5
	netbsd-7-2-RELEASE:1.1.1.5.4.2
	dhcpcd-7-0-8:1.1.1.5
	pgoyette-compat-0728:1.1.1.5
	netbsd-7:1.1.1.5.0.4
	dhcpcd-7-0-7:1.1.1.5
	netbsd-8-0-RELEASE:1.1.1.4.2.1
	phil-wifi:1.1.1.5.0.2
	phil-wifi-base:1.1.1.5
	pgoyette-compat-0625:1.1.1.5
	netbsd-8-0-RC2:1.1.1.4.2.1
	dhcpcd-7-0-6:1.1.1.5
	dhcpcd-7-0-5b:1.1.1.5
	dhcpcd-7-0-5a:1.1.1.5
	dhcpcd-7-0-5:1.1.1.4
	pgoyette-compat-0521:1.1.1.4
	dhcpcd-7-0-4:1.1.1.4
	pgoyette-compat-0502:1.1.1.4
	pgoyette-compat-0422:1.1.1.4
	netbsd-8-0-RC1:1.1.1.4
	pgoyette-compat-0415:1.1.1.4
	pgoyette-compat-0407:1.1.1.4
	dhcpcd-7-0-3:1.1.1.4
	pgoyette-compat-0330:1.1.1.4
	dhcpcd-7-0-2:1.1.1.4
	pgoyette-compat-0322:1.1.1.4
	pgoyette-compat-0315:1.1.1.4
	pgoyette-compat:1.1.1.4.0.8
	pgoyette-compat-base:1.1.1.4
	dhcpcd-7-0-1:1.1.1.4
	dhcpcd-7-0-0:1.1.1.4
	dhcpcd-7-0-0-rc4:1.1.1.4
	matt-nb8-mediatek:1.1.1.4.0.6
	matt-nb8-mediatek-base:1.1.1.4
	dhcpcd-7-0-0-rc3:1.1.1.4
	dhcpcd-7-0-0-rc2:1.1.1.4
	perseant-stdc-iso10646:1.1.1.4.0.4
	perseant-stdc-iso10646-base:1.1.1.4
	netbsd-8:1.1.1.4.0.2
	netbsd-8-base:1.1.1.4
	prg-localcount2-base3:1.1.1.4
	prg-localcount2-base2:1.1.1.4
	dhcpcd-7-0-0-rc1:1.1.1.4
	prg-localcount2-base1:1.1.1.3
	prg-localcount2:1.1.1.3.0.6
	prg-localcount2-base:1.1.1.3
	pgoyette-localcount:1.1.1.3.0.4
	pgoyette-localcount-20170426:1.1.1.3
	bouyer-socketcan:1.1.1.3.0.2
	bouyer-socketcan-base1:1.1.1.3
	dhcpcd-7-0-0-beta3:1.1.1.3
	dhcpcd-7-0-0-beta2:1.1.1.2
	dhcpcd-7-0-0-beta1:1.1.1.1
	roy:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2019.09.13.11.01.49;	author roy;	state dead;
branches;
next	1.1;
commitid	JTX7G9icenLTbQCB;

1.1
date	2017.03.31.20.51.15;	author roy;	state Exp;
branches
	1.1.1.1;
next	;
commitid	2iSri9mccyHffKLz;

1.1.1.1
date	2017.03.31.20.51.15;	author roy;	state Exp;
branches;
next	1.1.1.2;
commitid	2iSri9mccyHffKLz;

1.1.1.2
date	2017.04.02.18.54.19;	author roy;	state Exp;
branches;
next	1.1.1.3;
commitid	5Fo1AKRIR3DtxZLz;

1.1.1.3
date	2017.04.14.09.53.06;	author roy;	state Exp;
branches
	1.1.1.3.2.1
	1.1.1.3.4.1
	1.1.1.3.6.1;
next	1.1.1.4;
commitid	6pksNtfDPAJL9uNz;

1.1.1.4
date	2017.05.10.11.00.37;	author roy;	state Exp;
branches
	1.1.1.4.2.1
	1.1.1.4.8.1;
next	1.1.1.5;
commitid	ee89wOAHamR8HPQz;

1.1.1.5
date	2018.06.04.09.55.13;	author roy;	state Exp;
branches
	1.1.1.5.2.1
	1.1.1.5.4.1;
next	1.1.1.6;
commitid	QqW9BMfssrhyNWEA;

1.1.1.6
date	2019.04.17.23.33.08;	author roy;	state Exp;
branches
	1.1.1.6.2.1;
next	1.1.1.7;
commitid	Z4WYBcmvvoLN7LjB;

1.1.1.7
date	2019.09.04.13.27.50;	author roy;	state Exp;
branches;
next	;
commitid	KEvLdUpWYb0ehHBB;

1.1.1.3.2.1
date	2017.04.14.09.53.06;	author bouyer;	state dead;
branches;
next	1.1.1.3.2.2;
commitid	dUG7nkTKALCadqOz;

1.1.1.3.2.2
date	2017.04.21.16.51.22;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.1.1.3.4.1
date	2017.04.14.09.53.06;	author pgoyette;	state dead;
branches;
next	1.1.1.3.4.2;
commitid	ojV02aOSdzvBqZOz;

1.1.1.3.4.2
date	2017.04.26.02.52.22;	author pgoyette;	state Exp;
branches;
next	;
commitid	ojV02aOSdzvBqZOz;

1.1.1.3.6.1
date	2017.05.11.02.58.29;	author pgoyette;	state Exp;
branches;
next	;
commitid	p6b6NO9zXediZUQz;

1.1.1.4.2.1
date	2018.06.07.18.34.03;	author martin;	state Exp;
branches;
next	1.1.1.4.2.2;
commitid	LQY6nn3iZlBNynFA;

1.1.1.4.2.2
date	2019.04.26.19.18.21;	author martin;	state Exp;
branches;
next	;
commitid	ApYO1Wt23frIqTkB;

1.1.1.4.8.1
date	2018.06.25.07.25.12;	author pgoyette;	state Exp;
branches;
next	;
commitid	8PtAu9af7VvhiDHA;

1.1.1.5.2.1
date	2019.06.10.21.44.43;	author christos;	state Exp;
branches;
next	1.1.1.5.2.2;
commitid	jtc8rnCzWiEEHGqB;

1.1.1.5.2.2
date	2020.04.13.07.45.58;	author martin;	state dead;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.1.1.5.4.1
date	2018.06.04.09.55.13;	author martin;	state dead;
branches;
next	1.1.1.5.4.2;
commitid	HmTKhyRj9OTCmLLA;

1.1.1.5.4.2
date	2018.07.27.10.43.19;	author martin;	state Exp;
branches;
next	;
commitid	HmTKhyRj9OTCmLLA;

1.1.1.6.2.1
date	2019.09.05.08.56.55;	author martin;	state Exp;
branches;
next	1.1.1.6.2.2;
commitid	n3LQXHCBRIxtKNBB;

1.1.1.6.2.2
date	2019.10.12.14.44.31;	author martin;	state dead;
branches;
next	;
commitid	PQET3nQkMBRStAGB;


desc
@@


1.2
log
@Sync
@
text
@SUBDIRS=	src hooks

VERSION!=	sed -n 's/\#define VERSION[[:space:]]*"\(.*\)".*/\1/p' src/defs.h

DIST!=		if test -f .fslckout; then echo "dist-fossil"; \
		elif test -d .git; then echo "dist-git"; \
		else echo "dist-inst"; fi
FOSSILID?=	current
GITREF?=	HEAD

DISTPREFIX?=	dhcpcd-${VERSION}
DISTFILEGZ?=	${DISTPREFIX}.tar.gz
DISTFILE?=	${DISTPREFIX}.tar.xz
DISTINFO=	${DISTFILE}.distinfo
DISTINFOSIGN=	${DISTINFO}.asc

CLEANFILES+=	*.tar.xz

.PHONY:		hooks import import-bsd test

.SUFFIXES:	.in

all: config.h
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@; cd ..; done

depend: config.h
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@; cd ..; done

test:
	cd $@@; ${MAKE} $@@; ./$@@

hooks:
	cd $@@; ${MAKE}

eginstall:
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@; cd ..; done

install:
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@; cd ..; done

proginstall:
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@; cd ..; done

clean:
	rm -rf cov-int
	for x in ${SUBDIRS} test; do cd $$x; ${MAKE} $@@; cd ..; done

distclean: clean
	rm -f config.h config.mk config.log \
		${DISTFILE} ${DISTFILEGZ} ${DISTINFO} ${DISTINFOSIGN}


dist-fossil:
	fossil tarball --name ${DISTPREFIX} ${FOSSILID} ${DISTFILEGZ}
	gunzip -c ${DISTFILEGZ} | xz >${DISTFILE}
	rm ${DISTFILEGZ}

dist-git:
	git archive --prefix=${DISTPREFIX}/ ${GITREF} | xz >${DISTFILE}

dist-inst:
	mkdir /tmp/${DISTPREFIX}
	cp -RPp * /tmp/${DISTPREFIX}
	(cd /tmp/${DISTPREFIX}; make clean)
	tar -cvjpf ${DISTFILE} -C /tmp ${DISTPREFIX}
	rm -rf /tmp/${DISTPREFIX}

dist: ${DIST}

distinfo: dist
	rm -f ${DISTINFO} ${DISTINFOSIGN}
	${CKSUM} ${DISTFILE} >${DISTINFO}
	#printf "SIZE (${DISTFILE}) = %s\n" $$(wc -c <${DISTFILE}) >>${DISTINFO}
	${PGP} --clearsign --output=${DISTINFOSIGN} ${DISTINFO}
	chmod 644 ${DISTINFOSIGN}
	ls -l ${DISTFILE} ${DISTINFO} ${DISTINFOSIGN}

snapshot:
	rm -rf /tmp/${DISTPREFIX}
	${INSTALL} -d /tmp/${DISTPREFIX}
	cp -RPp * /tmp/${DISTPREFIX}
	${MAKE} -C /tmp/${DISTPREFIX} distclean
	tar cf - -C /tmp ${DISTPREFIX} | xz >${DISTFILE}
	ls -l ${DISTFILE}

import: ${SRCS} hooks
	rm -rf /tmp/${DISTPREFIX}
	${INSTALL} -d /tmp/${DISTPREFIX}
	cp genembedc genembedh /tmp/${DISTPREFIX}
	cp $$(echo ${SRCS} | sed -e 's/\(dhcpcd-embedded.[ch]\)/\1.in/') \
		/tmp/${DISTPREFIX}
	cp dhcpcd.conf dhcpcd-definitions.conf *.in /tmp/${DISTPREFIX}
	cp dhcpcd-definitions-small.conf *.in /tmp/${DISTPREFIX}
	cp $$(${CC} ${CPPFLAGS} -DDEPGEN -MM \
		$$(echo ${SRCS} | sed -e 's/dhcpcd-embedded.c//') | \
		sed -e 's/^.*\.c //g' -e 's/.*\.c$$//g' -e 's/\\//g' | \
		tr ' ' '\n' | \
		sed -e '/^dhcpcd-embedded.h$$/d' | \
		sed -e '/^compat\//d' | \
		sed -e '/^crypt\//d' | \
		sort -u) /tmp/${DISTPREFIX}; \
	if test -n "${CRYPT_SRCS}"; then \
		${INSTALL} -d /tmp/${DISTPREFIX}/crypt; \
		cp ${CRYPT_SRCS} /tmp/${DISTPREFIX}/crypt; \
		cp $$(${CC} ${CPPFLAGS} -DDEPGEN -MM ${CRYPT_SRCS} | \
			sed -e 's/^.*c //g' -e 's/.*\.c$$//g' -e 's/\\//g' | \
			tr ' ' '\n' | sed -e '/\/\.\.\//d'  | \
			sort -u) /tmp/${DISTPREFIX}/crypt; \
	fi;
	if test -n "${COMPAT_SRCS}"; then \
		${INSTALL} -d /tmp/${DISTPREFIX}/compat; \
		cp ${COMPAT_SRCS} /tmp/${DISTPREFIX}/compat; \
		cp $$(${CC} ${CPPFLAGS} -DDEPGEN -MM ${COMPAT_SRCS} | \
			sed -e 's/^.*c //g' -e 's/.*\.c$$//g' -e 's/\\//g' | \
			tr ' ' '\n' | \
			sort -u) /tmp/${DISTPREFIX}/compat; \
	fi;
	cd dhcpcd-hooks; ${MAKE} DISTPREFIX=${DISTPREFIX} $@@

include Makefile.inc
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Import dhcpcd-7.0.0-beta. Changes from prior version include:

  *  source file locations reworked:
       dhcpcd source is in src
       dhcpcd hooks are in hooks
       compat is in compat
  *  README split into README.md and BUILDING.md
  *  internal routing is now protocol agnostic
  *  avoid using __packed and use compile time asserts instead
  *  addresses some alignment issues
  *  disable some ARP code on kernels which support RFC5227
  *  BSD IPv6 kernel settings are now updated to reflect dhcpcd config
  *  custom logger has been removed, syslog handles everything
     as such, the --logfile option has been removed as well.
     If you need better/earlier logging, get a better syslogger!
  *  distinfo and signed distinfo files are now available alongside
     release taraballs from this point onwards
  *  default DBDIR has changed from /var/db to /var/db/dhcpcd
  *  /etc/dhcpcd.duid moves to DBDIR/duid
  *  /etc/dhcpcd.secret moves to DBDIR/secret
  *  lease file names have dhcpcd removed from them as they are now
     inside a directory of the same name
  *  fixed issues with reject routes not working on some platforms
  *  improved nl80211 support on Linux for working out the SSID
  *  no longer request NTP by default in dhcpcd.conf
  *  BPF filtering vastly improved so dhcpcd only wake up on
     ARP or DHCP packets destined for it
  *  support for MUD URL (draft-ietf-opsawg-mud-05)
  *  if the kernel isn't doing DAD, don't insist on waiting for it
     to actually do it
  *  fix a potential crash where the DHCP or ARP states could be
     freed before the packet processing loop naturally breaks
  *  removed gateway and nogateway options
     (these can be controlled by the nooption directive which
     works for more than just gateways)
  *  removed ipv6ra_own and ipv6ra_own_default options
     (these can be controled by the ipv6rs/noipv6rs directive)
  *  fix a crash receiving SIGUSR1
@
text
@@


1.1.1.2
log
@Import dhcpcd-7.0.0-beta2 with the following changes:
  *  Builds without AUTH now compile.
  *  Builds without IPv4LL now compile.
     Thanks to Joerg Sonnenberger.
  *  BPF no longer uses a variable length buffer for stack protector.
  *  Minor documentation fix for duid file location.
     Thanks to Peter Colberg.
@
text
@d86 1
a86 1
import: dist
d89 30
a118 1
	tar xvJpf ${DISTFILE} -C /tmp
@


1.1.1.3
log
@Import dhcpcd-7.0.0-beta3 with the following changes:
  *  restored --logfile support as a few people complained it vanished
     The new logging code even makes the overall binary size smaller
     on most platforms.
  *  BPF filter now trims garbage trailing the payload
     OK, it's not garbage, but userland doesn't know some drivers append
     FCS to it.
  *  support NetBSD's RO_MSGFILTER socket option to reduce avoid context
     switching for route(4) messages that don't interest us.
  *  Don't open sockets if just sending signals.
  *  HMAC-MD5 test's now check expectations in code rather than relying
     on visual confirmation.
  *  added eloop-bench to test performance of eloop with available
     polling mechanisms.
@
text
@d19 1
a19 1
.PHONY:		hooks import import-bsd tests
d29 2
a30 4
tests:
	cd $@@; ${MAKE} $@@

test: tests
d46 1
a46 1
	for x in ${SUBDIRS} tests; do cd $$x; ${MAKE} $@@; cd ..; done
@


1.1.1.3.6.1
log
@Sync with HEAD
@
text
@d47 1
a47 1
	rm -rf cov-int dhcpcd.xz
@


1.1.1.4
log
@Import dhcpcd-7.0.0-rc1 with the following changes:
  *  Default to use VLANID>0 for IAID instead of MAC address
  *  Stop sharing the DHCPv6 port in master mode with other processes
  *  Fix some prefix delegation issues when the carrier drops or
     addresses become stale
  *  Fix a crash when starting dhcpcd with -n
  *  Fix test for preferring a fake lease over a real one
  *  Show to real address lifetimes being added when adding IPv6
     addresses
  *  Restore the -G, --nogateway option
@
text
@d47 1
a47 1
	rm -rf cov-int dhcpcd.xz
@


1.1.1.4.8.1
log
@Sync with HEAD
@
text
@d11 1
a11 2
DISTSUFFIX=
DISTPREFIX?=	dhcpcd-${VERSION}${DISTSUFFIX}
@


1.1.1.4.2.1
log
@Catch up to current in src/external/bsd/dhcpcd/dist, requested
by roy in ticket #849:

external/bsd/dhcpcd/dist/Makefile               up to 1.1.1.5
external/bsd/dhcpcd/dist/src/arp.c              up to 1.1.1.7
external/bsd/dhcpcd/dist/src/auth.c             up to 1.1.1.5
external/bsd/dhcpcd/dist/src/auth.h             up to 1.1.1.3
external/bsd/dhcpcd/dist/src/bpf.c              up to 1.7
external/bsd/dhcpcd/dist/src/defs.h             up to 1.1.1.13
external/bsd/dhcpcd/dist/src/dhcp.c             up to 1.11
external/bsd/dhcpcd/dist/src/dhcp.h             up to 1.1.1.6
external/bsd/dhcpcd/dist/src/dhcp6.c            up to 1.1.1.12
external/bsd/dhcpcd/dist/src/dhcp6.h            up to 1.1.1.6
external/bsd/dhcpcd/dist/src/dhcpcd-definitions.conf up to 1.1.1.2
external/bsd/dhcpcd/dist/src/dhcpcd.8.in        up to 1.1.1.9
external/bsd/dhcpcd/dist/src/dhcpcd.c           up to 1.12
external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in   up to 1.1.1.9
external/bsd/dhcpcd/dist/src/if-bsd.c           up to 1.1.1.8
external/bsd/dhcpcd/dist/src/if-linux.c         up to 1.1.1.9
external/bsd/dhcpcd/dist/src/if-options.c       up to 1.10
external/bsd/dhcpcd/dist/src/ipv4ll.h           up to 1.1.1.4
external/bsd/dhcpcd/dist/src/ipv6.c             up to 1.1.1.10
external/bsd/dhcpcd/dist/src/ipv6.h             up to 1.1.1.7
external/bsd/dhcpcd/dist/src/ipv6nd.c           up to 1.1.1.8
external/bsd/dhcpcd/dist/src/ipv6nd.h           up to 1.1.1.6
external/bsd/dhcpcd/dist/src/route.c            up to 1.1.1.7
doc/3RDPARTY					(manually modified)

Import dhcpcd 7.0.5b.

Changes:
 * Routing: Fix case when cloning route changes but needs to be replaced
 * DHCP6: Transpose DHCP userclass option into DHCP6
 * DHCP6: Fix sending custom vendor class option
 * Auth: Allow zero value replay detection data
 * Auth: Allow different tokens for send and receive
 * ND6: Warn if router lifetime is set to zero
 * DHCP6: Softwire Address and Port-Mapped Clients, RFC7598
 *  dhcp: Clarified some checksumming code, style and commentary
    (thanks to Maxime Villard)
 *  dhcp6: IAID is now unique per IA type rather than global
 *  ip6: if an IA callback causes a fork, exit earlier
@
text
@d11 1
a11 2
DISTSUFFIX=
DISTPREFIX?=	dhcpcd-${VERSION}${DISTSUFFIX}
@


1.1.1.4.2.2
log
@Sync to head, requested by roy in ticket #1250:

	external/bsd/dhcpcd/dist/compat/consttime_memequal.h up to 1.1.1.1
	external/bsd/dhcpcd/dist/.arcconfig             delete
	external/bsd/dhcpcd/dist/BUILDING.md            up to 1.1.1.3
	external/bsd/dhcpcd/dist/LICENSE                up to 1.1.1.3
	external/bsd/dhcpcd/dist/Makefile               up to 1.1.1.6
	external/bsd/dhcpcd/dist/configure              up to 1.1.1.11
	external/bsd/dhcpcd/dist/iconfig.mk             up to 1.1.1.2
	external/bsd/dhcpcd/dist/hooks/20-resolv.conf   up to 1.2
	external/bsd/dhcpcd/dist/hooks/29-lookup-hostname up to 1.2
	external/bsd/dhcpcd/dist/hooks/30-hostname      up to 1.2
	external/bsd/dhcpcd/dist/hooks/50-ntp.conf      up to 1.2
	external/bsd/dhcpcd/dist/hooks/50-yp.conf       up to 1.2
	external/bsd/dhcpcd/dist/hooks/50-ypbind.in     up to 1.2
	external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.in up to 1.3
	external/bsd/dhcpcd/dist/src/Makefile           up to 1.1.1.5
	external/bsd/dhcpcd/dist/src/arp.c              up to 1.1.1.10
	external/bsd/dhcpcd/dist/src/arp.h              up to 1.1.1.7
	external/bsd/dhcpcd/dist/src/auth.c             up to 1.1.1.7
	external/bsd/dhcpcd/dist/src/auth.h             up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/bpf.c              up to 1.8
	external/bsd/dhcpcd/dist/src/bpf.h              up to 1.1.1.5
	external/bsd/dhcpcd/dist/src/common.c           up to 1.1.1.7
	external/bsd/dhcpcd/dist/src/common.h           up to 1.1.1.7
	external/bsd/dhcpcd/dist/src/control.c          up to 1.1.1.5
	external/bsd/dhcpcd/dist/src/control.h          up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/defs.h             up to 1.1.1.20
	external/bsd/dhcpcd/dist/src/dev.c              up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/dev.h              up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/dhcp-common.c      up to 1.1.1.5
	external/bsd/dhcpcd/dist/src/dhcp-common.h      up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/dhcp.c             up to 1.18
	external/bsd/dhcpcd/dist/src/dhcp.h             up to 1.1.1.9
	external/bsd/dhcpcd/dist/src/dhcp6.c            up to 1.6
	external/bsd/dhcpcd/dist/src/dhcp6.h            up to 1.1.1.9
	external/bsd/dhcpcd/dist/src/dhcpcd-embedded.c.in up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/dhcpcd-embedded.h.in up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/dhcpcd.8.in        up to 1.1.1.12
	external/bsd/dhcpcd/dist/src/dhcpcd.c           up to 1.18
	external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in   up to 1.1.1.12
	external/bsd/dhcpcd/dist/src/dhcpcd.h           up to 1.1.1.9
	external/bsd/dhcpcd/dist/src/duid.c             up to 1.1.1.5
	external/bsd/dhcpcd/dist/src/eloop.c            up to 1.1.1.6
	external/bsd/dhcpcd/dist/src/eloop.h            up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/if-bsd.c           up to 1.6
	external/bsd/dhcpcd/dist/src/if-linux-wext.c    up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/if-linux.c         up to 1.1.1.12
	external/bsd/dhcpcd/dist/src/if-options.c       up to 1.13
	external/bsd/dhcpcd/dist/src/if-options.h       up to 1.1.1.8
	external/bsd/dhcpcd/dist/src/if-sun.c           up to 1.1.1.7
	external/bsd/dhcpcd/dist/src/if.c               up to 1.1.1.12
	external/bsd/dhcpcd/dist/src/if.h               up to 1.1.1.7
	external/bsd/dhcpcd/dist/src/ipv4.c             up to 1.1.1.13
	external/bsd/dhcpcd/dist/src/ipv4.h             up to 1.1.1.7
	external/bsd/dhcpcd/dist/src/ipv4ll.c           up to 1.1.1.7
	external/bsd/dhcpcd/dist/src/ipv4ll.h           up to 1.1.1.6
	external/bsd/dhcpcd/dist/src/ipv6.c             up to 1.1.1.16
	external/bsd/dhcpcd/dist/src/ipv6.h             up to 1.1.1.10
	external/bsd/dhcpcd/dist/src/ipv6nd.c           up to 1.6
	external/bsd/dhcpcd/dist/src/ipv6nd.h           up to 1.1.1.9
	external/bsd/dhcpcd/dist/src/logerr.c           up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/logerr.h           up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/route.c            up to 1.1.1.10
	external/bsd/dhcpcd/dist/src/route.h            up to 1.1.1.6
	external/bsd/dhcpcd/dist/src/sa.c               up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/sa.h               up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/script.c           up to 1.1.1.7
	external/bsd/dhcpcd/dist/src/script.h           up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/dev/udev.c         up to 1.1.1.3
	external/bsd/dhcpcd/dist/tests/Makefile         up to 1.1.1.2
	external/bsd/dhcpcd/sbin/dhcpcd/Makefile        up to 1.45

Import dhcpcd-7.2.1 with the following changes:
*  auth: Use consttime_memequal to avoid latency attack
*  DHCP: Fix a potential 1 byte read overflow with DHO_OPTSOVERLOADED
*  DHCPv6: Fix a potential buffer overflow reading NA/TA addresses
@
text
@d25 1
a25 1
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@ || exit $$?; cd ..; done
d28 1
a28 1
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@ || exit $$?; cd ..; done
d39 1
a39 1
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@ || exit $$?; cd ..; done
d42 1
a42 1
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@ || exit $$?; cd ..; done
d45 1
a45 1
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@ || exit $$?; cd ..; done
d49 1
a49 1
	for x in ${SUBDIRS} tests; do cd $$x; ${MAKE} $@@ || exit $$?; cd ..; done
@


1.1.1.5
log
@Import dhcpcd-7.0.5a.
Only change is to fix builds without INET6.
@
text
@d11 1
a11 2
DISTSUFFIX=
DISTPREFIX?=	dhcpcd-${VERSION}${DISTSUFFIX}
@


1.1.1.5.2.1
log
@Sync with HEAD
@
text
@d25 1
a25 1
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@ || exit $$?; cd ..; done
d28 1
a28 1
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@ || exit $$?; cd ..; done
d39 1
a39 1
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@ || exit $$?; cd ..; done
d42 1
a42 1
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@ || exit $$?; cd ..; done
d45 1
a45 1
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@ || exit $$?; cd ..; done
d49 1
a49 1
	for x in ${SUBDIRS} tests; do cd $$x; ${MAKE} $@@ || exit $$?; cd ..; done
@


1.1.1.5.2.2
log
@Mostly merge changes from HEAD upto 20200411
@
text
@@


1.1.1.6
log
@Import dhcpcd-7.2.0 with the following changes:
  *  BSD: PF_LINK sockets now closed when no longer needed
  *  BSD: Fix detecting interface for scoped routes
  *  script: Allow "" to mean /dev/null
  *  script: Add static routers and routes to env
  *  DHCP: outbound interface is no longer dictated with IP_PKTINFO
  *  DHCP: BPF sockets now closed when no longer needed
  *  DHCPv6: Allow nooption dhcp6_unicast to work
  *  DHCPv6: Don't spam syslog if we always get the same error
  *  route: Log pid which deleted routes of interest

This release fixes PR bin/53705.
@
text
@d25 1
a25 1
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@ || exit $$?; cd ..; done
d28 1
a28 1
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@ || exit $$?; cd ..; done
d39 1
a39 1
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@ || exit $$?; cd ..; done
d42 1
a42 1
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@ || exit $$?; cd ..; done
d45 1
a45 1
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@ || exit $$?; cd ..; done
d49 1
a49 1
	for x in ${SUBDIRS} tests; do cd $$x; ${MAKE} $@@ || exit $$?; cd ..; done
@


1.1.1.6.2.1
log
@Catch up to current for the following files, requested by roy in ticket #177:

	external/bsd/dhcpcd/dist/BUILDING.md            up to 1.1.1.5
	external/bsd/dhcpcd/dist/Makefile               up to 1.1.1.7
	external/bsd/dhcpcd/dist/Makefile.inc           up to 1.1.1.3
	external/bsd/dhcpcd/dist/configure              up to 1.1.1.15
	external/bsd/dhcpcd/dist/compat/rb.c            up to 1.1.1.2
	external/bsd/dhcpcd/dist/compat/rbtree.h        up to 1.1.1.2
	external/bsd/dhcpcd/dist/hooks/Makefile         up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/Makefile           up to 1.1.1.6
	external/bsd/dhcpcd/dist/src/bpf.c              up to 1.12
	external/bsd/dhcpcd/dist/src/control.c          up to 1.1.1.8
	external/bsd/dhcpcd/dist/src/control.h          up to 1.1.1.5
	external/bsd/dhcpcd/dist/src/defs.h             up to 1.1.1.27
	external/bsd/dhcpcd/dist/src/dhcp-common.c      up to 1.1.1.8
	external/bsd/dhcpcd/dist/src/dhcp.c             up to 1.25
	external/bsd/dhcpcd/dist/src/dhcp6.c            up to 1.12
	external/bsd/dhcpcd/dist/src/dhcpcd.8.in        up to 1.3
	external/bsd/dhcpcd/dist/src/dhcpcd.c           up to 1.25
	external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in   up to 1.1.1.14
	external/bsd/dhcpcd/dist/src/duid.c             up to 1.1.1.7
	external/bsd/dhcpcd/dist/src/if-bsd.c           up to 1.12
	external/bsd/dhcpcd/dist/src/if-linux.c         up to 1.1.1.16
	external/bsd/dhcpcd/dist/src/if-options.c       up to 1.17
	external/bsd/dhcpcd/dist/src/if-options.h       up to 1.1.1.11
	external/bsd/dhcpcd/dist/src/if-sun.c           up to 1.1.1.11
	external/bsd/dhcpcd/dist/src/if.c               up to 1.1.1.16
	external/bsd/dhcpcd/dist/src/if.h               up to 1.1.1.11
	external/bsd/dhcpcd/dist/src/ipv4.c             up to 1.1.1.17
	external/bsd/dhcpcd/dist/src/ipv4.h             up to 1.1.1.10
	external/bsd/dhcpcd/dist/src/ipv6.c             up to 1.4
	external/bsd/dhcpcd/dist/src/ipv6.h             up to 1.5
	external/bsd/dhcpcd/dist/src/ipv6nd.c           up to 1.11
	external/bsd/dhcpcd/dist/src/ipv6nd.h           up to 1.1.1.11
	external/bsd/dhcpcd/dist/src/route.c            up to 1.1.1.14
	external/bsd/dhcpcd/dist/src/route.h            up to 1.1.1.9
	external/bsd/dhcpcd/dist/src/sa.c               up to 1.1.1.6
	external/bsd/dhcpcd/dist/src/script.c           up to 1.1.1.11

Import dhcpcd-8.0.4 with the following changes:

 * BSD: Fixed router reachability tests
 * inet6: If router unreachable, just solicit a new one
 * inet6: Fon't install a default route if only lladdresses
 * inet6: Stop listening to NA messages
 * BSD: Listen to RTM_MISS messages
 * DHCP: Fix in_cksum for Big Endian
 * DHCP{,6}: Don't log an error if the lease file is truncated

Changes in dhcpcd-8.0.3:

 *  DHCP: Work with IP headers with options
 *  script: Assert that env string are correctly terminated
 *  script: Terminate env strings with no value
 *  script: Don't attempt to use an invalid env string
 *  route: Fix NULL deference error when using static routes
 *  ARP: Respect IFF_NOARP
 *  DHCP: Allow full DHCP support for PtP interfaces, but not by default
 *  control: sends correct buffer to listeners

dhcpcd-ui now correctly reports SSD association and all the addresses
obtained (regression from dhcpcd-7)
@
text
@d5 2
a6 1
DIST!=		if test -d .git; then echo "dist-git"; \
d55 6
d89 4
a92 23
_import: dist
	rm -rf ${DESTDIR}/*
	${INSTALL} -d ${DESTDIR}
	tar xvpf ${DISTFILE} -C ${DESTDIR} --strip 1
	@@${ECHO}
	@@${ECHO} "============================================================="
	@@${ECHO} "dhcpcd-${VERSION} imported to ${DESTDIR}"

import:
	${MAKE} _import DESTDIR=`if [ -n "${DESTDIR}" ]; then echo "${DESTDIR}"; else  echo /tmp/${DISTPREFIX}; fi`


_import-src:
	rm -rf ${DESTDIR}/*
	${INSTALL} -d ${DESTDIR}
	cp LICENSE README.md ${DESTDIR};
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} DESTDIR=${DESTDIR} $@@ || exit $$?; cd ..; done
	@@${ECHO}
	@@${ECHO} "============================================================="
	@@${ECHO} "dhcpcd-${VERSION} imported to ${DESTDIR}"

import-src:
	${MAKE} _import-src DESTDIR=`if [ -n "${DESTDIR}" ]; then echo "${DESTDIR}"; else  echo /tmp/${DISTPREFIX}; fi`
@


1.1.1.6.2.2
log
@Pull up the following revisions, requested by roy in ticket #302:

	external/bsd/dhcpcd/dist/src/dhcpcd-embedded.c  up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/dhcpcd-embedded.h  up to 1.1.1.2
	external/bsd/dhcpcd/NetBSD-upgrade              up to 1.2
	external/bsd/dhcpcd/dist/compat/crypt/sha256.c  delete
	external/bsd/dhcpcd/dist/compat/crypt/hmac.c    delete
	external/bsd/dhcpcd/dist/compat/crypt/hmac.h    delete
	external/bsd/dhcpcd/dist/compat/crypt/md5.c     delete
	external/bsd/dhcpcd/dist/compat/crypt/md5.h     delete
	external/bsd/dhcpcd/dist/compat/crypt/sha256.h  delete
	external/bsd/dhcpcd/dist/compat/_strtoi.h       delete
	external/bsd/dhcpcd/dist/compat/arc4random.c    delete
	external/bsd/dhcpcd/dist/compat/arc4random.h    delete
	external/bsd/dhcpcd/dist/compat/arc4random_uniform.c delete
	external/bsd/dhcpcd/dist/compat/arc4random_uniform.h delete
	external/bsd/dhcpcd/dist/compat/bitops.h        delete
	external/bsd/dhcpcd/dist/compat/consttime_memequal.h delete
	external/bsd/dhcpcd/dist/compat/dprintf.c       delete
	external/bsd/dhcpcd/dist/compat/dprintf.h       delete
	external/bsd/dhcpcd/dist/compat/endian.h        delete
	external/bsd/dhcpcd/dist/compat/pidfile.c       delete
	external/bsd/dhcpcd/dist/compat/pidfile.h       delete
	external/bsd/dhcpcd/dist/compat/queue.h         delete
	external/bsd/dhcpcd/dist/compat/rb.c            delete
	external/bsd/dhcpcd/dist/compat/rbtree.h        delete
	external/bsd/dhcpcd/dist/compat/reallocarray.c  delete
	external/bsd/dhcpcd/dist/compat/reallocarray.h  delete
	external/bsd/dhcpcd/dist/compat/strlcpy.c       delete
	external/bsd/dhcpcd/dist/compat/strlcpy.h       delete
	external/bsd/dhcpcd/dist/compat/strtoi.c        delete
	external/bsd/dhcpcd/dist/compat/strtoi.h        delete
	external/bsd/dhcpcd/dist/compat/strtou.c        delete
	external/bsd/dhcpcd/dist/.gitignore             delete
	external/bsd/dhcpcd/dist/BUILDING.md            delete
	external/bsd/dhcpcd/dist/Makefile               delete
	external/bsd/dhcpcd/dist/Makefile.inc           delete
	external/bsd/dhcpcd/dist/config-null.mk         delete
	external/bsd/dhcpcd/dist/configure              delete
	external/bsd/dhcpcd/dist/iconfig.mk             delete
	external/bsd/dhcpcd/dist/hooks/Makefile         delete
	external/bsd/dhcpcd/dist/hooks/50-dhcpcd-compat delete
	external/bsd/dhcpcd/dist/hooks/50-yp.conf       delete
	external/bsd/dhcpcd/dist/src/Makefile           delete
	external/bsd/dhcpcd/dist/src/GNUmakefile        delete
	external/bsd/dhcpcd/dist/src/dev.c              delete
	external/bsd/dhcpcd/dist/src/dhcpcd-definitions-small.conf delete
	external/bsd/dhcpcd/dist/src/dhcpcd-definitions.conf delete
	external/bsd/dhcpcd/dist/src/dhcpcd-embedded.c.in delete
	external/bsd/dhcpcd/dist/src/dhcpcd-embedded.h.in delete
	external/bsd/dhcpcd/dist/src/genembedc          delete
	external/bsd/dhcpcd/dist/src/genembedh          delete
	external/bsd/dhcpcd/dist/src/if-linux-wext.c    delete
	external/bsd/dhcpcd/dist/src/if-linux.c         delete
	external/bsd/dhcpcd/dist/src/if-sun.c           delete
	external/bsd/dhcpcd/dist/src/dev/Makefile       delete
	external/bsd/dhcpcd/dist/src/dev/udev.c         delete
	external/bsd/dhcpcd/dist/tests/crypt/.gitignore delete
	external/bsd/dhcpcd/dist/tests/crypt/GNUmakefile delete
	external/bsd/dhcpcd/dist/tests/crypt/Makefile   delete
	external/bsd/dhcpcd/dist/tests/crypt/README.md  delete
	external/bsd/dhcpcd/dist/tests/crypt/run-test.c delete
	external/bsd/dhcpcd/dist/tests/crypt/test.h     delete
	external/bsd/dhcpcd/dist/tests/crypt/test_hmac_md5.c delete
	external/bsd/dhcpcd/dist/tests/Makefile         delete
	external/bsd/dhcpcd/dist/tests/eloop-bench/.gitignore delete
	external/bsd/dhcpcd/dist/tests/eloop-bench/Makefile delete
	external/bsd/dhcpcd/dist/tests/eloop-bench/README.md delete
	external/bsd/dhcpcd/dist/tests/eloop-bench/eloop-bench.c delete
	external/bsd/dhcpcd/dist/src/arp.c              up to 1.1.1.12
	external/bsd/dhcpcd/dist/src/bpf.c              up to 1.13
	external/bsd/dhcpcd/dist/src/bpf.h              up to 1.1.1.7
	external/bsd/dhcpcd/dist/src/common.c           up to 1.1.1.9
	external/bsd/dhcpcd/dist/src/common.h           up to 1.1.1.9
	external/bsd/dhcpcd/dist/src/control.h          up to 1.1.1.6
	external/bsd/dhcpcd/dist/src/defs.h             up to 1.1.1.30
	external/bsd/dhcpcd/dist/src/dhcp-common.c      up to 1.1.1.9
	external/bsd/dhcpcd/dist/src/dhcp-common.h      up to 1.1.1.5
	external/bsd/dhcpcd/dist/src/dhcp.c             up to 1.28
	external/bsd/dhcpcd/dist/src/dhcp.h             up to 1.1.1.11
	external/bsd/dhcpcd/dist/src/dhcp6.c            up to 1.13
	external/bsd/dhcpcd/dist/src/dhcpcd.8.in        up to 1.4
	external/bsd/dhcpcd/dist/src/dhcpcd.c           up to 1.27
	external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in   up to 1.1.1.15
	external/bsd/dhcpcd/dist/src/if-bsd.c           up to 1.14
	external/bsd/dhcpcd/dist/src/if-options.c       up to 1.18
	external/bsd/dhcpcd/dist/src/if.c               up to 1.1.1.17
	external/bsd/dhcpcd/dist/src/if.h               up to 1.1.1.12
	external/bsd/dhcpcd/dist/src/ipv4.c             up to 1.1.1.18
	external/bsd/dhcpcd/dist/src/ipv4.h             up to 1.1.1.11
	external/bsd/dhcpcd/dist/src/ipv4ll.c           up to 1.1.1.10
	external/bsd/dhcpcd/dist/src/ipv4ll.h           up to 1.1.1.8
	external/bsd/dhcpcd/dist/src/ipv6.c             up to 1.5
	external/bsd/dhcpcd/dist/src/ipv6.h             up to 1.6
	external/bsd/dhcpcd/dist/src/ipv6nd.c           up to 1.12
	external/bsd/dhcpcd/dist/src/route.c            up to 1.1.1.15
	external/bsd/dhcpcd/sbin/dhcpcd/Makefile        up to 1.49
	doc/3RDPARTY					modified manually

Import dhcpcd-8.1.0 with the following changes:

 * Fix carrier status after a route socket overflow
 * Allow domain spaced options
 * DHCP: Allow not sending Force Renew Nonce or Reconf Accept
 * IPv4LL: Now passes Apple Bonjour test versions 1.4 and 1.5
 * ARP: Fix a typo and remove pragma (thus working with old gcc)
 * DHCP6: Fix a cosmetic issue with infinite leases
 * DHCP6: SLA 0 and Prefix Len 0 will now add a delegatd /64 address
 * Ignore some virtual interfaces such as Tap and Bridge by default
 * BPF: Move validation logic out of BPF and back into dhcpcd
@
text
@@


1.1.1.7
log
@Import dhcpcd-8.0.4 with the following changes:

 * BSD: Fixed router reachability tests
 * inet6: If router unreachable, just solicit a new one
 * inet6: Fon't install a default route if only lladdresses
 * inet6: Stop listening to NA messages
 * BSD: Listen to RTM_MISS messages
 * DHCP: Fix in_cksum for Big Endian
 * DHCP{,6}: Don't log an error if the lease file is truncated
@
text
@d5 2
a6 1
DIST!=		if test -d .git; then echo "dist-git"; \
d55 6
d89 4
a92 23
_import: dist
	rm -rf ${DESTDIR}/*
	${INSTALL} -d ${DESTDIR}
	tar xvpf ${DISTFILE} -C ${DESTDIR} --strip 1
	@@${ECHO}
	@@${ECHO} "============================================================="
	@@${ECHO} "dhcpcd-${VERSION} imported to ${DESTDIR}"

import:
	${MAKE} _import DESTDIR=`if [ -n "${DESTDIR}" ]; then echo "${DESTDIR}"; else  echo /tmp/${DISTPREFIX}; fi`


_import-src:
	rm -rf ${DESTDIR}/*
	${INSTALL} -d ${DESTDIR}
	cp LICENSE README.md ${DESTDIR};
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} DESTDIR=${DESTDIR} $@@ || exit $$?; cd ..; done
	@@${ECHO}
	@@${ECHO} "============================================================="
	@@${ECHO} "dhcpcd-${VERSION} imported to ${DESTDIR}"

import-src:
	${MAKE} _import-src DESTDIR=`if [ -n "${DESTDIR}" ]; then echo "${DESTDIR}"; else  echo /tmp/${DISTPREFIX}; fi`
@


1.1.1.5.4.1
log
@file Makefile was added on branch netbsd-7 on 2018-07-27 10:43:19 +0000
@
text
@d1 94
@


1.1.1.5.4.2
log
@Pull up following revision(s) (requested by roy in ticket #1621):

	external/bsd/dhcpcd/dist/compat/crypt/sha256.c  up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/crypt/md5.c     up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/crypt/md5.h     up to 1.1.1.2
	external/bsd/dhcpcd/dist/compat/crypt/sha256.h  up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/crypt/hmac.c    up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/crypt/hmac.h    up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/_strtoi.h       up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/arc4random.c    up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/arc4random.h    up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/arc4random_uniform.c up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/arc4random_uniform.h up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/bitops.h        up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/dprintf.c       up to 1.1.1.2
	external/bsd/dhcpcd/dist/compat/dprintf.h       up to 1.1.1.2
	external/bsd/dhcpcd/dist/compat/endian.h        up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/pidfile.c       up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/pidfile.h       up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/queue.h         up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/reallocarray.c  up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/reallocarray.h  up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/strtoi.c        up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/strtoi.h        up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/strtou.c        up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/strlcpy.c       up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/strlcpy.h       up to 1.1.1.1
	external/bsd/dhcpcd/dist/config-null.mk         up to 1.1.1.1
	external/bsd/dhcpcd/dist/configure              up to 1.1.1.8
	external/bsd/dhcpcd/dist/iconfig.mk             up to 1.1.1.1
	external/bsd/dhcpcd/dist/hooks/01-test          up to 1.1.1.2
	external/bsd/dhcpcd/dist/hooks/02-dump          up to 1.1.1.1
	external/bsd/dhcpcd/dist/hooks/10-wpa_supplicant up to 1.1.1.2
	external/bsd/dhcpcd/dist/hooks/15-timezone      up to 1.1.1.2
	external/bsd/dhcpcd/dist/hooks/20-resolv.conf   up to 1.1.1.2
	external/bsd/dhcpcd/dist/hooks/29-lookup-hostname up to 1.1.1.2
	external/bsd/dhcpcd/dist/hooks/30-hostname      up to 1.1.1.2
	external/bsd/dhcpcd/dist/hooks/50-dhcpcd-compat up to 1.1.1.1
	external/bsd/dhcpcd/dist/hooks/50-ntp.conf      up to 1.1.1.2
	external/bsd/dhcpcd/dist/hooks/50-yp.conf       up to 1.1.1.2
	external/bsd/dhcpcd/dist/hooks/50-ypbind.in     up to 1.1.1.2
	external/bsd/dhcpcd/dist/hooks/Makefile         up to 1.1.1.1
	external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.8.in up to 1.1.1.4
	external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.in up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/GNUmakefile        up to 1.1.1.1
	external/bsd/dhcpcd/dist/src/Makefile           up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/arp.c              up to 1.1.1.7
	external/bsd/dhcpcd/dist/src/arp.h              up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/auth.c             up to 1.1.1.5
	external/bsd/dhcpcd/dist/src/auth.h             up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/bpf.c              up to 1.7
	external/bsd/dhcpcd/dist/src/bpf.h              up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/common.c           up to 1.1.1.5
	external/bsd/dhcpcd/dist/src/common.h           up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/control.c          up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/control.h          up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/defs.h             up to 1.1.1.15
	external/bsd/dhcpcd/dist/src/dev.c              up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/dev.h              up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/dhcp-common.c      up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/dhcp-common.h      up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/dhcp.c             up to 1.11
	external/bsd/dhcpcd/dist/src/dhcp.h             up to 1.1.1.6
	external/bsd/dhcpcd/dist/src/dhcp6.c            up to 1.1.1.12
	external/bsd/dhcpcd/dist/src/dhcp6.h            up to 1.1.1.6
	external/bsd/dhcpcd/dist/src/dhcpcd-definitions-small.conf up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/dhcpcd-definitions.conf up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/dhcpcd-embedded.c.in up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/dhcpcd-embedded.h.in up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/dhcpcd.8.in        up to 1.1.1.10
	external/bsd/dhcpcd/dist/src/dhcpcd.c           up to 1.13
	external/bsd/dhcpcd/dist/src/dhcpcd.conf        up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in   up to 1.1.1.10
	external/bsd/dhcpcd/dist/src/dhcpcd.h           up to 1.1.1.5
	external/bsd/dhcpcd/dist/src/duid.c             up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/duid.h             up to 1.1.1.1
	external/bsd/dhcpcd/dist/src/eloop.c            up to 1.1.1.5
	external/bsd/dhcpcd/dist/src/eloop.h            up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/genembedc          up to 1.1.1.1
	external/bsd/dhcpcd/dist/src/genembedh          up to 1.1.1.1
	external/bsd/dhcpcd/dist/src/if-bsd.c           up to 1.1.1.8
	external/bsd/dhcpcd/dist/src/if-linux-wext.c    up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/if-linux.c         up to 1.1.1.10
	external/bsd/dhcpcd/dist/src/if-options.c       up to 1.10
	external/bsd/dhcpcd/dist/src/if-options.h       up to 1.1.1.7
	external/bsd/dhcpcd/dist/src/if-sun.c           up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/if.c               up to 1.1.1.8
	external/bsd/dhcpcd/dist/src/if.h               up to 1.1.1.5
	external/bsd/dhcpcd/dist/src/ipv4.c             up to 1.1.1.9
	external/bsd/dhcpcd/dist/src/ipv4.h             up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/ipv4ll.c           up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/ipv4ll.h           up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/ipv6.c             up to 1.1.1.11
	external/bsd/dhcpcd/dist/src/ipv6.h             up to 1.1.1.7
	external/bsd/dhcpcd/dist/src/ipv6nd.c           up to 1.1.1.8
	external/bsd/dhcpcd/dist/src/ipv6nd.h           up to 1.1.1.6
	external/bsd/dhcpcd/dist/src/logerr.c           up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/logerr.h           up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/route.c            up to 1.1.1.8
	external/bsd/dhcpcd/dist/src/route.h            up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/sa.c               up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/sa.h               up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/script.c           up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/script.h           up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/dev/Makefile       up to 1.1.1.1
	external/bsd/dhcpcd/dist/src/dev/udev.c         up to 1.1.1.2
	external/bsd/dhcpcd/dist/tests/crypt/.gitignore up to 1.1.1.1
	external/bsd/dhcpcd/dist/tests/crypt/GNUmakefile up to 1.1.1.1
	external/bsd/dhcpcd/dist/tests/crypt/Makefile   up to 1.1.1.2
	external/bsd/dhcpcd/dist/tests/crypt/README.md  up to 1.1.1.1
	external/bsd/dhcpcd/dist/tests/crypt/run-test.c up to 1.1.1.2
	external/bsd/dhcpcd/dist/tests/crypt/test.h     up to 1.1.1.2
	external/bsd/dhcpcd/dist/tests/crypt/test_hmac_md5.c up to 1.1.1.3
	external/bsd/dhcpcd/dist/tests/Makefile         up to 1.1.1.1
	external/bsd/dhcpcd/dist/tests/eloop-bench/.gitignore up to 1.1.1.1
	external/bsd/dhcpcd/dist/tests/eloop-bench/Makefile up to 1.1.1.2
	external/bsd/dhcpcd/dist/tests/eloop-bench/README.md up to 1.1.1.1
	external/bsd/dhcpcd/dist/tests/eloop-bench/eloop-bench.c up to 1.1.1.3
	external/bsd/dhcpcd/dist/.arcconfig             up to 1.1.1.1
	external/bsd/dhcpcd/dist/.gitignore             up to 1.4
	external/bsd/dhcpcd/dist/BUILDING.md            up to 1.1.1.2
	external/bsd/dhcpcd/dist/LICENSE                up to 1.1.1.2
	external/bsd/dhcpcd/dist/Makefile               up to 1.1.1.5
	external/bsd/dhcpcd/dist/Makefile.inc           up to 1.1.1.2
	external/bsd/dhcpcd/dist/README.md              up to 1.1.1.3
	external/bsd/dhcpcd/dist/bpf-filter.h           delete
	external/bsd/dhcpcd/dist/common.c               delete
	external/bsd/dhcpcd/dist/arp.c                  delete
	external/bsd/dhcpcd/dist/arp.h                  delete
	external/bsd/dhcpcd/dist/auth.c                 delete
	external/bsd/dhcpcd/dist/auth.h                 delete
	external/bsd/dhcpcd/dist/dhcpcd.c               delete
	external/bsd/dhcpcd/dist/control.c              delete
	external/bsd/dhcpcd/dist/common.h               delete
	external/bsd/dhcpcd/dist/config.h               delete
	external/bsd/dhcpcd/dist/dhcp-common.c          delete
	external/bsd/dhcpcd/dist/control.h              delete
	external/bsd/dhcpcd/dist/defs.h                 delete
	external/bsd/dhcpcd/dist/dev.h                  delete
	external/bsd/dhcpcd/dist/dhcpcd-definitions.conf delete
	external/bsd/dhcpcd/dist/dhcp-common.h          delete
	external/bsd/dhcpcd/dist/dhcp.c                 delete
	external/bsd/dhcpcd/dist/dhcp.h                 delete
	external/bsd/dhcpcd/dist/dhcp6.c                delete
	external/bsd/dhcpcd/dist/dhcp6.h                delete
	external/bsd/dhcpcd/dist/dhcpcd-run-hooks.8.in  delete
	external/bsd/dhcpcd/dist/dhcpcd-embedded.c      delete
	external/bsd/dhcpcd/dist/dhcpcd.8.in            delete
	external/bsd/dhcpcd/dist/dhcpcd-embedded.c.in   delete
	external/bsd/dhcpcd/dist/dhcpcd-embedded.h      delete
	external/bsd/dhcpcd/dist/dhcpcd-embedded.h.in   delete
	external/bsd/dhcpcd/dist/ipv4.c                 delete
	external/bsd/dhcpcd/dist/if.c                   delete
	external/bsd/dhcpcd/dist/dhcpcd-run-hooks.in    delete
	external/bsd/dhcpcd/dist/dhcpcd.h               delete
	external/bsd/dhcpcd/dist/dhcpcd.conf            delete
	external/bsd/dhcpcd/dist/dhcpcd.conf.5.in       delete
	external/bsd/dhcpcd/dist/duid.c                 delete
	external/bsd/dhcpcd/dist/duid.h                 delete
	external/bsd/dhcpcd/dist/eloop.c                delete
	external/bsd/dhcpcd/dist/eloop.h                delete
	external/bsd/dhcpcd/dist/if-bsd.c               delete
	external/bsd/dhcpcd/dist/if-options.c           delete
	external/bsd/dhcpcd/dist/if-options.h           delete
	external/bsd/dhcpcd/dist/if.h                   delete
	external/bsd/dhcpcd/dist/crypt/hmac_md5.c       delete
	external/bsd/dhcpcd/dist/crypt/crypt.h          delete
	external/bsd/dhcpcd/dist/ipv4.h                 delete
	external/bsd/dhcpcd/dist/ipv4ll.c               delete
	external/bsd/dhcpcd/dist/ipv6.c                 delete
	external/bsd/dhcpcd/dist/ipv4ll.h               delete
	external/bsd/dhcpcd/dist/ipv6.h                 delete
	external/bsd/dhcpcd/dist/ipv6nd.c               delete
	external/bsd/dhcpcd/dist/ipv6nd.h               delete
	external/bsd/dhcpcd/dist/script.c               delete
	external/bsd/dhcpcd/dist/script.h               delete
	external/bsd/dhcpcd/dist/dhcpcd-hooks/15-timezone delete
	external/bsd/dhcpcd/dist/dhcpcd-hooks/01-test   delete
	external/bsd/dhcpcd/dist/dhcpcd-hooks/02-dump   delete
	external/bsd/dhcpcd/dist/dhcpcd-hooks/10-mtu    delete
	external/bsd/dhcpcd/dist/dhcpcd-hooks/10-wpa_supplicant delete
	external/bsd/dhcpcd/dist/dhcpcd-hooks/20-resolv.conf delete
	external/bsd/dhcpcd/dist/dhcpcd-hooks/29-lookup-hostname delete
	external/bsd/dhcpcd/dist/dhcpcd-hooks/30-hostname delete
	external/bsd/dhcpcd/dist/dhcpcd-hooks/50-ntp.conf delete
	external/bsd/dhcpcd/dist/dhcpcd-hooks/50-ypbind delete
	usr.sbin/postinstall/postinstall: revision 1.211-1.213
	etc/rc.d/dhcpcd					upto 1.5
	doc/3RDPARTY					manual edit

Import dhcpcd-7.0.7.
Adjust postinstal and rc file.
@
text
@a0 94
SUBDIRS=	src hooks

VERSION!=	sed -n 's/\#define VERSION[[:space:]]*"\(.*\)".*/\1/p' src/defs.h

DIST!=		if test -f .fslckout; then echo "dist-fossil"; \
		elif test -d .git; then echo "dist-git"; \
		else echo "dist-inst"; fi
FOSSILID?=	current
GITREF?=	HEAD

DISTSUFFIX=
DISTPREFIX?=	dhcpcd-${VERSION}${DISTSUFFIX}
DISTFILEGZ?=	${DISTPREFIX}.tar.gz
DISTFILE?=	${DISTPREFIX}.tar.xz
DISTINFO=	${DISTFILE}.distinfo
DISTINFOSIGN=	${DISTINFO}.asc

CLEANFILES+=	*.tar.xz

.PHONY:		hooks import import-bsd tests

.SUFFIXES:	.in

all: config.h
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@; cd ..; done

depend: config.h
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@; cd ..; done

tests:
	cd $@@; ${MAKE} $@@

test: tests

hooks:
	cd $@@; ${MAKE}

eginstall:
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@; cd ..; done

install:
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@; cd ..; done

proginstall:
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@; cd ..; done

clean:
	rm -rf cov-int dhcpcd.xz
	for x in ${SUBDIRS} tests; do cd $$x; ${MAKE} $@@; cd ..; done

distclean: clean
	rm -f config.h config.mk config.log \
		${DISTFILE} ${DISTFILEGZ} ${DISTINFO} ${DISTINFOSIGN}


dist-fossil:
	fossil tarball --name ${DISTPREFIX} ${FOSSILID} ${DISTFILEGZ}
	gunzip -c ${DISTFILEGZ} | xz >${DISTFILE}
	rm ${DISTFILEGZ}

dist-git:
	git archive --prefix=${DISTPREFIX}/ ${GITREF} | xz >${DISTFILE}

dist-inst:
	mkdir /tmp/${DISTPREFIX}
	cp -RPp * /tmp/${DISTPREFIX}
	(cd /tmp/${DISTPREFIX}; make clean)
	tar -cvjpf ${DISTFILE} -C /tmp ${DISTPREFIX}
	rm -rf /tmp/${DISTPREFIX}

dist: ${DIST}

distinfo: dist
	rm -f ${DISTINFO} ${DISTINFOSIGN}
	${CKSUM} ${DISTFILE} >${DISTINFO}
	#printf "SIZE (${DISTFILE}) = %s\n" $$(wc -c <${DISTFILE}) >>${DISTINFO}
	${PGP} --clearsign --output=${DISTINFOSIGN} ${DISTINFO}
	chmod 644 ${DISTINFOSIGN}
	ls -l ${DISTFILE} ${DISTINFO} ${DISTINFOSIGN}

snapshot:
	rm -rf /tmp/${DISTPREFIX}
	${INSTALL} -d /tmp/${DISTPREFIX}
	cp -RPp * /tmp/${DISTPREFIX}
	${MAKE} -C /tmp/${DISTPREFIX} distclean
	tar cf - -C /tmp ${DISTPREFIX} | xz >${DISTFILE}
	ls -l ${DISTFILE}

import: dist
	rm -rf /tmp/${DISTPREFIX}
	${INSTALL} -d /tmp/${DISTPREFIX}
	tar xvJpf ${DISTFILE} -C /tmp

include Makefile.inc
@


1.1.1.3.4.1
log
@file Makefile was added on branch pgoyette-localcount on 2017-04-26 02:52:22 +0000
@
text
@d1 93
@


1.1.1.3.4.2
log
@Sync with HEAD
@
text
@a0 93
SUBDIRS=	src hooks

VERSION!=	sed -n 's/\#define VERSION[[:space:]]*"\(.*\)".*/\1/p' src/defs.h

DIST!=		if test -f .fslckout; then echo "dist-fossil"; \
		elif test -d .git; then echo "dist-git"; \
		else echo "dist-inst"; fi
FOSSILID?=	current
GITREF?=	HEAD

DISTPREFIX?=	dhcpcd-${VERSION}
DISTFILEGZ?=	${DISTPREFIX}.tar.gz
DISTFILE?=	${DISTPREFIX}.tar.xz
DISTINFO=	${DISTFILE}.distinfo
DISTINFOSIGN=	${DISTINFO}.asc

CLEANFILES+=	*.tar.xz

.PHONY:		hooks import import-bsd tests

.SUFFIXES:	.in

all: config.h
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@; cd ..; done

depend: config.h
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@; cd ..; done

tests:
	cd $@@; ${MAKE} $@@

test: tests

hooks:
	cd $@@; ${MAKE}

eginstall:
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@; cd ..; done

install:
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@; cd ..; done

proginstall:
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@; cd ..; done

clean:
	rm -rf cov-int
	for x in ${SUBDIRS} tests; do cd $$x; ${MAKE} $@@; cd ..; done

distclean: clean
	rm -f config.h config.mk config.log \
		${DISTFILE} ${DISTFILEGZ} ${DISTINFO} ${DISTINFOSIGN}


dist-fossil:
	fossil tarball --name ${DISTPREFIX} ${FOSSILID} ${DISTFILEGZ}
	gunzip -c ${DISTFILEGZ} | xz >${DISTFILE}
	rm ${DISTFILEGZ}

dist-git:
	git archive --prefix=${DISTPREFIX}/ ${GITREF} | xz >${DISTFILE}

dist-inst:
	mkdir /tmp/${DISTPREFIX}
	cp -RPp * /tmp/${DISTPREFIX}
	(cd /tmp/${DISTPREFIX}; make clean)
	tar -cvjpf ${DISTFILE} -C /tmp ${DISTPREFIX}
	rm -rf /tmp/${DISTPREFIX}

dist: ${DIST}

distinfo: dist
	rm -f ${DISTINFO} ${DISTINFOSIGN}
	${CKSUM} ${DISTFILE} >${DISTINFO}
	#printf "SIZE (${DISTFILE}) = %s\n" $$(wc -c <${DISTFILE}) >>${DISTINFO}
	${PGP} --clearsign --output=${DISTINFOSIGN} ${DISTINFO}
	chmod 644 ${DISTINFOSIGN}
	ls -l ${DISTFILE} ${DISTINFO} ${DISTINFOSIGN}

snapshot:
	rm -rf /tmp/${DISTPREFIX}
	${INSTALL} -d /tmp/${DISTPREFIX}
	cp -RPp * /tmp/${DISTPREFIX}
	${MAKE} -C /tmp/${DISTPREFIX} distclean
	tar cf - -C /tmp ${DISTPREFIX} | xz >${DISTFILE}
	ls -l ${DISTFILE}

import: dist
	rm -rf /tmp/${DISTPREFIX}
	${INSTALL} -d /tmp/${DISTPREFIX}
	tar xvJpf ${DISTFILE} -C /tmp

include Makefile.inc
@


1.1.1.3.2.1
log
@file Makefile was added on branch bouyer-socketcan on 2017-04-21 16:51:22 +0000
@
text
@d1 93
@


1.1.1.3.2.2
log
@Sync with HEAD
@
text
@a0 93
SUBDIRS=	src hooks

VERSION!=	sed -n 's/\#define VERSION[[:space:]]*"\(.*\)".*/\1/p' src/defs.h

DIST!=		if test -f .fslckout; then echo "dist-fossil"; \
		elif test -d .git; then echo "dist-git"; \
		else echo "dist-inst"; fi
FOSSILID?=	current
GITREF?=	HEAD

DISTPREFIX?=	dhcpcd-${VERSION}
DISTFILEGZ?=	${DISTPREFIX}.tar.gz
DISTFILE?=	${DISTPREFIX}.tar.xz
DISTINFO=	${DISTFILE}.distinfo
DISTINFOSIGN=	${DISTINFO}.asc

CLEANFILES+=	*.tar.xz

.PHONY:		hooks import import-bsd tests

.SUFFIXES:	.in

all: config.h
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@; cd ..; done

depend: config.h
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@; cd ..; done

tests:
	cd $@@; ${MAKE} $@@

test: tests

hooks:
	cd $@@; ${MAKE}

eginstall:
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@; cd ..; done

install:
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@; cd ..; done

proginstall:
	for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@@; cd ..; done

clean:
	rm -rf cov-int
	for x in ${SUBDIRS} tests; do cd $$x; ${MAKE} $@@; cd ..; done

distclean: clean
	rm -f config.h config.mk config.log \
		${DISTFILE} ${DISTFILEGZ} ${DISTINFO} ${DISTINFOSIGN}


dist-fossil:
	fossil tarball --name ${DISTPREFIX} ${FOSSILID} ${DISTFILEGZ}
	gunzip -c ${DISTFILEGZ} | xz >${DISTFILE}
	rm ${DISTFILEGZ}

dist-git:
	git archive --prefix=${DISTPREFIX}/ ${GITREF} | xz >${DISTFILE}

dist-inst:
	mkdir /tmp/${DISTPREFIX}
	cp -RPp * /tmp/${DISTPREFIX}
	(cd /tmp/${DISTPREFIX}; make clean)
	tar -cvjpf ${DISTFILE} -C /tmp ${DISTPREFIX}
	rm -rf /tmp/${DISTPREFIX}

dist: ${DIST}

distinfo: dist
	rm -f ${DISTINFO} ${DISTINFOSIGN}
	${CKSUM} ${DISTFILE} >${DISTINFO}
	#printf "SIZE (${DISTFILE}) = %s\n" $$(wc -c <${DISTFILE}) >>${DISTINFO}
	${PGP} --clearsign --output=${DISTINFOSIGN} ${DISTINFO}
	chmod 644 ${DISTINFOSIGN}
	ls -l ${DISTFILE} ${DISTINFO} ${DISTINFOSIGN}

snapshot:
	rm -rf /tmp/${DISTPREFIX}
	${INSTALL} -d /tmp/${DISTPREFIX}
	cp -RPp * /tmp/${DISTPREFIX}
	${MAKE} -C /tmp/${DISTPREFIX} distclean
	tar cf - -C /tmp ${DISTPREFIX} | xz >${DISTFILE}
	ls -l ${DISTFILE}

import: dist
	rm -rf /tmp/${DISTPREFIX}
	${INSTALL} -d /tmp/${DISTPREFIX}
	tar xvJpf ${DISTFILE} -C /tmp

include Makefile.inc
@


