CVS commit: src

2017-04-02 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Mon Apr  3 05:06:28 UTC 2017

Modified Files:
src/distrib/sets/lists/debug: mi
src/distrib/sets/lists/tests: mi
src/tests/kernel: Makefile
Removed Files:
src/tests/kernel: msg.h t_ptrace.c t_ptrace_amd64_wait.h
t_ptrace_i386_wait.h t_ptrace_wait.c t_ptrace_wait.h
t_ptrace_wait3.c t_ptrace_wait4.c t_ptrace_wait6.c
t_ptrace_waitid.c t_ptrace_waitpid.c t_ptrace_x86_wait.h

Log Message:
Remove tests/kernel/t_ptrace* from the tree

ptrace(2) tests have been moved to tests/lib/libc/sys

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.203 -r1.204 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.732 -r1.733 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.45 -r1.46 src/tests/kernel/Makefile
cvs rdiff -u -r1.1 -r0 src/tests/kernel/msg.h \
src/tests/kernel/t_ptrace_amd64_wait.h src/tests/kernel/t_ptrace_wait3.c \
src/tests/kernel/t_ptrace_wait4.c src/tests/kernel/t_ptrace_wait6.c \
src/tests/kernel/t_ptrace_waitid.c src/tests/kernel/t_ptrace_waitpid.c \
src/tests/kernel/t_ptrace_x86_wait.h
cvs rdiff -u -r1.20 -r0 src/tests/kernel/t_ptrace.c
cvs rdiff -u -r1.2 -r0 src/tests/kernel/t_ptrace_i386_wait.h
cvs rdiff -u -r1.88 -r0 src/tests/kernel/t_ptrace_wait.c
cvs rdiff -u -r1.9 -r0 src/tests/kernel/t_ptrace_wait.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/debug/mi
diff -u src/distrib/sets/lists/debug/mi:1.203 src/distrib/sets/lists/debug/mi:1.204
--- src/distrib/sets/lists/debug/mi:1.203	Sun Apr  2 21:44:00 2017
+++ src/distrib/sets/lists/debug/mi	Mon Apr  3 05:06:28 2017
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.203 2017/04/02 21:44:00 kamil Exp $
+# $NetBSD: mi,v 1.204 2017/04/03 05:06:28 kamil Exp $
 ./etc/mtree/set.debug   comp-sys-root
 ./usr/lib	comp-sys-usr		compatdir
 ./usr/lib/i18n/libBIG5_g.a			comp-c-debuglib		debuglib,compatfile
@@ -1716,13 +1716,13 @@
 ./usr/libdata/debug/usr/tests/kernel/t_poll3w.debug			tests-obsolete		obsolete,compattestfile
 ./usr/libdata/debug/usr/tests/kernel/t_pollts.debug			tests-obsolete		obsolete,compattestfile
 ./usr/libdata/debug/usr/tests/kernel/t_posix_fadvise.debug		tests-obsolete		obsolete,compattestfile
-./usr/libdata/debug/usr/tests/kernel/t_ptrace.debug			tests-kernel-tests	debug,atf,compattestfile
-./usr/libdata/debug/usr/tests/kernel/t_ptrace_wait.debug		tests-kernel-tests	debug,atf,compattestfile
-./usr/libdata/debug/usr/tests/kernel/t_ptrace_wait3.debug		tests-kernel-tests	debug,atf,compattestfile
-./usr/libdata/debug/usr/tests/kernel/t_ptrace_wait4.debug		tests-kernel-tests	debug,atf,compattestfile
-./usr/libdata/debug/usr/tests/kernel/t_ptrace_wait6.debug		tests-kernel-tests	debug,atf,compattestfile
-./usr/libdata/debug/usr/tests/kernel/t_ptrace_waitid.debug		tests-kernel-tests	debug,atf,compattestfile
-./usr/libdata/debug/usr/tests/kernel/t_ptrace_waitpid.debug		tests-kernel-tests	debug,atf,compattestfile
+./usr/libdata/debug/usr/tests/kernel/t_ptrace.debug			tests-obsolete		obsolete,compattestfile
+./usr/libdata/debug/usr/tests/kernel/t_ptrace_wait.debug		tests-obsolete		obsolete,compattestfile
+./usr/libdata/debug/usr/tests/kernel/t_ptrace_wait3.debug		tests-obsolete		obsolete,compattestfile
+./usr/libdata/debug/usr/tests/kernel/t_ptrace_wait4.debug		tests-obsolete		obsolete,compattestfile
+./usr/libdata/debug/usr/tests/kernel/t_ptrace_wait6.debug		tests-obsolete		obsolete,compattestfile
+./usr/libdata/debug/usr/tests/kernel/t_ptrace_waitid.debug		tests-obsolete		obsolete,compattestfile
+./usr/libdata/debug/usr/tests/kernel/t_ptrace_waitpid.debug		tests-obsolete		obsolete,compattestfile
 ./usr/libdata/debug/usr/tests/kernel/t_pty.debug			tests-kernel-tests	debug,atf,compattestfile
 ./usr/libdata/debug/usr/tests/kernel/t_rnd.debug			tests-kernel-tests	debug,atf,rump
 ./usr/libdata/debug/usr/tests/kernel/t_sigaction.debug			tests-obsolete		obsolete,compattestfile

Index: src/distrib/sets/lists/tests/mi
diff -u src/distrib/sets/lists/tests/mi:1.732 src/distrib/sets/lists/tests/mi:1.733
--- src/distrib/sets/lists/tests/mi:1.732	Sun Apr  2 21:44:00 2017
+++ src/distrib/sets/lists/tests/mi	Mon Apr  3 05:06:28 2017
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.732 2017/04/02 21:44:00 kamil Exp $
+# $NetBSD: mi,v 1.733 2017/04/03 05:06:28 kamil Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -2160,13 +2160,13 @@
 ./usr/tests/kernel/t_posix_fadvise		tests-obsolete		obsolete
 ./usr/tests/kernel/t_posix_fallocate		tests-obsolete		obsolete
 ./usr/tests/kernel/t_ps_strings			tests-kernel-tests	compattestfile,atf
-./usr/tests/kernel/t_ptrace			tests-kernel-tests	compattestfile,atf
-./usr/tests/kernel/t_ptrace_wait		tests-kernel-tests	compattestfile,atf
-./usr/tests/kernel/t_ptrace_wait3		tests-kernel-tests	compattestfile,atf

CVS commit: src/etc/mtree

2017-04-02 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Mon Apr  3 04:33:32 UTC 2017

Modified Files:
src/etc/mtree: NetBSD.dist.tests

Log Message:
Remove tests/kernel/arch from mtree entries

The tests/kernel/arch directory has been removed. The t_ptrace files have
been merged and moved to tests/lib/libc/sys.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.143 -r1.144 src/etc/mtree/NetBSD.dist.tests

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/mtree/NetBSD.dist.tests
diff -u src/etc/mtree/NetBSD.dist.tests:1.143 src/etc/mtree/NetBSD.dist.tests:1.144
--- src/etc/mtree/NetBSD.dist.tests:1.143	Wed Feb 22 02:42:53 2017
+++ src/etc/mtree/NetBSD.dist.tests	Mon Apr  3 04:33:32 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: NetBSD.dist.tests,v 1.143 2017/02/22 02:42:53 kamil Exp $
+#	$NetBSD: NetBSD.dist.tests,v 1.144 2017/04/03 04:33:32 kamil Exp $
 
 ./usr/libdata/debug/usr/tests
 ./usr/libdata/debug/usr/tests/atf
@@ -46,10 +46,6 @@
 ./usr/libdata/debug/usr/tests/include/sys
 ./usr/libdata/debug/usr/tests/ipf
 ./usr/libdata/debug/usr/tests/kernel
-./usr/libdata/debug/usr/tests/kernel/arch
-./usr/libdata/debug/usr/tests/kernel/arch/amd64
-./usr/libdata/debug/usr/tests/kernel/arch/i386
-./usr/libdata/debug/usr/tests/kernel/arch/x86
 ./usr/libdata/debug/usr/tests/kernel/kqueue
 ./usr/libdata/debug/usr/tests/kernel/kqueue/read
 ./usr/libdata/debug/usr/tests/kernel/kqueue/write
@@ -230,10 +226,6 @@
 ./usr/tests/ipf/input
 ./usr/tests/ipf/regress
 ./usr/tests/kernel
-./usr/tests/kernel/arch
-./usr/tests/kernel/arch/amd64
-./usr/tests/kernel/arch/i386
-./usr/tests/kernel/arch/x86
 ./usr/tests/kernel/kqueue
 ./usr/tests/kernel/kqueue/read
 ./usr/tests/kernel/kqueue/write



CVS commit: src/sys/dev

2017-04-02 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Mon Apr  3 04:09:12 UTC 2017

Modified Files:
src/sys/dev: audio.c

Log Message:
Exclude mixer channels from channel numbering.


To generate a diff of this commit:
cvs rdiff -u -r1.319 -r1.320 src/sys/dev/audio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/audio.c
diff -u src/sys/dev/audio.c:1.319 src/sys/dev/audio.c:1.320
--- src/sys/dev/audio.c:1.319	Wed Mar 29 06:24:22 2017
+++ src/sys/dev/audio.c	Mon Apr  3 04:09:12 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: audio.c,v 1.319 2017/03/29 06:24:22 nat Exp $	*/
+/*	$NetBSD: audio.c,v 1.320 2017/04/03 04:09:12 nat Exp $	*/
 
 /*-
  * Copyright (c) 2016 Nathanial Sloss 
@@ -148,7 +148,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.319 2017/03/29 06:24:22 nat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.320 2017/04/03 04:09:12 nat Exp $");
 
 #include "audio.h"
 #if NAUDIO > 0
@@ -2088,6 +2088,8 @@ audio_open(dev_t dev, struct audio_softc
 	SIMPLEQ_FOREACH(chan, >sc_audiochan, entries) {
 		if (chan == SIMPLEQ_FIRST(>sc_audiochan))
 			continue;
+		if (chan->chan == MIXER_INUSE)
+			continue;
 		n = chan->chan + 1;
 	}
 	if (n < 0)



CVS commit: src/external/bsd/dhcpcd/dist/src

2017-04-02 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Mon Apr  3 00:42:20 UTC 2017

Modified Files:
src/external/bsd/dhcpcd/dist/src: bpf.c

Log Message:
Try to fix build of dhcpcd (bpf.c) - violation of stack protector (GCC)

Patch obtained from 


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 src/external/bsd/dhcpcd/dist/src/bpf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/dhcpcd/dist/src/bpf.c
diff -u src/external/bsd/dhcpcd/dist/src/bpf.c:1.1.1.2 src/external/bsd/dhcpcd/dist/src/bpf.c:1.2
--- src/external/bsd/dhcpcd/dist/src/bpf.c:1.1.1.2	Sun Apr  2 18:54:20 2017
+++ src/external/bsd/dhcpcd/dist/src/bpf.c	Mon Apr  3 00:42:20 2017
@@ -419,13 +419,13 @@ static const struct bpf_insn bpf_arp_fil
 	BPF_STMT(BPF_RET + BPF_K, 0),
 };
 #define bpf_arp_filter_len	__arraycount(bpf_arp_filter)
-#define bpf_arp_extra		(((ARP_ADDRS_MAX + 1) * 2) * 2) + 2
+#define bpf_arp_extra		ARP_ADDRS_MAX + 1) * 2) * 2) + 2)
+#define bpf_arp_hw		HWADDR_LEN / 4) + 2) * 2) + 1)
 
 int
 bpf_arp(struct interface *ifp, int fd)
 {
-	size_t bpf_hw = (((sizeof(ifp->hwaddr) / 4) + 2) * 2) + 1;
-	struct bpf_insn bpf[3 + bpf_arp_filter_len + bpf_hw + bpf_arp_extra];
+	struct bpf_insn bpf[3+ bpf_arp_filter_len + bpf_arp_hw + bpf_arp_extra];
 	struct bpf_insn *bp;
 	struct iarp_state *state;
 
@@ -449,7 +449,7 @@ bpf_arp(struct interface *ifp, int fd)
 	bp += bpf_arp_filter_len;
 
 	/* Ensure it's not from us. */
-	bp += bpf_cmp_hwaddr(bp, bpf_hw, sizeof(struct arphdr),
+	bp += bpf_cmp_hwaddr(bp, bpf_arp_hw, sizeof(struct arphdr),
 	 false, ifp->hwaddr, ifp->hwlen);
 
 	state = ARP_STATE(ifp);



CVS commit: src/sys/arch/zaurus/conf

2017-04-02 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon Apr  3 00:11:45 UTC 2017

Modified Files:
src/sys/arch/zaurus/conf: GENERIC

Log Message:
Drop NOPORTALGO option which was introduce in r1.69.No other reference exists 
in src or
history in CVS. The introductory commit was related to sound so assuming it
crept in by mistake.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/arch/zaurus/conf/GENERIC

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/zaurus/conf/GENERIC
diff -u src/sys/arch/zaurus/conf/GENERIC:1.72 src/sys/arch/zaurus/conf/GENERIC:1.73
--- src/sys/arch/zaurus/conf/GENERIC:1.72	Sun Feb 26 12:03:15 2017
+++ src/sys/arch/zaurus/conf/GENERIC	Mon Apr  3 00:11:45 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: GENERIC,v 1.72 2017/02/26 12:03:15 rin Exp $
+#	$NetBSD: GENERIC,v 1.73 2017/04/03 00:11:45 sevan Exp $
 #
 # GENERIC machine description file
 #
@@ -137,7 +137,6 @@ options 	SYSVSHM		# System V-like memory
 #options 	USERCONF	# userconf(4) support
 #options 	PIPE_SOCKETPAIR # smaller, but slower pipe(2)
 #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
-options		NOPORTALGO
 
 #
 # wscons options



CVS commit: src/external/bsd/dhcpcd

2017-04-02 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sun Apr  2 20:18:38 UTC 2017

Modified Files:
src/external/bsd/dhcpcd: Makefile
src/external/bsd/dhcpcd/libexec/dhcpcd-hooks: Makefile
Added Files:
src/external/bsd/dhcpcd/examples: Makefile
src/external/bsd/dhcpcd/examples/hooks: Makefile

Log Message:
Let's make things easier and split the example hooks out into
a new Makefile.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/dhcpcd/Makefile
cvs rdiff -u -r0 -r1.1 src/external/bsd/dhcpcd/examples/Makefile
cvs rdiff -u -r0 -r1.1 src/external/bsd/dhcpcd/examples/hooks/Makefile
cvs rdiff -u -r1.2 -r1.3 \
src/external/bsd/dhcpcd/libexec/dhcpcd-hooks/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/dhcpcd/Makefile
diff -u src/external/bsd/dhcpcd/Makefile:1.2 src/external/bsd/dhcpcd/Makefile:1.3
--- src/external/bsd/dhcpcd/Makefile:1.2	Fri Mar 31 21:02:08 2017
+++ src/external/bsd/dhcpcd/Makefile	Sun Apr  2 20:18:37 2017
@@ -1,5 +1,5 @@
-#	$NetBSD: Makefile,v 1.2 2017/03/31 21:02:08 roy Exp $
+#	$NetBSD: Makefile,v 1.3 2017/04/02 20:18:37 roy Exp $
 
-SUBDIR=		sbin libexec
+SUBDIR=		sbin libexec examples
 
 .include 

Index: src/external/bsd/dhcpcd/libexec/dhcpcd-hooks/Makefile
diff -u src/external/bsd/dhcpcd/libexec/dhcpcd-hooks/Makefile:1.2 src/external/bsd/dhcpcd/libexec/dhcpcd-hooks/Makefile:1.3
--- src/external/bsd/dhcpcd/libexec/dhcpcd-hooks/Makefile:1.2	Sat Apr  1 19:02:58 2017
+++ src/external/bsd/dhcpcd/libexec/dhcpcd-hooks/Makefile	Sun Apr  2 20:18:38 2017
@@ -1,36 +1,15 @@
-# $NetBSD: Makefile,v 1.2 2017/04/01 19:02:58 roy Exp $
+# $NetBSD: Makefile,v 1.3 2017/04/02 20:18:38 roy Exp $
 #
 
 .include 
 
 .include "../../Makefile.inc"
-HOOKSRC=		${DIST}/hooks
-.PATH:			${HOOKSRC} ${OBJDIR}
 
-HOOKS=			01-test 02-dump 20-resolv.conf 30-hostname
-HOOKS+=			50-ntp.conf
+.PATH:			${DIST}/hooks
 
-FILES=			${HOOKS:C,^,${HOOKSRC}/,}
-FILESDIR=		/libexec/dhcpcd-hooks
-
-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
+FILES=			01-test 02-dump 20-resolv.conf 30-hostname
+FILES+=			50-ntp.conf
 
-all:	${HOOKS} ${EGHOOKS} ${MKEGHOOKS}
-
-.in:	../../Makefile.inc
-	${TOOL_SED} ${SED_SYS} $< > $@
+FILESDIR=		/libexec/dhcpcd-hooks
 
 .include 

Added files:

Index: src/external/bsd/dhcpcd/examples/Makefile
diff -u /dev/null src/external/bsd/dhcpcd/examples/Makefile:1.1
--- /dev/null	Sun Apr  2 20:18:38 2017
+++ src/external/bsd/dhcpcd/examples/Makefile	Sun Apr  2 20:18:37 2017
@@ -0,0 +1,5 @@
+#	$NetBSD: Makefile,v 1.1 2017/04/02 20:18:37 roy Exp $
+
+SUBDIR=		hooks
+
+.include 

Index: src/external/bsd/dhcpcd/examples/hooks/Makefile
diff -u /dev/null src/external/bsd/dhcpcd/examples/hooks/Makefile:1.1
--- /dev/null	Sun Apr  2 20:18:38 2017
+++ src/external/bsd/dhcpcd/examples/hooks/Makefile	Sun Apr  2 20:18:37 2017
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2017/04/02 20:18:37 roy Exp $
+#
+
+.include 
+
+.include "../../Makefile.inc"
+.PATH:			${DIST}/hooks
+
+.if ${MKSHARE} != "no"
+FILES=			10-wpa_supplicant 15-timezone 29-lookup-hostname
+FILES+=			50-ypbind
+
+FILESBUILD_50-ypbind=	YES
+CLEANFILES+=		50-ypbind
+
+FILESDIR=		/usr/share/examples/dhcpcd/hooks
+
+.SUFFIXES:		.in
+
+.in:	../../Makefile.inc
+	${TOOL_SED} ${SED_SYS} $< > $@
+.endif
+
+.include 



CVS commit: src/external/bsd/dhcpcd/sbin/dhcpcd

2017-04-02 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sun Apr  2 20:17:11 UTC 2017

Modified Files:
src/external/bsd/dhcpcd/sbin/dhcpcd: Makefile

Log Message:
No more need to disable stack protector


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile
diff -u src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.36 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.37
--- src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.36	Fri Mar 31 23:50:01 2017
+++ src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile	Sun Apr  2 20:17:11 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2017/03/31 23:50:01 kamil Exp $
+# $NetBSD: Makefile,v 1.37 2017/04/02 20:17:11 roy Exp $
 #
 
 WARNS?=		6
@@ -29,7 +29,6 @@ SRCS+=		auth.c hmac_md5.c
 .if (${USE_INET} != "no")
 CPPFLAGS+=	-DARP -DINET
 SRCS+=		arp.c bpf.c dhcp.c ipv4.c
-COPTS.bpf.c+=	-Wno-stack-protector
 .if !defined(SMALLPROG)
 CPPFLAGS+=	-DIPV4LL
 SRCS+=		ipv4ll.c



CVS commit: src/doc

2017-04-02 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sun Apr  2 19:37:03 UTC 2017

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
Note import of dhcpcd-7.0.0-beta2


To generate a diff of this commit:
cvs rdiff -u -r1.1427 -r1.1428 src/doc/3RDPARTY
cvs rdiff -u -r1.2267 -r1.2268 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1427 src/doc/3RDPARTY:1.1428
--- src/doc/3RDPARTY:1.1427	Sun Apr  2 13:56:35 2017
+++ src/doc/3RDPARTY	Sun Apr  2 19:37:03 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1427 2017/04/02 13:56:35 abhinav Exp $
+#	$NetBSD: 3RDPARTY,v 1.1428 2017/04/02 19:37:03 roy Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -334,8 +334,8 @@ Notes:
 Use the dhcp2netbsd script.
 
 Package:	dhcpcd
-Version:	7.0.0-beta1
-Current Vers:	7.0.0-beta1
+Version:	7.0.0-beta2
+Current Vers:	7.0.0-beta2
 Maintainer:	roy
 Archive Site:	ftp://roy.marples.name/pub/dhcpcd/
 Home Page:	http://roy.marples.name/projects/dhcpcd/

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.2267 src/doc/CHANGES:1.2268
--- src/doc/CHANGES:1.2267	Fri Mar 31 21:07:02 2017
+++ src/doc/CHANGES	Sun Apr  2 19:37:03 2017
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2267 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2268 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -492,4 +492,4 @@ Changes from NetBSD 7.0 to NetBSD 8.0:
 		adding support for all required operators, as well
 		as being smaller and faster.  [kre 20170320]
 	zoneinfo: Import tzdata2017b.  [kre 20170321]
-	dhcpcd(8): Import dhcpcd-7.0.0-beta1 [roy 20170331]
+	dhcpcd(8): Import dhcpcd-7.0.0-beta2 [roy 20170402]



CVS import: src/external/bsd/dhcpcd/dist

2017-04-02 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sun Apr  2 18:54:21 UTC 2017

Update of /cvsroot/src/external/bsd/dhcpcd/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv5255

Log Message:
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.

Status:

Vendor Tag: roy
Release Tags:   dhcpcd-7-0-0-beta2

U src/external/bsd/dhcpcd/dist/.arcconfig
U src/external/bsd/dhcpcd/dist/.gitignore
U src/external/bsd/dhcpcd/dist/BUILDING.md
U src/external/bsd/dhcpcd/dist/LICENSE
U src/external/bsd/dhcpcd/dist/Makefile
U src/external/bsd/dhcpcd/dist/Makefile.inc
U src/external/bsd/dhcpcd/dist/README.md
U src/external/bsd/dhcpcd/dist/config-null.mk
U src/external/bsd/dhcpcd/dist/configure
U src/external/bsd/dhcpcd/dist/iconfig.mk
U src/external/bsd/dhcpcd/dist/compat/_strtoi.h
U src/external/bsd/dhcpcd/dist/compat/arc4random.c
U src/external/bsd/dhcpcd/dist/compat/arc4random.h
U src/external/bsd/dhcpcd/dist/compat/bitops.h
U src/external/bsd/dhcpcd/dist/compat/queue.h
U src/external/bsd/dhcpcd/dist/compat/arc4random_uniform.c
U src/external/bsd/dhcpcd/dist/compat/arc4random_uniform.h
U src/external/bsd/dhcpcd/dist/compat/reallocarray.c
U src/external/bsd/dhcpcd/dist/compat/dprintf.c
U src/external/bsd/dhcpcd/dist/compat/dprintf.h
U src/external/bsd/dhcpcd/dist/compat/endian.h
U src/external/bsd/dhcpcd/dist/compat/pidfile.c
U src/external/bsd/dhcpcd/dist/compat/pidfile.h
U src/external/bsd/dhcpcd/dist/compat/reallocarray.h
U src/external/bsd/dhcpcd/dist/compat/strtoi.c
U src/external/bsd/dhcpcd/dist/compat/strtoi.h
U src/external/bsd/dhcpcd/dist/compat/strtou.c
U src/external/bsd/dhcpcd/dist/compat/crypt/md5.c
U src/external/bsd/dhcpcd/dist/compat/crypt/md5.h
U src/external/bsd/dhcpcd/dist/compat/crypt/sha256.c
U src/external/bsd/dhcpcd/dist/compat/crypt/sha256.h
U src/external/bsd/dhcpcd/dist/src/GNUmakefile
U src/external/bsd/dhcpcd/dist/src/Makefile
U src/external/bsd/dhcpcd/dist/src/arp.c
U src/external/bsd/dhcpcd/dist/src/arp.h
U src/external/bsd/dhcpcd/dist/src/auth.c
U src/external/bsd/dhcpcd/dist/src/auth.h
U src/external/bsd/dhcpcd/dist/src/bpf.c
U src/external/bsd/dhcpcd/dist/src/bpf.h
U src/external/bsd/dhcpcd/dist/src/common.c
U src/external/bsd/dhcpcd/dist/src/common.h
U src/external/bsd/dhcpcd/dist/src/control.c
U src/external/bsd/dhcpcd/dist/src/control.h
U src/external/bsd/dhcpcd/dist/src/dhcp-common.c
U src/external/bsd/dhcpcd/dist/src/defs.h
U src/external/bsd/dhcpcd/dist/src/dev.c
U src/external/bsd/dhcpcd/dist/src/dev.h
U src/external/bsd/dhcpcd/dist/src/dhcpcd-definitions.conf
U src/external/bsd/dhcpcd/dist/src/dhcp-common.h
U src/external/bsd/dhcpcd/dist/src/dhcp.c
U src/external/bsd/dhcpcd/dist/src/dhcp.h
U src/external/bsd/dhcpcd/dist/src/dhcp6.c
U src/external/bsd/dhcpcd/dist/src/dhcp6.h
U src/external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in
U src/external/bsd/dhcpcd/dist/src/dhcpcd.8.in
U src/external/bsd/dhcpcd/dist/src/dhcpcd-definitions-small.conf
U src/external/bsd/dhcpcd/dist/src/dhcpcd-embedded.c.in
U src/external/bsd/dhcpcd/dist/src/dhcpcd-embedded.h.in
U src/external/bsd/dhcpcd/dist/src/dhcpcd.c
U src/external/bsd/dhcpcd/dist/src/dhcpcd.conf
U src/external/bsd/dhcpcd/dist/src/genembedc
U src/external/bsd/dhcpcd/dist/src/dhcpcd.h
U src/external/bsd/dhcpcd/dist/src/duid.c
U src/external/bsd/dhcpcd/dist/src/duid.h
U src/external/bsd/dhcpcd/dist/src/eloop.c
U src/external/bsd/dhcpcd/dist/src/eloop.h
U src/external/bsd/dhcpcd/dist/src/if-linux-wext.c
U src/external/bsd/dhcpcd/dist/src/genembedh
U src/external/bsd/dhcpcd/dist/src/if-bsd.c
U src/external/bsd/dhcpcd/dist/src/if-linux.c
U src/external/bsd/dhcpcd/dist/src/if-options.c
U src/external/bsd/dhcpcd/dist/src/if-options.h
U src/external/bsd/dhcpcd/dist/src/if-sun.c
U src/external/bsd/dhcpcd/dist/src/if.c
U src/external/bsd/dhcpcd/dist/src/if.h
U src/external/bsd/dhcpcd/dist/src/ipv4.c
U src/external/bsd/dhcpcd/dist/src/ipv4.h
U src/external/bsd/dhcpcd/dist/src/ipv4ll.c
U src/external/bsd/dhcpcd/dist/src/ipv4ll.h
U src/external/bsd/dhcpcd/dist/src/ipv6.c
U src/external/bsd/dhcpcd/dist/src/ipv6.h
U src/external/bsd/dhcpcd/dist/src/ipv6nd.c
U src/external/bsd/dhcpcd/dist/src/ipv6nd.h
U src/external/bsd/dhcpcd/dist/src/route.c
U src/external/bsd/dhcpcd/dist/src/route.h
U src/external/bsd/dhcpcd/dist/src/sa.c
U src/external/bsd/dhcpcd/dist/src/sa.h
U src/external/bsd/dhcpcd/dist/src/script.c
U src/external/bsd/dhcpcd/dist/src/script.h
U src/external/bsd/dhcpcd/dist/src/crypt/hmac_md5.c
U src/external/bsd/dhcpcd/dist/src/crypt/crypt.h
U src/external/bsd/dhcpcd/dist/src/dev/Makefile
U src/external/bsd/dhcpcd/dist/src/dev/udev.c
U src/external/bsd/dhcpcd/dist/hooks/15-timezone
U src/external/bsd/dhcpcd/dist/hooks/01-test
U 

CVS commit: src/lib/libc/sys

2017-04-02 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Sun Apr  2 14:27:11 UTC 2017

Modified Files:
src/lib/libc/sys: kqueue.2

Log Message:
Fix sentence.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/lib/libc/sys/kqueue.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/sys/kqueue.2
diff -u src/lib/libc/sys/kqueue.2:1.37 src/lib/libc/sys/kqueue.2:1.38
--- src/lib/libc/sys/kqueue.2:1.37	Sat Apr  1 14:20:45 2017
+++ src/lib/libc/sys/kqueue.2	Sun Apr  2 14:27:11 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: kqueue.2,v 1.37 2017/04/01 14:20:45 abhinav Exp $
+.\"	$NetBSD: kqueue.2,v 1.38 2017/04/02 14:27:11 abhinav Exp $
 .\"
 .\" Copyright (c) 2000 Jonathan Lemon
 .\" All rights reserved.
@@ -85,7 +85,7 @@ creates a new kernel event queue and ret
 .Pp
 The
 .Fn kqueue1
-also allows to set the following
+function also allows to set the following
 .Fa flags
 on the returned file descriptor:
 .Bl -column O_NONBLOCK -offset indent



CVS commit: src/doc

2017-04-02 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Sun Apr  2 13:56:35 UTC 2017

Modified Files:
src/doc: 3RDPARTY

Log Message:
Sqlite 3.18.0 is out.


To generate a diff of this commit:
cvs rdiff -u -r1.1426 -r1.1427 src/doc/3RDPARTY

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1426 src/doc/3RDPARTY:1.1427
--- src/doc/3RDPARTY:1.1426	Fri Mar 31 21:07:02 2017
+++ src/doc/3RDPARTY	Sun Apr  2 13:56:35 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1426 2017/03/31 21:07:02 roy Exp $
+#	$NetBSD: 3RDPARTY,v 1.1427 2017/04/02 13:56:35 abhinav Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -1285,7 +1285,7 @@ original.
 
 Package:	sqlite
 Version:	3.17.0
-Current Vers:	3.17.0
+Current Vers:	3.18.0
 Maintainer:	Richard Hipp 
 Home Page:	http://www.sqlite.org
 Responsible:	joerg



CVS commit: src/share/man/man9

2017-04-02 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Sun Apr  2 13:11:32 UTC 2017

Modified Files:
src/share/man/man9: knote.9

Log Message:
Use Xr instead of Fn to reference splsched(9)


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/share/man/man9/knote.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man9/knote.9
diff -u src/share/man/man9/knote.9:1.15 src/share/man/man9/knote.9:1.16
--- src/share/man/man9/knote.9:1.15	Tue Mar 18 18:20:40 2014
+++ src/share/man/man9/knote.9	Sun Apr  2 13:11:32 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: knote.9,v 1.15 2014/03/18 18:20:40 riastradh Exp $
+.\"	$NetBSD: knote.9,v 1.16 2017/04/02 13:11:32 abhinav Exp $
 .\"
 .\" Copyright (c) 2001, 2002, 2003 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -81,7 +81,7 @@ filter to record the activity.
 .Fn knote
 must not be called from interrupt contexts running at an interrupt
 priority level higher than
-.Fn splsched .
+.Xr splsched 9 .
 .Pp
 .Fn KNOTE
 is a macro that calls



CVS commit: src/sys/arch/hppa/hppa

2017-04-02 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Apr  2 08:31:10 UTC 2017

Modified Files:
src/sys/arch/hppa/hppa: machdep.c

Log Message:
PR/52129: NetBSD/hppa 7.1 fails to boot on 712/60

Add 712/* models to cpu_model_cpuid


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/hppa/hppa/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hppa/hppa/machdep.c
diff -u src/sys/arch/hppa/hppa/machdep.c:1.6 src/sys/arch/hppa/hppa/machdep.c:1.7
--- src/sys/arch/hppa/hppa/machdep.c:1.6	Sun Oct 18 17:13:33 2015
+++ src/sys/arch/hppa/hppa/machdep.c	Sun Apr  2 08:31:10 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.6 2015/10/18 17:13:33 maxv Exp $	*/
+/*	$NetBSD: machdep.c,v 1.7 2017/04/02 08:31:10 skrll Exp $	*/
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.6 2015/10/18 17:13:33 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.7 2017/04/02 08:31:10 skrll Exp $");
 
 #include "opt_cputype.h"
 #include "opt_ddb.h"
@@ -861,6 +861,9 @@ cpu_model_cpuid(int modelno)
 	case HPPA_BOARD_HPE25:
 	case HPPA_BOARD_HPE35:
 	case HPPA_BOARD_HPE45:
+	case HPPA_BOARD_HP712_60:
+	case HPPA_BOARD_HP712_80:
+	case HPPA_BOARD_HP712_100:
 	case HPPA_BOARD_HP715_80:
 	case HPPA_BOARD_HP715_64:
 	case HPPA_BOARD_HP715_100: