CVS commit: src/sys/arch/arm/broadcom

2022-11-19 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Sat Nov 19 09:29:26 UTC 2022

Modified Files:
src/sys/arch/arm/broadcom: bcm2835_intr.c

Log Message:
bcm2835_intr.c: fix !MULTIPROCESSOR

Tested on Raspberry PI 3 model A+.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/arm/broadcom/bcm2835_intr.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/arm/broadcom/bcm2835_intr.c
diff -u src/sys/arch/arm/broadcom/bcm2835_intr.c:1.43 src/sys/arch/arm/broadcom/bcm2835_intr.c:1.44
--- src/sys/arch/arm/broadcom/bcm2835_intr.c:1.43	Sat Jun 25 12:41:55 2022
+++ src/sys/arch/arm/broadcom/bcm2835_intr.c	Sat Nov 19 09:29:26 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: bcm2835_intr.c,v 1.43 2022/06/25 12:41:55 jmcneill Exp $	*/
+/*	$NetBSD: bcm2835_intr.c,v 1.44 2022/11/19 09:29:26 yamt Exp $	*/
 
 /*-
  * Copyright (c) 2012, 2015, 2019 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_intr.c,v 1.43 2022/06/25 12:41:55 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_intr.c,v 1.44 2022/11/19 09:29:26 yamt Exp $");
 
 #define _INTR_PRIVATE
 
@@ -99,7 +99,12 @@ static int  bcm2835_icu_match(device_t, 
 static void bcm2835_icu_attach(device_t, device_t, void *);
 
 static int bcm2835_int_base;
-static int bcm2836mp_int_base[BCM2836_NCPUS];
+#if defined(MULTIPROCESSOR)
+#define _BCM2836_NCPUS BCM2836_NCPUS
+#else
+#define _BCM2836_NCPUS 1
+#endif
+static int bcm2836mp_int_base[_BCM2836_NCPUS];
 
 #define	BCM2835_INT_BASE		bcm2835_int_base
 #define	BCM2836_INT_BASECPUN(n)		bcm2836mp_int_base[(n)]
@@ -180,8 +185,8 @@ static struct pic_ops bcm2836mp_picops =
 #endif
 };
 
-static struct pic_softc bcm2836mp_pic[BCM2836_NCPUS] = {
-	[0 ... BCM2836_NCPUS - 1] = {
+static struct pic_softc bcm2836mp_pic[_BCM2836_NCPUS] = {
+	[0 ... _BCM2836_NCPUS - 1] = {
 		.pic_ops = _picops,
 		.pic_maxsources = BCM2836_NIRQPERCPU,
 		.pic_name = "bcm2836 pic",
@@ -208,7 +213,7 @@ struct bcm2836mp_interrupt {
 	int bi_flags;
 	int (*bi_func)(void *);
 	void *bi_arg;
-	void *bi_ihs[BCM2836_NCPUS];
+	void *bi_ihs[_BCM2836_NCPUS];
 };
 
 static TAILQ_HEAD(, bcm2836mp_interrupt) bcm2836mp_interrupts =
@@ -360,7 +365,6 @@ bcm2835_icu_attach(device_t parent, devi
 
 		ifuncs = _fdt_funcs;
 
-#if defined(MULTIPROCESSOR)
 		/*
 		 * Register all PICs here in order to avoid pic_add() from
 		 * cpu_hatch().  This is the only approved method.
@@ -371,8 +375,8 @@ bcm2835_icu_attach(device_t parent, devi
 			const cpuid_t cpuid = ci->ci_core_id;
 			struct pic_softc * const pic = _pic[cpuid];
 
-			KASSERT(cpuid < BCM2836_NCPUS);
-
+			KASSERT(cpuid < _BCM2836_NCPUS);
+#if defined(MULTIPROCESSOR)
 			pic->pic_cpus = ci->ci_kcpuset;
 			/*
 			 * Append "#n" to avoid duplication of .pic_name[]
@@ -381,12 +385,13 @@ bcm2835_icu_attach(device_t parent, devi
 			char suffix[sizeof("#0")];
 			snprintf(suffix, sizeof(suffix), "#%lu", cpuid);
 			strlcat(pic->pic_name, suffix, sizeof(pic->pic_name));
-
+#endif
 			bcm2836mp_int_base[cpuid] =
 			pic_add(pic, PIC_IRQBASE_ALLOC);
+#if defined(MULTIPROCESSOR)
 			bcm2836mp_intr_init(ci);
-		}
 #endif
+		}
 	} else {
 		if (bcml1icu_sc == NULL)
 			arm_fdt_irq_set_handler(bcm2835_irq_handler);
@@ -414,7 +419,7 @@ bcm2835_irq_handler(void *frame)
 	const uint32_t oldipl_mask = __BIT(oldipl);
 	int ipl_mask = 0;
 
-	KASSERT(cpuid < BCM2836_NCPUS);
+	KASSERT(cpuid < _BCM2836_NCPUS);
 
 	ci->ci_data.cpu_nintr++;
 
@@ -692,7 +697,7 @@ bcm2836mp_pic_unblock_irqs(struct pic_so
 	const bus_space_handle_t ioh = bcml1icu_sc->sc_ioh;
 	const cpuid_t cpuid = pic - _pic[0];
 
-	KASSERT(cpuid < BCM2836_NCPUS);
+	KASSERT(cpuid < _BCM2836_NCPUS);
 	KASSERT(irqbase == 0);
 
 	if (irq_mask & BCM2836MP_TIMER_IRQS) {
@@ -739,7 +744,7 @@ bcm2836mp_pic_block_irqs(struct pic_soft
 	const bus_space_handle_t ioh = bcml1icu_sc->sc_ioh;
 	const cpuid_t cpuid = pic - _pic[0];
 
-	KASSERT(cpuid < BCM2836_NCPUS);
+	KASSERT(cpuid < _BCM2836_NCPUS);
 	KASSERT(irqbase == 0);
 
 	if (irq_mask & BCM2836MP_TIMER_IRQS) {
@@ -777,7 +782,7 @@ bcm2836mp_pic_find_pending_irqs(struct p
 	uint32_t lpending;
 	int ipl = 0;
 
-	KASSERT(cpuid < BCM2836_NCPUS);
+	KASSERT(cpuid < _BCM2836_NCPUS);
 	KASSERT(pic == _pic[cpuid]);
 
 	bcm2835_barrier();
@@ -816,7 +821,7 @@ static void bcm2836mp_cpu_init(struct pi
 {
 	const cpuid_t cpuid = ci->ci_core_id;
 
-	KASSERT(cpuid < BCM2836_NCPUS);
+	KASSERT(cpuid < _BCM2836_NCPUS);
 
 	/* Enable IRQ and not FIQ */
 	bus_space_write_4(bcml1icu_sc->sc_iot, bcml1icu_sc->sc_ioh,
@@ -831,7 +836,7 @@ bcm2836mp_send_ipi(struct pic_softc *pic
 	KASSERT(pic->pic_cpus != NULL);
 
 	const cpuid_t cpuid = pic - _pic[0];
-	KASSERT(cpuid < BCM2836_NCPUS);
+	KASSERT(cpuid < _BCM2836_NCPUS);
 
 	bus_space_write_4(bcml1icu_sc->sc_iot, bcml1icu_sc->sc_ioh,
 	BCM2836_LOCAL_MAILBOX0_SETN(cpuid), __BIT(ipi));
@@ -844,7 +849,7 @@ 

CVS commit: src/sys/arch/arm/broadcom

2022-11-19 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Sat Nov 19 09:29:26 UTC 2022

Modified Files:
src/sys/arch/arm/broadcom: bcm2835_intr.c

Log Message:
bcm2835_intr.c: fix !MULTIPROCESSOR

Tested on Raspberry PI 3 model A+.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/arm/broadcom/bcm2835_intr.c

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



CVS commit: src/distrib/utils/embedded/conf

2022-11-19 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Sat Nov 19 09:19:28 UTC 2022

Modified Files:
src/distrib/utils/embedded/conf: armv7.conf rpi.conf rpi_inst.conf

Log Message:
Update a few www.raspberrypi.com URLs


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/distrib/utils/embedded/conf/armv7.conf
cvs rdiff -u -r1.39 -r1.40 src/distrib/utils/embedded/conf/rpi.conf
cvs rdiff -u -r1.18 -r1.19 src/distrib/utils/embedded/conf/rpi_inst.conf

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

Modified files:

Index: src/distrib/utils/embedded/conf/armv7.conf
diff -u src/distrib/utils/embedded/conf/armv7.conf:1.44 src/distrib/utils/embedded/conf/armv7.conf:1.45
--- src/distrib/utils/embedded/conf/armv7.conf:1.44	Wed May 27 21:53:04 2020
+++ src/distrib/utils/embedded/conf/armv7.conf	Sat Nov 19 09:19:27 2022
@@ -1,4 +1,4 @@
-# $NetBSD: armv7.conf,v 1.44 2020/05/27 21:53:04 jmcneill Exp $
+# $NetBSD: armv7.conf,v 1.45 2022/11/19 09:19:27 yamt Exp $
 # ARMv7 customization script used by mkimage
 #
 board=armv7
@@ -65,9 +65,9 @@ upstream_kernel=1
 os_prefix=dtb/
 cmdline=../cmdline.txt
 kernel=/netbsd-GENERIC.img
-# Boot options, see https://www.raspberrypi.org/documentation/configuration/config-txt/boot.md
+# Boot options, see https://www.raspberrypi.com/documentation/computers/config_txt.html#boot-options
 kernel_address=0x0140
-# UART settings, see https://www.raspberrypi.org/documentation/configuration/uart.md
+# UART settings, see https://www.raspberrypi.com/documentation/computers/configuration.html#configuring-uarts
 enable_uart=1
 force_turbo=0
 EOF

Index: src/distrib/utils/embedded/conf/rpi.conf
diff -u src/distrib/utils/embedded/conf/rpi.conf:1.39 src/distrib/utils/embedded/conf/rpi.conf:1.40
--- src/distrib/utils/embedded/conf/rpi.conf:1.39	Tue Dec  1 04:21:26 2020
+++ src/distrib/utils/embedded/conf/rpi.conf	Sat Nov 19 09:19:27 2022
@@ -1,4 +1,4 @@
-# $NetBSD: rpi.conf,v 1.39 2020/12/01 04:21:26 rin Exp $
+# $NetBSD: rpi.conf,v 1.40 2022/11/19 09:19:27 yamt Exp $
 # Raspberry Pi customization script used by mkimage
 #
 
@@ -59,7 +59,7 @@ EOF
 upstream_kernel=1
 os_prefix=dtb/
 cmdline=../cmdline.txt
-# UART settings, see https://www.raspberrypi.org/documentation/configuration/uart.md
+# UART settings, see https://www.raspberrypi.com/documentation/computers/configuration.html#configuring-uarts
 enable_uart=1
 force_turbo=0
 # Default kernel for BCM2836 and later

Index: src/distrib/utils/embedded/conf/rpi_inst.conf
diff -u src/distrib/utils/embedded/conf/rpi_inst.conf:1.18 src/distrib/utils/embedded/conf/rpi_inst.conf:1.19
--- src/distrib/utils/embedded/conf/rpi_inst.conf:1.18	Tue Jul  6 11:49:36 2021
+++ src/distrib/utils/embedded/conf/rpi_inst.conf	Sat Nov 19 09:19:27 2022
@@ -1,4 +1,4 @@
-# $NetBSD: rpi_inst.conf,v 1.18 2021/07/06 11:49:36 jmcneill Exp $
+# $NetBSD: rpi_inst.conf,v 1.19 2022/11/19 09:19:27 yamt Exp $
 # Raspberry Pi customization script used by mkimage
 #
 
@@ -47,7 +47,7 @@ upstream_kernel=1
 os_prefix=dtb/
 cmdline=../cmdline.txt
 kernel=/kernel.img
-# UART settings, see https://www.raspberrypi.org/documentation/configuration/uart.md
+# UART settings, https://www.raspberrypi.com/documentation/computers/configuration.html#configuring-uarts
 enable_uart=1
 force_turbo=0
 EOF



CVS commit: src/distrib/utils/embedded/conf

2022-11-19 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Sat Nov 19 09:19:28 UTC 2022

Modified Files:
src/distrib/utils/embedded/conf: armv7.conf rpi.conf rpi_inst.conf

Log Message:
Update a few www.raspberrypi.com URLs


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/distrib/utils/embedded/conf/armv7.conf
cvs rdiff -u -r1.39 -r1.40 src/distrib/utils/embedded/conf/rpi.conf
cvs rdiff -u -r1.18 -r1.19 src/distrib/utils/embedded/conf/rpi_inst.conf

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



CVS commit: src/sys/arch/arm/rockchip

2022-11-19 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Sat Nov 19 09:17:57 UTC 2022

Modified Files:
src/sys/arch/arm/rockchip: files.rockchip

Log Message:
arm/rockchip: fix build w/o MULTIPROCESSOR


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/arm/rockchip/files.rockchip

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/arm/rockchip/files.rockchip
diff -u src/sys/arch/arm/rockchip/files.rockchip:1.28 src/sys/arch/arm/rockchip/files.rockchip:1.29
--- src/sys/arch/arm/rockchip/files.rockchip:1.28	Tue Aug 23 05:40:46 2022
+++ src/sys/arch/arm/rockchip/files.rockchip	Sat Nov 19 09:17:57 2022
@@ -1,4 +1,4 @@
-#	$NetBSD: files.rockchip,v 1.28 2022/08/23 05:40:46 ryo Exp $
+#	$NetBSD: files.rockchip,v 1.29 2022/11/19 09:17:57 yamt Exp $
 #
 # Configuration info for Rockchip family SoCs
 #
@@ -6,7 +6,7 @@
 
 file	arch/arm/rockchip/rk_platform.c		soc_rockchip
 
-file	arch/arm/rockchip/rk3066_smp.c		soc_rk3288
+file	arch/arm/rockchip/rk3066_smp.c		soc_rk3288 & multiprocessor
 
 # Clock and reset unit (CRU)
 device	rkcru: rk_cru



CVS commit: src/sys/arch/arm/rockchip

2022-11-19 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Sat Nov 19 09:17:57 UTC 2022

Modified Files:
src/sys/arch/arm/rockchip: files.rockchip

Log Message:
arm/rockchip: fix build w/o MULTIPROCESSOR


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/arm/rockchip/files.rockchip

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



CVS commit: src/sys/arch/arm/sunxi

2022-11-19 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Sat Nov 19 09:05:42 UTC 2022

Modified Files:
src/sys/arch/arm/sunxi: sunxi_can.c

Log Message:
sunxi_can.c: fix build with MBUFTRACE


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/arm/sunxi/sunxi_can.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/arm/sunxi/sunxi_can.c
diff -u src/sys/arch/arm/sunxi/sunxi_can.c:1.12 src/sys/arch/arm/sunxi/sunxi_can.c:1.13
--- src/sys/arch/arm/sunxi/sunxi_can.c:1.12	Tue Sep 27 06:14:13 2022
+++ src/sys/arch/arm/sunxi/sunxi_can.c	Sat Nov 19 09:05:42 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: sunxi_can.c,v 1.12 2022/09/27 06:14:13 skrll Exp $	*/
+/*	$NetBSD: sunxi_can.c,v 1.13 2022/11/19 09:05:42 yamt Exp $	*/
 
 /*-
  * Copyright (c) 2017,2018 The NetBSD Foundation, Inc.
@@ -36,13 +36,14 @@
 
 #include 
 
-__KERNEL_RCSID(1, "$NetBSD: sunxi_can.c,v 1.12 2022/09/27 06:14:13 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: sunxi_can.c,v 1.13 2022/11/19 09:05:42 yamt Exp $");
 
 #include 
 #include 
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 



CVS commit: src/sys/arch/arm/sunxi

2022-11-19 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Sat Nov 19 09:05:42 UTC 2022

Modified Files:
src/sys/arch/arm/sunxi: sunxi_can.c

Log Message:
sunxi_can.c: fix build with MBUFTRACE


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/arm/sunxi/sunxi_can.c

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



CVS commit: src/usr.bin/netstat

2022-11-19 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Sat Nov 19 08:56:20 UTC 2022

Modified Files:
src/usr.bin/netstat: bpf.c

Log Message:
netstat/bpf.c: Don't print garbage for stale pid


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/netstat/bpf.c

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



CVS commit: src/usr.bin/netstat

2022-11-19 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Sat Nov 19 08:56:20 UTC 2022

Modified Files:
src/usr.bin/netstat: bpf.c

Log Message:
netstat/bpf.c: Don't print garbage for stale pid


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/netstat/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/usr.bin/netstat/bpf.c
diff -u src/usr.bin/netstat/bpf.c:1.16 src/usr.bin/netstat/bpf.c:1.17
--- src/usr.bin/netstat/bpf.c:1.16	Thu Sep  1 10:10:20 2022
+++ src/usr.bin/netstat/bpf.c	Sat Nov 19 08:56:20 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: bpf.c,v 1.16 2022/09/01 10:10:20 msaitoh Exp $	*/
+/*	$NetBSD: bpf.c,v 1.17 2022/11/19 08:56:20 yamt Exp $	*/
 
 /*
  * Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -162,8 +162,13 @@ bpf_dump(const char *bpfif)
 			name[namelen++] = szproc;
 			name[namelen++] = 1;
 
+			/*
+			 * Note: The sysctl succeeds (returns 0) even if it failed
+			 * to find the process. The szproc check below is to detect
+			 * that case.
+			 */
 			if (prog_sysctl([0], namelen, , ,
-			NULL, 0) == -1)
+			NULL, 0) == -1 || szproc != sizeof(p))
 printf("-\n");
 			else
 printf("%s\n", p.p_comm);



CVS commit: src/sys/net

2022-11-19 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Sat Nov 19 08:53:06 UTC 2022

Modified Files:
src/sys/net: bpf.c

Log Message:
bpf: refresh bd_pid in a few more places as well

This made "netstat -B" show hostapd and wpa_supplicant for me.

kingcrab# netstat -B
Active BPF peers
PID Int Recv Drop Capt Flags  Bufsize  Comm
433 urtwn0  102  02I-RSH  524288   hostapd
211 urtwn0  102  04I-RS-  32768dhcpd
670 bwfm0   295  02I-RSH  524288   wpa_supplicant
kingcrab#


To generate a diff of this commit:
cvs rdiff -u -r1.247 -r1.248 src/sys/net/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/sys/net/bpf.c
diff -u src/sys/net/bpf.c:1.247 src/sys/net/bpf.c:1.248
--- src/sys/net/bpf.c:1.247	Sat Sep  3 10:03:20 2022
+++ src/sys/net/bpf.c	Sat Nov 19 08:53:06 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: bpf.c,v 1.247 2022/09/03 10:03:20 riastradh Exp $	*/
+/*	$NetBSD: bpf.c,v 1.248 2022/11/19 08:53:06 yamt Exp $	*/
 
 /*
  * Copyright (c) 1990, 1991, 1993
@@ -39,7 +39,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: bpf.c,v 1.247 2022/09/03 10:03:20 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bpf.c,v 1.248 2022/11/19 08:53:06 yamt Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_bpf.h"
@@ -682,6 +682,11 @@ bpf_read(struct file *fp, off_t *offp, s
 	int timed_out;
 	int error;
 
+	/*
+	 * Refresh the PID associated with this bpf file.
+	 */
+	d->bd_pid = curproc->p_pid;
+
 	getnanotime(>bd_atime);
 	/*
 	 * Restrict application to use a buffer the same size as
@@ -817,6 +822,11 @@ bpf_write(struct file *fp, off_t *offp, 
 	struct psref psref;
 	int bound;
 
+	/*
+	 * Refresh the PID associated with this bpf file.
+	 */
+	d->bd_pid = curproc->p_pid;
+
 	m = NULL;	/* XXX gcc */
 
 	bound = curlwp_bind();
@@ -1569,6 +1579,11 @@ filt_bpfread(struct knote *kn, long hint
 	struct bpf_d *d = kn->kn_hook;
 	int rv;
 
+	/*
+	 * Refresh the PID associated with this bpf file.
+	 */
+	d->bd_pid = curproc->p_pid;
+
 	mutex_enter(d->bd_buf_mtx);
 	kn->kn_data = d->bd_hlen;
 	if (d->bd_immediate)



CVS commit: src/sys/net

2022-11-19 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Sat Nov 19 08:53:06 UTC 2022

Modified Files:
src/sys/net: bpf.c

Log Message:
bpf: refresh bd_pid in a few more places as well

This made "netstat -B" show hostapd and wpa_supplicant for me.

kingcrab# netstat -B
Active BPF peers
PID Int Recv Drop Capt Flags  Bufsize  Comm
433 urtwn0  102  02I-RSH  524288   hostapd
211 urtwn0  102  04I-RS-  32768dhcpd
670 bwfm0   295  02I-RSH  524288   wpa_supplicant
kingcrab#


To generate a diff of this commit:
cvs rdiff -u -r1.247 -r1.248 src/sys/net/bpf.c

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



CVS commit: src/sys

2022-11-19 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Sat Nov 19 08:00:51 UTC 2022

Modified Files:
src/sys/net: if_llatbl.c if_llatbl.h nd.c
src/sys/netinet: in.c in_var.h

Log Message:
Make arp have its own mowner

This helped me to debug mbuf leaks in arp.
(if_arp.c rev. 1.298)


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/net/if_llatbl.c
cvs rdiff -u -r1.18 -r1.19 src/sys/net/if_llatbl.h
cvs rdiff -u -r1.4 -r1.5 src/sys/net/nd.c
cvs rdiff -u -r1.245 -r1.246 src/sys/netinet/in.c
cvs rdiff -u -r1.102 -r1.103 src/sys/netinet/in_var.h

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

Modified files:

Index: src/sys/net/if_llatbl.c
diff -u src/sys/net/if_llatbl.c:1.34 src/sys/net/if_llatbl.c:1.35
--- src/sys/net/if_llatbl.c:1.34	Tue May 24 20:50:20 2022
+++ src/sys/net/if_llatbl.c	Sat Nov 19 08:00:51 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_llatbl.c,v 1.34 2022/05/24 20:50:20 andvar Exp $	*/
+/*	$NetBSD: if_llatbl.c,v 1.35 2022/11/19 08:00:51 yamt Exp $	*/
 /*
  * Copyright (c) 2004 Luigi Rizzo, Alessandro Cerri. All rights reserved.
  * Copyright (c) 2004-2008 Qing Li. All rights reserved.
@@ -540,6 +540,9 @@ lltable_allocate_htbl(uint32_t hsize)
 	llt->llt_foreach_entry = htable_foreach_lle;
 
 	llt->llt_free_tbl = htable_free_tbl;
+#ifdef MBUFTRACE
+	llt->llt_mowner = NULL;
+#endif
 
 	return (llt);
 }

Index: src/sys/net/if_llatbl.h
diff -u src/sys/net/if_llatbl.h:1.18 src/sys/net/if_llatbl.h:1.19
--- src/sys/net/if_llatbl.h:1.18	Mon Sep 14 15:09:57 2020
+++ src/sys/net/if_llatbl.h	Sat Nov 19 08:00:51 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_llatbl.h,v 1.18 2020/09/14 15:09:57 roy Exp $	*/
+/*	$NetBSD: if_llatbl.h,v 1.19 2022/11/19 08:00:51 yamt Exp $	*/
 /*
  * Copyright (c) 2004 Luigi Rizzo, Alessandro Cerri. All rights reserved.
  * Copyright (c) 2004-2008 Qing Li. All rights reserved.
@@ -34,6 +34,7 @@
 
 #if defined(_KERNEL_OPT)
 #include "opt_gateway.h"
+#include "opt_mbuftrace.h"
 #endif
 
 #include 
@@ -232,6 +233,9 @@ struct lltable {
 	llt_unlink_entry_t	*llt_unlink_entry;
 	llt_fill_sa_entry_t	*llt_fill_sa_entry;
 	llt_free_tbl_t		*llt_free_tbl;
+#ifdef MBUFTRACE
+	struct mowner		*llt_mowner;
+#endif
 };
 
 MALLOC_DECLARE(M_LLTABLE);

Index: src/sys/net/nd.c
diff -u src/sys/net/nd.c:1.4 src/sys/net/nd.c:1.5
--- src/sys/net/nd.c:1.4	Tue Sep 15 23:40:03 2020
+++ src/sys/net/nd.c	Sat Nov 19 08:00:51 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: nd.c,v 1.4 2020/09/15 23:40:03 roy Exp $	*/
+/*	$NetBSD: nd.c,v 1.5 2022/11/19 08:00:51 yamt Exp $	*/
 
 /*
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: nd.c,v 1.4 2020/09/15 23:40:03 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nd.c,v 1.5 2022/11/19 08:00:51 yamt Exp $");
 
 #include 
 #include 
@@ -359,6 +359,9 @@ nd_resolve(struct llentry *ln, const str
 	ln->ln_state == ND_LLINFO_WAITDELETE)
 		ln->ln_state = ND_LLINFO_INCOMPLETE;
 
+#ifdef MBUFTRACE
+	m_claimm(m, ln->lle_tbl->llt_mowner);
+#endif
 	if (ln->ln_hold != NULL) {
 		struct mbuf *m_hold;
 		int i;

Index: src/sys/netinet/in.c
diff -u src/sys/netinet/in.c:1.245 src/sys/netinet/in.c:1.246
--- src/sys/netinet/in.c:1.245	Thu Nov 17 05:02:11 2022
+++ src/sys/netinet/in.c	Sat Nov 19 08:00:51 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: in.c,v 1.245 2022/11/17 05:02:11 knakahara Exp $	*/
+/*	$NetBSD: in.c,v 1.246 2022/11/19 08:00:51 yamt Exp $	*/
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: in.c,v 1.245 2022/11/17 05:02:11 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in.c,v 1.246 2022/11/19 08:00:51 yamt Exp $");
 
 #include "arp.h"
 
@@ -2415,7 +2415,7 @@ in_sysctl_init(struct sysctllog **clog)
 #if NARP > 0
 
 static struct lltable *
-in_lltattach(struct ifnet *ifp)
+in_lltattach(struct ifnet *ifp, struct in_ifinfo *ii)
 {
 	struct lltable *llt;
 
@@ -2431,6 +2431,12 @@ in_lltattach(struct ifnet *ifp)
 	llt->llt_fill_sa_entry = in_lltable_fill_sa_entry;
 	llt->llt_free_entry = in_lltable_free_entry;
 	llt->llt_match_prefix = in_lltable_match_prefix;
+#ifdef MBUFTRACE
+	struct mowner *mowner = >ii_mowner;
+	mowner_init_owner(mowner, ifp->if_xname, "arp");
+	MOWNER_ATTACH(mowner);
+	llt->llt_mowner = mowner;
+#endif
 	lltable_link(llt);
 
 	return (llt);
@@ -2446,7 +2452,7 @@ in_domifattach(struct ifnet *ifp)
 	ii = kmem_zalloc(sizeof(struct in_ifinfo), KM_SLEEP);
 
 #if NARP > 0
-	ii->ii_llt = in_lltattach(ifp);
+	ii->ii_llt = in_lltattach(ifp, ii);
 #endif
 
 #ifdef IPSELSRC
@@ -2467,6 +2473,9 @@ in_domifdetach(struct ifnet *ifp, void *
 #endif
 #if NARP > 0
 	lltable_free(ii->ii_llt);
+#ifdef MBUFTRACE
+	MOWNER_DETACH(>ii_mowner);
+#endif
 #endif
 	kmem_free(ii, sizeof(struct in_ifinfo));
 }

Index: src/sys/netinet/in_var.h
diff -u src/sys/netinet/in_var.h:1.102 src/sys/netinet/in_var.h:1.103
--- src/sys/netinet/in_var.h:1.102	Mon Mar  8 22:01:18 2021
+++ 

CVS commit: src/sys

2022-11-19 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Sat Nov 19 08:00:51 UTC 2022

Modified Files:
src/sys/net: if_llatbl.c if_llatbl.h nd.c
src/sys/netinet: in.c in_var.h

Log Message:
Make arp have its own mowner

This helped me to debug mbuf leaks in arp.
(if_arp.c rev. 1.298)


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/net/if_llatbl.c
cvs rdiff -u -r1.18 -r1.19 src/sys/net/if_llatbl.h
cvs rdiff -u -r1.4 -r1.5 src/sys/net/nd.c
cvs rdiff -u -r1.245 -r1.246 src/sys/netinet/in.c
cvs rdiff -u -r1.102 -r1.103 src/sys/netinet/in_var.h

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



CVS commit: src/sys/net80211

2022-11-18 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Sat Nov 19 07:57:51 UTC 2022

Modified Files:
src/sys/net80211: ieee80211_input.c

Log Message:
ieee80211_input.c: Fix a few debug messages


To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 src/sys/net80211/ieee80211_input.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/net80211/ieee80211_input.c
diff -u src/sys/net80211/ieee80211_input.c:1.116 src/sys/net80211/ieee80211_input.c:1.117
--- src/sys/net80211/ieee80211_input.c:1.116	Wed Jan 29 05:21:14 2020
+++ src/sys/net80211/ieee80211_input.c	Sat Nov 19 07:57:51 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: ieee80211_input.c,v 1.116 2020/01/29 05:21:14 thorpej Exp $	*/
+/*	$NetBSD: ieee80211_input.c,v 1.117 2022/11/19 07:57:51 yamt Exp $	*/
 
 /*
  * Copyright (c) 2001 Atsushi Onoe
@@ -37,7 +37,7 @@
 __FBSDID("$FreeBSD: src/sys/net80211/ieee80211_input.c,v 1.81 2005/08/10 16:22:29 sam Exp $");
 #endif
 #ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ieee80211_input.c,v 1.116 2020/01/29 05:21:14 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee80211_input.c,v 1.117 2022/11/19 07:57:51 yamt Exp $");
 #endif
 
 #ifdef _KERNEL_OPT
@@ -182,7 +182,7 @@ ieee80211_input_data(struct ieee80211com
 	case IEEE80211_M_STA:
 		if (dir != IEEE80211_FC1_DIR_FROMDS) {
 			IEEE80211_DISCARD(ic, IEEE80211_MSG_INPUT,
-			wh, "data", "%s", "unknown dir 0x%x", dir);
+			wh, "data", "unknown dir 0x%x", dir);
 			ic->ic_stats.is_rx_wrongdir++;
 			goto out;
 		}
@@ -206,7 +206,7 @@ ieee80211_input_data(struct ieee80211com
 	case IEEE80211_M_AHDEMO:
 		if (dir != IEEE80211_FC1_DIR_NODS) {
 			IEEE80211_DISCARD(ic, IEEE80211_MSG_INPUT,
-			wh, "data", "%s", "unknown dir 0x%x", dir);
+			wh, "data", "unknown dir 0x%x", dir);
 			ic->ic_stats.is_rx_wrongdir++;
 			goto out;
 		}
@@ -217,7 +217,7 @@ ieee80211_input_data(struct ieee80211com
 #ifndef IEEE80211_NO_HOSTAP
 		if (dir != IEEE80211_FC1_DIR_TODS) {
 			IEEE80211_DISCARD(ic, IEEE80211_MSG_INPUT,
-			wh, "data", "%s", "unknown dir 0x%x", dir);
+			wh, "data", "unknown dir 0x%x", dir);
 			ic->ic_stats.is_rx_wrongdir++;
 			goto out;
 		}
@@ -399,7 +399,7 @@ ieee80211_input_management(struct ieee80
 	IEEE80211_NODE_STAT(ni, rx_mgmt);
 	if (dir != IEEE80211_FC1_DIR_NODS) {
 		IEEE80211_DISCARD(ic, IEEE80211_MSG_INPUT,
-		wh, "data", "%s", "unknown dir 0x%x", dir);
+		wh, "data", "unknown dir 0x%x", dir);
 		ic->ic_stats.is_rx_wrongdir++;
 		goto err;
 	}



CVS commit: src/sys/net80211

2022-11-18 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Sat Nov 19 07:57:51 UTC 2022

Modified Files:
src/sys/net80211: ieee80211_input.c

Log Message:
ieee80211_input.c: Fix a few debug messages


To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 src/sys/net80211/ieee80211_input.c

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



CVS commit: src/sys/conf

2022-11-18 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Sat Nov 19 07:54:25 UTC 2022

Modified Files:
src/sys/conf: assym.mk

Log Message:
assym.mk: Fix assym.d generation

It seems that the genassym/mkdep output has been changed.
This commit adapts the assym.d generation rule to the new output.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/conf/assym.mk

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

Modified files:

Index: src/sys/conf/assym.mk
diff -u src/sys/conf/assym.mk:1.7 src/sys/conf/assym.mk:1.8
--- src/sys/conf/assym.mk:1.7	Thu Jul  9 02:13:58 2020
+++ src/sys/conf/assym.mk	Sat Nov 19 07:54:25 2022
@@ -1,4 +1,4 @@
-# $NetBSD: assym.mk,v 1.7 2020/07/09 02:13:58 christos Exp $
+# $NetBSD: assym.mk,v 1.8 2022/11/19 07:54:25 yamt Exp $
 
 GENASSYM_FLAGS=${CFLAGS:N-Wa,*:N-fstack-usage*} ${CPPFLAGS} ${GENASSYM_CPPFLAGS} 
 
@@ -16,11 +16,26 @@ ${SRCS:M*.[sS]:C|\.[Ss]|.o|}: assym.h
 ${SRCS:M*.[sS]:C|\.[Ss]|.d|}: assym.h
 .endif
 
+# assym.dep in the below target looks like:
+#
+#   assym.o: \
+#/var/folders/74/hw1sphgx0lv63q6pq_n5grw0gn/T//genassym.BCtq6a/assym.c \
+#opt_arm_start.h opt_execfmt.h opt_multiprocessor.h \
+#  :
+#  :
+#
+# The following sed modifies it to:
+#
+#   assym.h: \
+#opt_arm_start.h opt_execfmt.h opt_multiprocessor.h \
+#  :
+#  :
+
 assym.d: assym.h
 	${_MKTARGET_CREATE}
 	cat ${GENASSYM_CONF} ${GENASSYM_EXTRAS} | \
 	${GENASSYM} -- ${MKDEP} -f assym.dep -- ${GENASSYM_FLAGS}
-	${TOOL_SED} -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >${.TARGET}
+	${TOOL_SED} -e '1{N;s/\\\n//;}' -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >${.TARGET}
 	rm -f assym.dep
 
 DEPS+=	assym.d



CVS commit: src/sys/conf

2022-11-18 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Sat Nov 19 07:54:25 UTC 2022

Modified Files:
src/sys/conf: assym.mk

Log Message:
assym.mk: Fix assym.d generation

It seems that the genassym/mkdep output has been changed.
This commit adapts the assym.d generation rule to the new output.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/conf/assym.mk

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



CVS commit: src

2021-02-09 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Tue Feb  9 11:57:20 UTC 2021

Modified Files:
src/distrib/sets/lists/base: md.evbarm
src/external/broadcom/bwfm: Makefile

Log Message:
Make Raspberry PI 3 Model A+ use bwfm config for Model B+

* It works for me.

* It's what linux-firmware does.
  
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=923bfa68a1c97929652f029da699495f4ce43f14


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/distrib/sets/lists/base/md.evbarm
cvs rdiff -u -r1.8 -r1.9 src/external/broadcom/bwfm/Makefile

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



CVS commit: src

2021-02-09 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Tue Feb  9 11:57:20 UTC 2021

Modified Files:
src/distrib/sets/lists/base: md.evbarm
src/external/broadcom/bwfm: Makefile

Log Message:
Make Raspberry PI 3 Model A+ use bwfm config for Model B+

* It works for me.

* It's what linux-firmware does.
  
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=923bfa68a1c97929652f029da699495f4ce43f14


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/distrib/sets/lists/base/md.evbarm
cvs rdiff -u -r1.8 -r1.9 src/external/broadcom/bwfm/Makefile

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/base/md.evbarm
diff -u src/distrib/sets/lists/base/md.evbarm:1.19 src/distrib/sets/lists/base/md.evbarm:1.20
--- src/distrib/sets/lists/base/md.evbarm:1.19	Thu Aug 27 15:31:59 2020
+++ src/distrib/sets/lists/base/md.evbarm	Tue Feb  9 11:57:20 2021
@@ -1,4 +1,4 @@
-# $NetBSD: md.evbarm,v 1.19 2020/08/27 15:31:59 riastradh Exp $
+# $NetBSD: md.evbarm,v 1.20 2021/02/09 11:57:20 yamt Exp $
 ./libdata/firmware/if_bwfm/brcmfmac43143-sdio.bin	base-firmware-root	firmware
 ./libdata/firmware/if_bwfm/brcmfmac43241b0-sdio.bin	base-firmware-root	firmware
 ./libdata/firmware/if_bwfm/brcmfmac43241b4-sdio.bin	base-firmware-root	firmware
@@ -19,6 +19,7 @@
 ./libdata/firmware/if_bwfm/brcmfmac43430-sdio.sinovoip,bpi-m2-zero.txt	base-firmware-root	firmware
 ./libdata/firmware/if_bwfm/brcmfmac43430a0-sdio.bin	base-firmware-root	firmware
 ./libdata/firmware/if_bwfm/brcmfmac43455-sdio.bin	base-firmware-root	firmware
+./libdata/firmware/if_bwfm/brcmfmac43455-sdio.raspberrypi,3-model-a-plus.txt	base-firmware-root	firmware
 ./libdata/firmware/if_bwfm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt	base-firmware-root	firmware
 ./libdata/firmware/if_bwfm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt	base-firmware-root	firmware
 ./libdata/firmware/if_bwfm/brcmfmac43455-sdio.xunlong,orangepi-lite2.txt	base-firmware-root	firmware

Index: src/external/broadcom/bwfm/Makefile
diff -u src/external/broadcom/bwfm/Makefile:1.8 src/external/broadcom/bwfm/Makefile:1.9
--- src/external/broadcom/bwfm/Makefile:1.8	Fri Mar 27 04:31:18 2020
+++ src/external/broadcom/bwfm/Makefile	Tue Feb  9 11:57:20 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2020/03/27 04:31:18 thorpej Exp $
+# $NetBSD: Makefile,v 1.9 2021/02/09 11:57:20 yamt Exp $
 
 NOMAN=	# define
 
@@ -76,6 +76,11 @@ LINKS+=	${FILESDIR}/brcmfmac43430-sdio.A
 # used the the same nvram config as the raspberrypi,3-model-b-plus.
 LINKS+=	${FILESDIR}/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt \
 	${FILESDIR}/brcmfmac43455-sdio.xunlong,orangepi-lite2.txt
+
+# The model A+ has successully used the same nvram config as the B+.
+# cf. https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=923bfa68a1c97929652f029da699495f4ce43f14
+LINKS+=	${FILESDIR}/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt \
+${FILESDIR}/brcmfmac43455-sdio.raspberrypi,3-model-a-plus.txt
 .endif
 
 .include 



CVS commit: src/sys/netinet

2021-02-02 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Tue Feb  2 10:48:33 UTC 2021

Modified Files:
src/sys/netinet: if_arp.c

Log Message:
arp: Plug an mbuf leak


To generate a diff of this commit:
cvs rdiff -u -r1.297 -r1.298 src/sys/netinet/if_arp.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/netinet/if_arp.c
diff -u src/sys/netinet/if_arp.c:1.297 src/sys/netinet/if_arp.c:1.298
--- src/sys/netinet/if_arp.c:1.297	Tue Sep 15 10:05:36 2020
+++ src/sys/netinet/if_arp.c	Tue Feb  2 10:48:33 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_arp.c,v 1.297 2020/09/15 10:05:36 roy Exp $	*/
+/*	$NetBSD: if_arp.c,v 1.298 2021/02/02 10:48:33 yamt Exp $	*/
 
 /*
  * Copyright (c) 1998, 2000, 2008 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_arp.c,v 1.297 2020/09/15 10:05:36 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_arp.c,v 1.298 2021/02/02 10:48:33 yamt Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ddb.h"
@@ -1389,7 +1389,7 @@ arp_llinfo_missed(struct ifnet *ifp, con
 			mdaddr = ip->ip_src;
 
 		/* ip_input() will send ICMP_UNREACH_HOST, not us. */
-		m_free(m);
+		m_freem(m);
 	}
 
 	if (mdaddr.s_addr != INADDR_ANY) {



CVS commit: src/sys/netinet

2021-02-02 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Tue Feb  2 10:48:33 UTC 2021

Modified Files:
src/sys/netinet: if_arp.c

Log Message:
arp: Plug an mbuf leak


To generate a diff of this commit:
cvs rdiff -u -r1.297 -r1.298 src/sys/netinet/if_arp.c

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



CVS commit: src/sys/dev/usb

2021-02-02 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Tue Feb  2 10:46:18 UTC 2021

Modified Files:
src/sys/dev/usb: if_urtwn.c

Log Message:
if_urtwn.c: Plug a few leaks

Can be a cause of PR/55968


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/sys/dev/usb/if_urtwn.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/usb/if_urtwn.c
diff -u src/sys/dev/usb/if_urtwn.c:1.92 src/sys/dev/usb/if_urtwn.c:1.93
--- src/sys/dev/usb/if_urtwn.c:1.92	Tue Feb  2 00:27:38 2021
+++ src/sys/dev/usb/if_urtwn.c	Tue Feb  2 10:46:17 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_urtwn.c,v 1.92 2021/02/02 00:27:38 yamt Exp $	*/
+/*	$NetBSD: if_urtwn.c,v 1.93 2021/02/02 10:46:17 yamt Exp $	*/
 /*	$OpenBSD: if_urtwn.c,v 1.42 2015/02/10 23:25:46 mpi Exp $	*/
 
 /*-
@@ -25,7 +25,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.92 2021/02/02 00:27:38 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.93 2021/02/02 10:46:17 yamt Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -2587,6 +2587,17 @@ urtwn_rxeof(struct usbd_xfer *xfer, void
 }
 
 static void
+urtwn_put_tx_data(struct urtwn_softc *sc, struct urtwn_tx_data *data)
+{
+	size_t pidx = data->pidx;
+
+	mutex_enter(>sc_tx_mtx);
+	/* Put this Tx buffer back to our free list. */
+	TAILQ_INSERT_TAIL(>tx_free_list[pidx], data, next);
+	mutex_exit(>sc_tx_mtx);
+}
+
+static void
 urtwn_txeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
 {
 	struct urtwn_tx_data *data = priv;
@@ -2598,10 +2609,7 @@ urtwn_txeof(struct usbd_xfer *xfer, void
 	URTWNHIST_FUNC(); URTWNHIST_CALLED();
 	DPRINTFN(DBG_TX, "status=%jd", status, 0, 0, 0);
 
-	mutex_enter(>sc_tx_mtx);
-	/* Put this Tx buffer back to our free list. */
-	TAILQ_INSERT_TAIL(>tx_free_list[pidx], data, next);
-	mutex_exit(>sc_tx_mtx);
+	urtwn_put_tx_data(sc, data);
 
 	s = splnet();
 	sc->tx_timer = 0;
@@ -2650,8 +2658,10 @@ urtwn_tx(struct urtwn_softc *sc, struct 
 
 	if (wh->i_fc[1] & IEEE80211_FC1_WEP) {
 		k = ieee80211_crypto_encap(ic, ni, m);
-		if (k == NULL)
+		if (k == NULL) {
+			urtwn_put_tx_data(sc, data);
 			return ENOBUFS;
+		}
 
 		/* packet header may have moved, reset our local pointer */
 		wh = mtod(m, struct ieee80211_frame *);
@@ -2908,6 +2918,7 @@ urtwn_start(struct ifnet *ifp)
 		(m = m_pullup(m, sizeof(*eh))) == NULL) {
 			printf("ERROR6\n");
 			if_statinc(ifp, if_oerrors);
+			urtwn_put_tx_data(sc, data);
 			continue;
 		}
 		eh = mtod(m, struct ether_header *);
@@ -2916,6 +2927,7 @@ urtwn_start(struct ifnet *ifp)
 			m_freem(m);
 			printf("ERROR5\n");
 			if_statinc(ifp, if_oerrors);
+			urtwn_put_tx_data(sc, data);
 			continue;
 		}
 
@@ -2925,6 +2937,7 @@ urtwn_start(struct ifnet *ifp)
 			ieee80211_free_node(ni);
 			printf("ERROR4\n");
 			if_statinc(ifp, if_oerrors);
+			urtwn_put_tx_data(sc, data);
 			continue;
 		}
  sendit:



CVS commit: src/sys/dev/usb

2021-02-02 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Tue Feb  2 10:46:18 UTC 2021

Modified Files:
src/sys/dev/usb: if_urtwn.c

Log Message:
if_urtwn.c: Plug a few leaks

Can be a cause of PR/55968


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/sys/dev/usb/if_urtwn.c

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



CVS commit: src/sys/dev/usb

2021-02-01 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Tue Feb  2 00:27:38 UTC 2021

Modified Files:
src/sys/dev/usb: if_urtwn.c

Log Message:
if_urtwn: Add a missing newline to an aprint_error_dev message


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 src/sys/dev/usb/if_urtwn.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/usb/if_urtwn.c
diff -u src/sys/dev/usb/if_urtwn.c:1.91 src/sys/dev/usb/if_urtwn.c:1.92
--- src/sys/dev/usb/if_urtwn.c:1.91	Mon Feb  1 06:59:37 2021
+++ src/sys/dev/usb/if_urtwn.c	Tue Feb  2 00:27:38 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_urtwn.c,v 1.91 2021/02/01 06:59:37 riastradh Exp $	*/
+/*	$NetBSD: if_urtwn.c,v 1.92 2021/02/02 00:27:38 yamt Exp $	*/
 /*	$OpenBSD: if_urtwn.c,v 1.42 2015/02/10 23:25:46 mpi Exp $	*/
 
 /*-
@@ -25,7 +25,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.91 2021/02/01 06:59:37 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.92 2021/02/02 00:27:38 yamt Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -883,7 +883,7 @@ urtwn_task(void *arg)
 		}
 
 		if (urtwn_tx_beacon(sc, m, ic->ic_bss) != 0) {
-			aprint_error_dev(sc->sc_dev, "could not send beacon");
+			aprint_error_dev(sc->sc_dev, "could not send beacon\n");
 		}
 
 		/* beacon is no longer needed */



CVS commit: src/sys/dev/usb

2021-02-01 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Tue Feb  2 00:27:38 UTC 2021

Modified Files:
src/sys/dev/usb: if_urtwn.c

Log Message:
if_urtwn: Add a missing newline to an aprint_error_dev message


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 src/sys/dev/usb/if_urtwn.c

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



CVS commit: src/libexec/ld.elf_so

2015-04-06 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Mon Apr  6 09:34:15 UTC 2015

Modified Files:
src/libexec/ld.elf_so: rtld.c

Log Message:
Fix membars around rtld internal mutex.

This fixes the most of lockups i observed with Open vSwitch
on NetBSD/amd64.  (most of because it still occasionally
locks up because of other problems.  see PR/49816)


To generate a diff of this commit:
cvs rdiff -u -r1.176 -r1.177 src/libexec/ld.elf_so/rtld.c

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

Modified files:

Index: src/libexec/ld.elf_so/rtld.c
diff -u src/libexec/ld.elf_so/rtld.c:1.176 src/libexec/ld.elf_so/rtld.c:1.177
--- src/libexec/ld.elf_so/rtld.c:1.176	Sat Apr  4 18:51:57 2015
+++ src/libexec/ld.elf_so/rtld.c	Mon Apr  6 09:34:15 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: rtld.c,v 1.176 2015/04/04 18:51:57 joerg Exp $	 */
+/*	$NetBSD: rtld.c,v 1.177 2015/04/06 09:34:15 yamt Exp $	 */
 
 /*
  * Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
 
 #include sys/cdefs.h
 #ifndef lint
-__RCSID($NetBSD: rtld.c,v 1.176 2015/04/04 18:51:57 joerg Exp $);
+__RCSID($NetBSD: rtld.c,v 1.177 2015/04/06 09:34:15 yamt Exp $);
 #endif /* not lint */
 
 #include sys/param.h
@@ -1544,6 +1544,7 @@ _rtld_shared_enter(void)
 			/* Yes, so increment use counter */
 			if (atomic_cas_uint(_rtld_mutex, cur, cur + 1) != cur)
 continue;
+			membar_enter();
 			return;
 		}
 		/*
@@ -1561,6 +1562,7 @@ _rtld_shared_enter(void)
 		/*
 		 * Check for race against _rtld_exclusive_exit before sleeping.
 		 */
+		membar_sync();
 		if ((_rtld_mutex  RTLD_EXCLUSIVE_MASK) ||
 		_rtld_waiter_exclusive)
 			_lwp_park(CLOCK_REALTIME, 0, NULL, 0,
@@ -1588,12 +1590,12 @@ _rtld_shared_exit(void)
 	 * Wakeup LWPs waiting for an exclusive lock if this is the last
 	 * LWP on the shared lock.
 	 */
+	membar_exit();
 	if (atomic_dec_uint_nv(_rtld_mutex))
 		return;
+	membar_sync();
 	if ((waiter = _rtld_waiter_exclusive) != 0)
 		_lwp_unpark(waiter, __UNVOLATILE(_rtld_mutex));
-
-	membar_exit();
 }
 
 void
@@ -1608,12 +1610,13 @@ _rtld_exclusive_enter(sigset_t *mask)
 	sigdelset(blockmask, SIGTRAP);	/* Allow the debugger */
 	sigprocmask(SIG_BLOCK, blockmask, mask);
 
-	membar_enter();
-
 	for (;;) {
-		if (atomic_cas_uint(_rtld_mutex, 0, locked_value) == 0)
+		if (atomic_cas_uint(_rtld_mutex, 0, locked_value) == 0) {
+			membar_enter();
 			break;
+		}
 		waiter = atomic_swap_uint(_rtld_waiter_exclusive, self);
+		membar_sync();
 		cur = _rtld_mutex;
 		if (cur == locked_value) {
 			_rtld_error(dead lock detected);
@@ -1633,13 +1636,14 @@ _rtld_exclusive_exit(sigset_t *mask)
 {
 	lwpid_t waiter;
 
+	membar_exit();
 	_rtld_mutex = 0;
+	membar_sync();
 	if ((waiter = _rtld_waiter_exclusive) != 0)
 		_lwp_unpark(waiter, __UNVOLATILE(_rtld_mutex));
 
 	if ((waiter = _rtld_waiter_shared) != 0)
 		_lwp_unpark(waiter, __UNVOLATILE(_rtld_mutex));
 
-	membar_exit();
 	sigprocmask(SIG_SETMASK, mask, NULL);
 }



CVS commit: src/libexec/ld.elf_so

2015-04-06 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Mon Apr  6 09:34:15 UTC 2015

Modified Files:
src/libexec/ld.elf_so: rtld.c

Log Message:
Fix membars around rtld internal mutex.

This fixes the most of lockups i observed with Open vSwitch
on NetBSD/amd64.  (most of because it still occasionally
locks up because of other problems.  see PR/49816)


To generate a diff of this commit:
cvs rdiff -u -r1.176 -r1.177 src/libexec/ld.elf_so/rtld.c

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



Re: CVS commit: src/sys/ufs/ufs

2014-05-22 Thread YAMAMOTO Takashi
 Indeed rebooting with an updated kernel will give active NFS clients
 problems, but I am not sure we should realy care nor how we could
 possibly avoid this one time issue. We have changed encoding of
 filehandles before (at least once).

it's a bad thing and worth mentioning in release notes.

how about adding a version field so that it won't happen again?

YAMAMOTO Takashi


CVS commit: [yamt-pagecache] src/compat

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 11:26:35 UTC 2014

Modified Files:
src/compat [yamt-pagecache]: archdirs.mk
src/compat/arm/eabi [yamt-pagecache]: bsd.eabi.mk
src/compat/mips64/o32 [yamt-pagecache]: bsd.o32.mk
Added Files:
src/compat/arm/oabi [yamt-pagecache]: Makefile bsd.oabi.mk
src/compat/powerpc64/powerpc [yamt-pagecache]: Makefile bsd.powerpc.mk

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.1.8.1 -r1.1.8.2 src/compat/archdirs.mk
cvs rdiff -u -r1.1.4.2 -r1.1.4.3 src/compat/arm/eabi/bsd.eabi.mk
cvs rdiff -u -r0 -r1.1.10.2 src/compat/arm/oabi/Makefile
cvs rdiff -u -r0 -r1.2.4.2 src/compat/arm/oabi/bsd.oabi.mk
cvs rdiff -u -r1.9 -r1.9.2.1 src/compat/mips64/o32/bsd.o32.mk
cvs rdiff -u -r0 -r1.1.4.2 src/compat/powerpc64/powerpc/Makefile
cvs rdiff -u -r0 -r1.2.4.2 src/compat/powerpc64/powerpc/bsd.powerpc.mk

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

Modified files:

Index: src/compat/archdirs.mk
diff -u src/compat/archdirs.mk:1.1.8.1 src/compat/archdirs.mk:1.1.8.2
--- src/compat/archdirs.mk:1.1.8.1	Tue Oct 30 18:46:16 2012
+++ src/compat/archdirs.mk	Thu May 22 11:26:34 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: archdirs.mk,v 1.1.8.1 2012/10/30 18:46:16 yamt Exp $
+#	$NetBSD: archdirs.mk,v 1.1.8.2 2014/05/22 11:26:34 yamt Exp $
 
 # list of subdirs used per-platform
 
@@ -10,10 +10,22 @@ ARCHDIR_SUBDIR=	sparc64/sparc
 ARCHDIR_SUBDIR=	amd64/i386
 .endif
 
-.if (${MACHINE_ARCH} == armeb || ${MACHINE_ARCH} == arm)
+.if (${MACHINE_ARCH} == arm || ${MACHINE_ARCH} == armeb)
 ARCHDIR_SUBDIR=	arm/eabi
 .endif
 
+.if (${MACHINE_ARCH} == earm || ${MACHINE_ARCH} == earmeb)
+ARCHDIR_SUBDIR=	arm/oabi
+.endif
+
+.if (${MACHINE_ARCH} == earmhf || ${MACHINE_ARCH} == earmhfeb)
+ARCHDIR_SUBDIR=	arm/oabi arm/eabi
+.endif
+
 .if (${MACHINE_ARCH} == mips64eb || ${MACHINE_ARCH} == mips64el)
 ARCHDIR_SUBDIR=	mips64/64 mips64/o32
 .endif
+
+.if ${MACHINE_ARCH} == powerpc64
+ARCHDIR_SUBDIR= powerpc64/powerpc
+.endif

Index: src/compat/arm/eabi/bsd.eabi.mk
diff -u src/compat/arm/eabi/bsd.eabi.mk:1.1.4.2 src/compat/arm/eabi/bsd.eabi.mk:1.1.4.3
--- src/compat/arm/eabi/bsd.eabi.mk:1.1.4.2	Tue Oct 30 18:46:17 2012
+++ src/compat/arm/eabi/bsd.eabi.mk	Thu May 22 11:26:34 2014
@@ -1,11 +1,28 @@
-#	$NetBSD: bsd.eabi.mk,v 1.1.4.2 2012/10/30 18:46:17 yamt Exp $
+#	$NetBSD: bsd.eabi.mk,v 1.1.4.3 2014/05/22 11:26:34 yamt Exp $
 
-MLIBDIR=	eabi
+MLIBDIR=		eabi
+.if ${MACHINE_ARCH:M*eb} != 
+EARM_MACHINE_ARCH=	earmeb
+LD+=			-m armelfb_nbsd_eabi
+.else
+EARM_MACHINE_ARCH=	earm
+LD+=			-m armelf_nbsd_eabi
+.endif
+LIBC_MACHINE_ARCH=	${EARM_MACHINE_ARCH}
+LIBGCC_MACHINE_ARCH=	${EARM_MACHINE_ARCH}
+COMMON_MACHINE_ARCH=	${EARM_MACHINE_ARCH}
+KVM_MACHINE_ARCH=	${EARM_MACHINE_ARCH}
+PTHREAD_MACHINE_ARCH=	${EARM_MACHINE_ARCH}
+BFD_MACHINE_ARCH=	${EARM_MACHINE_ARCH}
+CSU_MACHINE_ARCH=	${EARM_MACHINE_ARCH}
+CRYPTO_MACHINE_CPU=	${EARM_MACHINE_ARCH}
+LDELFSO_MACHINE_CPU=	${EARM_MACHINE_ARCH}
+GOMP_MACHINE_ARCH=	${EARM_MACHINE_ARCH}
 
-COPTS+=		-mabi=aapcs-linux
-CPUFLAGS+=	-mabi=aapcs-linux
-LDADD+=		-mabi=aapcs-linux
-LDFLAGS+=	-mabi=aapcs-linux
-MKDEPFLAGS+=	-mabi=aapcs-linux
+COPTS+=		-mabi=aapcs-linux -mfloat-abi=soft -Wa,-meabi=5
+CPUFLAGS+=	-mabi=aapcs-linux -mfloat-abi=soft -Wa,-meabi=5
+LDADD+=		-mabi=aapcs-linux -mfloat-abi=soft -Wa,-meabi=5
+LDFLAGS+=	-mabi=aapcs-linux -mfloat-abi=soft -Wa,-meabi=5
+MKDEPFLAGS+=	-mabi=aapcs-linux -mfloat-abi=soft -Wa,-meabi=5
 
 .include ${.PARSEDIR}/../../Makefile.compat

Index: src/compat/mips64/o32/bsd.o32.mk
diff -u src/compat/mips64/o32/bsd.o32.mk:1.9 src/compat/mips64/o32/bsd.o32.mk:1.9.2.1
--- src/compat/mips64/o32/bsd.o32.mk:1.9	Fri Sep 23 06:44:37 2011
+++ src/compat/mips64/o32/bsd.o32.mk	Thu May 22 11:26:35 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.o32.mk,v 1.9 2011/09/23 06:44:37 mrg Exp $
+#	$NetBSD: bsd.o32.mk,v 1.9.2.1 2014/05/22 11:26:35 yamt Exp $
 
 .if ${MACHINE_ARCH} == mips64eb
 LD+=		-m elf32btsmip
@@ -7,6 +7,7 @@ LD+=		-m elf32ltsmip
 .endif
 MLIBDIR=	o32
 
+LIBGCC_MACHINE_ARCH=${MACHINE_ARCH:S/64//}
 GOMP_MACHINE_ARCH=${MACHINE_ARCH:S/64//}
 
 COPTS+=		-mabi=32 -march=mips3

Added files:

Index: src/compat/arm/oabi/Makefile
diff -u /dev/null src/compat/arm/oabi/Makefile:1.1.10.2
--- /dev/null	Thu May 22 11:26:35 2014
+++ src/compat/arm/oabi/Makefile	Thu May 22 11:26:35 2014
@@ -0,0 +1,5 @@
+#	$NetBSD: Makefile,v 1.1.10.2 2014/05/22 11:26:35 yamt Exp $
+
+BSD_MK_COMPAT_FILE=${.CURDIR}/bsd.oabi.mk
+
+.include ../../compatsubdir.mk

Index: src/compat/arm/oabi/bsd.oabi.mk
diff -u /dev/null src/compat/arm/oabi/bsd.oabi.mk:1.2.4.2
--- /dev/null	Thu May 22 11:26:35 2014
+++ src/compat/arm/oabi/bsd.oabi.mk	Thu May 22 11:26:35 2014
@@ -0,0 

CVS commit: [yamt-pagecache] src/dist

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 11:27:04 UTC 2014

Modified Files:
src/dist/pf/sbin/pflogd [yamt-pagecache]: pflogd.8
Removed Files:
src/dist/dhcp [yamt-pagecache]: ANONCVS CHANGES COPYRIGHT LICENSE
Makefile Makefile.conf Makefile.dist README RELNOTES configure
site.conf
src/dist/dhcp/client [yamt-pagecache]: Makefile.dist clparse.c
dhclient-script.8 dhclient.8 dhclient.c dhclient.conf
dhclient.conf.5 dhclient.leases.5
src/dist/dhcp/client/scripts [yamt-pagecache]: bsdos freebsd linux
netbsd nextstep openbsd solaris
src/dist/dhcp/common [yamt-pagecache]: Makefile.dist alloc.c bpf.c
comapi.c conflex.c ctrace.c dhcp-eval.5 dhcp-options.5 discover.c
dispatch.c dlpi.c dns.c ethernet.c execute.c fddi.c icmp.c inet.c
lpf.c memory.c nit.c options.c packet.c parse.c print.c raw.c
resolv.c socket.c tables.c tr.c tree.c upf.c
src/dist/dhcp/contrib [yamt-pagecache]: 3.0b1-lease-convert dhcp.spec
sethostname.sh solaris.init
src/dist/dhcp/contrib/ms2isc [yamt-pagecache]: Registry.pm ms2isc.pl
readme.txt
src/dist/dhcp/dhcpctl [yamt-pagecache]: Makefile.dist callback.c
cltest.c dhcpctl.3 dhcpctl.c dhcpctl.h omshell.1 omshell.c remote.c
src/dist/dhcp/doc [yamt-pagecache]: IANA-arp-parameters api+protocol
draft-ietf-dhc-authentication-14.txt draft-ietf-dhc-dhcp-dns-12.txt
draft-ietf-dhc-failover-07.txt rfc1542.txt rfc2131.txt rfc2132.txt
rfc2485.txt rfc2489.txt rfc951.txt
src/dist/dhcp/doc/ja_JP.eucJP [yamt-pagecache]: dhclient-script.8
dhclient.8 dhclient.conf.5 dhclient.leases.5 dhcp-eval.5
dhcp-options.5
src/dist/dhcp/dst [yamt-pagecache]: Makefile.dist base64.c dst_api.c
dst_internal.h dst_support.c hmac_link.c md5.h md5_dgst.c
md5_locl.h prandom.c
src/dist/dhcp/includes [yamt-pagecache]: cdefs.h ctrace.h dhcp.h
dhcpd.h dhctoken.h failover.h inet.h osdep.h site.h statement.h
tree.h version.h
src/dist/dhcp/includes/arpa [yamt-pagecache]: nameser.h
nameser_compat.h
src/dist/dhcp/includes/cf [yamt-pagecache]: aix.h alphaosf.h bsdos.h
cygwin32.h freebsd.h hpux.h irix.h linux.h netbsd.h nextstep.h
openbsd.h qnx.h rhapsody.h sample.h sco.h sunos4.h sunos5-5.h
ultrix.h
src/dist/dhcp/includes/isc-dhcp [yamt-pagecache]: boolean.h dst.h int.h
lang.h list.h result.h types.h
src/dist/dhcp/includes/minires [yamt-pagecache]: minires.h res_update.h
resolv.h
src/dist/dhcp/includes/netinet [yamt-pagecache]: if_ether.h ip.h
ip_icmp.h udp.h
src/dist/dhcp/includes/omapip [yamt-pagecache]: alloc.h buffer.h
convert.h hash.h omapip.h omapip_p.h trace.h trace_mr.h
src/dist/dhcp/minires [yamt-pagecache]: Makefile.dist ns_date.c
ns_name.c ns_parse.c ns_samedomain.c ns_sign.c ns_verify.c
res_comp.c res_findzonecut.c res_init.c res_mkquery.c
res_mkupdate.c res_query.c res_send.c res_sendsigned.c res_update.c
src/dist/dhcp/omapip [yamt-pagecache]: Makefile.dist alloc.c array.c
auth.c buffer.c connection.c convert.c dispatch.c errwarn.c
generic.c handle.c hash.c inet_addr.c iscprint.c listener.c
message.c mrtrace.c omapi.3 protocol.c result.c support.c test.c
toisc.c trace.c
src/dist/dhcp/relay [yamt-pagecache]: Makefile.dist dhcrelay.8
dhcrelay.c
src/dist/dhcp/server [yamt-pagecache]: Makefile.dist bootp.c class.c
confpars.c db.c ddns.c dhcp.c dhcpd.8 dhcpd.c dhcpd.conf
dhcpd.conf.5 dhcpd.leases.5 failover.c mdb.c omapi.c salloc.c
stables.c
src/dist/dhcp/tests/failover [yamt-pagecache]: dhcp-1.cf dhcp-2.cf
new-failover
src/dist/nvi [yamt-pagecache]: Changes LICENSE README README.1st
README.DB3 TODO nvi2netbsd
src/dist/nvi/build.unix [yamt-pagecache]: README README.LynxOS
README.Solaris
src/dist/nvi/catalog [yamt-pagecache]: Makefile README dump.c
dutch.base dutch.owner english.owner french.base german.base
german.owner ru_RU.KOI8-R.base ru_RU.KOI8-R.owner spanish.base
spell.ok swedish.base swedish.owner
src/dist/nvi/cl [yamt-pagecache]: README.signal cl.h cl_bsd.c
cl_funcs.c cl_main.c cl_read.c cl_screen.c cl_term.c extern.h
src/dist/nvi/clib [yamt-pagecache]: bsearch.c env.c gethostname.c
iswblank.c memchr.c memset.c mkstemp.c mmap.c snprintf.c strdup.c
strpbrk.c strsep.c strtol.c strtoul.c vsnprintf.c
src/dist/nvi/common [yamt-pagecache]: api.c args.h common.h conv.c
conv.h cut.c cut.h db.c 

CVS commit: [yamt-pagecache] src/etc

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 11:27:20 UTC 2014

Modified Files:
src/etc [yamt-pagecache]: MAKEDEV.awk MAKEDEV.tmpl Makefile
Makefile.params daily group hosts login.conf man.conf master.passwd
named.conf ntp.conf protocols rc security services
src/etc/defaults [yamt-pagecache]: Makefile security.conf
src/etc/etc.alpha [yamt-pagecache]: MAKEDEV.conf
src/etc/etc.cats [yamt-pagecache]: Makefile.inc
src/etc/etc.evbarm [yamt-pagecache]: MAKEDEV.conf Makefile.inc
src/etc/etc.evbppc [yamt-pagecache]: Makefile.inc
src/etc/etc.hp300 [yamt-pagecache]: MAKEDEV.conf
src/etc/etc.landisk [yamt-pagecache]: MAKEDEV.conf ttys
src/etc/mtree [yamt-pagecache]: Makefile NetBSD.dist.Xorg
NetBSD.dist.base NetBSD.dist.mips64eb NetBSD.dist.mips64el
NetBSD.dist.sparc64 NetBSD.dist.tests NetBSD.dist.x86_64 special
src/etc/namedb [yamt-pagecache]: Makefile
src/etc/powerd/scripts [yamt-pagecache]: sensor_battery
src/etc/rc.d [yamt-pagecache]: Makefile dhcpcd ipsec network rtadvd
sshd wpa_supplicant
src/etc/ssh [yamt-pagecache]: ssh_known_hosts
Added Files:
src/etc [yamt-pagecache]: pkgpath.conf
src/etc/defaults [yamt-pagecache]: pkgpath.conf
src/etc/etc.epoc32 [yamt-pagecache]: MAKEDEV.conf Makefile.inc ttys
src/etc/etc.evbarm [yamt-pagecache]: ld.so.conf
src/etc/etc.evbcf [yamt-pagecache]: MAKEDEV.conf Makefile.inc ttys
src/etc/etc.hppa [yamt-pagecache]: MAKEDEV.conf Makefile.inc ttys
src/etc/etc.playstation2 [yamt-pagecache]: MAKEDEV.conf Makefile.inc
ttys
src/etc/etc.x68k [yamt-pagecache]: rc.conf.append
src/etc/mtree [yamt-pagecache]: NetBSD.dist.earm NetBSD.dist.powerpc64
src/etc/namedb [yamt-pagecache]: bind.keys
Removed Files:
src/etc/etc.hp700 [yamt-pagecache]: MAKEDEV.conf Makefile.inc
sysctl.conf ttys

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.21.6.1 src/etc/MAKEDEV.awk
cvs rdiff -u -r1.145.2.4 -r1.145.2.5 src/etc/MAKEDEV.tmpl
cvs rdiff -u -r1.392.2.5 -r1.392.2.6 src/etc/Makefile
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/etc/Makefile.params
cvs rdiff -u -r1.77.6.2 -r1.77.6.3 src/etc/daily
cvs rdiff -u -r1.27.2.1 -r1.27.2.2 src/etc/group
cvs rdiff -u -r1.8 -r1.8.6.1 src/etc/hosts
cvs rdiff -u -r1.3.8.1 -r1.3.8.2 src/etc/login.conf
cvs rdiff -u -r1.25.6.2 -r1.25.6.3 src/etc/man.conf
cvs rdiff -u -r1.44.2.2 -r1.44.2.3 src/etc/master.passwd
cvs rdiff -u -r1.6 -r1.6.6.1 src/etc/named.conf
cvs rdiff -u -r1.12.2.1 -r1.12.2.2 src/etc/ntp.conf
cvs rdiff -u -r0 -r1.1.10.2 src/etc/pkgpath.conf
cvs rdiff -u -r1.23.6.1 -r1.23.6.2 src/etc/protocols
cvs rdiff -u -r1.166 -r1.166.2.1 src/etc/rc
cvs rdiff -u -r1.110.4.1 -r1.110.4.2 src/etc/security
cvs rdiff -u -r1.94.4.1 -r1.94.4.2 src/etc/services
cvs rdiff -u -r1.5 -r1.5.2.1 src/etc/defaults/Makefile
cvs rdiff -u -r0 -r1.1.10.2 src/etc/defaults/pkgpath.conf
cvs rdiff -u -r1.23.6.1 -r1.23.6.2 src/etc/defaults/security.conf
cvs rdiff -u -r1.8 -r1.8.2.1 src/etc/etc.alpha/MAKEDEV.conf
cvs rdiff -u -r1.16 -r1.16.22.1 src/etc/etc.cats/Makefile.inc
cvs rdiff -u -r0 -r1.1.10.2 src/etc/etc.epoc32/MAKEDEV.conf \
src/etc/etc.epoc32/Makefile.inc src/etc/etc.epoc32/ttys
cvs rdiff -u -r1.5.4.2 -r1.5.4.3 src/etc/etc.evbarm/MAKEDEV.conf
cvs rdiff -u -r1.23.18.2 -r1.23.18.3 src/etc/etc.evbarm/Makefile.inc
cvs rdiff -u -r0 -r1.1.4.2 src/etc/etc.evbarm/ld.so.conf
cvs rdiff -u -r0 -r1.2.4.2 src/etc/etc.evbcf/MAKEDEV.conf \
src/etc/etc.evbcf/Makefile.inc src/etc/etc.evbcf/ttys
cvs rdiff -u -r1.8.2.2 -r1.8.2.3 src/etc/etc.evbppc/Makefile.inc
cvs rdiff -u -r1.13 -r1.13.2.1 src/etc/etc.hp300/MAKEDEV.conf
cvs rdiff -u -r1.6.6.1 -r0 src/etc/etc.hp700/MAKEDEV.conf
cvs rdiff -u -r1.5.36.1 -r0 src/etc/etc.hp700/Makefile.inc
cvs rdiff -u -r1.1 -r0 src/etc/etc.hp700/sysctl.conf
cvs rdiff -u -r1.4 -r0 src/etc/etc.hp700/ttys
cvs rdiff -u -r0 -r1.1.4.2 src/etc/etc.hppa/MAKEDEV.conf \
src/etc/etc.hppa/Makefile.inc src/etc/etc.hppa/ttys
cvs rdiff -u -r1.5.6.1 -r1.5.6.2 src/etc/etc.landisk/MAKEDEV.conf
cvs rdiff -u -r1.2 -r1.2.18.1 src/etc/etc.landisk/ttys
cvs rdiff -u -r0 -r1.3.4.1 src/etc/etc.playstation2/MAKEDEV.conf
cvs rdiff -u -r0 -r1.7.4.1 src/etc/etc.playstation2/Makefile.inc
cvs rdiff -u -r0 -r1.5.4.1 src/etc/etc.playstation2/ttys
cvs rdiff -u -r0 -r1.1.10.2 src/etc/etc.x68k/rc.conf.append
cvs rdiff -u -r1.22 -r1.22.2.1 src/etc/mtree/Makefile
cvs rdiff -u -r1.11 -r1.11.2.1 src/etc/mtree/NetBSD.dist.Xorg
cvs rdiff -u -r1.93.2.3 -r1.93.2.4 src/etc/mtree/NetBSD.dist.base
cvs rdiff -u -r0 -r1.1.10.2 src/etc/mtree/NetBSD.dist.earm
cvs rdiff -u -r1.3.2.2 -r1.3.2.3 

CVS commit: [yamt-pagecache] src/doc

2014-05-22 Thread YAMAMOTO Takashi
://www.multiprecision.org/mpc/
 Mailing List:	http://www.multiprecision.org/index.php?prog=mpcpage=development
 Responsible:	mrg
-License:	LGPL2
-Location:	external/lgpl2/mpc/dist
+License:	LGPL3
+Location:	external/lgpl3/mpc/dist
 Notes:
 
 Package:	mpfr
-Version:	3.0.1
-Current Vers:	3.0.1
+Version:	3.1.2
+Current Vers:	3.1.2
 Maintainer:	
 Archive Site:	http://www.mpfr.org/mpfr-current/
 Home Page:	http://www.mpfr.org/
@@ -1327,8 +1407,8 @@ Location:	external/lgpl3/mpfr/dist
 Notes:
 
 Package:	GNU MP
-Version:	5.0.2
-Current Vers:	5.0.2
+Version:	5.1.3
+Current Vers:	5.1.3
 Maintainer:	http://gmplib.org/mailman/listinfo/gmp-devel
 Archive Site:	http://gmplib.org/
 Home Page:	http://gmplib.org/
@@ -1338,9 +1418,21 @@ License:	LGPL3
 Location:	external/lgpl3/gmp/dist
 Notes:
 
+Package:	osnet
+Version:	osnet-20100224
+Current Vers:	?
+Maintainer:	?
+Archive Site:	?
+Home Page:	?
+Mailing List:	?
+Responsible:	?
+License:	CDDL
+Location:	external/cddl/osnet
+Notes:
+
 Package:	sljit
 Version:	svn revision 186
-Current Vers:	svn revision 201
+Current Vers:	svn revision 226
 Maintainer:	Zoltán Herczeg hzmes...@freemail.hu
 Archive Site:	http://sourceforge.net/projects/sljit/
 Home Page:	http://sljit.sourceforge.net/
@@ -1390,16 +1482,30 @@ Location:	crypto/external/cpl/tpm-tools/
 Notes:
 		Need to feed back local changes
 
-Package:	libdwarf
-Version:	FreeBSD-2013-01-17
+Package:	elftoolchain (libelf/libdwarf)
+Version:	FreeBSD-2014-03-08
 Current Vers:	FreeBSD--YY-ZZ
-Maintainer:	John Birrell j...@freebsd.org
+Maintainer:	Joseph Koshi jko...@freebsd.org
 Archive Site:	none
 Home Page:	none
 Mailing List:	none
 Responsible:	christos
 License:	BSD-like (2-clause)
-Location:	sys/external/bsd/libdwarf/dist
+Location:	sys/external/bsd/elftoolchain/dist
 Notes:
 		Run prepare-import.sh; next time use svn id.
-		Ask jkoshy who the upstream will be.
+
+Package:	smbfs
+Version:	smbfs-1.4.1.tar.gz + FreeBSD-2003-02-16
+Current Vers:	FreeBSD--YY-ZZ
+Maintainer:	Boris Popov b...@freebsd.org
+Archive Site:	none
+Home Page:	http://people.freebsd.org/~bp/pub/smbfs/smbfs-1.4.1.tar.gz
+Mailing List:	?
+Responsible:	christos
+License:	BSD-like (4-clause)
+Location:	external/bsd/smbfs
+Notes:
+		The kernel portion has been removed from the tar file.
+		Our kernel smbfs and netsmb directories could move to
+		external, but this is just make-work.

Index: src/doc/BRANCHES
diff -u src/doc/BRANCHES:1.310.2.5 src/doc/BRANCHES:1.310.2.6
--- src/doc/BRANCHES:1.310.2.5	Wed Jan 16 05:26:12 2013
+++ src/doc/BRANCHES	Thu May 22 11:27:14 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: BRANCHES,v 1.310.2.5 2013/01/16 05:26:12 yamt Exp $
+#	$NetBSD: BRANCHES,v 1.310.2.6 2014/05/22 11:27:14 yamt Exp $
 #
 # This file contains a list of branches that exist in the NetBSD CVS
 # tree and their current state.
@@ -297,6 +297,17 @@ Notes:		This branch is used to develop t
 		libraries, so that it is able to operate without openssl
 		being in place.
 
+Branch:		agc-symver
+Description:	Add library symbol versioning information
+Status:		Active
+Start Date:	24 March 2013
+End Date:
+Base Tag:	agc-symver-base
+Maintainer:	Alistair Crooks a...@netbsd.org
+Scope:		src
+Notes:		This branch is used to develop DSO symbol versioning, allowing
+		symbols to be added, modified and removed from shared libraries.
+
 Branch:		bjh21-hydra
 Description:	Simtec Hydra support and ARM SMP in general
 Status:		Dormant
@@ -431,6 +442,15 @@ Notes:		http://mail-index.netbsd.org/tec
 		to this branch.
 		This branch is not expected to be compilable yet.
 
+Branch:		khorben-n900
+Description:	Supporting the Nokia N900 smartphone
+Status:		Active
+Start Date:	2013-05-07
+Maintainer:	Pierre Pronchery khor...@netbsd.org
+Scope:		kernel (OMAP3 support, device drivers)
+Notes:		Do not hesitate to communicate any change that would be welcome
+		in HEAD.
+
 Branch:		matt-timespec
 Description:	Convert the kernel to struct timespec as its primary time
 		storage mechanism.
@@ -519,6 +539,21 @@ Notes:		A more flexible infrastructure f
 		allowing multiple conflicting packages and versions to co-exist
 		within the same tree
 
+Branch:		rmind-smpnet
+Description:	MP safe network stack (milestone 1): IPv4, UDP and ICMP
+Status:		Active
+Start Date:	17 July 2013
+End Date:	
+Base Tag:	rmind-smpnet-base
+Maintainer:	Mindaugas Rasiukevicius rm...@netbsd.org
+Scope:		Kernel: src/sys (src/common is tagged but not branched)
+Notes:		Goals:
+
+		- Improve the abstraction of PCB and other interfaces.
+		- Add PCB and route cache locking, adjust socket locking.
+		- Rework IPv4, UDP and ICMP paths to be MP safe.
+		- Switch UDP sockets to a separate lock, test and benchmark.
+
 Branch:		rpaulo-netinet-merge-pcb
 Description:	merge in6pcb with inpcb
 Status:		Dormant
@@ -617,7 +652,7 @@ Description:	page cache related changes
 Status:		Active
 Start Date:	Wed Nov 2 2011
 End Date:	
-Base Tag:	yamt-pagecache-base6
+Base Tag:	yamt-pagecache-base8
 Maintainer:	YAMAMOTO Takashi y...@netbsd.org
 Scope:		src
 Notes

CVS commit: [yamt-pagecache] src/gnu

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 11:36:30 UTC 2014

Modified Files:
src/gnu/dist/bc/bc [yamt-pagecache]: scan.l
src/gnu/dist/gcc4/gcc [yamt-pagecache]: gcc.c target-def.h
src/gnu/dist/gcc4/gcc/config [yamt-pagecache]: netbsd-elf.h
src/gnu/dist/gcc4/gcc/config/arm [yamt-pagecache]: arm.h
src/gnu/dist/gcc4/gcc/config/vax [yamt-pagecache]: vax.c vax.h vax.md
src/gnu/dist/gcc4/libobjc [yamt-pagecache]: archive.c sendmsg.c
src/gnu/dist/gcc4/libstdc++-v3/config/os/bsd/netbsd [yamt-pagecache]:
ctype_base.h ctype_noninline.h
src/gnu/dist/gcc4/libstdc++-v3/include/ext [yamt-pagecache]: rope
ropeimpl.h
src/gnu/dist/gettext/gettext-tools/doc [yamt-pagecache]: Makefile.in
src/gnu/dist/gkermit [yamt-pagecache]: gkermit.c gkermit.nr
src/gnu/dist/groff/src/devices/grohtml [yamt-pagecache]: post-html.cpp
src/gnu/dist/groff/src/roff/troff [yamt-pagecache]: node.cpp
src/gnu/dist/groff/tmac [yamt-pagecache]: doc-common groff_mdoc.man
src/gnu/dist/texinfo/info [yamt-pagecache]: session.c
src/gnu/dist/texinfo/util [yamt-pagecache]: texi2dvi
src/gnu/usr.bin/c89 [yamt-pagecache]: c89.1
src/gnu/usr.bin/c99 [yamt-pagecache]: c99.1
src/gnu/usr.bin/gettext/include [yamt-pagecache]: config.h
src/gnu/usr.bin/gettext/libnlspr [yamt-pagecache]: Makefile
src/gnu/usr.bin/gettext/libnlsut [yamt-pagecache]: Makefile
src/gnu/usr.bin/gettext/msginit [yamt-pagecache]: Makefile
src/gnu/usr.bin/groff/tmac [yamt-pagecache]: mdoc.local
src/gnu/usr.bin/send-pr [yamt-pagecache]: categories
src/gnu/usr.bin/texinfo/makeinfo [yamt-pagecache]: Makefile
Removed Files:
src/gnu/dist/gmake/doc [yamt-pagecache]: make.info make.info-1
make.info-10 make.info-11 make.info-2 make.info-3 make.info-4
make.info-5 make.info-6 make.info-7 make.info-8 make.info-9

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.56.1 src/gnu/dist/bc/bc/scan.l
cvs rdiff -u -r1.5 -r1.5.4.1 src/gnu/dist/gcc4/gcc/gcc.c
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.42.1 src/gnu/dist/gcc4/gcc/target-def.h
cvs rdiff -u -r1.2 -r1.2.42.1 src/gnu/dist/gcc4/gcc/config/netbsd-elf.h
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.42.1 src/gnu/dist/gcc4/gcc/config/arm/arm.h
cvs rdiff -u -r1.15.34.1 -r1.15.34.2 src/gnu/dist/gcc4/gcc/config/vax/vax.c
cvs rdiff -u -r1.5 -r1.5.34.1 src/gnu/dist/gcc4/gcc/config/vax/vax.h
cvs rdiff -u -r1.14.6.2 -r1.14.6.3 src/gnu/dist/gcc4/gcc/config/vax/vax.md
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.42.1 src/gnu/dist/gcc4/libobjc/archive.c
cvs rdiff -u -r1.2 -r1.2.42.1 src/gnu/dist/gcc4/libobjc/sendmsg.c
cvs rdiff -u -r1.2 -r1.2.6.1 \
src/gnu/dist/gcc4/libstdc++-v3/config/os/bsd/netbsd/ctype_base.h
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.42.1 \
src/gnu/dist/gcc4/libstdc++-v3/config/os/bsd/netbsd/ctype_noninline.h
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.42.1 \
src/gnu/dist/gcc4/libstdc++-v3/include/ext/rope
cvs rdiff -u -r1.2 -r1.2.4.1 \
src/gnu/dist/gcc4/libstdc++-v3/include/ext/ropeimpl.h
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.42.1 \
src/gnu/dist/gettext/gettext-tools/doc/Makefile.in
cvs rdiff -u -r1.3 -r1.3.4.1 src/gnu/dist/gkermit/gkermit.c
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.40.1 src/gnu/dist/gkermit/gkermit.nr
cvs rdiff -u -r1.1.1.1 -r0 src/gnu/dist/gmake/doc/make.info \
src/gnu/dist/gmake/doc/make.info-1 src/gnu/dist/gmake/doc/make.info-10 \
src/gnu/dist/gmake/doc/make.info-11 src/gnu/dist/gmake/doc/make.info-2 \
src/gnu/dist/gmake/doc/make.info-3 src/gnu/dist/gmake/doc/make.info-4 \
src/gnu/dist/gmake/doc/make.info-5 src/gnu/dist/gmake/doc/make.info-6 \
src/gnu/dist/gmake/doc/make.info-7 src/gnu/dist/gmake/doc/make.info-8 \
src/gnu/dist/gmake/doc/make.info-9
cvs rdiff -u -r1.1.1.3 -r1.1.1.3.42.1 \
src/gnu/dist/groff/src/devices/grohtml/post-html.cpp
cvs rdiff -u -r1.1.1.3.42.1 -r1.1.1.3.42.2 \
src/gnu/dist/groff/src/roff/troff/node.cpp
cvs rdiff -u -r1.9 -r1.9.6.1 src/gnu/dist/groff/tmac/doc-common
cvs rdiff -u -r1.16.4.1 -r1.16.4.2 src/gnu/dist/groff/tmac/groff_mdoc.man
cvs rdiff -u -r1.5 -r1.5.2.1 src/gnu/dist/texinfo/info/session.c
cvs rdiff -u -r1.9 -r1.9.2.1 src/gnu/dist/texinfo/util/texi2dvi
cvs rdiff -u -r1.2 -r1.2.4.1 src/gnu/usr.bin/c89/c89.1
cvs rdiff -u -r1.3 -r1.3.6.1 src/gnu/usr.bin/c99/c99.1
cvs rdiff -u -r1.4 -r1.4.6.1 src/gnu/usr.bin/gettext/include/config.h
cvs rdiff -u -r1.9 -r1.9.4.1 src/gnu/usr.bin/gettext/libnlspr/Makefile
cvs rdiff -u -r1.9 -r1.9.6.1 src/gnu/usr.bin/gettext/libnlsut/Makefile
cvs rdiff -u -r1.3 -r1.3.40.1 src/gnu/usr.bin/gettext/msginit/Makefile
cvs rdiff -u -r1.65.2.2 -r1.65.2.3 src/gnu/usr.bin/groff/tmac/mdoc.local
cvs 

CVS commit: [yamt-pagecache] src/include

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 11:36:35 UTC 2014

Modified Files:
src/include [yamt-pagecache]: Makefile complex.h ctype.h db.h err.h
fenv.h inttypes.h iso646.h langinfo.h locale.h lwp.h math.h mpool.h
netdb.h nl_types.h search.h stdbool.h stddef.h stdio.h stdlib.h
string.h time.h ttyent.h unistd.h util.h vis.h wchar.h wctype.h
src/include/rpc [yamt-pagecache]: svc.h
src/include/rpcsvc [yamt-pagecache]: yp_prot.h
src/include/ssp [yamt-pagecache]: string.h
Removed Files:
src/include [yamt-pagecache]: cdbr.h

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.136.2.1 -r1.136.2.2 src/include/Makefile
cvs rdiff -u -r1.1 -r0 src/include/cdbr.h
cvs rdiff -u -r1.3 -r1.3.6.1 src/include/complex.h src/include/stdbool.h
cvs rdiff -u -r1.31 -r1.31.6.1 src/include/ctype.h
cvs rdiff -u -r1.24.2.1 -r1.24.2.2 src/include/db.h
cvs rdiff -u -r1.16 -r1.16.2.1 src/include/err.h
cvs rdiff -u -r1.6.4.1 -r1.6.4.2 src/include/fenv.h
cvs rdiff -u -r1.7 -r1.7.8.1 src/include/inttypes.h
cvs rdiff -u -r1.1 -r1.1.82.1 src/include/iso646.h
cvs rdiff -u -r1.9 -r1.9.54.1 src/include/langinfo.h
cvs rdiff -u -r1.17 -r1.17.6.1 src/include/locale.h
cvs rdiff -u -r1.11 -r1.11.10.1 src/include/lwp.h
cvs rdiff -u -r1.56.2.2 -r1.56.2.3 src/include/math.h
cvs rdiff -u -r1.13 -r1.13.2.1 src/include/mpool.h
cvs rdiff -u -r1.64.6.1 -r1.64.6.2 src/include/netdb.h
cvs rdiff -u -r1.12 -r1.12.6.1 src/include/nl_types.h
cvs rdiff -u -r1.19 -r1.19.2.1 src/include/search.h
cvs rdiff -u -r1.16 -r1.16.8.1 src/include/stddef.h
cvs rdiff -u -r1.79.2.2 -r1.79.2.3 src/include/stdio.h
cvs rdiff -u -r1.97.4.2 -r1.97.4.3 src/include/stdlib.h
cvs rdiff -u -r1.39.8.2 -r1.39.8.3 src/include/string.h
cvs rdiff -u -r1.40.6.1 -r1.40.6.2 src/include/time.h
cvs rdiff -u -r1.14 -r1.14.48.1 src/include/ttyent.h
cvs rdiff -u -r1.127.2.5 -r1.127.2.6 src/include/unistd.h
cvs rdiff -u -r1.59.2.2 -r1.59.2.3 src/include/util.h
cvs rdiff -u -r1.19.4.1 -r1.19.4.2 src/include/vis.h
cvs rdiff -u -r1.30 -r1.30.2.1 src/include/wchar.h
cvs rdiff -u -r1.7 -r1.7.6.1 src/include/wctype.h
cvs rdiff -u -r1.24 -r1.24.2.1 src/include/rpc/svc.h
cvs rdiff -u -r1.17 -r1.17.34.1 src/include/rpcsvc/yp_prot.h
cvs rdiff -u -r1.4.8.1 -r1.4.8.2 src/include/ssp/string.h

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

Modified files:

Index: src/include/Makefile
diff -u src/include/Makefile:1.136.2.1 src/include/Makefile:1.136.2.2
--- src/include/Makefile:1.136.2.1	Tue Apr 17 00:05:10 2012
+++ src/include/Makefile	Thu May 22 11:36:35 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.136.2.1 2012/04/17 00:05:10 yamt Exp $
+#	$NetBSD: Makefile,v 1.136.2.2 2014/05/22 11:36:35 yamt Exp $
 #	@(#)Makefile	8.2 (Berkeley) 1/4/94
 
 # Doing a make includes builds /usr/include
@@ -8,7 +8,7 @@ NOOBJ=		# defined
 # Missing: mp.h
 
 INCS=	a.out.h aio.h ar.h assert.h atomic.h \
-	bitstring.h bm.h cdbr.h cdbw.h complex.h cpio.h ctype.h \
+	bitstring.h bm.h cdbw.h complex.h cpio.h ctype.h \
 	db.h dirent.h disktab.h dlfcn.h err.h errno.h fenv.h fmtmsg.h fnmatch.h \
 	fstab.h fts.h ftw.h getopt.h glob.h grp.h ifaddrs.h iconv.h \
 	inttypes.h iso646.h kvm.h langinfo.h libgen.h \

Index: src/include/complex.h
diff -u src/include/complex.h:1.3 src/include/complex.h:1.3.6.1
--- src/include/complex.h:1.3	Wed Sep 15 16:11:30 2010
+++ src/include/complex.h	Thu May 22 11:36:35 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: complex.h,v 1.3 2010/09/15 16:11:30 christos Exp $ */
+/* $NetBSD: complex.h,v 1.3.6.1 2014/05/22 11:36:35 yamt Exp $ */
 
 /*
  * Written by Matthias Drochner.
@@ -20,60 +20,74 @@ __BEGIN_DECLS
 /* 7.3.5.1 The cacos functions */
 double complex cacos(double complex);
 float complex cacosf(float complex);
+long double complex cacosl(long double complex);
 
 /* 7.3.5.2 The casin functions */
 double complex casin(double complex);
 float complex casinf(float complex);
+long double complex casinl(long double complex);
 
 /* 7.3.5.1 The catan functions */
 double complex catan(double complex);
 float complex catanf(float complex);
+long double complex catanl(long double complex);
 
 /* 7.3.5.1 The ccos functions */
 double complex ccos(double complex);
 float complex ccosf(float complex);
+long double complex ccosl(long double complex);
 
 /* 7.3.5.1 The csin functions */
 double complex csin(double complex);
 float complex csinf(float complex);
+long double complex csinl(long double complex);
 
 /* 7.3.5.1 The ctan functions */
 double complex ctan(double complex);
 float complex ctanf(float complex);
+long double complex ctanl(long double complex);
 
 /* 7.3.6 Hyperbolic functions */
 /* 7.3.6.1 The cacosh functions */
 double 

CVS commit: [yamt-pagecache] src/regress

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 11:37:18 UTC 2014

Modified Files:
src/regress/lib/libc [yamt-pagecache]: Makefile
src/regress/sys/fs/ffs [yamt-pagecache]: Makefile
src/regress/sys/kern/ras/ras1 [yamt-pagecache]: Makefile
src/regress/sys/kern/ras/ras2 [yamt-pagecache]: Makefile
src/regress/sys/kern/ras/ras3 [yamt-pagecache]: Makefile

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.80.4.1 -r1.80.4.2 src/regress/lib/libc/Makefile
cvs rdiff -u -r1.6 -r1.6.48.1 src/regress/sys/fs/ffs/Makefile
cvs rdiff -u -r1.5.2.1 -r1.5.2.2 src/regress/sys/kern/ras/ras1/Makefile
cvs rdiff -u -r1.5.2.1 -r1.5.2.2 src/regress/sys/kern/ras/ras2/Makefile
cvs rdiff -u -r1.5.2.1 -r1.5.2.2 src/regress/sys/kern/ras/ras3/Makefile

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

Modified files:

Index: src/regress/lib/libc/Makefile
diff -u src/regress/lib/libc/Makefile:1.80.4.1 src/regress/lib/libc/Makefile:1.80.4.2
--- src/regress/lib/libc/Makefile:1.80.4.1	Tue Apr 17 00:05:37 2012
+++ src/regress/lib/libc/Makefile	Thu May 22 11:37:18 2014
@@ -1,9 +1,8 @@
-#	$NetBSD: Makefile,v 1.80.4.1 2012/04/17 00:05:37 yamt Exp $
+#	$NetBSD: Makefile,v 1.80.4.2 2014/05/22 11:37:18 yamt Exp $
 
 SUBDIR+= citrus divrem
 
 .include bsd.own.mk
-.include bsd.sys.mk
 
 .if exists(arch/${MACHINE_ARCH})
 SUBDIR+= arch/${MACHINE_ARCH}

Index: src/regress/sys/fs/ffs/Makefile
diff -u src/regress/sys/fs/ffs/Makefile:1.6 src/regress/sys/fs/ffs/Makefile:1.6.48.1
--- src/regress/sys/fs/ffs/Makefile:1.6	Wed Jun 30 03:26:27 2004
+++ src/regress/sys/fs/ffs/Makefile	Thu May 22 11:37:18 2014
@@ -1,4 +1,4 @@
-##	$NetBSD: Makefile,v 1.6 2004/06/30 03:26:27 jmc Exp $
+##	$NetBSD: Makefile,v 1.6.48.1 2014/05/22 11:37:18 yamt Exp $
 ##  Notes:
 ##This set of tests creates a dummy directory tree in /tmp and
 ##populates it with several files.  The test requires around 1100
@@ -15,7 +15,7 @@
 ##
 ##This is derived from work done by Brian Grayson, submitted in PR 6706.
 
-.include bsd.sys.mk		# for HOST_SH
+.include bsd.own.mk
 
 TMPL=/tmp/ffstemplate
 TMPMP=/tmp/ffsregresstest_mount

Index: src/regress/sys/kern/ras/ras1/Makefile
diff -u src/regress/sys/kern/ras/ras1/Makefile:1.5.2.1 src/regress/sys/kern/ras/ras1/Makefile:1.5.2.2
--- src/regress/sys/kern/ras/ras1/Makefile:1.5.2.1	Tue Apr 17 00:05:37 2012
+++ src/regress/sys/kern/ras/ras1/Makefile	Thu May 22 11:37:18 2014
@@ -1,9 +1,10 @@
-#	$NetBSD: Makefile,v 1.5.2.1 2012/04/17 00:05:37 yamt Exp $
+#	$NetBSD: Makefile,v 1.5.2.2 2014/05/22 11:37:18 yamt Exp $
 
 NOMAN=	#defined
 
+.include bsd.own.mk	# ACTIVE_CC
+
 PROG=	ras1
-WARNS=	2
 
 regress:
 	@if ./${PROG} ; then		\

Index: src/regress/sys/kern/ras/ras2/Makefile
diff -u src/regress/sys/kern/ras/ras2/Makefile:1.5.2.1 src/regress/sys/kern/ras/ras2/Makefile:1.5.2.2
--- src/regress/sys/kern/ras/ras2/Makefile:1.5.2.1	Tue Apr 17 00:05:37 2012
+++ src/regress/sys/kern/ras/ras2/Makefile	Thu May 22 11:37:18 2014
@@ -1,9 +1,10 @@
-#	$NetBSD: Makefile,v 1.5.2.1 2012/04/17 00:05:37 yamt Exp $
+#	$NetBSD: Makefile,v 1.5.2.2 2014/05/22 11:37:18 yamt Exp $
 
 NOMAN=	#defined
 
+.include bsd.own.mk	# ACTIVE_CC
+
 PROG=	ras2
-WARNS=	2
 
 regress:
 	@if ./${PROG} ; then		\

Index: src/regress/sys/kern/ras/ras3/Makefile
diff -u src/regress/sys/kern/ras/ras3/Makefile:1.5.2.1 src/regress/sys/kern/ras/ras3/Makefile:1.5.2.2
--- src/regress/sys/kern/ras/ras3/Makefile:1.5.2.1	Tue Apr 17 00:05:38 2012
+++ src/regress/sys/kern/ras/ras3/Makefile	Thu May 22 11:37:18 2014
@@ -1,8 +1,10 @@
-#	$NetBSD: Makefile,v 1.5.2.1 2012/04/17 00:05:38 yamt Exp $
+#	$NetBSD: Makefile,v 1.5.2.2 2014/05/22 11:37:18 yamt Exp $
 
 NOMAN=	#defined
+
+.include bsd.own.mk	# ACTIVE_CC
+
 PROG=	ras3
-WARNS=	2
 
 regress:
 	@if ./${PROG} ; then		\



CVS commit: [yamt-pagecache] src/rescue

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 11:37:21 UTC 2014

Modified Files:
src/rescue [yamt-pagecache]: Makefile list list.pdisk

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.27.6.1 src/rescue/Makefile
cvs rdiff -u -r1.42.2.1 -r1.42.2.2 src/rescue/list
cvs rdiff -u -r1.1 -r1.1.54.1 src/rescue/list.pdisk

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

Modified files:

Index: src/rescue/Makefile
diff -u src/rescue/Makefile:1.27 src/rescue/Makefile:1.27.6.1
--- src/rescue/Makefile:1.27	Wed Mar 10 23:13:10 2010
+++ src/rescue/Makefile	Thu May 22 11:37:21 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.27 2010/03/10 23:13:10 abs Exp $
+#	$NetBSD: Makefile,v 1.27.6.1 2014/05/22 11:37:21 yamt Exp $
 
 .include bsd.own.mk
 .include ${NETBSDSRCDIR}/distrib/common/Makefile.distrib
@@ -6,7 +6,7 @@
 WARNS=		1
 # XXX
 .if ${MACHINE_ARCH} != m68000
-DBG=		-Os
+DBG+=		-Os
 .endif
 
 CRUNCHGEN_FLAGS=-d ${DBG}
@@ -19,13 +19,20 @@ LISTS=		${.CURDIR}/list
 TARGETDIR=	${DESTDIR}/rescue
 PARSELISTENV+=  TARGETDIR=${TARGETDIR:Q}
 
-.for f in ldconfig pdisk
+.for f in ldconfig
 PROG_${f}!=	cd ${NETBSDSRCDIR}/sbin/${f}  ${MAKE} -V PROG
 .if (${PROG_${f}} != )
 LISTS+=		${.CURDIR}/list.${f}
 .endif
 .endfor
 
+.for f in pdisk
+PROG_${f}!=	cd ${NETBSDSRCDIR}/external/bsd/${f}/bin  ${MAKE} -V PROG
+.if (${PROG_${f}} != )
+LISTS+=		${.CURDIR}/list.${f}
+.endif
+.endfor
+
 .if ${USE_INET6} != no
 LISTS+=		${.CURDIR}/list.inet6
 .endif
@@ -40,6 +47,9 @@ LDD_ELF32DIR!=	cd ${NETBSDSRCDIR}/usr.bi
 LDD_ELF64DIR!=	cd ${NETBSDSRCDIR}/usr.bin/ldd/elf64  ${PRINTOBJDIR}
 PARSELISTENV+=	LDD_ELF32DIR=${LDD_ELF32DIR} LDD_ELF64DIR=${LDD_ELF64DIR}
 
+SMB_LIBDIR!=	cd ${NETBSDSRCDIR}/external/bsd/smbfs/lib/libsmb  ${PRINTOBJDIR}
+PARSELISTENV+=	SMB_LIBDIR=${SMB_LIBDIR}
+
 #	Specially built objects to override the behaviour of
 #	various library functions
 #

Index: src/rescue/list
diff -u src/rescue/list:1.42.2.1 src/rescue/list:1.42.2.2
--- src/rescue/list:1.42.2.1	Tue Oct 30 18:59:24 2012
+++ src/rescue/list	Thu May 22 11:37:21 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: list,v 1.42.2.1 2012/10/30 18:59:24 yamt Exp $
+#	$NetBSD: list,v 1.42.2.2 2014/05/22 11:37:21 yamt Exp $
 
 SRCDIRS	bin
 
@@ -86,6 +86,8 @@ PROG	mount_null
 PROG	mount_overlay
 PROG	mount_procfs
 PROG	mount_smbfs
+SPECIAL	mount_smbfs	srcdir	external/bsd/smbfs/sbin/mount_smbfs
+LIBS	${SMB_LIBDIR}/libsmb.a
 PROG	mount_tmpfs
 PROG	mount_umap
 PROG	mount_union
@@ -130,7 +132,7 @@ PROG	less		more
 SPECIAL	less		srcdir	external/bsd/less/bin/less
 
 PROG	vi		ex
-SPECIAL vi	srcdir  usr.bin/nvi/build
+SPECIAL vi	srcdir  external/bsd/nvi/usr.bin/nvi
 
 SRCDIRS	usr.sbin
 

Index: src/rescue/list.pdisk
diff -u src/rescue/list.pdisk:1.1 src/rescue/list.pdisk:1.1.54.1
--- src/rescue/list.pdisk:1.1	Thu Aug 22 01:23:47 2002
+++ src/rescue/list.pdisk	Thu May 22 11:37:21 2014
@@ -1,3 +1,4 @@
-#	$NetBSD: list.pdisk,v 1.1 2002/08/22 01:23:47 lukem Exp $
+#	$NetBSD: list.pdisk,v 1.1.54.1 2014/05/22 11:37:21 yamt Exp $
 
 PROG	pdisk
+SPECIAL pdisk   srcdir  external/bsd/pdisk/bin



CVS commit: [yamt-pagecache] src/usr.sbin

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 11:43:12 UTC 2014

Modified Files:
src/usr.sbin [yamt-pagecache]: Makefile
src/usr.sbin/acpitools/acpidump [yamt-pagecache]: acpi.c acpidump.8
src/usr.sbin/acpitools/aml [yamt-pagecache]: aml_common.c aml_parse.c
src/usr.sbin/acpitools/amldb [yamt-pagecache]: amldb.8
src/usr.sbin/altq/altqd [yamt-pagecache]: altq.conf.5
src/usr.sbin/altq/altqstat [yamt-pagecache]: quip_client.c
src/usr.sbin/altq/libaltq [yamt-pagecache]: qop_cbq.c qop_hfsc.c
qop_jobs.c qop_priq.c quip_server.c
src/usr.sbin/apm [yamt-pagecache]: Makefile
src/usr.sbin/apmd [yamt-pagecache]: Makefile
src/usr.sbin/arp [yamt-pagecache]: arp.8 arp.c
src/usr.sbin/bad144 [yamt-pagecache]: bad144.c
src/usr.sbin/bootp/bootpd [yamt-pagecache]: bootpd.c
src/usr.sbin/bootp/bootptest [yamt-pagecache]: print-bootp.c
src/usr.sbin/btattach [yamt-pagecache]: btattach.8
src/usr.sbin/btdevctl [yamt-pagecache]: btdevctl.8
src/usr.sbin/bthcid [yamt-pagecache]: bthcid.8
src/usr.sbin/catman [yamt-pagecache]: catman.c
src/usr.sbin/cnwctl [yamt-pagecache]: cnwctl.c
src/usr.sbin/cpuctl [yamt-pagecache]: Makefile cpuctl.8 cpuctl.c
cpuctl.h
src/usr.sbin/cpuctl/arch [yamt-pagecache]: i386.c
src/usr.sbin/crash [yamt-pagecache]: Makefile crash.c
src/usr.sbin/dumpfs [yamt-pagecache]: dumpfs.c
src/usr.sbin/dumplfs [yamt-pagecache]: Makefile dumplfs.c
src/usr.sbin/eeprom [yamt-pagecache]: Makefile defs.h eehandlers.c
main.c ofhandlers.c ophandlers.c prephandlers.c
src/usr.sbin/faithd [yamt-pagecache]: faithd.c
src/usr.sbin/fssconfig [yamt-pagecache]: fssconfig.8
src/usr.sbin/fwctl [yamt-pagecache]: fwctl.8 fwdv.c
src/usr.sbin/gpioctl [yamt-pagecache]: gpioctl.8 gpioctl.c
src/usr.sbin/hdaudioctl [yamt-pagecache]: hdaudioctl.8
src/usr.sbin/i2cscan [yamt-pagecache]: i2cscan.8 i2cscan.c
src/usr.sbin/ifmcstat [yamt-pagecache]: ifmcstat.c
src/usr.sbin/inetd [yamt-pagecache]: inetd.c
src/usr.sbin/installboot [yamt-pagecache]: Makefile ext2fs.c ffs.c
installboot.8 installboot.h machines.c
src/usr.sbin/installboot/arch [yamt-pagecache]: amiga.c hp300.c i386.c
landisk.c next68k.c pmax.c vax.c
src/usr.sbin/ipwctl [yamt-pagecache]: ipwctl.8
src/usr.sbin/isdn/dtmfdecode [yamt-pagecache]: dtmfdecode.1
src/usr.sbin/isdn/isdnd [yamt-pagecache]: isdnd.8 isdnd.acct.5
isdnd.rates.5 isdnd.rc.5
src/usr.sbin/isdn/isdnmonitor [yamt-pagecache]: isdnmonitor.8
src/usr.sbin/isdn/isdntel [yamt-pagecache]: isdntel.8
src/usr.sbin/isdn/isdntelctl [yamt-pagecache]: isdntelctl.8
src/usr.sbin/isdn/isdntrace [yamt-pagecache]: isdntrace.8 trace.c
src/usr.sbin/iwictl [yamt-pagecache]: iwictl.8
src/usr.sbin/ldpd [yamt-pagecache]: Makefile conffile.c conffile.h
fsm.c fsm.h label.c label.h ldp.h ldp_command.c ldp_command.h
ldp_errors.c ldp_errors.h ldp_peer.c ldp_peer.h ldpd.8 main.c
mpls_interface.c mpls_interface.h mpls_routes.c mpls_routes.h
notifications.c notifications.h pdu.c pdu.h socketops.c socketops.h
tlv.h tlv_stack.c tlv_stack.h
src/usr.sbin/lmcconfig [yamt-pagecache]: Makefile lmcconfig.8
src/usr.sbin/lockstat [yamt-pagecache]: elf32.c lockstat.8 main.c
src/usr.sbin/lpr/common_source [yamt-pagecache]: common.c
src/usr.sbin/mailwrapper [yamt-pagecache]: mailer.conf.5 mailwrapper.8
src/usr.sbin/makefs [yamt-pagecache]: Makefile cd9660.c cd9660.h chfs.c
chfs_makefs.h ffs.c makefs.8 makefs.c makefs.h v7fs.c walk.c
src/usr.sbin/makefs/cd9660 [yamt-pagecache]: cd9660_archimedes.c
cd9660_debug.c cd9660_eltorito.c cd9660_write.c iso9660_rrip.c
iso9660_rrip.h
src/usr.sbin/makefs/chfs [yamt-pagecache]: chfs_mkfs.c
src/usr.sbin/makefs/ffs [yamt-pagecache]: buf.c buf.h ffs_alloc.c
ffs_balloc.c mkfs.c ufs_bmap.c ufs_inode.h
src/usr.sbin/makefs/v7fs [yamt-pagecache]: Makefile.inc
src/usr.sbin/makemandb [yamt-pagecache]: apropos-utils.3
apropos-utils.c apropos-utils.h apropos.1 apropos.c makemandb.8
makemandb.c
src/usr.sbin/mmcformat [yamt-pagecache]: mmcformat.8 mmcformat.c
src/usr.sbin/mopd/mopchk [yamt-pagecache]: mopchk.1
src/usr.sbin/mopd/mopd [yamt-pagecache]: mopd.8 process.c
src/usr.sbin/mopd/mopprobe [yamt-pagecache]: mopprobe.1 mopprobe.c
src/usr.sbin/mopd/moptrace [yamt-pagecache]: moptrace.1
src/usr.sbin/mountd [yamt-pagecache]: exports.5 mountd.c
src/usr.sbin/moused [yamt-pagecache]: moused.c
src/usr.sbin/mtrace [yamt-pagecache]: Makefile mtrace.c

CVS commit: [yamt-pagecache] src/x11

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 11:43:17 UTC 2014

Modified Files:
src/x11/bin/glxinfo [yamt-pagecache]: Makefile
src/x11/lib/GLU [yamt-pagecache]: Makefile
src/x11/share/fonts/bdf [yamt-pagecache]: Makefile.bdf
src/x11/share/fonts/encodings [yamt-pagecache]: Makefile.enc

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.54.1 src/x11/bin/glxinfo/Makefile
cvs rdiff -u -r1.8 -r1.8.2.1 src/x11/lib/GLU/Makefile
cvs rdiff -u -r1.7 -r1.7.6.1 src/x11/share/fonts/bdf/Makefile.bdf
cvs rdiff -u -r1.8 -r1.8.6.1 src/x11/share/fonts/encodings/Makefile.enc

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

Modified files:

Index: src/x11/bin/glxinfo/Makefile
diff -u src/x11/bin/glxinfo/Makefile:1.3 src/x11/bin/glxinfo/Makefile:1.3.54.1
--- src/x11/bin/glxinfo/Makefile:1.3	Tue Sep 23 11:01:20 2003
+++ src/x11/bin/glxinfo/Makefile	Thu May 22 11:43:17 2014
@@ -1,14 +1,17 @@
-#	$NetBSD: Makefile,v 1.3 2003/09/23 11:01:20 lukem Exp $
+#	$NetBSD: Makefile,v 1.3.54.1 2014/05/22 11:43:17 yamt Exp $
 
 .include bsd.own.mk
 
-PROG=	glxinfo
+.if ${MKPIC} == no || ${LDSTATIC:U} != 
+PROG_CXX=	glxinfo
+.else
+PROG=		glxinfo
+.endif
 
 CPPFLAGS+=${X11FLAGS.THREADS} -DDO_GLU
 
-LDADD+=	-lGLU -lGL -lXext -lX11 -lpthread -lstdc++ -lm
-DPADD+=	${LIBGLU} ${LIBGL} ${LIBXEXT} ${LIBX11} ${LIBPTHREAD}
-DPADD+=	${LIBSTDCXX} ${LIBM}
+LDADD+=	-lGLU -lGL -lXext -lX11 -lpthread -lm
+DPADD+=	${LIBGLU} ${LIBGL} ${LIBXEXT} ${LIBX11} ${LIBPTHREAD} ${LIBM}
 
 .PATH:	${X11SRCDIR.xc}/programs/${PROG}
 

Index: src/x11/lib/GLU/Makefile
diff -u src/x11/lib/GLU/Makefile:1.8 src/x11/lib/GLU/Makefile:1.8.2.1
--- src/x11/lib/GLU/Makefile:1.8	Thu Jul 21 03:36:29 2011
+++ src/x11/lib/GLU/Makefile	Thu May 22 11:43:17 2014
@@ -1,10 +1,11 @@
-#	$NetBSD: Makefile,v 1.8 2011/07/21 03:36:29 mrg Exp $
+#	$NetBSD: Makefile,v 1.8.2.1 2014/05/22 11:43:17 yamt Exp $
 
 NOLINT=		1	# XTODO: tess.ln SIGSEGVs lint :(
 
 .include bsd.own.mk
 
 LIB=		GLU
+LIBISCXX=	yes
 
 GLUDIR=		${X11SRCDIR.xc}/extras/ogl-sample/main/gfx/lib/glu
 
@@ -61,10 +62,8 @@ SRCS=		${SRCS.libutil} ${SRCS.libtess} \
 		${SRCS.interface} ${SRCS.internals} ${SRCS.nurbtess}
 
 LIBDPLIBS=\
-	GL	${.CURDIR}/../GL
-
-LDADD+=		-lstdc++ -lm
-DPADD+=		${LIBSTDCXX} ${LIBM}
+	GL	${.CURDIR}/../GL \
+	m	${NETBSDSRCDIR}/lib/libm
 
 .include bsd.x11.mk
 .include bsd.lib.mk
@@ -74,3 +73,8 @@ DPADD+=		${LIBSTDCXX} ${LIBM}
 # XXX -Wno-deprecated doesn't work?
 CXXFLAGS+=	-Wno-error
 .endif
+
+.if ${MACHINE_ARCH} == m68000 || ${MACHINE_ARCH} == m68k
+COPTS.sampleCompTop.cc+=-O0
+.endif
+

Index: src/x11/share/fonts/bdf/Makefile.bdf
diff -u src/x11/share/fonts/bdf/Makefile.bdf:1.7 src/x11/share/fonts/bdf/Makefile.bdf:1.7.6.1
--- src/x11/share/fonts/bdf/Makefile.bdf:1.7	Tue Mar 31 21:12:51 2009
+++ src/x11/share/fonts/bdf/Makefile.bdf	Thu May 22 11:43:17 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.bdf,v 1.7 2009/03/31 21:12:51 perry Exp $
+#	$NetBSD: Makefile.bdf,v 1.7.6.1 2014/05/22 11:43:17 yamt Exp $
 
 # Font files built using this makefile are cleaned in two ways:
 #
@@ -17,7 +17,7 @@ FILESDIR=	${X11FONTDIR}/${FONTSUBDIR}
 .PATH:  	${X11SRCDIR.xc}/fonts/bdf/${FONTSUBDIR}
 
 FONTSUFFIX=	.gz
-FONTGZIP=	| gzip ${GZIPLEVEL:U-9} -ncf
+FONTGZIP=	| ${TOOL_GZIP} ${GZIPLEVEL:U-9} -ncf
 
 .include ${NETBSDSRCDIR}/x11/tools/bdftopcf/Makefile.bdftopcf
 .include ${NETBSDSRCDIR}/x11/tools/ucs2any/Makefile.ucs2any

Index: src/x11/share/fonts/encodings/Makefile.enc
diff -u src/x11/share/fonts/encodings/Makefile.enc:1.8 src/x11/share/fonts/encodings/Makefile.enc:1.8.6.1
--- src/x11/share/fonts/encodings/Makefile.enc:1.8	Tue Mar 31 21:12:51 2009
+++ src/x11/share/fonts/encodings/Makefile.enc	Thu May 22 11:43:17 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.enc,v 1.8 2009/03/31 21:12:51 perry Exp $
+#	$NetBSD: Makefile.enc,v 1.8.6.1 2014/05/22 11:43:17 yamt Exp $
 
 FILESDIR=	${X11FONTDIR}/${ENCDIR}
 .PATH:  	${X11SRCDIR.xc}/fonts/${ENCDIR}
@@ -11,7 +11,8 @@ CLEANFILES+=	${GZFILES:S/.gz$/.gz.tmp/}
 .SUFFIXES: .enc .enc.gz
 .enc.enc.gz:
 	${_MKTARGET_CREATE}
-	gzip -9nfc ${.IMPSRC}  ${.TARGET}.tmp  mv ${.TARGET}.tmp ${.TARGET}
+	${TOOL_GZIP} -9nfc ${.IMPSRC}  ${.TARGET}.tmp \
+	 mv ${.TARGET}.tmp ${.TARGET}
 
 
 realall: ${FILES}



CVS commit: [yamt-pagecache] src/distrib

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 12:01:37 UTC 2014

Modified Files:
src/distrib/acorn26/instkernel [yamt-pagecache]: Makefile
src/distrib/acorn32/stand [yamt-pagecache]: Makefile
src/distrib/alpha/floppy-GENERIC [yamt-pagecache]: Makefile
src/distrib/alpha/instkernel/ramdisk [yamt-pagecache]: Makefile
src/distrib/alpha/rz25dist [yamt-pagecache]: Makefile
src/distrib/amd64 [yamt-pagecache]: Makefile
src/distrib/amd64/ramdisks [yamt-pagecache]: Makefile
src/distrib/amiga/miniroot [yamt-pagecache]: list
src/distrib/arc/ramdisk [yamt-pagecache]: Makefile
src/distrib/atari/misc [yamt-pagecache]: Makefile
src/distrib/cats/ramdisk [yamt-pagecache]: Makefile
src/distrib/cdrom [yamt-pagecache]: Makefile current.conf
src/distrib/cdrom/macppc_installboot [yamt-pagecache]: installboot.c
src/distrib/cobalt [yamt-pagecache]: Makefile
src/distrib/cobalt/ramdisk [yamt-pagecache]: Makefile list
src/distrib/common [yamt-pagecache]: Makefile.bootcd Makefile.crunch
Makefile.distrib Makefile.image Makefile.mdset
Makefile.minirootkmod Makefile.tarfloppy
src/distrib/common/bootimage [yamt-pagecache]: Makefile.bootimage
src/distrib/dreamcast/ramdisk [yamt-pagecache]: Makefile list
src/distrib/emips/miniroot [yamt-pagecache]: list
src/distrib/evbarm/gzboot/gzimg [yamt-pagecache]: Makefile
src/distrib/evbarm/instkernel [yamt-pagecache]: Makefile
src/distrib/evbarm/instkernel/instkernel [yamt-pagecache]: Makefile
src/distrib/evbarm/instkernel/ramdisk [yamt-pagecache]: Makefile list
src/distrib/evbppc/md-kernel [yamt-pagecache]: Makefile
src/distrib/evbsh3/rom/ramdiskeb [yamt-pagecache]: Makefile
src/distrib/evbsh3/rom/ramdiskel [yamt-pagecache]: Makefile
src/distrib/ews4800mips [yamt-pagecache]: Makefile
src/distrib/ews4800mips/floppies/instkernel [yamt-pagecache]: Makefile
src/distrib/ews4800mips/floppies/ramdisk [yamt-pagecache]: Makefile
src/distrib/hp300/miniroot [yamt-pagecache]: list
src/distrib/hp300/ramdisk [yamt-pagecache]: Makefile
src/distrib/hpcarm/miniroot [yamt-pagecache]: list
src/distrib/hpcarm/stand [yamt-pagecache]: Makefile
src/distrib/hpcmips/miniroot [yamt-pagecache]: list
src/distrib/hpcsh/miniroot [yamt-pagecache]: list
src/distrib/hpcsh/stand [yamt-pagecache]: Makefile
src/distrib/i386 [yamt-pagecache]: Makefile
src/distrib/i386/ramdisks [yamt-pagecache]: Makefile
src/distrib/luna68k/ramdisk [yamt-pagecache]: Makefile list
src/distrib/mac68k/miniroot [yamt-pagecache]: list
src/distrib/macppc/floppies/ramdisk [yamt-pagecache]: list
src/distrib/mvme68k/miniroot [yamt-pagecache]: list
src/distrib/news68k/floppies/ramdisk [yamt-pagecache]: Makefile
src/distrib/notes [yamt-pagecache]: Makefile Makefile.inc
src/distrib/notes/amiga [yamt-pagecache]: hardware
src/distrib/notes/common [yamt-pagecache]: list-setsizes.sh macros main
netboot postinstall sysinst
src/distrib/ofppc/ramdisks/ramdisk [yamt-pagecache]: list
src/distrib/pmax/cdroms/installcd [yamt-pagecache]: Makefile
src/distrib/pmax/instkernel [yamt-pagecache]: Makefile
src/distrib/pmax/miniroot [yamt-pagecache]: list list64
src/distrib/prep/floppies/bootfloppy-common [yamt-pagecache]:
Makefile.inc
src/distrib/prep/floppies/kernel-generic [yamt-pagecache]: Makefile
src/distrib/rs6000/bootfs [yamt-pagecache]: Makefile
src/distrib/sets [yamt-pagecache]: Makefile README checkflist
getdirs.awk makesrctars maketars mkvars.mk sets.subr
src/distrib/sets/lists/base [yamt-pagecache]: ad.arm ad.mips ad.powerpc
md.acorn32 md.amd64 md.bebox md.cobalt md.ews4800mips md.hpcarm
md.macppc md.mmeye md.ofppc md.prep md.shark md.sparc md.sparc64
md.sun2 md.x68k mi rescue.ad.arm rescue.ad.m68k.shl rescue.i386
rescue.mi rescue.shark rescue.sparc rescue.vax shl.mi
src/distrib/sets/lists/comp [yamt-pagecache]: ad.arm ad.hppa ad.m68k
ad.m68k.shl ad.mips ad.powerpc ad.sh3 md.alpha md.amd64 md.amigappc
md.bebox md.emips md.evbppc md.ews4800mips md.i386 md.ibmnws
md.landisk md.macppc md.mvmeppc md.ofppc md.prep md.rs6000
md.sandpoint md.sparc md.sparc64 md.vax mi shl.mi
src/distrib/sets/lists/debug [yamt-pagecache]: ad.arm ad.m68k ad.mips
ad.powerpc md.alpha md.amd64 md.evbmips md.i386 md.sparc md.sparc64
md.x68k mi shl.mi
src/distrib/sets/lists/etc [yamt-pagecache]: mi
src/distrib/sets/lists/games [yamt-pagecache]: mi
src/distrib/sets/lists/man [yamt-pagecache]: mi
src/distrib/sets/lists/misc 

CVS commit: [yamt-pagecache] src

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 13:23:26 UTC 2014

Modified Files:
src [yamt-pagecache]: BUILDING Makefile UPDATING build.sh

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.96.2.3 -r1.96.2.4 src/BUILDING
cvs rdiff -u -r1.289.2.4 -r1.289.2.5 src/Makefile
cvs rdiff -u -r1.229.2.3 -r1.229.2.4 src/UPDATING
cvs rdiff -u -r1.251.2.4 -r1.251.2.5 src/build.sh

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

Modified files:

Index: src/BUILDING
diff -u src/BUILDING:1.96.2.3 src/BUILDING:1.96.2.4
--- src/BUILDING:1.96.2.3	Wed Jan 16 05:25:52 2013
+++ src/BUILDING	Thu May 22 13:23:26 2014
@@ -1,4 +1,4 @@
-BUILDING(8) NetBSD System Manager's Manual BUILDING(8)
+BUILDING(8) System Manager's ManualBUILDING(8)
 
 NAME
  BUILDING -- Procedure for building NetBSD from source code.
@@ -43,16 +43,16 @@ FILES
 recompiled regularly.
 
  crypto/dist/, dist/, gnu/dist/
-Sources imported verbatim from third parties, without man-
-gling the existing build structure.  Other source trees in
-bin through usr.sbin use the NetBSD make(1) ``reachover''
-Makefile semantics when building these programs for a
-native host.
+Sources imported verbatim from third parties, without
+mangling the existing build structure.  Other source trees
+in bin through usr.sbin use the NetBSD make(1)
+``reachover'' Makefile semantics when building these
+programs for a native host.
 
  distrib/, etc/
-Sources for items used when making a full release snap-
-shot, such as files installed in DESTDIR/etc on the desti-
-nation system, boot media, and release notes.
+Sources for items used when making a full release
+snapshot, such as files installed in DESTDIR/etc on the
+destination system, boot media, and release notes.
 
  tests/, regress/
 Regression test harness.  Can be cross-compiled, but only
@@ -63,8 +63,8 @@ FILES
  sys/   NetBSD kernel sources.
 
  tools/ ``Reachover'' build structure for the host build tools.
-This has a special method of determining out-of-date sta-
-tus.
+This has a special method of determining out-of-date
+status.
 
  bin/ ... usr.sbin/
 Sources to the NetBSD userland (non-kernel) programs.  If
@@ -87,18 +87,18 @@ CONFIGURATION
system requires a modern Bourne-like shell with POSIX-
compliant features, and also requires support for the
``local'' keyword to declare local variables in shell
-   functions (which is a widely-implemented but non-stan-
-   dardised feature).
+   functions (which is a widely-implemented but non-
+   standardised feature).
 
Depending on the host system, a suitable shell may be
/bin/sh, /usr/xpg4/bin/sh, /bin/ksh (provided it is a
variant of ksh that supports the ``local'' keyword,
such as ksh88, but not ksh93), or /usr/local/bin/bash.
 
-   Most parts of the build require HOST_SH to be an abso-
-   lute path; however, build.sh allows it to be a simple
-   command name, which will be converted to an absolute
-   path by searching the PATH.
+   Most parts of the build require HOST_SH to be an
+   absolute path; however, build.sh allows it to be a
+   simple command name, which will be converted to an
+   absolute path by searching the PATH.
 
  HOST_CC   Path name to C compiler used to create the toolchain.
 
@@ -111,19 +111,20 @@ CONFIGURATION
  MAKE  Path name to invoke make(1) as.
 
  MAKEFLAGS Flags to invoke make(1) with.  Note that build.sh
-   ignores the value of MAKEFLAGS passed in the environ-
-   ment, but allows MAKEFLAGS to be set via the -V option.
-
- MAKEOBJDIRDirectory to use as the .OBJDIR for the current direc-
-   tory.  The value is subjected to variable expansion by
-   

CVS commit: [yamt-pagecache] src/external/apache2/mDNSResponder

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 13:58:04 UTC 2014

Modified Files:
src/external/apache2/mDNSResponder [yamt-pagecache]: prepare-import.sh
src/external/apache2/mDNSResponder/dist/Clients [yamt-pagecache]:
ClientCommon.c ClientCommon.h dns-sd.c
src/external/apache2/mDNSResponder/dist/mDNSCore [yamt-pagecache]:
DNSCommon.c DNSCommon.h DNSDigest.c mDNS.c mDNSDebug.h
mDNSEmbeddedAPI.h uDNS.c uDNS.h
src/external/apache2/mDNSResponder/dist/mDNSPosix [yamt-pagecache]:
PosixDaemon.c mDNSPosix.c mDNSPosix.h mDNSUNP.c mDNSUNP.h
src/external/apache2/mDNSResponder/dist/mDNSShared [yamt-pagecache]:
CommonServices.h GenLinkedList.c GenLinkedList.h PlatformCommon.c
PlatformCommon.h dns-sd.1 dns_sd.h dnssd_clientlib.c
dnssd_clientstub.c dnssd_ipc.c dnssd_ipc.h mDNSDebug.c
mDNSResponder.8 uds_daemon.c uds_daemon.h
src/external/apache2/mDNSResponder/nss [yamt-pagecache]: Makefile
nss_mdnsd.c

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.1.6.1 \
src/external/apache2/mDNSResponder/prepare-import.sh
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.6.1 \
src/external/apache2/mDNSResponder/dist/Clients/ClientCommon.c \
src/external/apache2/mDNSResponder/dist/Clients/ClientCommon.h
cvs rdiff -u -r1.2 -r1.2.6.1 \
src/external/apache2/mDNSResponder/dist/Clients/dns-sd.c
cvs rdiff -u -r1.2 -r1.2.2.1 \
src/external/apache2/mDNSResponder/dist/mDNSCore/DNSCommon.c \
src/external/apache2/mDNSResponder/dist/mDNSCore/mDNS.c
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.6.1 \
src/external/apache2/mDNSResponder/dist/mDNSCore/DNSCommon.h \
src/external/apache2/mDNSResponder/dist/mDNSCore/mDNSDebug.h \
src/external/apache2/mDNSResponder/dist/mDNSCore/uDNS.c \
src/external/apache2/mDNSResponder/dist/mDNSCore/uDNS.h
cvs rdiff -u -r1.2 -r1.2.4.1 \
src/external/apache2/mDNSResponder/dist/mDNSCore/DNSDigest.c
cvs rdiff -u -r1.2 -r1.2.6.1 \
src/external/apache2/mDNSResponder/dist/mDNSCore/mDNSEmbeddedAPI.h
cvs rdiff -u -r1.5 -r1.5.6.1 \
src/external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c
cvs rdiff -u -r1.4 -r1.4.6.1 \
src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.6.1 \
src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.h \
src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSUNP.h
cvs rdiff -u -r1.2 -r1.2.6.1 \
src/external/apache2/mDNSResponder/dist/mDNSPosix/mDNSUNP.c
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.6.1 \
src/external/apache2/mDNSResponder/dist/mDNSShared/CommonServices.h \
src/external/apache2/mDNSResponder/dist/mDNSShared/GenLinkedList.c \
src/external/apache2/mDNSResponder/dist/mDNSShared/GenLinkedList.h \
src/external/apache2/mDNSResponder/dist/mDNSShared/PlatformCommon.c \
src/external/apache2/mDNSResponder/dist/mDNSShared/PlatformCommon.h \
src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_ipc.c \
src/external/apache2/mDNSResponder/dist/mDNSShared/mDNSDebug.c \
src/external/apache2/mDNSResponder/dist/mDNSShared/mDNSResponder.8 \
src/external/apache2/mDNSResponder/dist/mDNSShared/uds_daemon.h
cvs rdiff -u -r1.2 -r1.2.6.1 \
src/external/apache2/mDNSResponder/dist/mDNSShared/dns-sd.1 \
src/external/apache2/mDNSResponder/dist/mDNSShared/dns_sd.h \
src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientlib.c \
src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_ipc.h
cvs rdiff -u -r1.3.4.1 -r1.3.4.2 \
src/external/apache2/mDNSResponder/dist/mDNSShared/dnssd_clientstub.c
cvs rdiff -u -r1.4 -r1.4.4.1 \
src/external/apache2/mDNSResponder/dist/mDNSShared/uds_daemon.c
cvs rdiff -u -r1.3 -r1.3.6.1 src/external/apache2/mDNSResponder/nss/Makefile \
src/external/apache2/mDNSResponder/nss/nss_mdnsd.c

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

diffs are larger than 1MB and have been omitted


CVS commit: [yamt-pagecache] src/external/atheros

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 13:58:09 UTC 2014

Modified Files:
src/external/atheros [yamt-pagecache]: Makefile
Added Files:
src/external/atheros/athn [yamt-pagecache]: Makefile
src/external/atheros/athn/dist [yamt-pagecache]: athn-ar7010
athn-ar7010-11 athn-ar9271 athn-license

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.1.6.1 src/external/atheros/Makefile
cvs rdiff -u -r0 -r1.1.10.2 src/external/atheros/athn/Makefile
cvs rdiff -u -r0 -r1.1.10.2 src/external/atheros/athn/dist/athn-ar7010 \
src/external/atheros/athn/dist/athn-ar7010-11 \
src/external/atheros/athn/dist/athn-ar9271 \
src/external/atheros/athn/dist/athn-license

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

Modified files:

Index: src/external/atheros/Makefile
diff -u src/external/atheros/Makefile:1.1 src/external/atheros/Makefile:1.1.6.1
--- src/external/atheros/Makefile:1.1	Wed Nov  3 18:52:45 2010
+++ src/external/atheros/Makefile	Thu May 22 13:58:08 2014
@@ -1,5 +1,5 @@
-# $NetBSD: Makefile,v 1.1 2010/11/03 18:52:45 christos Exp $
+# $NetBSD: Makefile,v 1.1.6.1 2014/05/22 13:58:08 yamt Exp $
 
-SUBDIR+=	otus
+SUBDIR+=	athn otus
 
 .include bsd.subdir.mk

Added files:

Index: src/external/atheros/athn/Makefile
diff -u /dev/null src/external/atheros/athn/Makefile:1.1.10.2
--- /dev/null	Thu May 22 13:58:09 2014
+++ src/external/atheros/athn/Makefile	Thu May 22 13:58:08 2014
@@ -0,0 +1,8 @@
+# $NetBSD: Makefile,v 1.1.10.2 2014/05/22 13:58:08 yamt Exp $
+
+NOMAN=	# define
+
+FILES= dist/athn-ar7010 dist/athn-ar7010-11 dist/athn-ar9271 dist/athn-license
+FILESDIR=	/libdata/firmware/if_athn
+
+.include bsd.files.mk

Index: src/external/atheros/athn/dist/athn-ar7010
Binary files are different
Index: src/external/atheros/athn/dist/athn-ar7010-11
Binary files are different
Index: src/external/atheros/athn/dist/athn-ar9271
Binary files are different
Index: src/external/atheros/athn/dist/athn-license
diff -u /dev/null src/external/atheros/athn/dist/athn-license:1.1.10.2
--- /dev/null	Thu May 22 13:58:09 2014
+++ src/external/atheros/athn/dist/athn-license	Thu May 22 13:58:09 2014
@@ -0,0 +1,47 @@
+Copyright (c) 2008-2010, Atheros Communications, Inc.
+All rights reserved.
+
+Redistribution.  Redistribution and use in binary form, without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions must reproduce the above copyright notice and the
+  following disclaimer in the documentation and/or other materials
+  provided with the distribution.
+
+* Neither the name of Atheros Communications, Inc. nor the names of
+  its suppliers may be used to endorse or promote products derived
+  from this software without specific prior written permission.
+
+* No reverse engineering, decompilation, or disassembly of this
+  software is permitted.
+
+Limited patent license.  Atheros Communications, Inc. grants a
+world-wide, royalty-free, non-exclusive license under patents it
+now or hereafter owns or controls to make, have made, use, import,
+offer to sell and sell (Utilize) this software, but solely to
+the extent that any such patent is necessary to Utilize the software
+alone, or in combination with an operating system licensed under an
+approved Open Source license as listed by the Open Source Initiative
+at http://opensource.org/licenses.  The patent license shall not
+apply to any other combinations which include this software. No
+hardware per se is licensed hereunder.
+
+DISCLAIMER.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+CONTRIBUTORS AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
+BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
+THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
+TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
+USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+The following files are under this license:
+
+athn-7010 athn-7010-11 athn-9271
+
+These files are needed by various models of athn(4) devices.



CVS commit: [yamt-pagecache] src/external/broadcom/rpi-firmware/dist

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 13:58:15 UTC 2014

Modified Files:
src/external/broadcom/rpi-firmware/dist [yamt-pagecache]: bootcode.bin
fixup.dat fixup_cd.dat start.elf start_cd.elf

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 \
src/external/broadcom/rpi-firmware/dist/bootcode.bin \
src/external/broadcom/rpi-firmware/dist/fixup.dat \
src/external/broadcom/rpi-firmware/dist/fixup_cd.dat \
src/external/broadcom/rpi-firmware/dist/start.elf \
src/external/broadcom/rpi-firmware/dist/start_cd.elf

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

Modified files:

Index: src/external/broadcom/rpi-firmware/dist/bootcode.bin
Binary files are different
Index: src/external/broadcom/rpi-firmware/dist/fixup.dat
Binary files are different
Index: src/external/broadcom/rpi-firmware/dist/fixup_cd.dat
Binary files are different
Index: src/external/broadcom/rpi-firmware/dist/start.elf
Binary files are different
Index: src/external/broadcom/rpi-firmware/dist/start_cd.elf
Binary files are different



CVS commit: [yamt-pagecache] src/external/historical/nawk

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 14:07:36 UTC 2014

Modified Files:
src/external/historical/nawk/bin [yamt-pagecache]: Makefile awk.1
src/external/historical/nawk/dist [yamt-pagecache]: lib.c run.c tran.c

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.8.2.1 -r1.8.2.2 src/external/historical/nawk/bin/Makefile
cvs rdiff -u -r1.2 -r1.2.4.1 src/external/historical/nawk/bin/awk.1
cvs rdiff -u -r1.4.4.2 -r1.4.4.3 src/external/historical/nawk/dist/lib.c
cvs rdiff -u -r1.3.4.2 -r1.3.4.3 src/external/historical/nawk/dist/run.c
cvs rdiff -u -r1.5.4.2 -r1.5.4.3 src/external/historical/nawk/dist/tran.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/historical/nawk/bin/Makefile
diff -u src/external/historical/nawk/bin/Makefile:1.8.2.1 src/external/historical/nawk/bin/Makefile:1.8.2.2
--- src/external/historical/nawk/bin/Makefile:1.8.2.1	Tue Oct 30 18:57:59 2012
+++ src/external/historical/nawk/bin/Makefile	Thu May 22 14:07:36 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8.2.1 2012/10/30 18:57:59 yamt Exp $
+#	$NetBSD: Makefile,v 1.8.2.2 2014/05/22 14:07:36 yamt Exp $
 
 WARNS?= 4
 CWARNFLAGS.clang+=	-Wno-self-assign
@@ -17,9 +17,9 @@ LDADD+=	-lm
 DPADD+=	${LIBM}
 .endif
 YHEADER=	yes
-COPTS+=	-Wno-pointer-sign
-COPTS.run.c += -Wno-format-nonliteral
-COPTS.tran.c += -Wno-format-nonliteral
+CWARNFLAGS+=	-Wno-pointer-sign
+COPTS.run.c+=	-Wno-format-nonliteral
+COPTS.tran.c+=	-Wno-format-nonliteral
 
 # info file originally from GNU awk 3.1.3, adjusted for nawk slightly
 .PATH:	${NETBSDSRCDIR}/external/gpl2/gawk/dist

Index: src/external/historical/nawk/bin/awk.1
diff -u src/external/historical/nawk/bin/awk.1:1.2 src/external/historical/nawk/bin/awk.1:1.2.4.1
--- src/external/historical/nawk/bin/awk.1:1.2	Wed Apr 20 10:10:32 2011
+++ src/external/historical/nawk/bin/awk.1	Thu May 22 14:07:36 2014
@@ -1,4 +1,4 @@
-.\	$NetBSD: awk.1,v 1.2 2011/04/20 10:10:32 drochner Exp $
+.\	$NetBSD: awk.1,v 1.2.4.1 2014/05/22 14:07:36 yamt Exp $
 .\
 .\ Copyright (C) Lucent Technologies 1997
 .\ All Rights Reserved
@@ -419,8 +419,8 @@ supported by GNU
 are
 .Em not
 supported at this moment.
-.It Fn gsub r t [s]
-same as
+.It Fn gsub r s [t]
+Same as
 .Fn sub
 except that all occurrences of the regular expression
 are replaced;
@@ -477,13 +477,13 @@ according to the
 .Xr printf 3
 format
 .Ar fmt .
-.It Fn sub r t [s]
+.It Fn sub r s [t]
 substitutes
-.Ar t
+.Ar s
 for the first occurrence of the regular expression
 .Ar r
-in the string
-.Ar s .
+in the target string
+.Ar t .
 If
 .Ar s
 is not given,

Index: src/external/historical/nawk/dist/lib.c
diff -u src/external/historical/nawk/dist/lib.c:1.4.4.2 src/external/historical/nawk/dist/lib.c:1.4.4.3
--- src/external/historical/nawk/dist/lib.c:1.4.4.2	Wed Jan 23 00:04:46 2013
+++ src/external/historical/nawk/dist/lib.c	Thu May 22 14:07:36 2014
@@ -753,10 +753,9 @@ int isclvar(const char *s)	/* is s of fo
 #include math.h
 int is_number(const char *s)
 {
-	double r;
 	char *ep;
 	errno = 0;
-	r = strtod(s, ep);
+	(void)strtod(s, ep);
 	if (ep == s || errno == ERANGE)
 		return 0;
 	if (ep - s = 3  strncasecmp(ep - 3, nan, 3) == 0)

Index: src/external/historical/nawk/dist/run.c
diff -u src/external/historical/nawk/dist/run.c:1.3.4.2 src/external/historical/nawk/dist/run.c:1.3.4.3
--- src/external/historical/nawk/dist/run.c:1.3.4.2	Wed Jan 23 00:04:46 2013
+++ src/external/historical/nawk/dist/run.c	Thu May 22 14:07:36 2014
@@ -1647,6 +1647,8 @@ Cell *bltin(Node **a, int n)	/* builtin 
 		} else
 			tv = time((time_t *) 0);
 		tm = localtime(tv);
+		if (tm == NULL)
+			FATAL(bad time %jd, (intmax_t)tv);
 
 		if (isrec(x)) {
 			/* format argument not provided, use default */
@@ -2074,6 +2076,7 @@ Cell *gensub(Node **a, int nnn)	/* globa
 	x = execute(a[4]);	/* source string */
 	t = getsval(x);
 	res = copycell(x);	/* target string - initially copy of source */
+	res-csub = CTEMP;	/* result values are temporary */
 	if (a[0] == 0)		/* 0 = a[1] is already-compiled regexpr */
 		pfa = (fa *) a[1];	/* regular expression */
 	else {

Index: src/external/historical/nawk/dist/tran.c
diff -u src/external/historical/nawk/dist/tran.c:1.5.4.2 src/external/historical/nawk/dist/tran.c:1.5.4.3
--- src/external/historical/nawk/dist/tran.c:1.5.4.2	Wed Jan 23 00:04:46 2013
+++ src/external/historical/nawk/dist/tran.c	Thu May 22 14:07:36 2014
@@ -358,7 +358,7 @@ char *setsval(Cell *vp, const char *s)	/
 		donefld = 0;	/* mark $1... invalid */
 		donerec = 1;
 	}
-	t = tostring(s);	/* in case it's self-assign */
+	t = s ? tostring(s) : tostring();	/* in case it's self-assign */
 	if (freeable(vp))
 		xfree(vp-sval);
 	vp-tval = 

CVS commit: [yamt-pagecache] src/external/gpl2

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 14:01:29 UTC 2014

Modified Files:
src/external/gpl2/lvm2/dist/include [yamt-pagecache]: xlate.h
src/external/gpl2/lvm2/dist/lib/mm [yamt-pagecache]: xlate.h
src/external/gpl2/lvm2/lib/libdevmapper [yamt-pagecache]: Makefile
src/external/gpl2/lvm2/lib/liblvm [yamt-pagecache]: Makefile
src/external/gpl2/lvm2/sbin/lvm [yamt-pagecache]: Makefile
src/external/gpl2/xcvs/dist/src [yamt-pagecache]: acl.c error.c
exithandle.c lock.c

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.8.1 \
src/external/gpl2/lvm2/dist/include/xlate.h
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.8.1 \
src/external/gpl2/lvm2/dist/lib/mm/xlate.h
cvs rdiff -u -r1.8 -r1.8.4.1 src/external/gpl2/lvm2/lib/libdevmapper/Makefile
cvs rdiff -u -r1.5.4.1 -r1.5.4.2 src/external/gpl2/lvm2/lib/liblvm/Makefile
cvs rdiff -u -r1.10.4.1 -r1.10.4.2 src/external/gpl2/lvm2/sbin/lvm/Makefile
cvs rdiff -u -r1.3.2.3 -r1.3.2.4 src/external/gpl2/xcvs/dist/src/acl.c
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.8.1 src/external/gpl2/xcvs/dist/src/error.c \
src/external/gpl2/xcvs/dist/src/exithandle.c
cvs rdiff -u -r1.2 -r1.2.8.1 src/external/gpl2/xcvs/dist/src/lock.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/gpl2/lvm2/dist/include/xlate.h
diff -u src/external/gpl2/lvm2/dist/include/xlate.h:1.1.1.1 src/external/gpl2/lvm2/dist/include/xlate.h:1.1.1.1.8.1
--- src/external/gpl2/lvm2/dist/include/xlate.h:1.1.1.1	Mon Dec 22 00:18:44 2008
+++ src/external/gpl2/lvm2/dist/include/xlate.h	Thu May 22 14:01:29 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: xlate.h,v 1.1.1.1 2008/12/22 00:18:44 haad Exp $	*/
+/*	$NetBSD: xlate.h,v 1.1.1.1.8.1 2014/05/22 14:01:29 yamt Exp $	*/
 
 /*
  * Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.  
@@ -21,6 +21,11 @@
 #ifdef linux
 #  include endian.h
 #  include byteswap.h
+#elif defined(__NetBSD__)
+#  include sys/endian.h
+#  define bswap_16(x) bswap16(x)
+#  define bswap_32(x) bswap32(x)
+#  define bswap_64(x) bswap64(x)
 #else
 #  include machine/endian.h
 #  define bswap_16(x) (((x)  0x00ffU)  8 | \

Index: src/external/gpl2/lvm2/dist/lib/mm/xlate.h
diff -u src/external/gpl2/lvm2/dist/lib/mm/xlate.h:1.1.1.1 src/external/gpl2/lvm2/dist/lib/mm/xlate.h:1.1.1.1.8.1
--- src/external/gpl2/lvm2/dist/lib/mm/xlate.h:1.1.1.1	Mon Dec 22 00:18:13 2008
+++ src/external/gpl2/lvm2/dist/lib/mm/xlate.h	Thu May 22 14:01:29 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: xlate.h,v 1.1.1.1 2008/12/22 00:18:13 haad Exp $	*/
+/*	$NetBSD: xlate.h,v 1.1.1.1.8.1 2014/05/22 14:01:29 yamt Exp $	*/
 
 /*
  * Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.  
@@ -21,6 +21,11 @@
 #ifdef linux
 #  include endian.h
 #  include byteswap.h
+#elif defined(__NetBSD__)
+#  include sys/endian.h
+#  define bswap_16(x) bswap16(x)
+#  define bswap_32(x) bswap32(x)
+#  define bswap_64(x) bswap64(x)
 #else
 #  include machine/endian.h
 #  define bswap_16(x) (((x)  0x00ffU)  8 | \

Index: src/external/gpl2/lvm2/lib/libdevmapper/Makefile
diff -u src/external/gpl2/lvm2/lib/libdevmapper/Makefile:1.8 src/external/gpl2/lvm2/lib/libdevmapper/Makefile:1.8.4.1
--- src/external/gpl2/lvm2/lib/libdevmapper/Makefile:1.8	Thu May 26 12:56:26 2011
+++ src/external/gpl2/lvm2/lib/libdevmapper/Makefile	Thu May 22 14:01:29 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2011/05/26 12:56:26 joerg Exp $
+#	$NetBSD: Makefile,v 1.8.4.1 2014/05/22 14:01:29 yamt Exp $
 
 USE_SHLIBDIR=	yes
 USE_FORT?=	no
@@ -21,7 +21,7 @@ CPPFLAGS+=	-I${LIBDEVMAPPER_DISTDIR} \
 
 CPPFLAGS+=	-D__LIB_DEVMAPPER__ 
 
-LIBDPLIBS+=	prop ${NETBSDSRCDIR}/lib/libprop
+LIBDPLIBS+=	dm ${NETBSDSRCDIR}/lib/libdm
 
 SRCS+=		bitset.c hash.c list.c libdm-common.c libdm-file.c \
 		libdm-deptree.c	libdm-string.c libdm-report.c \

Index: src/external/gpl2/lvm2/lib/liblvm/Makefile
diff -u src/external/gpl2/lvm2/lib/liblvm/Makefile:1.5.4.1 src/external/gpl2/lvm2/lib/liblvm/Makefile:1.5.4.2
--- src/external/gpl2/lvm2/lib/liblvm/Makefile:1.5.4.1	Wed May 23 10:07:27 2012
+++ src/external/gpl2/lvm2/lib/liblvm/Makefile	Thu May 22 14:01:29 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5.4.1 2012/05/23 10:07:27 yamt Exp $
+#	$NetBSD: Makefile,v 1.5.4.2 2014/05/22 14:01:29 yamt Exp $
 
 LIBISPRIVATE=	yes
 
@@ -15,7 +15,6 @@ CPPFLAGS+=	-I${LVM2_DISTDIR}/lib -I${LVM
 		-I. 
 
 .include bsd.own.mk
-.include bsd.sys.mk # for USE_SSP
 
 # Some parts of liblvm can't be protected because if its
 # alloca() usage.

Index: src/external/gpl2/lvm2/sbin/lvm/Makefile
diff -u src/external/gpl2/lvm2/sbin/lvm/Makefile:1.10.4.1 src/external/gpl2/lvm2/sbin/lvm/Makefile:1.10.4.2
--- 

CVS commit: [yamt-pagecache] src/external/intel-fw-public

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 14:08:30 UTC 2014

Modified Files:
src/external/intel-fw-public [yamt-pagecache]: Makefile Makefile.inc
Added Files:
src/external/intel-fw-public/iwl6030 [yamt-pagecache]: Makefile
src/external/intel-fw-public/iwl6030/dist [yamt-pagecache]:
LICENSE.iwlwifi-6000g2b-ucode README.iwlwifi-6000g2b-ucode
iwlwifi-6000g2b-6.ucode

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.6.4.1 src/external/intel-fw-public/Makefile
cvs rdiff -u -r1.1 -r1.1.18.1 src/external/intel-fw-public/Makefile.inc
cvs rdiff -u -r0 -r1.1.4.2 src/external/intel-fw-public/iwl6030/Makefile
cvs rdiff -u -r0 -r1.1.4.2 \
src/external/intel-fw-public/iwl6030/dist/LICENSE.iwlwifi-6000g2b-ucode \
src/external/intel-fw-public/iwl6030/dist/README.iwlwifi-6000g2b-ucode \
src/external/intel-fw-public/iwl6030/dist/iwlwifi-6000g2b-6.ucode

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

Modified files:

Index: src/external/intel-fw-public/Makefile
diff -u src/external/intel-fw-public/Makefile:1.6 src/external/intel-fw-public/Makefile:1.6.4.1
--- src/external/intel-fw-public/Makefile:1.6	Fri May 20 01:59:14 2011
+++ src/external/intel-fw-public/Makefile	Thu May 22 14:08:29 2014
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2011/05/20 01:59:14 msaitoh Exp $
+# $NetBSD: Makefile,v 1.6.4.1 2014/05/22 14:08:29 yamt Exp $
 
 SUBDIR+=	ipw3945 iwl1000 iwl4965 iwl5000 iwl5150 iwl6000 iwl6005 \
-		iwl6050
+		iwl6030 iwl6050
 
 .include bsd.subdir.mk

Index: src/external/intel-fw-public/Makefile.inc
diff -u src/external/intel-fw-public/Makefile.inc:1.1 src/external/intel-fw-public/Makefile.inc:1.1.18.1
--- src/external/intel-fw-public/Makefile.inc:1.1	Thu Oct 30 00:27:32 2008
+++ src/external/intel-fw-public/Makefile.inc	Thu May 22 14:08:29 2014
@@ -1,4 +1,4 @@
-# $NetBSD
+# $NetBSD: Makefile.inc,v 1.1.18.1 2014/05/22 14:08:29 yamt Exp $
 
 FILESOWN=	${FIRMWAREOWN}
 FILESGRP=	${FIRMWAREGRP}

Added files:

Index: src/external/intel-fw-public/iwl6030/Makefile
diff -u /dev/null src/external/intel-fw-public/iwl6030/Makefile:1.1.4.2
--- /dev/null	Thu May 22 14:08:30 2014
+++ src/external/intel-fw-public/iwl6030/Makefile	Thu May 22 14:08:29 2014
@@ -0,0 +1,10 @@
+# $NetBSD: Makefile,v 1.1.4.2 2014/05/22 14:08:29 yamt Exp $
+
+NOMAN=	# define
+
+FILES=	dist/LICENSE.iwlwifi-6000g2b-ucode dist/README.iwlwifi-6000g2b-ucode \
+	dist/iwlwifi-6000g2b-6.ucode
+
+FILESDIR=	/libdata/firmware/if_iwn
+
+.include bsd.files.mk

Index: src/external/intel-fw-public/iwl6030/dist/LICENSE.iwlwifi-6000g2b-ucode
diff -u /dev/null src/external/intel-fw-public/iwl6030/dist/LICENSE.iwlwifi-6000g2b-ucode:1.1.4.2
--- /dev/null	Thu May 22 14:08:30 2014
+++ src/external/intel-fw-public/iwl6030/dist/LICENSE.iwlwifi-6000g2b-ucode	Thu May 22 14:08:29 2014
@@ -0,0 +1,39 @@
+Copyright (c) 2006-2012, Intel Corporation.
+All rights reserved.
+
+Redistribution.  Redistribution and use in binary form, without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions must reproduce the above copyright notice and the
+  following disclaimer in the documentation and/or other materials
+  provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its suppliers
+  may be used to endorse or promote products derived from this software
+  without specific prior written permission.
+* No reverse engineering, decompilation, or disassembly of this software
+  is permitted.
+
+Limited patent license.  Intel Corporation grants a world-wide,
+royalty-free, non-exclusive license under patents it now or hereafter
+owns or controls to make, have made, use, import, offer to sell and
+sell (Utilize) this software, but solely to the extent that any
+such patent is necessary to Utilize the software alone, or in
+combination with an operating system licensed under an approved Open
+Source license as listed by the Open Source Initiative at
+http://opensource.org/licenses.  The patent license shall not apply to
+any other combinations which include this software.  No hardware per
+se is licensed hereunder.
+
+DISCLAIMER.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+CONTRIBUTORS AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
+BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 

CVS commit: [yamt-pagecache] src/external/ibm-public/postfix

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 14:08:04 UTC 2014

Modified Files:
src/external/ibm-public/postfix [yamt-pagecache]: Makefile.inc
src/external/ibm-public/postfix/dist [yamt-pagecache]: HISTORY INSTALL
Makefile.in RELEASE_NOTES makedefs postfix-install
src/external/ibm-public/postfix/dist/README_FILES [yamt-pagecache]:
ADDRESS_VERIFICATION_README DATABASE_README FILTER_README INSTALL
IPV6_README LINUX_README MULTI_INSTANCE_README POSTSCREEN_README
RELEASE_NOTES RESTRICTION_CLASS_README SASL_README
SMTPD_ACCESS_README SMTPD_POLICY_README SMTPD_PROXY_README
STANDARD_CONFIGURATION_README STRESS_README TLS_README
TUNING_README VERP_README VIRTUAL_README
src/external/ibm-public/postfix/dist/conf [yamt-pagecache]: aliases
header_checks master.cf post-install postfix-script
src/external/ibm-public/postfix/dist/html [yamt-pagecache]:
ADDRESS_VERIFICATION_README.html DATABASE_README.html
FILTER_README.html INSTALL.html IPV6_README.html LINUX_README.html
MULTI_INSTANCE_README.html POSTSCREEN_README.html
RESTRICTION_CLASS_README.html SASL_README.html
SMTPD_ACCESS_README.html SMTPD_POLICY_README.html
SMTPD_PROXY_README.html STANDARD_CONFIGURATION_README.html
STRESS_README.html TLS_README.html TUNING_README.html
VERP_README.html VIRTUAL_README.html aliases.5.html cleanup.8.html
header_checks.5.html lmtp.8.html mailq.1.html master.5.html
master.8.html memcache_table.5.html newaliases.1.html oqmgr.8.html
postconf.1.html postconf.5.html postqueue.1.html postscreen.8.html
proxymap.8.html qmgr.8.html sendmail.1.html smtp.8.html
smtpd.8.html tlsproxy.8.html
src/external/ibm-public/postfix/dist/man/man1 [yamt-pagecache]:
postconf.1 postqueue.1 sendmail.1
src/external/ibm-public/postfix/dist/man/man5 [yamt-pagecache]:
aliases.5 header_checks.5 master.5 memcache_table.5 postconf.5
src/external/ibm-public/postfix/dist/man/man8 [yamt-pagecache]:
cleanup.8 master.8 oqmgr.8 postscreen.8 proxymap.8 qmgr.8 smtp.8
smtpd.8 tlsproxy.8
src/external/ibm-public/postfix/dist/mantools [yamt-pagecache]:
postconf2man postlink
src/external/ibm-public/postfix/dist/proto [yamt-pagecache]:
ADDRESS_VERIFICATION_README.html DATABASE_README.html
FILTER_README.html INSTALL.html IPV6_README.html LINUX_README.html
MULTI_INSTANCE_README.html POSTSCREEN_README.html
RESTRICTION_CLASS_README.html SASL_README.html
SMTPD_ACCESS_README.html SMTPD_POLICY_README.html
SMTPD_PROXY_README.html STANDARD_CONFIGURATION_README.html
STRESS_README.html TLS_README.html TUNING_README.html
VERP_README.html VIRTUAL_README.html aliases header_checks master
memcache_table postconf.proto
src/external/ibm-public/postfix/dist/src/bounce [yamt-pagecache]:
Makefile.in
src/external/ibm-public/postfix/dist/src/cleanup [yamt-pagecache]:
Makefile.in cleanup.c
src/external/ibm-public/postfix/dist/src/dns [yamt-pagecache]:
dns_sa_to_rr.ref
src/external/ibm-public/postfix/dist/src/global [yamt-pagecache]:
Makefile.in mail_flush.c mail_params.h mail_proto.h mail_trigger.c
mail_version.h rec_type.h smtp_reply_footer.c verify_sender_addr.c
src/external/ibm-public/postfix/dist/src/local [yamt-pagecache]:
Makefile.in forward.c unknown.c
src/external/ibm-public/postfix/dist/src/master [yamt-pagecache]:
Makefile.in event_server.c master.c master.h master_listen.c
master_wakeup.c multi_server.c single_server.c trigger_server.c
src/external/ibm-public/postfix/dist/src/oqmgr [yamt-pagecache]:
Makefile.in qmgr.c
src/external/ibm-public/postfix/dist/src/pipe [yamt-pagecache]:
Makefile.in
src/external/ibm-public/postfix/dist/src/postalias [yamt-pagecache]:
Makefile.in
src/external/ibm-public/postfix/dist/src/postconf [yamt-pagecache]:
Makefile.in extract.awk postconf.c postconf.h postconf_builtin.c
postconf_dbms.c postconf_edit.c postconf_main.c postconf_master.c
postconf_node.c postconf_user.c test1.ref test20.ref
src/external/ibm-public/postfix/dist/src/postmap [yamt-pagecache]:
Makefile.in postmap.c
src/external/ibm-public/postfix/dist/src/postqueue [yamt-pagecache]:
postqueue.c
src/external/ibm-public/postfix/dist/src/postscreen [yamt-pagecache]:
Makefile.in postscreen.c postscreen.h postscreen_dnsbl.c
postscreen_send.c postscreen_smtpd.c postscreen_state.c
 

CVS commit: [yamt-pagecache] src/external/intel-fw-eula/ipw2200/dist

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 14:08:25 UTC 2014

Modified Files:
src/external/intel-fw-eula/ipw2200/dist [yamt-pagecache]:
ipw2200-bss.fw ipw2200-ibss.fw ipw2200-sniffer.fw

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.18.1 \
src/external/intel-fw-eula/ipw2200/dist/ipw2200-bss.fw \
src/external/intel-fw-eula/ipw2200/dist/ipw2200-ibss.fw \
src/external/intel-fw-eula/ipw2200/dist/ipw2200-sniffer.fw

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

Modified files:

Index: src/external/intel-fw-eula/ipw2200/dist/ipw2200-bss.fw
Binary files are different
Index: src/external/intel-fw-eula/ipw2200/dist/ipw2200-ibss.fw
Binary files are different
Index: src/external/intel-fw-eula/ipw2200/dist/ipw2200-sniffer.fw
Binary files are different



CVS commit: [yamt-pagecache] src/external/lgpl2/mpc

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 14:08:34 UTC 2014

Removed Files:
src/external/lgpl2/mpc/dist [yamt-pagecache]: AUTHORS COPYING.LIB
ChangeLog INSTALL Makefile.am Makefile.in Makefile.vc NEWS README
TODO aclocal.m4 config.guess config.h.in config.sub configure
configure.ac depcomp install-sh ltmain.sh missing
src/external/lgpl2/mpc/dist/doc [yamt-pagecache]: Makefile.am
Makefile.in mdate-sh mpc.info mpc.texi stamp-vti texinfo.tex
version.texi
src/external/lgpl2/mpc/dist/m4 [yamt-pagecache]: ax_c_check_flag.m4
libtool.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 lt~obsolete.m4
mpc.m4
src/external/lgpl2/mpc/dist/src [yamt-pagecache]: Makefile.am
Makefile.in abs.c acos.c acosh.c add.c add_fr.c add_si.c add_ui.c
arg.c asin.c asinh.c atan.c atanh.c clear.c cmp.c cmp_si_si.c
conj.c cosh.c div.c div_2exp.c div_fr.c div_ui.c exp.c fma.c
fr_div.c fr_sub.c get.c get_prec.c get_prec2.c get_str.c
get_version.c imag.c init2.c init3.c inp_str.c log.c logging.c
mem.c mpc-impl.h mpc-log.h mpc.h mul.c mul_2exp.c mul_fr.c mul_i.c
mul_si.c mul_ui.c neg.c norm.c out_str.c pow.c pow_d.c pow_fr.c
pow_ld.c pow_si.c pow_ui.c pow_z.c proj.c real.c set.c set_prec.c
set_str.c set_x.c set_x_x.c sin_cos.c sinh.c sqr.c sqrt.c strtoc.c
sub.c sub_fr.c sub_ui.c swap.c tan.c tanh.c uceil_log2.c ui_div.c
ui_ui_sub.c urandom.c
src/external/lgpl2/mpc/dist/tests [yamt-pagecache]: Makefile.am
Makefile.in abs.dat acos.dat acosh.dat add.dat add_fr.dat arg.dat
asin.dat asinh.dat atan.dat atanh.dat comparisons.c conj.dat
cos.dat cosh.dat div.dat div_fr.dat exp.dat fma.dat fr_div.dat
fr_sub.dat inp_str.dat log.dat memory.c mpc-tests.h mul.dat
mul_fr.dat neg.dat norm.dat pow.dat pow_ui.dat proj.dat random.c
read_data.c sin.dat sinh.dat sqr.dat sqrt.dat strtoc.dat sub.dat
sub_fr.dat tabs.c tacos.c tacosh.c tadd.c tadd_fr.c tadd_si.c
tadd_ui.c tan.dat tanh.dat targ.c tasin.c tasinh.c tatan.c tatanh.c
tconj.c tcos.c tcosh.c tdiv.c tdiv_2exp.c tdiv_fr.c tdiv_ui.c
texp.c tfma.c tfr_div.c tfr_sub.c tgeneric.c tget_version.c timag.c
tio_str.c tlog.c tmul.c tmul_2exp.c tmul_fr.c tmul_i.c tmul_si.c
tmul_ui.c tneg.c tnorm.c tpow.c tpow_d.c tpow_fr.c tpow_ld.c
tpow_si.c tpow_ui.c tpow_z.c tprec.c tproj.c treal.c treimref.c
tset.c tsin.c tsin_cos.c tsinh.c tsqr.c tsqrt.c tstrtoc.c tsub.c
tsub_fr.c tsub_ui.c ttan.c ttanh.c tui_div.c tui_ui_sub.c
src/external/lgpl2/mpc/lib/libmpc [yamt-pagecache]: Makefile config.h
shlib_version

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r0 src/external/lgpl2/mpc/dist/AUTHORS \
src/external/lgpl2/mpc/dist/COPYING.LIB \
src/external/lgpl2/mpc/dist/ChangeLog src/external/lgpl2/mpc/dist/INSTALL \
src/external/lgpl2/mpc/dist/Makefile.am \
src/external/lgpl2/mpc/dist/Makefile.in \
src/external/lgpl2/mpc/dist/Makefile.vc src/external/lgpl2/mpc/dist/NEWS \
src/external/lgpl2/mpc/dist/README src/external/lgpl2/mpc/dist/TODO \
src/external/lgpl2/mpc/dist/aclocal.m4 \
src/external/lgpl2/mpc/dist/config.h.in \
src/external/lgpl2/mpc/dist/config.sub \
src/external/lgpl2/mpc/dist/configure \
src/external/lgpl2/mpc/dist/configure.ac \
src/external/lgpl2/mpc/dist/depcomp \
src/external/lgpl2/mpc/dist/install-sh \
src/external/lgpl2/mpc/dist/ltmain.sh src/external/lgpl2/mpc/dist/missing
cvs rdiff -u -r1.1.1.1.2.1 -r0 src/external/lgpl2/mpc/dist/config.guess
cvs rdiff -u -r1.1.1.1 -r0 src/external/lgpl2/mpc/dist/doc/Makefile.am \
src/external/lgpl2/mpc/dist/doc/Makefile.in \
src/external/lgpl2/mpc/dist/doc/mdate-sh \
src/external/lgpl2/mpc/dist/doc/mpc.info \
src/external/lgpl2/mpc/dist/doc/mpc.texi \
src/external/lgpl2/mpc/dist/doc/stamp-vti \
src/external/lgpl2/mpc/dist/doc/texinfo.tex \
src/external/lgpl2/mpc/dist/doc/version.texi
cvs rdiff -u -r1.1.1.1 -r0 src/external/lgpl2/mpc/dist/m4/ax_c_check_flag.m4 \
src/external/lgpl2/mpc/dist/m4/libtool.m4 \
src/external/lgpl2/mpc/dist/m4/ltoptions.m4 \
src/external/lgpl2/mpc/dist/m4/ltsugar.m4 \
src/external/lgpl2/mpc/dist/m4/ltversion.m4 \
src/external/lgpl2/mpc/dist/m4/lt~obsolete.m4 \
src/external/lgpl2/mpc/dist/m4/mpc.m4
cvs rdiff -u -r1.1.1.1 -r0 src/external/lgpl2/mpc/dist/src/Makefile.am \
src/external/lgpl2/mpc/dist/src/Makefile.in \

CVS commit: [yamt-pagecache] src/external/mit

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 14:09:48 UTC 2014

Modified Files:
src/external/mit/lua/dist/src [yamt-pagecache]: lauxlib.c lbaselib.c
linit.c lobject.c lstrlib.c luaconf.h lvm.c
src/external/mit/lua/lib/liblua [yamt-pagecache]: Makefile
src/external/mit/xorg/bin [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/appres [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/bdftopcf [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/beforelight [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/bitmap [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/cxpm [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/editres [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/fc-cache [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/fc-cat [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/fc-list [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/fc-match [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/fc-query [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/fc-scan [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/fslsfonts [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/fstobdf [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/glxinfo [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/imake [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/listres [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/makedepend [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/mkfontdir [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/mkfontscale [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/oclock [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/sessreg [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/setxkbmap [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/sxpm [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/twm [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/viewres [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xauth [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xcalc [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xclipboard [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xclock [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xcmsdb [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xconsole [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xcutsel [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xditview [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xdm [yamt-pagecache]: Makefile Makefile.xdm
src/external/mit/xorg/bin/xdm/chooser [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xdm/config [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xdpyinfo [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xedit/xedit [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xev [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xfd [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xfontsel [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xfs [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xfsinfo [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xgamma [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xgc [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xhost [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xkbutils [yamt-pagecache]: Makefile.xkbutils
src/external/mit/xorg/bin/xkill [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xload [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xlogo [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xlsatoms [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xlsclients [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xmag [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xmessage [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xmodmap [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xprop [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xrandr [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xrdb [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xrefresh [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xset [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xsetroot [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xsm [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xstdcmap [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xterm [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xterm/resize [yamt-pagecache]: Makefile
src/external/mit/xorg/bin/xvidtune [yamt-pagecache]: Makefile
 

CVS commit: [yamt-pagecache] src/external/public-domain/sqlite

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 14:10:12 UTC 2014

Modified Files:
src/external/public-domain/sqlite/dist [yamt-pagecache]: shell.c
sqlite3.c sqlite3.h sqlite3ext.h
src/external/public-domain/sqlite/lib [yamt-pagecache]: Makefile
shlib_version
Added Files:
src/external/public-domain/sqlite/lib [yamt-pagecache]: sqlite3.pc.in
Removed Files:
src/external/public-domain/sqlite/lib [yamt-pagecache]: sqlite3.pc

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.1 -r1.1.1.1.2.2 \
src/external/public-domain/sqlite/dist/shell.c \
src/external/public-domain/sqlite/dist/sqlite3.h \
src/external/public-domain/sqlite/dist/sqlite3ext.h
cvs rdiff -u -r1.1.1.1.2.2 -r1.1.1.1.2.3 \
src/external/public-domain/sqlite/dist/sqlite3.c
cvs rdiff -u -r1.1 -r1.1.2.1 src/external/public-domain/sqlite/lib/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \
src/external/public-domain/sqlite/lib/shlib_version
cvs rdiff -u -r1.1.2.1 -r0 src/external/public-domain/sqlite/lib/sqlite3.pc
cvs rdiff -u -r0 -r1.1.4.2 \
src/external/public-domain/sqlite/lib/sqlite3.pc.in

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

diffs are larger than 1MB and have been omitted


CVS commit: [yamt-pagecache] src/external/zlib/pigz/dist

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 14:10:25 UTC 2014

Modified Files:
src/external/zlib/pigz/dist [yamt-pagecache]: pigz.1

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.6.1 src/external/zlib/pigz/dist/pigz.1

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

Modified files:

Index: src/external/zlib/pigz/dist/pigz.1
diff -u src/external/zlib/pigz/dist/pigz.1:1.2 src/external/zlib/pigz/dist/pigz.1:1.2.6.1
--- src/external/zlib/pigz/dist/pigz.1:1.2	Sat Jun 19 14:45:39 2010
+++ src/external/zlib/pigz/dist/pigz.1	Thu May 22 14:10:25 2014
@@ -157,4 +157,4 @@ In no event will the author be held liab
 arising from the use of this software.
 .Pp
 Copyright (C) 2007, 2008, 2009, 2010
-.An Mark Adler Aq mad...@alumni.caltech.edu
+.An Mark Adler Aq Mt mad...@alumni.caltech.edu



CVS commit: [yamt-pagecache] src/external/bsd/acpica/bin/iasl

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:40:38 UTC 2014

Modified Files:
src/external/bsd/acpica/bin/iasl [yamt-pagecache]: Makefile iasl.8

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.4.2.1 -r1.4.2.2 src/external/bsd/acpica/bin/iasl/Makefile
cvs rdiff -u -r1.2 -r1.2.4.1 src/external/bsd/acpica/bin/iasl/iasl.8

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/acpica/bin/iasl/Makefile
diff -u src/external/bsd/acpica/bin/iasl/Makefile:1.4.2.1 src/external/bsd/acpica/bin/iasl/Makefile:1.4.2.2
--- src/external/bsd/acpica/bin/iasl/Makefile:1.4.2.1	Tue Apr 17 00:02:59 2012
+++ src/external/bsd/acpica/bin/iasl/Makefile	Thu May 22 15:40:38 2014
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4.2.1 2012/04/17 00:02:59 yamt Exp $
+# $NetBSD: Makefile,v 1.4.2.2 2014/05/22 15:40:38 yamt Exp $
 
 .if (${MACHINE_ARCH} == i386 || ${MACHINE_ARCH} == x86_64)
 PROG=	iasl
@@ -20,81 +20,235 @@ LDADD+=		-ll -ly -lrt -lpthread
 DPADD+=		${LIBL} ${LIBY} ${LIBRT} ${LIBPTHREAD}
 
 DPSRCS= aslcompilerparse.c aslcompilerlex.c \
-	dtparserparse.c dtparserlex.c
+	dtparserparse.c dtparserlex.c prparserparse.c prparserlex.c
 
 .PATH:	${TOPDIR}
-SRCS+=  aslcompilerparse.c aslcompilerlex.c adfile.c \
-	aslanalyze.c aslbtypes.c aslcodegen.c aslcompile.c  \
-	aslerror.c aslfiles.c aslfold.c asllength.c \
-	asllisting.c aslload.c asllookup.c aslmain.c aslmap.c   \
-	aslopcodes.c asloperands.c aslopt.c aslpredef.c \
-	aslresource.c aslrestype1.c aslrestype1i.c  \
-	aslrestype2.c aslrestype2d.c aslrestype2e.c \
-	aslrestype2q.c aslrestype2w.c aslstartup.c aslstubs.c   \
-	asltransform.c asltree.c aslutils.c asluuid.c   \
-	aslwalks.c dtcompile.c dtexpress.c dtfield.c dtio.c \
-	dtparserparse.c dtparserlex.c\
-	dtsubtable.c dttable.c dttemplate.c dtutils.c
+SRCS+= \
+	adfile.c \
+	aslanalyze.c \
+	aslbtypes.c \
+	aslcodegen.c \
+	aslcompile.c \
+	aslcompilerlex.c \
+	aslcompilerparse.c \
+	aslerror.c \
+	aslfileio.c \
+	aslfiles.c \
+	aslfold.c \
+	aslhex.c \
+	asllength.c \
+	asllisting.c \
+	asllistsup.c \
+	aslload.c \
+	asllookup.c \
+	aslmain.c \
+	aslmap.c \
+	aslmethod.c \
+	aslnamesp.c \
+	asloffset.c \
+	aslopcodes.c \
+	asloperands.c \
+	aslopt.c \
+	asloptions.c \
+	aslpredef.c \
+	aslprepkg.c \
+	aslresource.c \
+	aslrestype1.c \
+	aslrestype1i.c \
+	aslrestype2.c \
+	aslrestype2d.c \
+	aslrestype2e.c \
+	aslrestype2q.c \
+	aslrestype2s.c \
+	aslrestype2w.c \
+	aslstartup.c \
+	aslstubs.c \
+	asltransform.c \
+	asltree.c \
+	aslutils.c \
+	asluuid.c \
+	aslwalks.c \
+	aslxref.c \
+	dtcompile.c \
+	dtexpress.c \
+	dtfield.c \
+	dtio.c \
+	dtparserlex.c \
+	dtparserparse.c \
+	dtsubtable.c \
+	dttable.c \
+	dttemplate.c \
+	dtutils.c \
+	prexpress.c \
+	prmacros.c \
+	prparserlex.c \
+	prparserparse.c \
+	prscan.c \
+	prutils.c
 
 .PATH: ${TOPDIR}/../common
-SRCS+=  adisasm.c adwalk.c dmextern.c dmrestag.c dmtable.c \
-	dmtbdump.c dmtbinfo.c getopt.c
+SRCS+= \
+	adisasm.c \
+	adwalk.c \
+	ahpredef.c \
+	dmextern.c \
+	dmrestag.c \
+	dmtable.c \
+	dmtbdump.c \
+	dmtbinfo.c \
+	getopt.c
 
 .PATH: ${TOPDIR}/../debugger
 SRCS+=  dbfileio.c
 
 .PATH: ${TOPDIR}/../disassembler
-SRCS+=  dmbuffer.c dmnames.c dmobject.c dmopcode.c dmresrc.c\
-	dmresrcl.c dmresrcs.c dmutils.c dmwalk.c
+SRCS+= \
+	dmbuffer.c \
+	dmdeferred.c \
+	dmnames.c \
+	dmobject.c \
+	dmopcode.c \
+	dmresrc.c \
+	dmresrcl.c \
+	dmresrcl2.c \
+	dmresrcs.c \
+	dmutils.c \
+	dmwalk.c
 
 .PATH: ${TOPDIR}/../dispatcher
-SRCS+=  dsargs.c dscontrol.c dsfield.c dsobject.c dsopcode.c\
-	dsutils.c dswexec.c dswload.c dswload2.c dswscope.c \
+SRCS+= \
+	dsargs.c \
+	dscontrol.c \
+	dsfield.c \
+	dsobject.c \
+	dsopcode.c \
+	dsutils.c \
+	dswexec.c \
+	dswload.c \
+	dswload2.c \
+	dswscope.c \
 	dswstate.c
 
 .PATH: ${TOPDIR}/../executer
-SRCS+=  exconvrt.c excreate.c exdump.c exmisc.c exmutex.c   \
-	exnames.c exoparg1.c exoparg2.c exoparg3.c exoparg6.c   \
-	exprep.c exregion.c exresnte.c exresolv.c exresop.c \
-	exstore.c exstoren.c exstorob.c exsystem.c exutils.c
+SRCS+= \
+	exconvrt.c \
+	excreate.c \
+	exdump.c \
+	exmisc.c \
+	exmutex.c \
+	exnames.c \
+	exoparg1.c \
+	exoparg2.c \
+	exoparg3.c \
+	exoparg6.c \
+	exprep.c \
+	exregion.c \
+	exresnte.c \
+	exresolv.c \
+	exresop.c \
+	exstore.c \
+	exstoren.c \
+	exstorob.c \
+	exsystem.c \
+	exutils.c
 
 .PATH: ${TOPDIR}/../parser
-SRCS+=  psargs.c psloop.c psopcode.c psparse.c psscope.c\
-	pstree.c psutils.c pswalk.c
+SRCS+= \
+	psargs.c \
+	psloop.c \
+	psobject.c \
+	psopcode.c \
+	psopinfo.c \
+	psparse.c \
+	psscope.c \
+	pstree.c \
+	psutils.c \
+	pswalk.c
 
 .PATH: 

CVS commit: [yamt-pagecache] src/external/bsd/am-utils

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:41:06 UTC 2014

Modified Files:
src/external/bsd/am-utils [yamt-pagecache]: Makefile.inc
src/external/bsd/am-utils/bin [yamt-pagecache]: Makefile.inc
src/external/bsd/am-utils/bin/amd [yamt-pagecache]: Makefile
src/external/bsd/am-utils/bin/amq [yamt-pagecache]: Makefile
src/external/bsd/am-utils/bin/fixmount [yamt-pagecache]: Makefile
src/external/bsd/am-utils/bin/hlfsd [yamt-pagecache]: Makefile
src/external/bsd/am-utils/bin/pawd [yamt-pagecache]: Makefile
src/external/bsd/am-utils/bin/wire-test [yamt-pagecache]: Makefile
src/external/bsd/am-utils/dist/hlfsd [yamt-pagecache]: hlfsd.c
src/external/bsd/am-utils/dist/libamu [yamt-pagecache]: mount_fs.c

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.2.1 src/external/bsd/am-utils/Makefile.inc
cvs rdiff -u -r1.1 -r1.1.2.1 src/external/bsd/am-utils/bin/Makefile.inc
cvs rdiff -u -r1.9 -r1.9.2.1 src/external/bsd/am-utils/bin/amd/Makefile
cvs rdiff -u -r1.4 -r1.4.2.1 src/external/bsd/am-utils/bin/amq/Makefile
cvs rdiff -u -r1.1 -r1.1.2.1 src/external/bsd/am-utils/bin/fixmount/Makefile
cvs rdiff -u -r1.3 -r1.3.2.1 src/external/bsd/am-utils/bin/hlfsd/Makefile
cvs rdiff -u -r1.4 -r1.4.2.1 src/external/bsd/am-utils/bin/pawd/Makefile
cvs rdiff -u -r1.1 -r1.1.2.1 src/external/bsd/am-utils/bin/wire-test/Makefile
cvs rdiff -u -r1.1.1.2 -r1.1.1.2.6.1 \
src/external/bsd/am-utils/dist/hlfsd/hlfsd.c
cvs rdiff -u -r1.1.1.2 -r1.1.1.2.6.1 \
src/external/bsd/am-utils/dist/libamu/mount_fs.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/am-utils/Makefile.inc
diff -u src/external/bsd/am-utils/Makefile.inc:1.2 src/external/bsd/am-utils/Makefile.inc:1.2.2.1
--- src/external/bsd/am-utils/Makefile.inc:1.2	Sat Sep 20 10:45:48 2008
+++ src/external/bsd/am-utils/Makefile.inc	Thu May 22 15:41:06 2014
@@ -1,5 +1,7 @@
-#	$NetBSD: Makefile.inc,v 1.2 2008/09/20 10:45:48 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.2.2.1 2014/05/22 15:41:06 yamt Exp $
 
+.ifndef AMU_MAKEFILE_INC
+AMU_MAKEFILE_INC=
 WARNS?=	1
 
 .include bsd.own.mk
@@ -8,10 +10,14 @@ BINDIR?= /usr/sbin
 
 USE_FORT?=yes
 
-IDIST=	${NETBSDSRCDIR}/external/bsd/am-utils/dist
+AMUTILS=	${NETBSDSRCDIR}/external/bsd/am-utils
+IDIST=		${AMUTILS}/dist
 
 CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/../../include -I${IDIST}/libamu \
-	-I${IDIST}/include -I${LIBAMUOBJDIR}
+-I${IDIST}/include
+
+LIBAMUOBJDIR!=	cd ${AMUTILS}/lib/libamu  ${PRINTOBJDIR}
+CPPFLAGS+=	-I${LIBAMUOBJDIR}
 
 .if (${USE_HESIOD} != no)
 CPPFLAGS+=-DHAVE_MAP_HESIOD=1
@@ -27,10 +33,6 @@ CPPFLAGS+=-DHAVE_MAP_NIS=1
 .endif
 
 .if !defined(LIB) || empty(LIB)
-LDADD+=	-L${LIBAMUOBJDIR} -lamu
-.if ${MKPICLIB} == no
-DPADD+=	${LIBAMUOBJDIR}/libamu.a
-.else
-DPADD+=	${LIBAMUOBJDIR}/libamu_pic.a
+PROGDPLIBS+=	amu	${AMUTILS}/lib/libamu
 .endif
 .endif

Index: src/external/bsd/am-utils/bin/Makefile.inc
diff -u src/external/bsd/am-utils/bin/Makefile.inc:1.1 src/external/bsd/am-utils/bin/Makefile.inc:1.1.2.1
--- src/external/bsd/am-utils/bin/Makefile.inc:1.1	Fri Sep 19 21:41:28 2008
+++ src/external/bsd/am-utils/bin/Makefile.inc	Thu May 22 15:41:06 2014
@@ -1,7 +1,3 @@
-#	$NetBSD: Makefile.inc,v 1.1 2008/09/19 21:41:28 christos Exp $
-
-.include bsd.own.mk
-
-LIBAMUOBJDIR!=cd ${.CURDIR}/../../lib/libamu  ${PRINTOBJDIR}
+#	$NetBSD: Makefile.inc,v 1.1.2.1 2014/05/22 15:41:06 yamt Exp $
 
 .include ${.CURDIR}/../../Makefile.inc

Index: src/external/bsd/am-utils/bin/amd/Makefile
diff -u src/external/bsd/am-utils/bin/amd/Makefile:1.9 src/external/bsd/am-utils/bin/amd/Makefile:1.9.2.1
--- src/external/bsd/am-utils/bin/amd/Makefile:1.9	Wed Aug 17 09:03:47 2011
+++ src/external/bsd/am-utils/bin/amd/Makefile	Thu May 22 15:41:06 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.9 2011/08/17 09:03:47 christos Exp $
+#	$NetBSD: Makefile,v 1.9.2.1 2014/05/22 15:41:06 yamt Exp $
 
 .include ${.CURDIR}/../Makefile.inc
 
@@ -51,7 +51,7 @@ MAN+=	amd.8
 AMDOBJDIR!=cd ${.CURDIR}  ${PRINTOBJDIR}
 
 CPPFLAGS+=	-I${DIST} -I${AMDOBJDIR}
-LDADD+=		${LIBAMU} -lrpcsvc
+LDADD+=		-lrpcsvc
 DPADD+=		${LIBRPCSVC}
 YHEADER=	1
 

Index: src/external/bsd/am-utils/bin/amq/Makefile
diff -u src/external/bsd/am-utils/bin/amq/Makefile:1.4 src/external/bsd/am-utils/bin/amq/Makefile:1.4.2.1
--- src/external/bsd/am-utils/bin/amq/Makefile:1.4	Wed Aug 17 09:03:47 2011
+++ src/external/bsd/am-utils/bin/amq/Makefile	Thu May 22 15:41:06 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2011/08/17 09:03:47 christos Exp $
+#	$NetBSD: Makefile,v 1.4.2.1 2014/05/22 15:41:06 yamt Exp $
 
 .include ${.CURDIR}/../Makefile.inc
 
@@ -11,6 +11,5 @@ SRCS=	

CVS commit: [yamt-pagecache] src/external/bsd/cron/dist

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:44:24 UTC 2014

Modified Files:
src/external/bsd/cron/dist [yamt-pagecache]: crontab.5

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.6.1 src/external/bsd/cron/dist/crontab.5

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/cron/dist/crontab.5
diff -u src/external/bsd/cron/dist/crontab.5:1.3 src/external/bsd/cron/dist/crontab.5:1.3.6.1
--- src/external/bsd/cron/dist/crontab.5:1.3	Thu Jul 15 22:18:20 2010
+++ src/external/bsd/cron/dist/crontab.5	Thu May 22 15:44:24 2014
@@ -1,4 +1,4 @@
-.\	$NetBSD: crontab.5,v 1.3 2010/07/15 22:18:20 christos Exp $
+.\	$NetBSD: crontab.5,v 1.3.6.1 2014/05/22 15:44:24 yamt Exp $
 .\
 .\/* Copyright 1988,1990,1993,1994 by Paul Vixie
 .\ * All rights reserved
@@ -223,7 +223,7 @@ Examples:
 .Pp
 Step values can be used in conjunction with ranges.
 Following a range with
-.Dq / Ns Aq number
+.Dq / Ns Aq Mt number
 specifies skips of the number's value through the range.
 For example,
 .Dq 0-23/2
@@ -355,4 +355,4 @@ All of the
 commands that can appear in place of the first five fields are
 extensions.
 .Sh AUTHORS
-.An Paul Vixie Aq p...@vix.com
+.An Paul Vixie Aq Mt p...@vix.com



CVS commit: [yamt-pagecache] src/external/bsd/bzip2/dist

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:44:21 UTC 2014

Modified Files:
src/external/bsd/bzip2/dist [yamt-pagecache]: bzip2.c

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.3.2.2 -r1.3.2.3 src/external/bsd/bzip2/dist/bzip2.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/bzip2/dist/bzip2.c
diff -u src/external/bsd/bzip2/dist/bzip2.c:1.3.2.2 src/external/bsd/bzip2/dist/bzip2.c:1.3.2.3
--- src/external/bsd/bzip2/dist/bzip2.c:1.3.2.2	Wed May 23 10:07:23 2012
+++ src/external/bsd/bzip2/dist/bzip2.c	Thu May 22 15:44:21 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: bzip2.c,v 1.3.2.2 2012/05/23 10:07:23 yamt Exp $	*/
+/*	$NetBSD: bzip2.c,v 1.3.2.3 2014/05/22 15:44:21 yamt Exp $	*/
 
 
 /*---*/
@@ -557,7 +557,7 @@ static 
 Bool testStream ( FILE *zStream )
 {
BZFILE* bzf = NULL;
-   Int32   bzerr, bzerr_dummy, ret, nread, streamNo, i;
+   Int32   bzerr, bzerr_dummy, ret, streamNo, i;
UChar   obuf[5000];
UChar   unused[BZ_MAX_UNUSED];
Int32   nUnused;
@@ -580,7 +580,7 @@ Bool testStream ( FILE *zStream )
   streamNo++;
 
   while (bzerr == BZ_OK) {
- nread = BZ2_bzRead ( bzerr, bzf, obuf, 5000 );
+ (void)BZ2_bzRead ( bzerr, bzf, obuf, 5000 );
  if (bzerr == BZ_DATA_ERROR_MAGIC) goto errhandler;
   }
   if (bzerr != BZ_STREAM_END) goto errhandler;



CVS commit: [yamt-pagecache] src/external/bsd/elftoolchain

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:44:47 UTC 2014

Added Files:
src/external/bsd/elftoolchain [yamt-pagecache]: Makefile addrcsid
prepare-import.sh
src/external/bsd/elftoolchain/dist/common [yamt-pagecache]: Makefile
_elftc.h elfdefinitions.h native-elf-format os.Linux.mk utarray.h
uthash.h
src/external/bsd/elftoolchain/dist/libdwarf [yamt-pagecache]: Makefile
Version.map _libdwarf.h dwarf.3 dwarf.h dwarf_abbrev.c
dwarf_add_AT_comp_dir.3 dwarf_add_AT_const_value_string.3
dwarf_add_AT_dataref.3 dwarf_add_AT_flag.3
dwarf_add_AT_location_expr.3 dwarf_add_AT_name.3
dwarf_add_AT_producer.3 dwarf_add_AT_ref_address.3
dwarf_add_AT_reference.3 dwarf_add_AT_signed_const.3
dwarf_add_AT_string.3 dwarf_add_AT_targ_address.3
dwarf_add_arange.3 dwarf_add_die_to_debug.3
dwarf_add_directory_decl.3 dwarf_add_expr_addr.3
dwarf_add_expr_gen.3 dwarf_add_fde_inst.3 dwarf_add_file_decl.3
dwarf_add_frame_cie.3 dwarf_add_frame_fde.3 dwarf_add_funcname.3
dwarf_add_line_entry.3 dwarf_add_pubname.3 dwarf_add_typename.3
dwarf_add_varname.3 dwarf_add_weakname.3 dwarf_arange.c
dwarf_attr.3 dwarf_attr.c dwarf_attrlist.3 dwarf_attrval.c
dwarf_attrval_signed.3 dwarf_child.3 dwarf_cu.c dwarf_dealloc.3
dwarf_dealloc.c dwarf_def_macro.3 dwarf_die.c
dwarf_die_abbrev_code.3 dwarf_die_link.3 dwarf_diename.3
dwarf_dieoffset.3 dwarf_dump.c dwarf_end_macro_file.3
dwarf_errmsg.3 dwarf_errmsg.c dwarf_errno.3
dwarf_expand_frame_instructions.3 dwarf_expr_current_offset.3
dwarf_expr_into_block.3 dwarf_fde_cfa_offset.3
dwarf_find_macro_value_start.3 dwarf_finish.3 dwarf_finish.c
dwarf_form.c dwarf_formaddr.3 dwarf_formblock.3 dwarf_formexprloc.3
dwarf_formflag.3 dwarf_formref.3 dwarf_formsig8.3
dwarf_formstring.3 dwarf_formudata.3 dwarf_frame.c dwarf_funcs.m4
dwarf_get_AT_name.3 dwarf_get_abbrev.3
dwarf_get_abbrev_children_flag.3 dwarf_get_abbrev_code.3
dwarf_get_abbrev_entry.3 dwarf_get_abbrev_tag.3
dwarf_get_address_size.3 dwarf_get_arange.3 dwarf_get_arange_info.3
dwarf_get_aranges.3 dwarf_get_cie_index.3 dwarf_get_cie_info.3
dwarf_get_cie_of_fde.3 dwarf_get_cu_die_offset.3 dwarf_get_elf.3
dwarf_get_fde_at_pc.3 dwarf_get_fde_info_for_all_regs.3
dwarf_get_fde_info_for_all_regs3.3
dwarf_get_fde_info_for_cfa_reg3.3 dwarf_get_fde_info_for_reg.3
dwarf_get_fde_info_for_reg3.3 dwarf_get_fde_instr_bytes.3
dwarf_get_fde_list.3 dwarf_get_fde_n.3 dwarf_get_fde_range.3
dwarf_get_form_class.3 dwarf_get_funcs.3 dwarf_get_globals.3
dwarf_get_loclist_entry.3 dwarf_get_macro_details.3
dwarf_get_pubtypes.3 dwarf_get_ranges.3 dwarf_get_relocation_info.3
dwarf_get_relocation_info_count.3 dwarf_get_section_bytes.3
dwarf_get_str.3 dwarf_get_types.3 dwarf_get_vars.3
dwarf_get_weaks.3 dwarf_hasattr.3 dwarf_hasform.3 dwarf_highpc.3
dwarf_init.3 dwarf_init.c dwarf_lineno.3 dwarf_lineno.c
dwarf_lne_end_sequence.3 dwarf_lne_set_address.3 dwarf_loclist.3
dwarf_loclist.c dwarf_loclist_from_expr.3 dwarf_macinfo.c
dwarf_nametbl.m4 dwarf_new_die.3 dwarf_new_expr.3 dwarf_new_fde.3
dwarf_next_cu_header.3 dwarf_object_init.3 dwarf_pro_arange.c
dwarf_pro_attr.c dwarf_pro_die.c dwarf_pro_expr.c
dwarf_pro_finish.c dwarf_pro_frame.c dwarf_pro_funcs.m4
dwarf_pro_init.c dwarf_pro_lineno.c dwarf_pro_macinfo.c
dwarf_pro_nametbl.m4 dwarf_pro_pubnames.m4 dwarf_pro_reloc.c
dwarf_pro_sections.c dwarf_pro_types.m4 dwarf_pro_vars.m4
dwarf_pro_weaks.m4 dwarf_producer_init.3 dwarf_producer_set_isa.3
dwarf_pubnames.m4 dwarf_pubtypes.m4 dwarf_ranges.c dwarf_reloc.c
dwarf_reset_section_bytes.3 dwarf_set_frame_cfa_value.3
dwarf_set_reloc_application.3 dwarf_seterrarg.3 dwarf_seterror.c
dwarf_srcfiles.3 dwarf_srclines.3 dwarf_start_macro_file.3
dwarf_str.c dwarf_tag.3 dwarf_transform_to_disk_form.3
dwarf_types.m4 dwarf_undef_macro.3 dwarf_vars.m4 dwarf_vendor_ext.3
dwarf_weaks.m4 dwarf_whatattr.3 libdwarf.c libdwarf.h
libdwarf_abbrev.c libdwarf_arange.c libdwarf_attr.c libdwarf_die.c
libdwarf_elf_access.c libdwarf_elf_init.c libdwarf_error.c
libdwarf_frame.c libdwarf_info.c libdwarf_init.c libdwarf_lineno.c
libdwarf_loc.c libdwarf_loclist.c libdwarf_macinfo.c
libdwarf_nametbl.c libdwarf_ranges.c libdwarf_reloc.c libdwarf_rw.c

CVS commit: [yamt-pagecache] src/external/bsd/fetch/dist/libfetch

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:44:54 UTC 2014

Modified Files:
src/external/bsd/fetch/dist/libfetch [yamt-pagecache]: common.h fetch.3
ftp.c http.c

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.7 -r1.1.1.7.6.1 \
src/external/bsd/fetch/dist/libfetch/common.h
cvs rdiff -u -r1.1.1.8 -r1.1.1.8.6.1 \
src/external/bsd/fetch/dist/libfetch/fetch.3
cvs rdiff -u -r1.5 -r1.5.2.1 src/external/bsd/fetch/dist/libfetch/ftp.c
cvs rdiff -u -r1.2 -r1.2.2.1 src/external/bsd/fetch/dist/libfetch/http.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/fetch/dist/libfetch/common.h
diff -u src/external/bsd/fetch/dist/libfetch/common.h:1.1.1.7 src/external/bsd/fetch/dist/libfetch/common.h:1.1.1.7.6.1
--- src/external/bsd/fetch/dist/libfetch/common.h:1.1.1.7	Wed Mar 24 20:51:42 2010
+++ src/external/bsd/fetch/dist/libfetch/common.h	Thu May 22 15:44:54 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: common.h,v 1.1.1.7 2010/03/24 20:51:42 joerg Exp $	*/
+/*	$NetBSD: common.h,v 1.1.1.7.6.1 2014/05/22 15:44:54 yamt Exp $	*/
 /*-
  * Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
  * All rights reserved.
@@ -90,7 +90,7 @@ struct fetcherr {
 
 void		 fetch_seterr(struct fetcherr *, int);
 void		 fetch_syserr(void);
-void		 fetch_info(const char *, ...);
+void		 fetch_info(const char *, ...) __printflike(1, 2);
 int		 fetch_default_port(const char *);
 int		 fetch_default_proxy_port(const char *);
 int		 fetch_bind(int, int, const char *);

Index: src/external/bsd/fetch/dist/libfetch/fetch.3
diff -u src/external/bsd/fetch/dist/libfetch/fetch.3:1.1.1.8 src/external/bsd/fetch/dist/libfetch/fetch.3:1.1.1.8.6.1
--- src/external/bsd/fetch/dist/libfetch/fetch.3:1.1.1.8	Sat Jan 30 21:26:10 2010
+++ src/external/bsd/fetch/dist/libfetch/fetch.3	Thu May 22 15:44:54 2014
@@ -25,7 +25,7 @@
 .\ SUCH DAMAGE.
 .\
 .\ $FreeBSD: fetch.3,v 1.64 2007/12/18 11:03:26 des Exp $
-.\ $NetBSD: fetch.3,v 1.1.1.8 2010/01/30 21:26:10 joerg Exp $
+.\ $NetBSD: fetch.3,v 1.1.1.8.6.1 2014/05/22 15:44:54 yamt Exp $
 .\
 .Dd January 22, 2010
 .Dt FETCH 3
@@ -731,22 +731,22 @@ library first appeared in
 The
 .Nm fetch
 library was mostly written by
-.An Dag-Erling Sm\(/orgrav Aq d...@freebsd.org
+.An Dag-Erling Sm\(/orgrav Aq Mt d...@freebsd.org
 with numerous suggestions from
-.An Jordan K. Hubbard Aq j...@freebsd.org ,
-.An Eugene Skepner Aq e...@qub.com
+.An Jordan K. Hubbard Aq Mt j...@freebsd.org ,
+.An Eugene Skepner Aq Mt e...@qub.com
 and other
 .Fx
 developers.
 It replaces the older
 .Nm ftpio
 library written by
-.An Poul-Henning Kamp Aq p...@freebsd.org
+.An Poul-Henning Kamp Aq Mt p...@freebsd.org
 and
-.An Jordan K. Hubbard Aq j...@freebsd.org .
+.An Jordan K. Hubbard Aq Mt j...@freebsd.org .
 .Pp
 This manual page was written by
-.An Dag-Erling Sm\(/orgrav Aq d...@freebsd.org .
+.An Dag-Erling Sm\(/orgrav Aq Mt d...@freebsd.org .
 .Sh BUGS
 Some parts of the library are not yet implemented.
 The most notable

Index: src/external/bsd/fetch/dist/libfetch/ftp.c
diff -u src/external/bsd/fetch/dist/libfetch/ftp.c:1.5 src/external/bsd/fetch/dist/libfetch/ftp.c:1.5.2.1
--- src/external/bsd/fetch/dist/libfetch/ftp.c:1.5	Wed Aug 17 09:19:38 2011
+++ src/external/bsd/fetch/dist/libfetch/ftp.c	Thu May 22 15:44:54 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: ftp.c,v 1.5 2011/08/17 09:19:38 christos Exp $	*/
+/*	$NetBSD: ftp.c,v 1.5.2.1 2014/05/22 15:44:54 yamt Exp $	*/
 /*-
  * Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
  * Copyright (c) 2008, 2009, 2010 Joerg Sonnenberger jo...@netbsd.org
@@ -138,6 +138,7 @@ static void
 unmappedaddr(struct sockaddr_in6 *sin6, socklen_t *len)
 {
 	struct sockaddr_in *sin4;
+	void *addrp;
 	uint32_t addr;
 	int port;
 
@@ -145,7 +146,8 @@ unmappedaddr(struct sockaddr_in6 *sin6, 
 	!IN6_IS_ADDR_V4MAPPED(sin6-sin6_addr))
 		return;
 	sin4 = (struct sockaddr_in *)(void *)sin6;
-	addr = *(uint32_t *)(void *)sin6-sin6_addr.s6_addr[12];
+	addrp = sin6-sin6_addr.s6_addr[12];
+	addr = *(uint32_t *)addrp;
 	port = sin6-sin6_port;
 	memset(sin4, 0, sizeof(struct sockaddr_in));
 	sin4-sin_addr.s_addr = addr;
@@ -196,6 +198,7 @@ ftp_chkerr(conn_t *conn)
 /*
  * Send a command and check reply
  */
+__printflike(2, 3)
 static int
 ftp_cmd(conn_t *conn, const char *fmt, ...)
 {
@@ -389,7 +392,7 @@ ftp_cwd(conn_t *conn, const char *path, 
 			++beg, ++i;
 		for (++i; dst + i  end  dst[i] != '/'; ++i)
 			/* nothing */ ;
-		e = ftp_cmd(conn, CWD %.*s\r\n, dst + i - beg, beg);
+		e = ftp_cmd(conn, CWD %.*s\r\n, (int)(dst + i - beg), beg);
 		if (e != FTP_FILE_ACTION_OK) {
 			free(dst);
 			ftp_seterr(e);
@@ -487,7 +490,7 @@ ftp_stat(conn_t *conn, const char 

CVS commit: [yamt-pagecache] src/external/bsd/dhcp

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:44:36 UTC 2014

Added Files:
src/external/bsd/dhcp [yamt-pagecache]: Makefile Makefile.inc
dhcp2netbsd
src/external/bsd/dhcp/bin [yamt-pagecache]: Makefile Makefile.inc
src/external/bsd/dhcp/bin/client [yamt-pagecache]: Makefile
src/external/bsd/dhcp/bin/clientscript [yamt-pagecache]: Makefile
dhclient-script
src/external/bsd/dhcp/bin/omshell [yamt-pagecache]: Makefile
src/external/bsd/dhcp/bin/relay [yamt-pagecache]: Makefile
src/external/bsd/dhcp/bin/server [yamt-pagecache]: Makefile dhcpd.conf
src/external/bsd/dhcp/dist [yamt-pagecache]: LICENSE Makefile.am
Makefile.in README RELNOTES aclocal.m4 configure configure.ac
depcomp install-sh missing
src/external/bsd/dhcp/dist/client [yamt-pagecache]: Makefile.am
Makefile.in clparse.c dhc6.c dhclient-script.8 dhclient.8
dhclient.c dhclient.conf.5 dhclient.conf.example dhclient.leases.5
src/external/bsd/dhcp/dist/client/scripts [yamt-pagecache]: bsdos
freebsd linux macos netbsd nextstep openbsd openwrt solaris
src/external/bsd/dhcp/dist/common [yamt-pagecache]: Makefile.am
Makefile.in alloc.c bpf.c comapi.c conflex.c ctrace.c dhcp-eval.5
dhcp-options.5 discover.c dispatch.c dlpi.c dns.c ethernet.c
execute.c fddi.c icmp.c inet.c lpf.c memory.c nit.c ns_name.c
options.c packet.c parse.c print.c raw.c resolv.c socket.c tables.c
tr.c tree.c upf.c
src/external/bsd/dhcp/dist/common/tests [yamt-pagecache]: Atffile
Makefile.am Makefile.in test_alloc.c
src/external/bsd/dhcp/dist/contrib [yamt-pagecache]:
3.0b1-lease-convert dhclient-tz-exithook.sh dhcp.spec
sethostname.sh solaris.init
src/external/bsd/dhcp/dist/contrib/ldap [yamt-pagecache]: README.ldap
dhcp.schema dhcpd-conf-to-ldap
src/external/bsd/dhcp/dist/contrib/ms2isc [yamt-pagecache]: Registry.pm
ms2isc.pl readme.txt
src/external/bsd/dhcp/dist/dhcpctl [yamt-pagecache]: Makefile.am
Makefile.in callback.c cltest.c dhcpctl.3 dhcpctl.c dhcpctl.h
omshell.1 omshell.c remote.c
src/external/bsd/dhcp/dist/doc [yamt-pagecache]: IANA-arp-parameters
Makefile References.html References.txt References.xml api+protocol
src/external/bsd/dhcp/dist/doc/devel [yamt-pagecache]: doxyfile.in
src/external/bsd/dhcp/dist/doc/examples [yamt-pagecache]:
dhclient-dhcpv6.conf dhcpd-dhcpv6.conf
src/external/bsd/dhcp/dist/doc/ja_JP.eucJP [yamt-pagecache]:
dhclient-script.8 dhclient.8 dhclient.conf.5 dhclient.leases.5
dhcp-eval.5 dhcp-options.5
src/external/bsd/dhcp/dist/dst [yamt-pagecache]: Makefile.am
Makefile.in base64.c dst_api.c dst_internal.h dst_support.c
hmac_link.c md5.h md5_dgst.c md5_locl.h prandom.c
src/external/bsd/dhcp/dist/includes [yamt-pagecache]: Makefile.am
Makefile.in cdefs.h config.h.in ctrace.h dhcp.h dhcp6.h dhcpd.h
dhctoken.h failover.h heap.h inet.h minires.h osdep.h site.h
statement.h t_api.h tree.h
src/external/bsd/dhcp/dist/includes/arpa [yamt-pagecache]: nameser.h
nameser_compat.h
src/external/bsd/dhcp/dist/includes/isc-dhcp [yamt-pagecache]: dst.h
src/external/bsd/dhcp/dist/includes/netinet [yamt-pagecache]:
if_ether.h ip.h ip_icmp.h udp.h
src/external/bsd/dhcp/dist/includes/omapip [yamt-pagecache]: alloc.h
buffer.h convert.h hash.h isclib.h omapip.h omapip_p.h result.h
trace.h
src/external/bsd/dhcp/dist/omapip [yamt-pagecache]: Makefile.am
Makefile.in alloc.c array.c auth.c buffer.c connection.c convert.c
dispatch.c errwarn.c generic.c handle.c hash.c inet_addr.c isclib.c
iscprint.c listener.c message.c omapi.3 protocol.c result.c
support.c test.c toisc.c trace.c
src/external/bsd/dhcp/dist/relay [yamt-pagecache]: Makefile.am
Makefile.in dhcrelay.8 dhcrelay.c
src/external/bsd/dhcp/dist/server [yamt-pagecache]: Makefile.am
Makefile.in bootp.c class.c confpars.c db.c ddns.c dhcp.c dhcpd.8
dhcpd.c dhcpd.conf.5 dhcpd.conf.example dhcpd.leases.5
dhcpleasequery.c dhcpv6.c failover.c ldap.c ldap_casa.c mdb.c
mdb6.c omapi.c salloc.c stables.c
src/external/bsd/dhcp/dist/server/tests [yamt-pagecache]: Atffile
Makefile.am Makefile.in hash_unittest.c load_bal_unittest.c
mdb6_unittest.c simple_unittest.c
src/external/bsd/dhcp/dist/tests [yamt-pagecache]: HOWTO-unit-test
Makefile.am Makefile.in t_api.c t_api_dhcp.c unit_test_sample.c
src/external/bsd/dhcp/dist/tests/DHCPv6 

CVS commit: [yamt-pagecache] src/external/bsd/elftosb

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:44:51 UTC 2014

Modified Files:
src/external/bsd/elftosb [yamt-pagecache]: Makefile.inc
src/external/bsd/elftosb/dist/common [yamt-pagecache]:
EncoreBootImage.cpp Logging.cpp
src/external/bsd/elftosb/dist/elftosb2 [yamt-pagecache]: ElftosbAST.cpp
elftosb.cpp
src/external/bsd/elftosb/dist/keygen [yamt-pagecache]: keygen.cpp
src/external/bsd/elftosb/dist/sbtool [yamt-pagecache]: sbtool.cpp
src/external/bsd/elftosb/lib [yamt-pagecache]: Makefile
src/external/bsd/elftosb/usr.sbin/elftosb [yamt-pagecache]: Makefile
elftosb.8
src/external/bsd/elftosb/usr.sbin/sbkeygen [yamt-pagecache]: Makefile
sbkeygen.8
src/external/bsd/elftosb/usr.sbin/sbtool [yamt-pagecache]: Makefile
sbtool.8

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.1.4.2 -r1.1.4.3 src/external/bsd/elftosb/Makefile.inc
cvs rdiff -u -r1.1.4.2 -r1.1.4.3 \
src/external/bsd/elftosb/dist/common/EncoreBootImage.cpp \
src/external/bsd/elftosb/dist/common/Logging.cpp
cvs rdiff -u -r1.1.4.2 -r1.1.4.3 \
src/external/bsd/elftosb/dist/elftosb2/ElftosbAST.cpp \
src/external/bsd/elftosb/dist/elftosb2/elftosb.cpp
cvs rdiff -u -r1.1.4.2 -r1.1.4.3 \
src/external/bsd/elftosb/dist/keygen/keygen.cpp
cvs rdiff -u -r1.1.4.2 -r1.1.4.3 \
src/external/bsd/elftosb/dist/sbtool/sbtool.cpp
cvs rdiff -u -r1.4.2.2 -r1.4.2.3 src/external/bsd/elftosb/lib/Makefile
cvs rdiff -u -r1.2.2.2 -r1.2.2.3 \
src/external/bsd/elftosb/usr.sbin/elftosb/Makefile
cvs rdiff -u -r1.1.4.2 -r1.1.4.3 \
src/external/bsd/elftosb/usr.sbin/elftosb/elftosb.8
cvs rdiff -u -r1.2.2.2 -r1.2.2.3 \
src/external/bsd/elftosb/usr.sbin/sbkeygen/Makefile
cvs rdiff -u -r1.1.4.2 -r1.1.4.3 \
src/external/bsd/elftosb/usr.sbin/sbkeygen/sbkeygen.8
cvs rdiff -u -r1.2.2.2 -r1.2.2.3 \
src/external/bsd/elftosb/usr.sbin/sbtool/Makefile
cvs rdiff -u -r1.1.4.2 -r1.1.4.3 \
src/external/bsd/elftosb/usr.sbin/sbtool/sbtool.8

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/elftosb/Makefile.inc
diff -u src/external/bsd/elftosb/Makefile.inc:1.1.4.2 src/external/bsd/elftosb/Makefile.inc:1.1.4.3
--- src/external/bsd/elftosb/Makefile.inc:1.1.4.2	Wed Jan 16 05:27:44 2013
+++ src/external/bsd/elftosb/Makefile.inc	Thu May 22 15:44:50 2014
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.1.4.2 2013/01/16 05:27:44 yamt Exp $
+# $NetBSD: Makefile.inc,v 1.1.4.3 2014/05/22 15:44:50 yamt Exp $
 
 .include bsd.own.mk
 
@@ -18,6 +18,9 @@ CPPFLAGS+=	-I${DIST}/elftosb2
 CPPFLAGS+=	-DLinux
 
 CWARNFLAGS+=	-Wno-multichar
+CWARNFLAGS.clang+=	-Wno-switch -Wno-error=delete-non-virtual-dtor \
+			-Wno-bitwise-op-parentheses -Wno-parentheses \
+			-Wno-tautological-compare
 
 LIBISCXX=	yes
 

Index: src/external/bsd/elftosb/dist/common/EncoreBootImage.cpp
diff -u src/external/bsd/elftosb/dist/common/EncoreBootImage.cpp:1.1.4.2 src/external/bsd/elftosb/dist/common/EncoreBootImage.cpp:1.1.4.3
--- src/external/bsd/elftosb/dist/common/EncoreBootImage.cpp:1.1.4.2	Wed Jan 16 05:27:45 2013
+++ src/external/bsd/elftosb/dist/common/EncoreBootImage.cpp	Thu May 22 15:44:51 2014
@@ -391,7 +391,7 @@ void EncoreBootImage::prepareImageHeader
 //! \bug The timestamp might be off an hour.
 uint64_t EncoreBootImage::getTimestamp()
 {
-#if WIN32
+#if defined(WIN32) || defined(__CYGWIN__) || defined(__sun)
 	struct tm epoch = { 0, 0, 0, 1, 0, 100, 0, 0 }; // 00:00 1-1-2000
 #else
 	struct tm epoch = { 0, 0, 0, 1, 0, 100, 0, 0, 1, 0, NULL }; // 00:00 1-1-2000
Index: src/external/bsd/elftosb/dist/common/Logging.cpp
diff -u src/external/bsd/elftosb/dist/common/Logging.cpp:1.1.4.2 src/external/bsd/elftosb/dist/common/Logging.cpp:1.1.4.3
--- src/external/bsd/elftosb/dist/common/Logging.cpp:1.1.4.2	Wed Jan 16 05:27:45 2013
+++ src/external/bsd/elftosb/dist/common/Logging.cpp	Thu May 22 15:44:51 2014
@@ -86,6 +86,6 @@ void Log::log(Logger::log_level_t level,
 
 void StdoutLogger::_log(const char * msg)
 {
-	printf(msg);
+	printf(%s, msg);
 }
 

Index: src/external/bsd/elftosb/dist/elftosb2/ElftosbAST.cpp
diff -u src/external/bsd/elftosb/dist/elftosb2/ElftosbAST.cpp:1.1.4.2 src/external/bsd/elftosb/dist/elftosb2/ElftosbAST.cpp:1.1.4.3
--- src/external/bsd/elftosb/dist/elftosb2/ElftosbAST.cpp:1.1.4.2	Wed Jan 16 05:27:48 2013
+++ src/external/bsd/elftosb/dist/elftosb2/ElftosbAST.cpp	Thu May 22 15:44:51 2014
@@ -1201,7 +1201,7 @@ void SectionMatchListASTNode::printTree(
 	}
 	
 	printIndent(indent+1);
-	printf(source: , m_source-c_str());
+	printf(source: );
 	if (m_source)
 	{
 		printf(%s\n, m_source-c_str());
@@ 

CVS commit: [yamt-pagecache] src/external/bsd/ipf

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:45:14 UTC 2014

Modified Files:
src/external/bsd/ipf [yamt-pagecache]: Makefile.inc
src/external/bsd/ipf/dist/lib [yamt-pagecache]: interror.c ipft_hx.c
ipft_tx.c printfieldhdr.c printfraginfo.c
src/external/bsd/ipf/dist/tools [yamt-pagecache]: ipfcomp.c ippool.c

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/external/bsd/ipf/Makefile.inc
cvs rdiff -u -r1.1.1.1.2.3 -r1.1.1.1.2.4 \
src/external/bsd/ipf/dist/lib/interror.c \
src/external/bsd/ipf/dist/lib/ipft_hx.c \
src/external/bsd/ipf/dist/lib/ipft_tx.c \
src/external/bsd/ipf/dist/lib/printfieldhdr.c \
src/external/bsd/ipf/dist/lib/printfraginfo.c
cvs rdiff -u -r1.2.2.3 -r1.2.2.4 src/external/bsd/ipf/dist/tools/ipfcomp.c \
src/external/bsd/ipf/dist/tools/ippool.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/ipf/Makefile.inc
diff -u src/external/bsd/ipf/Makefile.inc:1.1.2.2 src/external/bsd/ipf/Makefile.inc:1.1.2.3
--- src/external/bsd/ipf/Makefile.inc:1.1.2.2	Tue Apr 17 00:03:09 2012
+++ src/external/bsd/ipf/Makefile.inc	Thu May 22 15:45:14 2014
@@ -1,8 +1,9 @@
-#	$NetBSD: Makefile.inc,v 1.1.2.2 2012/04/17 00:03:09 yamt Exp $
+#	$NetBSD: Makefile.inc,v 1.1.2.3 2014/05/22 15:45:14 yamt Exp $
 
 WARNS?=	1	# XXX -Wcast-qual -Wshadow
 CWARNFLAGS.clang+=	-Wno-format -Wno-tautological-compare \
-			-Wno-self-assign -Wno-array-bounds
+			-Wno-self-assign -Wno-array-bounds \
+			-Wno-error=unused-const-variable
 
 .include bsd.own.mk
 

Index: src/external/bsd/ipf/dist/lib/interror.c
diff -u src/external/bsd/ipf/dist/lib/interror.c:1.1.1.1.2.3 src/external/bsd/ipf/dist/lib/interror.c:1.1.1.1.2.4
--- src/external/bsd/ipf/dist/lib/interror.c:1.1.1.1.2.3	Tue Oct 30 18:55:05 2012
+++ src/external/bsd/ipf/dist/lib/interror.c	Thu May 22 15:45:14 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: interror.c,v 1.1.1.1.2.3 2012/10/30 18:55:05 yamt Exp $	*/
+/*	$NetBSD: interror.c,v 1.1.1.1.2.4 2014/05/22 15:45:14 yamt Exp $	*/
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -503,7 +503,7 @@ log },
 /* -- */
 	{	130001,	ioctl denied by system security level },
 	{	130002,	ioctl operation on invalid minor device },
-	{	130003,	ioctl on device denied, ipfitler is disabled },
+	{	130003,	ioctl on device denied, ipfilter is disabled },
 	{	130004,	ioctl command not allowed when disabled },
 	{	130005,	ioctl denied due to insufficient authorisation },
 	{	130006,	cannot read while ipfilter is disabled },
Index: src/external/bsd/ipf/dist/lib/ipft_hx.c
diff -u src/external/bsd/ipf/dist/lib/ipft_hx.c:1.1.1.1.2.3 src/external/bsd/ipf/dist/lib/ipft_hx.c:1.1.1.1.2.4
--- src/external/bsd/ipf/dist/lib/ipft_hx.c:1.1.1.1.2.3	Tue Oct 30 18:55:06 2012
+++ src/external/bsd/ipf/dist/lib/ipft_hx.c	Thu May 22 15:45:14 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: ipft_hx.c,v 1.1.1.1.2.3 2012/10/30 18:55:06 yamt Exp $	*/
+/*	$NetBSD: ipft_hx.c,v 1.1.1.1.2.4 2014/05/22 15:45:14 yamt Exp $	*/
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -65,10 +65,8 @@ static	int	hex_readip(mb, ifn, dir)
 	char	line[513];
 	ip_t	*ip;
 	char	*buf;
-	int	cnt;
 
 	buf = (char *)mb-mb_buf;
-	cnt = sizeof(mb-mb_buf);
 	/*
 	 * interpret start of line as possibly [ifname] or
 	 * [in/out,ifname].
Index: src/external/bsd/ipf/dist/lib/ipft_tx.c
diff -u src/external/bsd/ipf/dist/lib/ipft_tx.c:1.1.1.1.2.3 src/external/bsd/ipf/dist/lib/ipft_tx.c:1.1.1.1.2.4
--- src/external/bsd/ipf/dist/lib/ipft_tx.c:1.1.1.1.2.3	Tue Oct 30 18:55:06 2012
+++ src/external/bsd/ipf/dist/lib/ipft_tx.c	Thu May 22 15:45:14 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: ipft_tx.c,v 1.1.1.1.2.3 2012/10/30 18:55:06 yamt Exp $	*/
+/*	$NetBSD: ipft_tx.c,v 1.1.1.1.2.4 2014/05/22 15:45:14 yamt Exp $	*/
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -122,10 +122,8 @@ static	int	text_readip(mb, ifn, dir)
 	char	line[513];
 	ip_t	*ip;
 	char	*buf;
-	int	cnt;
 
 	buf = (char *)mb-mb_buf;
-	cnt = sizeof(mb-mb_buf);
 
 	*ifn = NULL;
 	while (fgets(line, sizeof(line)-1, tfp)) {
Index: src/external/bsd/ipf/dist/lib/printfieldhdr.c
diff -u src/external/bsd/ipf/dist/lib/printfieldhdr.c:1.1.1.1.2.3 src/external/bsd/ipf/dist/lib/printfieldhdr.c:1.1.1.1.2.4
--- src/external/bsd/ipf/dist/lib/printfieldhdr.c:1.1.1.1.2.3	Tue Oct 30 18:55:09 2012
+++ src/external/bsd/ipf/dist/lib/printfieldhdr.c	Thu May 22 15:45:14 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: printfieldhdr.c,v 1.1.1.1.2.3 2012/10/30 18:55:09 yamt Exp $	*/
+/*	$NetBSD: printfieldhdr.c,v 1.1.1.1.2.4 2014/05/22 15:45:14 yamt Exp $	*/
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -18,10 +18,9 @@ 

CVS commit: [yamt-pagecache] src/external/bsd/iscsi/dist/src

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:45:17 UTC 2014

Modified Files:
src/external/bsd/iscsi/dist/src/initiator [yamt-pagecache]:
iscsi-initiator.c
src/external/bsd/iscsi/dist/src/lib [yamt-pagecache]: initiator.c
libiscsi.3 util.c
src/external/bsd/iscsi/dist/src/target [yamt-pagecache]: targets.5

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.9.2.1 \
src/external/bsd/iscsi/dist/src/initiator/iscsi-initiator.c
cvs rdiff -u -r1.6.2.1 -r1.6.2.2 \
src/external/bsd/iscsi/dist/src/lib/initiator.c
cvs rdiff -u -r1.4.4.1 -r1.4.4.2 \
src/external/bsd/iscsi/dist/src/lib/libiscsi.3
cvs rdiff -u -r1.2.6.1 -r1.2.6.2 src/external/bsd/iscsi/dist/src/lib/util.c
cvs rdiff -u -r1.2 -r1.2.6.1 src/external/bsd/iscsi/dist/src/target/targets.5

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/iscsi/dist/src/initiator/iscsi-initiator.c
diff -u src/external/bsd/iscsi/dist/src/initiator/iscsi-initiator.c:1.9 src/external/bsd/iscsi/dist/src/initiator/iscsi-initiator.c:1.9.2.1
--- src/external/bsd/iscsi/dist/src/initiator/iscsi-initiator.c:1.9	Thu Oct  6 13:05:28 2011
+++ src/external/bsd/iscsi/dist/src/initiator/iscsi-initiator.c	Thu May 22 15:45:17 2014
@@ -542,7 +542,6 @@ main(int argc, char **argv)
 	char			name[1024];
 	char			*colon;
 	char		   *host;
-	char		   *user;
 	char			buf[32];
 	char			devtype;
 	int			discover;
@@ -552,7 +551,6 @@ main(int argc, char **argv)
 
 	(void) memset(tinfo, 0x0, sizeof(tinfo));
 	iscsi_initiator_set_defaults(ini);
-	user = NULL;
 	(void) gethostname(host = hostname, sizeof(hostname));
 	discover = 0;
 	(void) stat(/etc/hosts, sti.st);

Index: src/external/bsd/iscsi/dist/src/lib/initiator.c
diff -u src/external/bsd/iscsi/dist/src/lib/initiator.c:1.6.2.1 src/external/bsd/iscsi/dist/src/lib/initiator.c:1.6.2.2
--- src/external/bsd/iscsi/dist/src/lib/initiator.c:1.6.2.1	Tue Apr 17 00:03:27 2012
+++ src/external/bsd/iscsi/dist/src/lib/initiator.c	Thu May 22 15:45:17 2014
@@ -646,7 +646,7 @@ iscsi_initiator_get_targets(int target, 
 text_len = 0;
 text[0] = 0x0;
 
-PARAM_TEXT_ADD(sess-params, SendTargets, all, text, text_len,
+PARAM_TEXT_ADD(sess-params, SendTargets, All, text, text_len,
 			DISCOVERY_PHASE_TEXT_LEN, 1, DP_ERROR);
 PARAM_TEXT_PARSE(sess-params, sess-sess_params.cred, text,
 			text_len, NULL, NULL, DISCOVERY_PHASE_TEXT_LEN, 1,
@@ -749,7 +749,7 @@ discovery_phase(int target, strv_t *svp)
 	/* Full Feature Phase Negotiation (for SendTargets) */
 	text_len = 0;
 	text[0] = 0x0;
-	PARAM_TEXT_ADD(sess-params, SendTargets, all, text, text_len,
+	PARAM_TEXT_ADD(sess-params, SendTargets, All, text, text_len,
 		DISCOVERY_PHASE_TEXT_LEN, 1, DP_ERROR);
 	PARAM_TEXT_PARSE(sess-params, sess-sess_params.cred, text,
 		text_len, NULL, NULL, DISCOVERY_PHASE_TEXT_LEN, 1, DP_ERROR);

Index: src/external/bsd/iscsi/dist/src/lib/libiscsi.3
diff -u src/external/bsd/iscsi/dist/src/lib/libiscsi.3:1.4.4.1 src/external/bsd/iscsi/dist/src/lib/libiscsi.3:1.4.4.2
--- src/external/bsd/iscsi/dist/src/lib/libiscsi.3:1.4.4.1	Thu Nov 10 14:31:22 2011
+++ src/external/bsd/iscsi/dist/src/lib/libiscsi.3	Thu May 22 15:45:17 2014
@@ -1,4 +1,4 @@
-.\ $NetBSD: libiscsi.3,v 1.4.4.1 2011/11/10 14:31:22 yamt Exp $
+.\ $NetBSD: libiscsi.3,v 1.4.4.2 2014/05/22 15:45:17 yamt Exp $
 .\
 .\ Copyright (c) 2009 The NetBSD Foundation, Inc.
 .\ All rights reserved.
@@ -159,4 +159,4 @@ iSCSI subsystem
 first appeared in
 .Nx 6.0 .
 .Sh AUTHORS
-.An Alistair Crooks Aq a...@netbsd.org .
+.An Alistair Crooks Aq Mt a...@netbsd.org .

Index: src/external/bsd/iscsi/dist/src/lib/util.c
diff -u src/external/bsd/iscsi/dist/src/lib/util.c:1.2.6.1 src/external/bsd/iscsi/dist/src/lib/util.c:1.2.6.2
--- src/external/bsd/iscsi/dist/src/lib/util.c:1.2.6.1	Tue Apr 17 00:03:27 2012
+++ src/external/bsd/iscsi/dist/src/lib/util.c	Thu May 22 15:45:17 2014
@@ -1273,7 +1273,7 @@ HexTextToData(const char *text, uint32_t
 	uint32_tn2;
 	uint32_tlen = 0;
 
-	if ((text[0] == '0')  (text[1] != 'x' || text[1] != 'X')) {
+	if ((text[0] == '0')  (text[1] == 'x' || text[1] == 'X')) {
 		/* skip prefix */
 		text += 2;
 		textLength -= 2;

Index: src/external/bsd/iscsi/dist/src/target/targets.5
diff -u src/external/bsd/iscsi/dist/src/target/targets.5:1.2 src/external/bsd/iscsi/dist/src/target/targets.5:1.2.6.1
--- src/external/bsd/iscsi/dist/src/target/targets.5:1.2	Tue Jun 30 02:44:53 2009
+++ src/external/bsd/iscsi/dist/src/target/targets.5	Thu May 22 15:45:17 2014
@@ -1,4 +1,4 @@
-.\ $NetBSD: targets.5,v 1.2 2009/06/30 02:44:53 agc Exp $
+.\ $NetBSD: targets.5,v 1.2.6.1 

CVS commit: [yamt-pagecache] src/external/bsd/flex

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:45:10 UTC 2014

Modified Files:
src/external/bsd/flex/dist [yamt-pagecache]: ChangeLog INSTALL
Makefile.am Makefile.in NEWS README.cvs aclocal.m4 buf.c compile
conf.in config.guess config.sub configure configure.in depcomp
dfa.c filter.c flex.skl flexdef.h flexint.h gen.c initparse.c
install-sh main.c misc.c missing parse.y regex.c scan.l scanflags.c
scanopt.c tables.c
src/external/bsd/flex/dist/doc [yamt-pagecache]: Makefile.am
Makefile.in flex.1 flex.info flex.info-1 flex.info-2 flex.pdf
flex.texi mdate-sh stamp-vti texinfo.tex version.texi
src/external/bsd/flex/dist/examples [yamt-pagecache]: Makefile.in
src/external/bsd/flex/dist/examples/fastwc [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/examples/manual [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/po [yamt-pagecache]: LINGUAS ca.po da.po
de.po es.po flex.pot fr.po ga.po ko.po nl.po pl.po pt_BR.po ro.po
ru.po sv.po tr.po vi.po zh_CN.po
src/external/bsd/flex/dist/tests [yamt-pagecache]: Makefile.in
src/external/bsd/flex/dist/tests/TEMPLATE [yamt-pagecache]: Makefile.in
src/external/bsd/flex/dist/tests/test-alloc-extra [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-array-nr [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-array-r [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-basic-nr [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-basic-r [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-bison-nr [yamt-pagecache]:
Makefile.am Makefile.in
src/external/bsd/flex/dist/tests/test-bison-yylloc [yamt-pagecache]:
Makefile.am Makefile.in
src/external/bsd/flex/dist/tests/test-bison-yylval [yamt-pagecache]:
Makefile.am Makefile.in
src/external/bsd/flex/dist/tests/test-c++-basic [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-c++-multiple-scanners 
[yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-c++-yywrap [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-c-cpp-nr [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-c-cpp-r [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-ccl [yamt-pagecache]: Makefile.in
src/external/bsd/flex/dist/tests/test-concatenated-options 
[yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-debug-nr [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-debug-r [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-extended [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-header-nr [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-header-r [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-include-by-buffer 
[yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-include-by-push [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-include-by-reentrant 
[yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-linedir-r [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-lineno-nr [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-lineno-r [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-mem-nr [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-mem-r [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-multiple-scanners-nr 
[yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-multiple-scanners-r 
[yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-noansi-nr [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-noansi-r [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-posix [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-posixly-correct [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-prefix-nr [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-prefix-r [yamt-pagecache]:
Makefile.in
src/external/bsd/flex/dist/tests/test-pthread 

CVS commit: [yamt-pagecache] src/external/bsd/libarchive/dist

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:45:47 UTC 2014

Modified Files:
src/external/bsd/libarchive/dist/libarchive [yamt-pagecache]:
archive_entry.3 archive_read.3 archive_read_disk.3 archive_util.3
archive_write.3 archive_write_disk.3
archive_write_set_format_shar.c libarchive.3 libarchive_internals.3
tar.5
src/external/bsd/libarchive/dist/libarchive_fe [yamt-pagecache]: err.c
err.h

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.6.1 \
src/external/bsd/libarchive/dist/libarchive/archive_entry.3 \
src/external/bsd/libarchive/dist/libarchive/archive_read_disk.3
cvs rdiff -u -r1.4 -r1.4.6.1 \
src/external/bsd/libarchive/dist/libarchive/archive_read.3
cvs rdiff -u -r1.1.1.2 -r1.1.1.2.6.1 \
src/external/bsd/libarchive/dist/libarchive/archive_util.3 \
src/external/bsd/libarchive/dist/libarchive/archive_write_set_format_shar.c 
\
src/external/bsd/libarchive/dist/libarchive/libarchive_internals.3 \
src/external/bsd/libarchive/dist/libarchive/tar.5
cvs rdiff -u -r1.3 -r1.3.6.1 \
src/external/bsd/libarchive/dist/libarchive/archive_write.3 \
src/external/bsd/libarchive/dist/libarchive/archive_write_disk.3
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.2.1 \
src/external/bsd/libarchive/dist/libarchive/libarchive.3
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.6.1 \
src/external/bsd/libarchive/dist/libarchive_fe/err.c \
src/external/bsd/libarchive/dist/libarchive_fe/err.h

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/libarchive/dist/libarchive/archive_entry.3
diff -u src/external/bsd/libarchive/dist/libarchive/archive_entry.3:1.2 src/external/bsd/libarchive/dist/libarchive/archive_entry.3:1.2.6.1
--- src/external/bsd/libarchive/dist/libarchive/archive_entry.3:1.2	Thu Dec 16 17:42:25 2010
+++ src/external/bsd/libarchive/dist/libarchive/archive_entry.3	Thu May 22 15:45:47 2014
@@ -429,5 +429,5 @@ library first appeared in
 The
 .Nm libarchive
 library was written by
-.An Tim Kientzle Aq kient...@acm.org .
+.An Tim Kientzle Aq Mt kient...@acm.org .
 .\ .Sh BUGS
Index: src/external/bsd/libarchive/dist/libarchive/archive_read_disk.3
diff -u src/external/bsd/libarchive/dist/libarchive/archive_read_disk.3:1.2 src/external/bsd/libarchive/dist/libarchive/archive_read_disk.3:1.2.6.1
--- src/external/bsd/libarchive/dist/libarchive/archive_read_disk.3:1.2	Sat Feb 20 02:51:33 2010
+++ src/external/bsd/libarchive/dist/libarchive/archive_read_disk.3	Thu May 22 15:45:47 2014
@@ -270,7 +270,7 @@ and first appeared in
 The
 .Nm libarchive
 library was written by
-.An Tim Kientzle Aq kient...@freebsd.org .
+.An Tim Kientzle Aq Mt kient...@freebsd.org .
 .Sh BUGS
 The
 .Dq standard

Index: src/external/bsd/libarchive/dist/libarchive/archive_read.3
diff -u src/external/bsd/libarchive/dist/libarchive/archive_read.3:1.4 src/external/bsd/libarchive/dist/libarchive/archive_read.3:1.4.6.1
--- src/external/bsd/libarchive/dist/libarchive/archive_read.3:1.4	Wed Jul 14 22:13:58 2010
+++ src/external/bsd/libarchive/dist/libarchive/archive_read.3	Thu May 22 15:45:47 2014
@@ -694,7 +694,7 @@ library first appeared in
 The
 .Nm libarchive
 library was written by
-.An Tim Kientzle Aq kient...@acm.org .
+.An Tim Kientzle Aq Mt kient...@acm.org .
 .Sh BUGS
 Many traditional archiver programs treat
 empty files as valid empty archives.

Index: src/external/bsd/libarchive/dist/libarchive/archive_util.3
diff -u src/external/bsd/libarchive/dist/libarchive/archive_util.3:1.1.1.2 src/external/bsd/libarchive/dist/libarchive/archive_util.3:1.1.1.2.6.1
--- src/external/bsd/libarchive/dist/libarchive/archive_util.3:1.1.1.2	Sat Feb 20 02:48:43 2010
+++ src/external/bsd/libarchive/dist/libarchive/archive_util.3	Thu May 22 15:45:47 2014
@@ -157,4 +157,4 @@ library first appeared in
 The
 .Nm libarchive
 library was written by
-.An Tim Kientzle Aq kient...@acm.org .
+.An Tim Kientzle Aq Mt kient...@acm.org .
Index: src/external/bsd/libarchive/dist/libarchive/archive_write_set_format_shar.c
diff -u src/external/bsd/libarchive/dist/libarchive/archive_write_set_format_shar.c:1.1.1.2 src/external/bsd/libarchive/dist/libarchive/archive_write_set_format_shar.c:1.1.1.2.6.1
--- src/external/bsd/libarchive/dist/libarchive/archive_write_set_format_shar.c:1.1.1.2	Sat Feb 20 02:48:40 2010
+++ src/external/bsd/libarchive/dist/libarchive/archive_write_set_format_shar.c	Thu May 22 15:45:47 2014
@@ -409,7 +409,7 @@ uuencode_group(const char _in[3], char o
 static void
 uuencode_line(struct shar *shar, const char *inbuf, size_t len)
 {
-	char tmp_buf[3], *buf;
+	char *buf;
 	size_t alloc_len;
 
 	/* len = 45 - expanded 

CVS commit: [yamt-pagecache] src/external/bsd/kyua-cli

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:45:34 UTC 2014

Added Files:
src/external/bsd/kyua-cli [yamt-pagecache]: Makefile Makefile.inc
config.h prepare-import.sh
src/external/bsd/kyua-cli/dist [yamt-pagecache]: AUTHORS COPYING
Kyuafile NEWS README main.cpp
src/external/bsd/kyua-cli/dist/bootstrap [yamt-pagecache]: Kyuafile
atf_helpers.cpp package.m4 plain_helpers.cpp testsuite testsuite.at
src/external/bsd/kyua-cli/dist/cli [yamt-pagecache]: Kyuafile
cmd_about.cpp cmd_about.hpp cmd_about_test.cpp cmd_config.cpp
cmd_config.hpp cmd_config_test.cpp cmd_db_exec.cpp cmd_db_exec.hpp
cmd_db_exec_test.cpp cmd_db_migrate.cpp cmd_db_migrate.hpp
cmd_db_migrate_test.cpp cmd_debug.cpp cmd_debug.hpp
cmd_debug_test.cpp cmd_help.cpp cmd_help.hpp cmd_help_test.cpp
cmd_list.cpp cmd_list.hpp cmd_list_test.cpp cmd_report.cpp
cmd_report.hpp cmd_report_html.cpp cmd_report_html.hpp
cmd_report_html_test.cpp cmd_report_test.cpp cmd_test.cpp
cmd_test.hpp cmd_test_test.cpp common.cpp common.hpp common.ipp
common_test.cpp config.cpp config.hpp config_test.cpp main.cpp
main.hpp main_test.cpp
src/external/bsd/kyua-cli/dist/doc [yamt-pagecache]: kyua-about.1.in
kyua-build-root.7.in kyua-config.1.in kyua-db-exec.1.in
kyua-db-migrate.1.in kyua-debug.1.in kyua-help.1.in kyua-list.1.in
kyua-report-html.1.in kyua-report.1.in kyua-test-filters.7.in
kyua-test.1.in kyua.1.in kyua.conf.5.in kyuafile.5.in
src/external/bsd/kyua-cli/dist/engine [yamt-pagecache]: Kyuafile
action.cpp action.hpp action_test.cpp config.cpp config.hpp
config_test.cpp context.cpp context.hpp context_test.cpp
exceptions.cpp exceptions.hpp exceptions_test.cpp filters.cpp
filters.hpp filters_test.cpp kyuafile.cpp kyuafile.hpp
kyuafile_test.cpp metadata.cpp metadata.hpp metadata_test.cpp
test_case.cpp test_case.hpp test_case_atf_helpers.cpp
test_case_plain_helpers.cpp test_case_test.cpp test_program.cpp
test_program.hpp test_program_test.cpp test_result.cpp
test_result.hpp test_result_test.cpp testers.cpp testers.hpp
testers_test.cpp
src/external/bsd/kyua-cli/dist/engine/drivers [yamt-pagecache]:
Kyuafile debug_test.cpp debug_test.hpp debug_test_test.cpp
list_tests.cpp list_tests.hpp list_tests_helpers.cpp
list_tests_test.cpp run_tests.cpp run_tests.hpp run_tests_test.cpp
scan_action.cpp scan_action.hpp scan_action_test.cpp
src/external/bsd/kyua-cli/dist/examples [yamt-pagecache]: Kyuafile
Kyuafile.top kyua.conf syntax_test.cpp
src/external/bsd/kyua-cli/dist/integration [yamt-pagecache]: Kyuafile
cmd_about_test.sh cmd_config_test.sh cmd_db_exec_test.sh
cmd_db_migrate_test.sh cmd_debug_test.sh cmd_help_test.sh
cmd_list_test.sh cmd_report_html_test.sh cmd_report_test.sh
cmd_test_test.sh global_test.sh utils.sh
src/external/bsd/kyua-cli/dist/integration/helpers [yamt-pagecache]:
bad_test_program.cpp bogus_test_cases.cpp config.cpp
expect_all_pass.cpp expect_some_fail.cpp interrupts.cpp
metadata.cpp simple_all_pass.cpp simple_some_fail.cpp
src/external/bsd/kyua-cli/dist/misc [yamt-pagecache]: context.html
index.html report.css test_result.html
src/external/bsd/kyua-cli/dist/store [yamt-pagecache]: Kyuafile
backend.cpp backend.hpp backend_test.cpp dbtypes.cpp dbtypes.hpp
dbtypes_test.cpp exceptions.cpp exceptions.hpp exceptions_test.cpp
metadata.cpp metadata.hpp metadata_test.cpp migrate_v1_v2.sql
schema_inttest.cpp schema_v1.sql schema_v2.sql testdata_v1.sql
testdata_v2.sql transaction.cpp transaction.hpp
transaction_test.cpp
src/external/bsd/kyua-cli/dist/utils [yamt-pagecache]: Kyuafile
auto_array.hpp auto_array.ipp auto_array_test.cpp datetime.cpp
datetime.hpp datetime_test.cpp defs.hpp.in env.cpp env.hpp
env_test.cpp memory.cpp memory.hpp memory_test.cpp noncopyable.hpp
optional.hpp optional.ipp optional_test.cpp passwd.cpp passwd.hpp
passwd_test.cpp sanity.cpp sanity.hpp sanity_test.cpp
shared_ptr.hpp stream.cpp stream.hpp stream_test.cpp units.cpp
units.hpp units_test.cpp
src/external/bsd/kyua-cli/dist/utils/cmdline [yamt-pagecache]: Kyuafile
base_command.cpp base_command.hpp base_command.ipp
base_command_test.cpp commands_map.hpp commands_map.ipp
commands_map_test.cpp exceptions.cpp exceptions.hpp
exceptions_test.cpp globals.cpp globals.hpp 

CVS commit: [yamt-pagecache] src/external/bsd/libbind/dist/nameser

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:45:50 UTC 2014

Modified Files:
src/external/bsd/libbind/dist/nameser [yamt-pagecache]: ns_name.c

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.14.1 -r1.1.1.1.14.2 \
src/external/bsd/libbind/dist/nameser/ns_name.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/libbind/dist/nameser/ns_name.c
diff -u src/external/bsd/libbind/dist/nameser/ns_name.c:1.1.1.1.14.1 src/external/bsd/libbind/dist/nameser/ns_name.c:1.1.1.1.14.2
--- src/external/bsd/libbind/dist/nameser/ns_name.c:1.1.1.1.14.1	Tue Oct 30 18:55:33 2012
+++ src/external/bsd/libbind/dist/nameser/ns_name.c	Thu May 22 15:45:50 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: ns_name.c,v 1.1.1.1.14.1 2012/10/30 18:55:33 yamt Exp $	*/
+/*	$NetBSD: ns_name.c,v 1.1.1.1.14.2 2014/05/22 15:45:50 yamt Exp $	*/
 
 /*
  * Copyright (c) 2004 by Internet Systems Consortium, Inc. (ISC)
@@ -463,11 +463,13 @@ ns_name_unpack2(const u_char *msg, const
 			}
 			if (len  0)
 len = srcp - src + 1;
-			srcp = msg + (((n  0x3f)  8) | (*srcp  0xff));
-			if (srcp  msg || srcp = eom) {  /*% Out of range. */
+
+			n = ((n  0x3f)  8) | (*srcp  0xff);
+			if (n = eom - msg) {  /*% Out of range. */
 errno = EMSGSIZE;
 return (-1);
 			}
+			srcp = msg + n;
 			checked += 2;
 			/*
 			 * Check for loops in the compressed name;



CVS commit: [yamt-pagecache] src/external/bsd/libelf/dist

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:48:04 UTC 2014

Modified Files:
src/external/bsd/libelf/dist [yamt-pagecache]: elf_update.c libelf.h
libelf_data.c libelf_phdr.c

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.6.1 src/external/bsd/libelf/dist/elf_update.c \
src/external/bsd/libelf/dist/libelf_data.c \
src/external/bsd/libelf/dist/libelf_phdr.c
cvs rdiff -u -r1.7 -r1.7.6.1 src/external/bsd/libelf/dist/libelf.h

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/libelf/dist/elf_update.c
diff -u src/external/bsd/libelf/dist/elf_update.c:1.4 src/external/bsd/libelf/dist/elf_update.c:1.4.6.1
--- src/external/bsd/libelf/dist/elf_update.c:1.4	Mon Feb 22 10:48:32 2010
+++ src/external/bsd/libelf/dist/elf_update.c	Thu May 22 15:48:04 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: elf_update.c,v 1.4 2010/02/22 10:48:32 darran Exp $	*/
+/*	$NetBSD: elf_update.c,v 1.4.6.1 2014/05/22 15:48:04 yamt Exp $	*/
 
 /*-
  * Copyright (c) 2006-2008 Joseph Koshy
@@ -357,7 +357,7 @@ _libelf_resync_sections(Elf *e, off_t rc
 static off_t
 _libelf_resync_elf(Elf *e)
 {
-	int ec, eh_class, eh_type;
+	int ec, eh_class;
 	unsigned int eh_byteorder, eh_version;
 	size_t align, fsz;
 	size_t phnum, shnum;
@@ -386,14 +386,12 @@ _libelf_resync_elf(Elf *e)
 		eh_class = eh32-e_ident[EI_CLASS];
 		phoff= (uint64_t) eh32-e_phoff;
 		shoff= (uint64_t) eh32-e_shoff;
-		eh_type  = eh32-e_type;
 		eh_version   = eh32-e_version;
 	} else {
 		eh_byteorder = eh64-e_ident[EI_DATA];
 		eh_class = eh64-e_ident[EI_CLASS];
 		phoff= eh64-e_phoff;
 		shoff= eh64-e_shoff;
-		eh_type  = eh64-e_type;
 		eh_version   = eh64-e_version;
 	}
 
Index: src/external/bsd/libelf/dist/libelf_data.c
diff -u src/external/bsd/libelf/dist/libelf_data.c:1.4 src/external/bsd/libelf/dist/libelf_data.c:1.4.6.1
--- src/external/bsd/libelf/dist/libelf_data.c:1.4	Mon Feb 22 10:48:33 2010
+++ src/external/bsd/libelf/dist/libelf_data.c	Thu May 22 15:48:04 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: libelf_data.c,v 1.4 2010/02/22 10:48:33 darran Exp $	*/
+/*	$NetBSD: libelf_data.c,v 1.4.6.1 2014/05/22 15:48:04 yamt Exp $	*/
 
 /*-
  * Copyright (c) 2006 Joseph Koshy
@@ -87,9 +87,13 @@ _libelf_xlate_shtype(uint32_t sht)
 	case SHT_SUNW_syminfo:
 		return (ELF_T_SYMINFO);
 #endif /* __LIBELF_HAVE_ELF_SYMINFO */
-	case SHT_AMD64_UNWIND:	/* == SHT_IA_64_UNWIND */
-		return (ELF_T_BYTE);
+#if defined(__LIBELF_HAVE_ELF_ATTRIBUTES)
+	case SHT_GNU_ATTRIBUTES:
+		return (ELF_T_BYTE);	/* XXX */
+#endif /* __LIBELF_HAVE_ELF_ATTRIBUTES */
 	default:
+		if (sht = SHT_LOPROC  sht = SHT_HIPROC)
+			return (ELF_T_BYTE);
 		return (-1);
 	}
 }
Index: src/external/bsd/libelf/dist/libelf_phdr.c
diff -u src/external/bsd/libelf/dist/libelf_phdr.c:1.4 src/external/bsd/libelf/dist/libelf_phdr.c:1.4.6.1
--- src/external/bsd/libelf/dist/libelf_phdr.c:1.4	Mon Feb 22 10:48:33 2010
+++ src/external/bsd/libelf/dist/libelf_phdr.c	Thu May 22 15:48:04 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: libelf_phdr.c,v 1.4 2010/02/22 10:48:33 darran Exp $	*/
+/*	$NetBSD: libelf_phdr.c,v 1.4.6.1 2014/05/22 15:48:04 yamt Exp $	*/
 
 /*-
  * Copyright (c) 2006 Joseph Koshy
@@ -45,7 +45,7 @@
 void *
 _libelf_getphdr(Elf *e, int ec)
 {
-	size_t phnum, phentsize;
+	size_t phnum;
 	size_t fsz, msz;
 	uint64_t phoff;
 	Elf32_Ehdr *eh32;
@@ -76,11 +76,9 @@ _libelf_getphdr(Elf *e, int ec)
 
 	if (ec == ELFCLASS32) {
 		eh32  = (Elf32_Ehdr *) ehdr;
-		phentsize = eh32-e_phentsize;
 		phoff = (uint64_t) eh32-e_phoff;
 	} else {
 		eh64  = (Elf64_Ehdr *) ehdr;
-		phentsize = eh64-e_phentsize;
 		phoff = (uint64_t) eh64-e_phoff;
 	}
 

Index: src/external/bsd/libelf/dist/libelf.h
diff -u src/external/bsd/libelf/dist/libelf.h:1.7 src/external/bsd/libelf/dist/libelf.h:1.7.6.1
--- src/external/bsd/libelf/dist/libelf.h:1.7	Mon Feb 22 10:48:32 2010
+++ src/external/bsd/libelf/dist/libelf.h	Thu May 22 15:48:04 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: libelf.h,v 1.7 2010/02/22 10:48:32 darran Exp $	*/
+/*	$NetBSD: libelf.h,v 1.7.6.1 2014/05/22 15:48:04 yamt Exp $	*/
 
 /*-
  * Copyright (c) 2006 Joseph Koshy
@@ -54,6 +54,7 @@
 # define __LIBELF_HAVE_ELF_NOTE		1
 # define __LIBELF_HAVE_ELF_SYMINFO	1
 # define __LIBELF_HAVE_ELF_VERS		1
+# define __LIBELF_HAVE_ELF_ATTRIBUTES	1
 #elif defined(__FreeBSD__)
 # include sys/elf32.h
 # include sys/elf64.h



CVS commit: [yamt-pagecache] src/external/bsd/libdwarf

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:48:01 UTC 2014

Modified Files:
src/external/bsd/libdwarf/dist [yamt-pagecache]: dwarf_init.c
dwarf_loc.c
src/external/bsd/libdwarf/lib [yamt-pagecache]: Makefile

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.3.6.1 -r1.3.6.2 src/external/bsd/libdwarf/dist/dwarf_init.c
cvs rdiff -u -r1.2.6.1 -r1.2.6.2 src/external/bsd/libdwarf/dist/dwarf_loc.c
cvs rdiff -u -r1.1.6.1 -r1.1.6.2 src/external/bsd/libdwarf/lib/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/libdwarf/dist/dwarf_init.c
diff -u src/external/bsd/libdwarf/dist/dwarf_init.c:1.3.6.1 src/external/bsd/libdwarf/dist/dwarf_init.c:1.3.6.2
--- src/external/bsd/libdwarf/dist/dwarf_init.c:1.3.6.1	Wed Jan 23 00:04:38 2013
+++ src/external/bsd/libdwarf/dist/dwarf_init.c	Thu May 22 15:48:01 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: dwarf_init.c,v 1.3.6.1 2013/01/23 00:04:38 yamt Exp $	*/
+/*	$NetBSD: dwarf_init.c,v 1.3.6.2 2014/05/22 15:48:01 yamt Exp $	*/
 
 /*-
  * Copyright (c) 2007 John Birrell (j...@freebsd.org)
@@ -468,7 +468,6 @@ dwarf_init_info(Dwarf_Debug dbg, Dwarf_E
 {
 	Dwarf_CU cu;
 	Elf_Data *d = NULL;
-	Elf_Scn *scn;
 	int i;
 	int level = 0;
 	int relocated = 0;
@@ -477,8 +476,6 @@ dwarf_init_info(Dwarf_Debug dbg, Dwarf_E
 	uint64_t next_offset;
 	uint64_t offset = 0;
 
-	scn = dbg-dbg_s[DWARF_debug_info].s_scn;
-
 	d = dbg-dbg_s[DWARF_debug_info].s_data;
 
 	while (offset  d-d_size) {

Index: src/external/bsd/libdwarf/dist/dwarf_loc.c
diff -u src/external/bsd/libdwarf/dist/dwarf_loc.c:1.2.6.1 src/external/bsd/libdwarf/dist/dwarf_loc.c:1.2.6.2
--- src/external/bsd/libdwarf/dist/dwarf_loc.c:1.2.6.1	Wed Jan 23 00:04:38 2013
+++ src/external/bsd/libdwarf/dist/dwarf_loc.c	Thu May 22 15:48:01 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: dwarf_loc.c,v 1.2.6.1 2013/01/23 00:04:38 yamt Exp $	*/
+/*	$NetBSD: dwarf_loc.c,v 1.2.6.2 2014/05/22 15:48:01 yamt Exp $	*/
 
 /*-
  * Copyright (c) 2007 John Birrell (j...@freebsd.org)
@@ -93,8 +93,6 @@ int
 dwarf_op_num(uint8_t pointer_size, uint8_t *p, int len)
 {
 	int count = 0;
-	int64_t sval;
-	uint64_t uval;
 	uint8_t *last = p + len;
 
 	/*
@@ -242,7 +240,6 @@ dwarf_op_num(uint8_t pointer_size, uint8
 		case DW_OP_plus_uconst:
 		case DW_OP_regx:
 		case DW_OP_piece:
-			uval = dwarf_decode_uleb128(p);
 			break;
 
 		/* Operations with a signed LEB128 operand. */
@@ -280,7 +277,6 @@ dwarf_op_num(uint8_t pointer_size, uint8
 		case DW_OP_breg30:
 		case DW_OP_breg31:
 		case DW_OP_fbreg:
-			sval = dwarf_decode_sleb128(p);
 			break;
 
 		/*
@@ -288,8 +284,6 @@ dwarf_op_num(uint8_t pointer_size, uint8
 		 * followed by a signed LEB128 operand.
 		 */
 		case DW_OP_bregx:
-			uval = dwarf_decode_uleb128(p);
-			sval = dwarf_decode_sleb128(p);
 			break;
 
 		/* Target address size operand. */

Index: src/external/bsd/libdwarf/lib/Makefile
diff -u src/external/bsd/libdwarf/lib/Makefile:1.1.6.1 src/external/bsd/libdwarf/lib/Makefile:1.1.6.2
--- src/external/bsd/libdwarf/lib/Makefile:1.1.6.1	Wed Jan 23 00:04:38 2013
+++ src/external/bsd/libdwarf/lib/Makefile	Thu May 22 15:48:01 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1.6.1 2013/01/23 00:04:38 yamt Exp $
+#	$NetBSD: Makefile,v 1.1.6.2 2014/05/22 15:48:01 yamt Exp $
 
 .include bsd.init.mk
 
@@ -26,4 +26,6 @@ CPPFLAGS+=	-I${.CURDIR}
 
 WITHOUT_MAN=	yes
 
+LIBDPLIBS+=	elf		${NETBSDSRCDIR}/external/bsd/libelf/lib
+
 .include bsd.lib.mk



CVS commit: [yamt-pagecache] src/external/bsd/liblzf/usr.bin/lzf

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:48:15 UTC 2014

Modified Files:
src/external/bsd/liblzf/usr.bin/lzf [yamt-pagecache]: lzf.1

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.3.2.2 -r1.3.2.3 src/external/bsd/liblzf/usr.bin/lzf/lzf.1

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/liblzf/usr.bin/lzf/lzf.1
diff -u src/external/bsd/liblzf/usr.bin/lzf/lzf.1:1.3.2.2 src/external/bsd/liblzf/usr.bin/lzf/lzf.1:1.3.2.3
--- src/external/bsd/liblzf/usr.bin/lzf/lzf.1:1.3.2.2	Tue Oct 30 18:55:46 2012
+++ src/external/bsd/liblzf/usr.bin/lzf/lzf.1	Thu May 22 15:48:15 2014
@@ -1,4 +1,4 @@
-.\	$NetBSD: lzf.1,v 1.3.2.2 2012/10/30 18:55:46 yamt Exp $
+.\	$NetBSD: lzf.1,v 1.3.2.3 2014/05/22 15:48:15 yamt Exp $
 .\
 .\ Copyright (c) 2012 The NetBSD Foundation, inc.
 .\ All rights reserved.
@@ -131,7 +131,7 @@ program first appeared in
 The
 .Nm
 program was written by
-.An Stefan Traby Aq ste...@hello-penguin.com .
+.An Stefan Traby Aq Mt ste...@hello-penguin.com .
 .Sh BUGS
 Some versions of
 .Nm



CVS commit: [yamt-pagecache] src/external/bsd/libevent

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:48:11 UTC 2014

Modified Files:
src/external/bsd/libevent [yamt-pagecache]: Makefile Makefile.inc
src/external/bsd/libevent/dist [yamt-pagecache]: ChangeLog README
buffer.c evdns.c evdns.h event-internal.h event.c event.h
event_tagging.c evhttp.h evrpc-internal.h evrpc.c evrpc.h evutil.c
evutil.h http-internal.h http.c kqueue.c log.c poll.c select.c
signal.c strlcpy-internal.h
src/external/bsd/libevent/dist/test [yamt-pagecache]: regress.c
regress.gen.c regress.gen.h regress.h regress_dns.c regress_http.c
regress_rpc.c
src/external/bsd/libevent/include [yamt-pagecache]: Makefile
src/external/bsd/libevent/lib [yamt-pagecache]: Makefile
Added Files:
src/external/bsd/libevent [yamt-pagecache]: libevent2netbsd
src/external/bsd/libevent/dist [yamt-pagecache]: Doxyfile LICENSE
Makefile.am Makefile.in Makefile.nmake aclocal.m4 arc4random.c
autogen.sh buffer_iocp.c bufferevent-internal.h bufferevent.c
bufferevent_async.c bufferevent_filter.c bufferevent_openssl.c
bufferevent_pair.c bufferevent_ratelim.c bufferevent_sock.c
changelist-internal.h compile config.guess config.h.in config.sub
configure configure.in defer-internal.h depcomp devpoll.c epoll.c
epoll_sub.c evbuffer-internal.h event_iocp.c event_rpcgen.py
evmap-internal.h evmap.c evport.c evsignal-internal.h
evthread-internal.h evthread.c evthread_pthread.c evthread_win32.c
evutil_rand.c ht-internal.h install-sh iocp-internal.h
ipv6-internal.h libevent.pc.in libevent_openssl.pc.in
libevent_pthreads.pc.in listener.c log-internal.h ltmain.sh
make-event-config.sed minheap-internal.h missing mm-internal.h
ratelim-internal.h strlcpy.c util-internal.h whatsnew-2.0.txt
win32select.c
src/external/bsd/libevent/dist/WIN32-Code [yamt-pagecache]: tree.h
src/external/bsd/libevent/dist/WIN32-Code/event2 [yamt-pagecache]:
event-config.h
src/external/bsd/libevent/dist/include [yamt-pagecache]: Makefile.am
Makefile.in
src/external/bsd/libevent/dist/include/event2 [yamt-pagecache]:
buffer.h buffer_compat.h bufferevent.h bufferevent_compat.h
bufferevent_ssl.h bufferevent_struct.h dns.h dns_compat.h
dns_struct.h event.h event_compat.h event_struct.h http.h
http_compat.h http_struct.h keyvalq_struct.h listener.h rpc.h
rpc_compat.h rpc_struct.h tag.h tag_compat.h thread.h util.h
src/external/bsd/libevent/dist/m4 [yamt-pagecache]: acx_pthread.m4
libtool.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 lt~obsolete.m4
src/external/bsd/libevent/dist/sample [yamt-pagecache]: Makefile.am
Makefile.in dns-example.c event-test.c hello-world.c http-server.c
le-proxy.c signal-test.c time-test.c
src/external/bsd/libevent/dist/test [yamt-pagecache]: Makefile.am
Makefile.in Makefile.nmake bench.c bench_cascade.c bench_http.c
bench_httpclient.c regress.rpc regress_buffer.c
regress_bufferevent.c regress_et.c regress_iocp.c
regress_listener.c regress_main.c regress_minheap.c regress_ssl.c
regress_testutils.c regress_testutils.h regress_thread.c
regress_util.c regress_zlib.c rpcgen_wrapper.sh test-changelist.c
test-eof.c test-init.c test-ratelim.c test-time.c test-weof.c
test.sh tinytest.c tinytest.h tinytest_local.h tinytest_macros.h
src/external/bsd/libevent/include/event2 [yamt-pagecache]:
event-config.h
src/external/bsd/libevent/lib [yamt-pagecache]: Makefile.inc
src/external/bsd/libevent/lib/libevent [yamt-pagecache]: Makefile
src/external/bsd/libevent/lib/libevent_openssl [yamt-pagecache]:
Makefile
src/external/bsd/libevent/lib/libevent_pthreads [yamt-pagecache]:
Makefile
src/external/bsd/libevent/man [yamt-pagecache]: Makefile buffer.h.3
buffer_compat.h.3 bufferevent.3 bufferevent_ssl.h.3 deprecated.3
dns.h.3 dns_compat.h.3 evbuffer_cb_info.3 evbuffer_iovec.3
evbuffer_ptr.3 event.h.3 event_base.3 event_compat.h.3
event_config.3 evthread_condition_callbacks.3
evthread_lock_callbacks.3 evutil_addrinfo.3 fixman http.h.3
http_compat.h.3 rpc.h.3 rpc_compat.h.3 tag.h.3 tag_compat.h.3
thread.h.3 util.h.3
Removed Files:
src/external/bsd/libevent [yamt-pagecache]: prepare-import.sh
src/external/bsd/libevent/dist [yamt-pagecache]: evbuffer.c evdns.3
event.3 evsignal.h log.h min_heap.h
src/external/bsd/libevent/include [yamt-pagecache]: config.h

CVS commit: [yamt-pagecache] src/external/bsd/libpcap

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:48:21 UTC 2014

Modified Files:
src/external/bsd/libpcap/dist [yamt-pagecache]: CHANGES CREDITS
INSTALL.txt Makefile.in README README.aix README.dag README.linux
VERSION aclocal.m4 arcnet.h atmuni31.h bpf_dump.c bpf_image.c
config.h.in configure configure.in dlpisubs.c dlpisubs.h etherent.c
ethertype.h fad-getad.c fad-gifc.c fad-glifc.c fad-null.c
fad-sita.c fad-win32.c gencode.c gencode.h grammar.y ieee80211.h
inet.c llc.h mkdep nametoaddr.c nlpid.h optimize.c pcap-bpf.c
pcap-bpf.h pcap-bt-linux.c pcap-bt-linux.h pcap-can-linux.c
pcap-can-linux.h pcap-common.c pcap-common.h pcap-config.1
pcap-config.in pcap-dag.c pcap-dag.h pcap-dlpi.c pcap-dos.c
pcap-dos.h pcap-enet.c pcap-filter.manmisc.in pcap-int.h
pcap-libdlpi.c pcap-linktype.manmisc.in pcap-linux.c pcap-namedb.h
pcap-nit.c pcap-null.c pcap-pf.c pcap-savefile.manfile.in
pcap-septel.c pcap-septel.h pcap-sita.c pcap-sita.h pcap-snf.c
pcap-snf.h pcap-snit.c pcap-snoop.c pcap-stdinc.h pcap-usb-linux.c
pcap-usb-linux.h pcap-win32.c pcap.3pcap.in pcap.c pcap.h
pcap_activate.3pcap pcap_breakloop.3pcap pcap_can_set_rfmon.3pcap
pcap_close.3pcap pcap_compile.3pcap.in pcap_create.3pcap
pcap_datalink.3pcap.in pcap_datalink_name_to_val.3pcap
pcap_datalink_val_to_name.3pcap pcap_dump.3pcap
pcap_dump_close.3pcap pcap_dump_file.3pcap pcap_dump_flush.3pcap
pcap_dump_ftell.3pcap pcap_dump_open.3pcap.in pcap_file.3pcap
pcap_fileno.3pcap pcap_findalldevs.3pcap pcap_freecode.3pcap
pcap_get_selectable_fd.3pcap pcap_geterr.3pcap pcap_inject.3pcap
pcap_is_swapped.3pcap pcap_lib_version.3pcap
pcap_list_datalinks.3pcap.in pcap_lookupdev.3pcap
pcap_lookupnet.3pcap pcap_loop.3pcap pcap_major_version.3pcap
pcap_next_ex.3pcap pcap_offline_filter.3pcap
pcap_open_dead.3pcap.in pcap_open_live.3pcap
pcap_open_offline.3pcap.in pcap_set_buffer_size.3pcap
pcap_set_datalink.3pcap pcap_set_promisc.3pcap pcap_set_rfmon.3pcap
pcap_set_snaplen.3pcap pcap_set_timeout.3pcap
pcap_setdirection.3pcap pcap_setfilter.3pcap pcap_setnonblock.3pcap
pcap_snapshot.3pcap pcap_stats.3pcap pcap_statustostr.3pcap
pcap_strerror.3pcap ppp.h runlex.sh savefile.c scanner.l
sf-pcap-ng.c sf-pcap-ng.h sf-pcap.c sf-pcap.h sunatmpos.h
src/external/bsd/libpcap/dist/SUNOS4 [yamt-pagecache]:
nit_if.o.sun4c.4.0.3c
src/external/bsd/libpcap/dist/Win32/Include [yamt-pagecache]: Gnuc.h
addrinfo.h bittypes.h cdecl_ext.h inetprivate.h ip6_misc.h
sockstorage.h
src/external/bsd/libpcap/dist/Win32/Include/arpa [yamt-pagecache]:
nameser.h
src/external/bsd/libpcap/dist/Win32/Include/net [yamt-pagecache]: if.h
netdb.h paths.h
src/external/bsd/libpcap/dist/Win32/Prj [yamt-pagecache]: libpcap.dsp
src/external/bsd/libpcap/dist/Win32/Src [yamt-pagecache]: ffs.c
gai_strerror.c getaddrinfo.c getnetbynm.c getnetent.c getopt.c
getservent.c inet_aton.c inet_net.c inet_pton.c
src/external/bsd/libpcap/dist/bpf/net [yamt-pagecache]: bpf_filter.c
src/external/bsd/libpcap/dist/lbl [yamt-pagecache]: os-aix4.h
os-hpux11.h os-osf4.h os-osf5.h os-solaris2.h os-sunos4.h
os-ultrix4.h
src/external/bsd/libpcap/dist/missing [yamt-pagecache]: snprintf.c
src/external/bsd/libpcap/dist/msdos [yamt-pagecache]: bin2c.c common.dj
makefile.dj ndis2.c ndis2.h pktdrvr.c pktdrvr.h readme.dos
src/external/bsd/libpcap/dist/packaging [yamt-pagecache]: pcap.spec.in
src/external/bsd/libpcap/dist/pcap [yamt-pagecache]: bluetooth.h bpf.h
ipnet.h namedb.h pcap.h sll.h usb.h vlan.h
src/external/bsd/libpcap/include [yamt-pagecache]: config.h
src/external/bsd/libpcap/lib [yamt-pagecache]: Makefile shlib_version
version.c version.h
Added Files:
src/external/bsd/libpcap [yamt-pagecache]: libpcap2netbsd
src/external/bsd/libpcap/dist [yamt-pagecache]: Makefile-devel-adds
pcap-canusb-linux.c pcap-canusb-linux.h pcap-dbus.c pcap-dbus.h
pcap-netfilter-linux.c pcap-netfilter-linux.h
pcap-tstamp.manmisc.in pcap_get_tstamp_precision.3pcap.in
pcap_list_tstamp_types.3pcap.in pcap_set_immediate_mode.3pcap
pcap_set_tstamp_precision.3pcap.in pcap_set_tstamp_type.3pcap.in
pcap_tstamp_type_name_to_val.3pcap
pcap_tstamp_type_val_to_name.3pcap
src/external/bsd/libpcap/dist/tests [yamt-pagecache]: filtertest.c
findalldevstest.c 

CVS commit: [yamt-pagecache] src/external/bsd/nvi

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:50:37 UTC 2014

Added Files:
src/external/bsd/nvi [yamt-pagecache]: Makefile Makefile.inc addrcsid
nvi2netbsd
src/external/bsd/nvi/catalog [yamt-pagecache]: Makefile
src/external/bsd/nvi/dist [yamt-pagecache]: Changes LICENSE README
README.1st README.DB3 TODO
src/external/bsd/nvi/dist/build.unix [yamt-pagecache]: README
README.LynxOS README.Solaris
src/external/bsd/nvi/dist/catalog [yamt-pagecache]: Makefile README
dump.c dutch.base dutch.check dutch.owner english.check
english.owner french.base french.check german.base german.check
german.owner ru_RU.KOI8-R.base ru_RU.KOI8-R.owner ru_SU.KOI8-R.base
ru_SU.KOI8-R.check ru_SU.KOI8-R.owner spanish.base spanish.check
spell.ok swedish.base swedish.check swedish.owner
src/external/bsd/nvi/dist/cl [yamt-pagecache]: README.signal cl.h
cl_bsd.c cl_funcs.c cl_main.c cl_read.c cl_screen.c cl_term.c
src/external/bsd/nvi/dist/clib [yamt-pagecache]: bsearch.c env.c
gethostname.c iswblank.c memchr.c memset.c mkstemp.c mmap.c
snprintf.c strdup.c strpbrk.c strsep.c strtol.c strtoul.c
vsnprintf.c
src/external/bsd/nvi/dist/common [yamt-pagecache]: api.c args.h
common.h conv.c conv.h cut.c cut.h db1.c dbinternal.h delete.c
dldb.c exf.c exf.h gs.c gs.h key.c key.h log.c log.h log1.c log4.c
main.c mark.c mark.h mem.h msg.c msg.h multibyte.h nothread.c
options.awk options.c options.h options_f.c pthread.c put.c
recover.c screen.c screen.h search.c seq.c seq.h trace.c util.c
util.h util2.c vi.src vi_auto.c vi_auto.h vi_db.c vi_db.h vi_db1.c
vi_rec.c
src/external/bsd/nvi/dist/dist [yamt-pagecache]: AUTHORS COPYING
ChangeLog INSTALL Makefile.am NEWS README compile configure.ac
depcomp distrib export findconfig ltconfig missing mkinstalldirs
pathnames.h.in port.h.in recover.in script spell.ok
src/external/bsd/nvi/dist/dist/ExtUtils [yamt-pagecache]: Embed.pm
src/external/bsd/nvi/dist/dist/m4 [yamt-pagecache]: gtk.m4
src/external/bsd/nvi/dist/docs [yamt-pagecache]: README
src/external/bsd/nvi/dist/docs/edit [yamt-pagecache]: Makefile
edittut.ms
src/external/bsd/nvi/dist/docs/exref [yamt-pagecache]: Makefile ex.rm
ex.summary
src/external/bsd/nvi/dist/docs/vi.man [yamt-pagecache]: Makefile
spell.ok vi.1
src/external/bsd/nvi/dist/docs/vi.ref [yamt-pagecache]: Makefile
ex.cmd.texi ref.texi set.opt.texi spell.ok vi.cmd.texi vi.texi
src/external/bsd/nvi/dist/docs/vitut [yamt-pagecache]: Makefile
vi.apwh.ms vi.chars vi.in vi.summary
src/external/bsd/nvi/dist/ex [yamt-pagecache]: ex.awk ex.c ex.h
ex_abbrev.c ex_append.c ex_args.c ex_argv.c ex_at.c ex_bang.c
ex_cd.c ex_cmd.c ex_cscope.c ex_delete.c ex_display.c ex_edit.c
ex_equal.c ex_file.c ex_filter.c ex_global.c ex_init.c ex_join.c
ex_map.c ex_mark.c ex_mkexrc.c ex_move.c ex_open.c ex_perl.c
ex_preserve.c ex_print.c ex_put.c ex_quit.c ex_read.c ex_screen.c
ex_script.c ex_set.c ex_shell.c ex_shift.c ex_source.c ex_stop.c
ex_subst.c ex_tag.c ex_tcl.c ex_txt.c ex_undo.c ex_usage.c
ex_util.c ex_version.c ex_visual.c ex_write.c ex_yank.c ex_z.c
script.h tag.h
src/external/bsd/nvi/dist/gtk [yamt-pagecache]: gtk.h gtk_main.c
gtkvi.c gtkvi.h gtkviscreen.c gtkviscreen.h gtkviwindow.c
gtkviwindow.h
src/external/bsd/nvi/dist/ip [yamt-pagecache]: ip_funcs.c ip_main.c
ip_read.c ip_screen.c ip_term.c vipc.pl
src/external/bsd/nvi/dist/ipc [yamt-pagecache]: ip.h ip_run.c ip_send.c
ip_trans.c ipc.awk ipc_cmd.c ipc_method.c vipc.awk
src/external/bsd/nvi/dist/motif [yamt-pagecache]: m_cde.c m_main.c
nvi.xbm nvi.xpm
src/external/bsd/nvi/dist/motif_l [yamt-pagecache]: TODO m_copypaste.c
m_func.c m_menu.c m_motif.h m_options.c m_prompt.c m_ruler.c
m_search.c m_tags.c m_util.c m_vi.c vi_mextern.h xtabbed.c
src/external/bsd/nvi/dist/perl_api [yamt-pagecache]: VI.pod nviperl.pod
perl.xs perlsfio.c typemap
src/external/bsd/nvi/dist/perl_scripts [yamt-pagecache]: forall.pl
make.pl tk.pl wc.pl
src/external/bsd/nvi/dist/regex [yamt-pagecache]: COPYRIGHT WHATSNEW
cclass.h cname.h engine.c re_format.7 regcomp.c regerror.c regex.3
regex.h regex2.h regexec.c regfree.c utils.h
src/external/bsd/nvi/dist/tcl_api [yamt-pagecache]: tcl.c
src/external/bsd/nvi/dist/tcl_scripts [yamt-pagecache]: errors.tcl
gnats.tcl 

CVS commit: [yamt-pagecache] src/external/bsd/openldap

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:50:41 UTC 2014

Modified Files:
src/external/bsd/openldap/bin [yamt-pagecache]: Makefile.inc
src/external/bsd/openldap/dist/include [yamt-pagecache]: ldap_queue.h

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.6.1 src/external/bsd/openldap/bin/Makefile.inc
cvs rdiff -u -r1.1.1.3 -r1.1.1.3.6.1 \
src/external/bsd/openldap/dist/include/ldap_queue.h

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/openldap/bin/Makefile.inc
diff -u src/external/bsd/openldap/bin/Makefile.inc:1.3 src/external/bsd/openldap/bin/Makefile.inc:1.3.6.1
--- src/external/bsd/openldap/bin/Makefile.inc:1.3	Mon Mar  8 05:23:41 2010
+++ src/external/bsd/openldap/bin/Makefile.inc	Thu May 22 15:50:41 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.3 2010/03/08 05:23:41 lukem Exp $
+#	$NetBSD: Makefile.inc,v 1.3.6.1 2014/05/22 15:50:41 yamt Exp $
 
 .include ../openldap.mk
 
@@ -26,10 +26,10 @@ DPADD+=	${LDAPLIB.lutil}
 
 LDADD+= -lldap
 DPADD+= ${LIBLDAP}
-
-.if (${MKPIC} == no || (defined(LDSTATIC)  ${LDSTATIC} != ))
 LDADD+=	-llber
 DPADD+=	${LIBLBER}
+
+.if (${MKPIC} == no || (defined(LDSTATIC)  ${LDSTATIC} != ))
 .if ${MKCRYPTO} != no 
 DPADD+=	${LIBSSL} ${LIBCRYPTO}
 LDADD+=	-lssl -lcrypto

Index: src/external/bsd/openldap/dist/include/ldap_queue.h
diff -u src/external/bsd/openldap/dist/include/ldap_queue.h:1.1.1.3 src/external/bsd/openldap/dist/include/ldap_queue.h:1.1.1.3.6.1
--- src/external/bsd/openldap/dist/include/ldap_queue.h:1.1.1.3	Sun Dec 12 15:21:24 2010
+++ src/external/bsd/openldap/dist/include/ldap_queue.h	Thu May 22 15:50:41 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: ldap_queue.h,v 1.1.1.3 2010/12/12 15:21:24 adam Exp $	*/
+/*	$NetBSD: ldap_queue.h,v 1.1.1.3.6.1 2014/05/22 15:50:41 yamt Exp $	*/
 
 /* ldap_queue.h -- queue macros */
 /* OpenLDAP: pkg/ldap/include/ldap_queue.h,v 1.13.2.5 2010/04/13 20:22:48 kurt Exp */
@@ -109,24 +109,24 @@
  * For details on the use of these macros, see the queue(3) manual page.
  * All macros are prefixed with LDAP_.
  *
- *			SLIST_	LIST_	STAILQ_	TAILQ_	CIRCLEQ_
- * _HEAD		+	+	+	+	+
- * _ENTRY		+	+	+	+	+
- * _INIT		+	+	+	+	+
- * _ENTRY_INIT		+	+	+	+	+
- * _EMPTY		+	+	+	+	+
- * _FIRST		+	+	+	+	+
- * _NEXT		+	+	+	+	+
- * _PREV		-	-	-	+	+
- * _LAST		-	-	+	+	+
- * _FOREACH		+	+	+	+	+
- * _FOREACH_REVERSE	-	-	-	+	+
- * _INSERT_HEAD		+	+	+	+	+
- * _INSERT_BEFORE	-	+	-	+	+
- * _INSERT_AFTER	+	+	+	+	+
- * _INSERT_TAIL		-	-	+	+	+
- * _REMOVE_HEAD		+	-	+	-	-
- * _REMOVE		+	+	+	+	+
+ *			SLIST_	LIST_	STAILQ_	TAILQ_
+ * _HEAD		+	+	+	+
+ * _ENTRY		+	+	+	+
+ * _INIT		+	+	+	+
+ * _ENTRY_INIT		+	+	+	+
+ * _EMPTY		+	+	+	+
+ * _FIRST		+	+	+	+
+ * _NEXT		+	+	+	+
+ * _PREV		-	-	-	+
+ * _LAST		-	-	+	+
+ * _FOREACH		+	+	+	+
+ * _FOREACH_REVERSE	-	-	-	+
+ * _INSERT_HEAD		+	+	+	+
+ * _INSERT_BEFORE	-	+	-	+
+ * _INSERT_AFTER	+	+	+	+
+ * _INSERT_TAIL		-	-	+	+
+ * _REMOVE_HEAD		+	-	+	-
+ * _REMOVE		+	+	+	+
  *
  */
 
@@ -460,105 +460,4 @@ struct {\
 	*(elm)-field.tqe_prev = (elm)-field.tqe_next;			\
 } while (0)
 
-/*
- * Circular queue definitions.
- */
-#define LDAP_CIRCLEQ_HEAD(name, type)	\
-struct name {\
-	struct type *cqh_first;		/* first element */		\
-	struct type *cqh_last;		/* last element */		\
-}
-
-#define LDAP_CIRCLEQ_ENTRY(type)	\
-struct {\
-	struct type *cqe_next;		/* next element */		\
-	struct type *cqe_prev;		/* previous element */		\
-}
-
-/*
- * Circular queue functions.
- */
-#define LDAP_CIRCLEQ_EMPTY(head) ((head)-cqh_first == (void *)(head))
-
-#define LDAP_CIRCLEQ_FIRST(head) ((head)-cqh_first)
-
-#define LDAP_CIRCLEQ_FOREACH(var, head, field)\
-	for((var) = (head)-cqh_first;	\
-	(var) != (void *)(head);	\
-	(var) = (var)-field.cqe_next)
-
-#define LDAP_CIRCLEQ_FOREACH_REVERSE(var, head, field)			\
-	for((var) = (head)-cqh_last;	\
-	(var) != (void *)(head);	\
-	(var) = (var)-field.cqe_prev)
-
-#define	LDAP_CIRCLEQ_INIT(head) do {	\
-	(head)-cqh_first = (void *)(head);\
-	(head)-cqh_last = (void *)(head);\
-} while (0)
-
-#define LDAP_CIRCLEQ_ENTRY_INIT(var, field) do {			\
-	(var)-field.cqe_next = NULL;	\
-	(var)-field.cqe_prev = NULL;	\
-} while (0)
-
-#define LDAP_CIRCLEQ_INSERT_AFTER(head, listelm, elm, field) do {	\
-	(elm)-field.cqe_next = (listelm)-field.cqe_next;		\
-	(elm)-field.cqe_prev = (listelm);\
-	if ((listelm)-field.cqe_next == (void *)(head))		\
-		(head)-cqh_last = (elm);\
-	else\
-		(listelm)-field.cqe_next-field.cqe_prev = (elm);	\
-	(listelm)-field.cqe_next = (elm);\
-} while (0)
-
-#define LDAP_CIRCLEQ_INSERT_BEFORE(head, listelm, elm, 

CVS commit: [yamt-pagecache] src/external/bsd/openpam

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:50:48 UTC 2014

Modified Files:
src/external/bsd/openpam [yamt-pagecache]: openpam2netbsd
src/external/bsd/openpam/dist [yamt-pagecache]: CREDITS HISTORY INSTALL
LICENSE Makefile.am Makefile.in README RELNOTES aclocal.m4
autogen.sh config.guess config.h.in config.sub configure
configure.ac depcomp install-sh ltmain.sh missing
src/external/bsd/openpam/dist/bin [yamt-pagecache]: Makefile.am
Makefile.in
src/external/bsd/openpam/dist/bin/pamtest [yamt-pagecache]: Makefile.am
Makefile.in pamtest.1 pamtest.c
src/external/bsd/openpam/dist/bin/su [yamt-pagecache]: Makefile.am
Makefile.in su.1 su.c
src/external/bsd/openpam/dist/doc [yamt-pagecache]: Makefile.am
Makefile.in
src/external/bsd/openpam/dist/doc/man [yamt-pagecache]: Makefile.am
Makefile.in openpam.3 openpam.man openpam_borrow_cred.3
openpam_free_data.3 openpam_free_envlist.3 openpam_get_option.3
openpam_log.3 openpam_nullconv.3 openpam_readline.3
openpam_restore_cred.3 openpam_set_option.3 openpam_subst.3
openpam_ttyconv.3 pam.3 pam.conf.5 pam.man pam_acct_mgmt.3
pam_authenticate.3 pam_chauthtok.3 pam_close_session.3 pam_conv.3
pam_end.3 pam_error.3 pam_get_authtok.3 pam_get_data.3
pam_get_item.3 pam_get_user.3 pam_getenv.3 pam_getenvlist.3
pam_info.3 pam_open_session.3 pam_prompt.3 pam_putenv.3
pam_set_data.3 pam_set_item.3 pam_setcred.3 pam_setenv.3
pam_sm_acct_mgmt.3 pam_sm_authenticate.3 pam_sm_chauthtok.3
pam_sm_close_session.3 pam_sm_open_session.3 pam_sm_setcred.3
pam_start.3 pam_strerror.3 pam_verror.3 pam_vinfo.3 pam_vprompt.3
src/external/bsd/openpam/dist/include [yamt-pagecache]: Makefile.am
Makefile.in
src/external/bsd/openpam/dist/include/security [yamt-pagecache]:
Makefile.am Makefile.in openpam.h openpam_attr.h openpam_version.h
pam_appl.h pam_constants.h pam_modules.h pam_types.h
src/external/bsd/openpam/dist/lib [yamt-pagecache]: Makefile.am
Makefile.in openpam_borrow_cred.c openpam_check_owner_perms.c
openpam_configure.c openpam_constants.c openpam_constants.h
openpam_debug.h openpam_dispatch.c openpam_dynamic.c
openpam_findenv.c openpam_free_data.c openpam_free_envlist.c
openpam_get_option.c openpam_impl.h openpam_load.c openpam_log.c
openpam_nullconv.c openpam_readline.c openpam_restore_cred.c
openpam_set_option.c openpam_static.c openpam_strlcmp.h
openpam_strlcpy.h openpam_subst.c openpam_ttyconv.c pam_acct_mgmt.c
pam_authenticate.c pam_authenticate_secondary.c pam_chauthtok.c
pam_close_session.c pam_end.c pam_error.c pam_get_authtok.c
pam_get_data.c pam_get_item.c pam_get_mapped_authtok.c
pam_get_mapped_username.c pam_get_user.c pam_getenv.c
pam_getenvlist.c pam_info.c pam_open_session.c pam_prompt.c
pam_putenv.c pam_set_data.c pam_set_item.c pam_set_mapped_authtok.c
pam_set_mapped_username.c pam_setcred.c pam_setenv.c
pam_sm_acct_mgmt.c pam_sm_authenticate.c
pam_sm_authenticate_secondary.c pam_sm_chauthtok.c
pam_sm_close_session.c pam_sm_get_mapped_authtok.c
pam_sm_get_mapped_username.c pam_sm_open_session.c
pam_sm_set_mapped_authtok.c pam_sm_set_mapped_username.c
pam_sm_setcred.c pam_start.c pam_strerror.c pam_verror.c
pam_vinfo.c pam_vprompt.c
src/external/bsd/openpam/dist/misc [yamt-pagecache]: gendoc.pl
src/external/bsd/openpam/dist/modules [yamt-pagecache]: Makefile.am
Makefile.in
src/external/bsd/openpam/dist/modules/pam_deny [yamt-pagecache]:
Makefile.am Makefile.in pam_deny.c
src/external/bsd/openpam/dist/modules/pam_permit [yamt-pagecache]:
Makefile.am Makefile.in pam_permit.c
src/external/bsd/openpam/dist/modules/pam_unix [yamt-pagecache]:
Makefile.am Makefile.in pam_unix.c
Added Files:
src/external/bsd/openpam/dist [yamt-pagecache]: TODO compile mkpkgng.in
pamgdb.in test-driver
src/external/bsd/openpam/dist/bin/openpam_dump_policy [yamt-pagecache]:
Makefile.am Makefile.in openpam_dump_policy.c
src/external/bsd/openpam/dist/doc/man [yamt-pagecache]:
openpam_get_feature.3 openpam_readlinev.3 openpam_readword.3
openpam_set_feature.3 openpam_straddch.3
src/external/bsd/openpam/dist/lib [yamt-pagecache]: openpam_asprintf.c
openpam_asprintf.h openpam_cred.h openpam_ctype.h openpam_dlfunc.h
openpam_features.c openpam_features.h openpam_get_feature.c
   

CVS commit: [yamt-pagecache] src/external/bsd/openresolv

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:50:52 UTC 2014

Modified Files:
src/external/bsd/openresolv/dist [yamt-pagecache]: dnsmasq.in libc.in
named.in pdnsd.in resolvconf.8.in resolvconf.conf.5.in
resolvconf.in unbound.in
src/external/bsd/openresolv/sbin/resolvconf [yamt-pagecache]: Makefile

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3.2.2 -r1.1.1.3.2.3 \
src/external/bsd/openresolv/dist/dnsmasq.in \
src/external/bsd/openresolv/dist/named.in \
src/external/bsd/openresolv/dist/resolvconf.in
cvs rdiff -u -r1.1.1.3.2.1 -r1.1.1.3.2.2 \
src/external/bsd/openresolv/dist/libc.in \
src/external/bsd/openresolv/dist/resolvconf.8.in \
src/external/bsd/openresolv/dist/unbound.in
cvs rdiff -u -r1.1.1.1.4.1 -r1.1.1.1.4.2 \
src/external/bsd/openresolv/dist/pdnsd.in
cvs rdiff -u -r1.3.2.2 -r1.3.2.3 \
src/external/bsd/openresolv/dist/resolvconf.conf.5.in
cvs rdiff -u -r1.3.6.1 -r1.3.6.2 \
src/external/bsd/openresolv/sbin/resolvconf/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/openresolv/dist/dnsmasq.in
diff -u src/external/bsd/openresolv/dist/dnsmasq.in:1.1.1.3.2.2 src/external/bsd/openresolv/dist/dnsmasq.in:1.1.1.3.2.3
--- src/external/bsd/openresolv/dist/dnsmasq.in:1.1.1.3.2.2	Wed Jan 16 05:28:00 2013
+++ src/external/bsd/openresolv/dist/dnsmasq.in	Thu May 22 15:50:52 2014
@@ -29,7 +29,7 @@
 [ -f @SYSCONFDIR@/resolvconf.conf ] || exit 0
 . @SYSCONFDIR@/resolvconf.conf || exit 1
 [ -z $dnsmasq_conf -a -z $dnsmasq_resolv ]  exit 0
-[ -z $RESOLVCONF ]  eval $(@PREFIX@/sbin/resolvconf -v)
+[ -z $RESOLVCONF ]  eval $(@SBINDIR@/resolvconf -v)
 NL=
 
 
@@ -47,23 +47,17 @@ newresolv=$newconf
 # Check for DBus support in the binary
 dbus=false
 dbus_ex=false
-: ${dbus_pid:=/var/run/dbus/dbus.pid}
-[ -s $dbus_pid ] || dbus_pid=/var/run/dbus.pid
-[ -s $dbus_pid ] || dbus_pid=/var/run/dbus/pid
-if [ -s $dbus_pid -a -s $dnsmasq_pid ]; then
-	if dnsmasq --version 2/dev/null | \
-		grep -q ^Compile time options.*[[:space:]]DBus[[:space:]]
+dbus_introspect=$(dbus-send --print-reply --system \
+	--dest=uk.org.thekelleys.dnsmasq \
+	/uk/org/thekelleys/dnsmasq \
+	org.freedesktop.DBus.Introspectable.Introspect \
+	2/dev/null)
+if [ $? = 0 ]; then
+	dbus=true
+	if printf %s $dbus_introspect | \
+	grep -q 'method name=SetDomainServers'
 	then
-		# Sanity - check that dnsmasq and dbus are running
-		if kill -0 $(cat $dbus_pid) 2/dev/null  \
-			kill -0 $(cat $dnsmasq_pid) 2/dev/null
-		then
-			dbus=true
-			if dbus-send --print-reply --system --dest=uk.org.thekelleys.dnsmasq /uk/org/thekelleys/dnsmasq org.freedesktop.DBus.Introspectable.Introspect | grep -q 'method name=SetDomainServers'
-			then
-dbus_ex=true
-			fi
-		fi
+		dbus_ex=true
 	fi
 fi
 
@@ -151,7 +145,7 @@ done
 
 if $dbus; then
 	newconf=$newconf$NL# Domain specific servers will
-	newconf=$newconf be sent over dbus${NL}enable-dbus$NL
+	newconf=$newconf be sent over dbus${NL}
 else
 	newconf=$newconf$conf
 fi
@@ -160,7 +154,7 @@ fi
 if type config_mkdirs /dev/null 21; then
 	config_mkdirs $dnsmasq_conf $dnsmasq_resolv
 else
-	@PREFIX@/sbin/resolvconf -D $dnsmasq_conf $dnsmasq_resolv
+	@SBINDIR@/resolvconf -D $dnsmasq_conf $dnsmasq_resolv
 fi
 
 changed=false
Index: src/external/bsd/openresolv/dist/named.in
diff -u src/external/bsd/openresolv/dist/named.in:1.1.1.3.2.2 src/external/bsd/openresolv/dist/named.in:1.1.1.3.2.3
--- src/external/bsd/openresolv/dist/named.in:1.1.1.3.2.2	Wed Jan 16 05:28:00 2013
+++ src/external/bsd/openresolv/dist/named.in	Thu May 22 15:50:52 2014
@@ -29,7 +29,7 @@
 [ -f @SYSCONFDIR@/resolvconf.conf ] || exit 0
 . @SYSCONFDIR@/resolvconf.conf || exit 1
 [ -z $named_zones -a -z $named_options ]  exit 0
-[ -z $RESOLVCONF ]  eval $(@PREFIX@/sbin/resolvconf -v)
+[ -z $RESOLVCONF ]  eval $(@SBINDIR@/resolvconf -v)
 NL=
 
 
@@ -78,7 +78,7 @@ done
 if type config_mkdirs /dev/null 21; then
 	config_mkdirs $named_options $named_zones
 else
-	@PREFIX@/sbin/resolvconf -D $named_options $named_zones
+	@SBINDIR@/resolvconf -D $named_options $named_zones
 fi
 
 # No point in changing files or reloading bind if the end result has not
Index: src/external/bsd/openresolv/dist/resolvconf.in
diff -u src/external/bsd/openresolv/dist/resolvconf.in:1.1.1.3.2.2 src/external/bsd/openresolv/dist/resolvconf.in:1.1.1.3.2.3
--- src/external/bsd/openresolv/dist/resolvconf.in:1.1.1.3.2.2	Wed Jan 16 05:28:00 2013
+++ src/external/bsd/openresolv/dist/resolvconf.in	Thu May 22 15:50:52 2014
@@ -28,6 +28,10 @@ RESOLVCONF=$0
 SYSCONFDIR=@SYSCONFDIR@
 LIBEXECDIR=@LIBEXECDIR@
 VARDIR=@VARDIR@
+
+# Disregard dhcpcd setting
+unset 

CVS commit: [yamt-pagecache] src/external/bsd/pcc

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:50:55 UTC 2014

Modified Files:
src/external/bsd/pcc/dist/pcc/arch/amd64 [yamt-pagecache]: local2.c
src/external/bsd/pcc/dist/pcc/cc/ccom [yamt-pagecache]: gcc_compat.c
main.c trees.c
src/external/bsd/pcc/dist/pcc/cc/cpp [yamt-pagecache]: cpp.c
src/external/bsd/pcc/dist/pcc/mip [yamt-pagecache]: optim2.c
src/external/bsd/pcc/libexec/ccom [yamt-pagecache]: Makefile

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3.2.1 -r1.1.1.3.2.2 \
src/external/bsd/pcc/dist/pcc/arch/amd64/local2.c
cvs rdiff -u -r1.1.1.4.2.1 -r1.1.1.4.2.2 \
src/external/bsd/pcc/dist/pcc/cc/ccom/gcc_compat.c \
src/external/bsd/pcc/dist/pcc/cc/ccom/main.c \
src/external/bsd/pcc/dist/pcc/cc/ccom/trees.c
cvs rdiff -u -r1.1.1.4.2.1 -r1.1.1.4.2.2 \
src/external/bsd/pcc/dist/pcc/cc/cpp/cpp.c
cvs rdiff -u -r1.1.1.4 -r1.1.1.4.2.1 \
src/external/bsd/pcc/dist/pcc/mip/optim2.c
cvs rdiff -u -r1.11 -r1.11.2.1 src/external/bsd/pcc/libexec/ccom/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/pcc/dist/pcc/arch/amd64/local2.c
diff -u src/external/bsd/pcc/dist/pcc/arch/amd64/local2.c:1.1.1.3.2.1 src/external/bsd/pcc/dist/pcc/arch/amd64/local2.c:1.1.1.3.2.2
--- src/external/bsd/pcc/dist/pcc/arch/amd64/local2.c:1.1.1.3.2.1	Tue Apr 17 00:04:02 2012
+++ src/external/bsd/pcc/dist/pcc/arch/amd64/local2.c	Thu May 22 15:50:55 2014
@@ -1,5 +1,5 @@
 /*	Id: local2.c,v 1.49 2011/09/21 21:23:09 plunky Exp 	*/	
-/*	$NetBSD: local2.c,v 1.1.1.3.2.1 2012/04/17 00:04:02 yamt Exp $	*/
+/*	$NetBSD: local2.c,v 1.1.1.3.2.2 2014/05/22 15:50:55 yamt Exp $	*/
 /*
  * Copyright (c) 2008 Michael Shalayeff
  * Copyright (c) 2003 Anders Magnusson (ra...@ludd.luth.se).
@@ -321,7 +321,7 @@ ultofd(NODE *p)
 static void
 ldtoul(NODE *p)
 {
-	int r;
+	int r __unused;
 
 	r = getlr(p, '1')-n_rval;
 

Index: src/external/bsd/pcc/dist/pcc/cc/ccom/gcc_compat.c
diff -u src/external/bsd/pcc/dist/pcc/cc/ccom/gcc_compat.c:1.1.1.4.2.1 src/external/bsd/pcc/dist/pcc/cc/ccom/gcc_compat.c:1.1.1.4.2.2
--- src/external/bsd/pcc/dist/pcc/cc/ccom/gcc_compat.c:1.1.1.4.2.1	Tue Apr 17 00:04:04 2012
+++ src/external/bsd/pcc/dist/pcc/cc/ccom/gcc_compat.c	Thu May 22 15:50:55 2014
@@ -1,5 +1,5 @@
 /*  Id: gcc_compat.c,v 1.81 2011/07/27 13:41:44 ragge Exp  */	
-/*  $NetBSD: gcc_compat.c,v 1.1.1.4.2.1 2012/04/17 00:04:04 yamt Exp $ */
+/*  $NetBSD: gcc_compat.c,v 1.1.1.4.2.2 2014/05/22 15:50:55 yamt Exp $ */
 /*
  * Copyright (c) 2004 Anders Magnusson (ra...@ludd.luth.se).
  * All rights reserved.
@@ -551,6 +551,7 @@ pragmas_gcc(char *t)
 			return 0;
 		}
 		*t = u;
+		__USE(ign);
 	} else if (strcmp(t, poison) == 0) {
 		/* currently ignore */;
 	} else if (strcmp(t, visibility) == 0) {
Index: src/external/bsd/pcc/dist/pcc/cc/ccom/main.c
diff -u src/external/bsd/pcc/dist/pcc/cc/ccom/main.c:1.1.1.4.2.1 src/external/bsd/pcc/dist/pcc/cc/ccom/main.c:1.1.1.4.2.2
--- src/external/bsd/pcc/dist/pcc/cc/ccom/main.c:1.1.1.4.2.1	Tue Apr 17 00:04:04 2012
+++ src/external/bsd/pcc/dist/pcc/cc/ccom/main.c	Thu May 22 15:50:55 2014
@@ -1,5 +1,5 @@
 /*	Id: main.c,v 1.115 2011/08/31 18:02:24 plunky Exp 	*/	
-/*	$NetBSD: main.c,v 1.1.1.4.2.1 2012/04/17 00:04:04 yamt Exp $	*/
+/*	$NetBSD: main.c,v 1.1.1.4.2.2 2014/05/22 15:50:55 yamt Exp $	*/
 
 /*
  * Copyright (c) 2002 Anders Magnusson. All rights reserved.
@@ -65,11 +65,9 @@ static void
 segvcatch(int a)
 {
 	char buf[1024];
-	int dummy;
-
 	snprintf(buf, sizeof buf, %sinternal compiler error: %s, line %d\n,
 	nerrors ?  : major , ftitle, lineno);
-	dummy = write(STDERR_FILENO, buf, strlen(buf));
+	(void)write(STDERR_FILENO, buf, strlen(buf));
 	_exit(1);
 }
 
Index: src/external/bsd/pcc/dist/pcc/cc/ccom/trees.c
diff -u src/external/bsd/pcc/dist/pcc/cc/ccom/trees.c:1.1.1.4.2.1 src/external/bsd/pcc/dist/pcc/cc/ccom/trees.c:1.1.1.4.2.2
--- src/external/bsd/pcc/dist/pcc/cc/ccom/trees.c:1.1.1.4.2.1	Tue Apr 17 00:04:04 2012
+++ src/external/bsd/pcc/dist/pcc/cc/ccom/trees.c	Thu May 22 15:50:55 2014
@@ -1,5 +1,5 @@
 /*	Id: trees.c,v 1.304 2011/08/14 14:52:29 ragge Exp 	*/	
-/*	$NetBSD: trees.c,v 1.1.1.4.2.1 2012/04/17 00:04:04 yamt Exp $	*/
+/*	$NetBSD: trees.c,v 1.1.1.4.2.2 2014/05/22 15:50:55 yamt Exp $	*/
 /*
  * Copyright (c) 2003 Anders Magnusson (ra...@ludd.luth.se).
  * All rights reserved.
@@ -2430,9 +2430,8 @@ static NODE *
 wrualfld(NODE *val, NODE *d, TWORD t, TWORD ct, int off, int fsz)
 { 
 	NODE *p, *q, *r, *rn, *s;
-	int tsz, ctsz, t2f, inbits;
+	int ctsz, t2f, inbits;
  
-	tsz = (int)tsize(t, 0, 0);
 	ctsz = (int)tsize(ct, 0, 0);
   
 	ct = ENUNSIGN(ct);
@@ 

CVS commit: [yamt-pagecache] src/external/bsd/pkg_install

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:51:04 UTC 2014

Modified Files:
src/external/bsd/pkg_install [yamt-pagecache]: prepare-import.sh
src/external/bsd/pkg_install/dist/add [yamt-pagecache]: perform.c
src/external/bsd/pkg_install/dist/admin [yamt-pagecache]: pkg_admin.1
src/external/bsd/pkg_install/dist/bpm [yamt-pagecache]: bpm.1
src/external/bsd/pkg_install/dist/info [yamt-pagecache]: main.c
pkg_info.1
src/external/bsd/pkg_install/dist/lib [yamt-pagecache]: lib.h license.c
pkg_install.conf.5.in pkg_signature.c var.c version.h

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.12.1 src/external/bsd/pkg_install/prepare-import.sh
cvs rdiff -u -r1.1.1.18.4.1 -r1.1.1.18.4.2 \
src/external/bsd/pkg_install/dist/add/perform.c
cvs rdiff -u -r1.1.1.11 -r1.1.1.11.6.1 \
src/external/bsd/pkg_install/dist/admin/pkg_admin.1
cvs rdiff -u -r1.2 -r1.2.6.1 src/external/bsd/pkg_install/dist/bpm/bpm.1
cvs rdiff -u -r1.1.1.8 -r1.1.1.8.6.1 \
src/external/bsd/pkg_install/dist/info/main.c
cvs rdiff -u -r1.1.1.5 -r1.1.1.5.6.1 \
src/external/bsd/pkg_install/dist/info/pkg_info.1
cvs rdiff -u -r1.6 -r1.6.6.1 src/external/bsd/pkg_install/dist/lib/lib.h
cvs rdiff -u -r1.2.4.1 -r1.2.4.2 \
src/external/bsd/pkg_install/dist/lib/license.c
cvs rdiff -u -r1.1.1.12 -r1.1.1.12.4.1 \
src/external/bsd/pkg_install/dist/lib/pkg_install.conf.5.in
cvs rdiff -u -r1.1.1.7 -r1.1.1.7.6.1 \
src/external/bsd/pkg_install/dist/lib/pkg_signature.c
cvs rdiff -u -r1.1.1.3 -r1.1.1.3.6.1 \
src/external/bsd/pkg_install/dist/lib/var.c
cvs rdiff -u -r1.7.4.1 -r1.7.4.2 \
src/external/bsd/pkg_install/dist/lib/version.h

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/pkg_install/prepare-import.sh
diff -u src/external/bsd/pkg_install/prepare-import.sh:1.3 src/external/bsd/pkg_install/prepare-import.sh:1.3.12.1
--- src/external/bsd/pkg_install/prepare-import.sh:1.3	Mon Feb  2 20:47:20 2009
+++ src/external/bsd/pkg_install/prepare-import.sh	Thu May 22 15:51:03 2014
@@ -1,7 +1,7 @@
 #!/bin/sh
-# $NetBSD: prepare-import.sh,v 1.3 2009/02/02 20:47:20 joerg Exp $
+# $NetBSD: prepare-import.sh,v 1.3.12.1 2014/05/22 15:51:03 yamt Exp $
 #
-# Copy new pkgsrc/pkg_install/files to dist.
+# Copy new pkgsrc/pkgtools/pkg_install/files to dist.
 # Run this script and check for additional files and
 # directories to prune, only relevant content is included.
 

Index: src/external/bsd/pkg_install/dist/add/perform.c
diff -u src/external/bsd/pkg_install/dist/add/perform.c:1.1.1.18.4.1 src/external/bsd/pkg_install/dist/add/perform.c:1.1.1.18.4.2
--- src/external/bsd/pkg_install/dist/add/perform.c:1.1.1.18.4.1	Tue Apr 17 00:04:06 2012
+++ src/external/bsd/pkg_install/dist/add/perform.c	Thu May 22 15:51:03 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: perform.c,v 1.1.1.18.4.1 2012/04/17 00:04:06 yamt Exp $	*/
+/*	$NetBSD: perform.c,v 1.1.1.18.4.2 2014/05/22 15:51:03 yamt Exp $	*/
 #if HAVE_CONFIG_H
 #include config.h
 #endif
@@ -6,7 +6,7 @@
 #if HAVE_SYS_CDEFS_H
 #include sys/cdefs.h
 #endif
-__RCSID($NetBSD: perform.c,v 1.1.1.18.4.1 2012/04/17 00:04:06 yamt Exp $);
+__RCSID($NetBSD: perform.c,v 1.1.1.18.4.2 2014/05/22 15:51:03 yamt Exp $);
 
 /*-
  * Copyright (c) 2003 Grant Beattie gr...@netbsd.org
@@ -156,6 +156,10 @@ compatible_platform(const char *opsys, c
 if (strcmp(host, package) == 0)
 	return 1;
 
+/* accept, if host version is a minor release of package version */
+if (strncmp(host, package, strlen(package)) == 0)
+	return 1;
+
 /* find offset of first difference */
 for (i=0; (host[i] != '\0')  (host[i] == package[i]);)
 	i++;

Index: src/external/bsd/pkg_install/dist/admin/pkg_admin.1
diff -u src/external/bsd/pkg_install/dist/admin/pkg_admin.1:1.1.1.11 src/external/bsd/pkg_install/dist/admin/pkg_admin.1:1.1.1.11.6.1
--- src/external/bsd/pkg_install/dist/admin/pkg_admin.1:1.1.1.11	Sat Jun 26 00:14:27 2010
+++ src/external/bsd/pkg_install/dist/admin/pkg_admin.1	Thu May 22 15:51:03 2014
@@ -1,4 +1,4 @@
-.\	$NetBSD: pkg_admin.1,v 1.1.1.11 2010/06/26 00:14:27 joerg Exp $
+.\	$NetBSD: pkg_admin.1,v 1.1.1.11.6.1 2014/05/22 15:51:03 yamt Exp $
 .\
 .\ Copyright (c) 1999-2010 The NetBSD Foundation, Inc.
 .\ All rights reserved.
@@ -34,7 +34,7 @@
 .\ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\ POSSIBILITY OF SUCH DAMAGE.
 .\
-.Dd June 16, 2010
+.Dd December 14, 2012
 .Dt PKG_ADMIN 1
 .Os
 .Sh NAME
@@ -257,7 +257,9 @@ matches
 .Ar pattern ,
 otherwise returns false.
 .It Cm rebuild
-Rebuild the package database mapping from scratch.
+Rebuild the package database mapping 

CVS commit: [yamt-pagecache] src/external/bsd/ppp

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:51:09 UTC 2014

Added Files:
src/external/bsd/ppp [yamt-pagecache]: Makefile ppp2netbsd
src/external/bsd/ppp/dist [yamt-pagecache]: FAQ PLUGINS README
README.MPPE README.MSCHAP80 README.MSCHAP81 README.cbcp
README.eap-srp README.pppol2tp README.pwfd SETUP
src/external/bsd/ppp/dist/chat [yamt-pagecache]: .gitignore chat.8
chat.c
src/external/bsd/ppp/dist/pppd [yamt-pagecache]: .gitignore auth.c
cbcp.c cbcp.h ccp.c ccp.h chap-md5.c chap-md5.h chap-new.c
chap-new.h chap_ms.c chap_ms.h demand.c eap.c eap.h ecp.c ecp.h
eui64.c eui64.h fsm.c fsm.h ipcp.c ipcp.h ipv6cp.c ipv6cp.h ipxcp.c
ipxcp.h lcp.c lcp.h magic.c magic.h main.c mppe.h multilink.c
options.c patchlevel.h pathnames.h ppp.pam pppcrypt.c pppcrypt.h
pppd.8 pppd.h session.c session.h tty.c upap.c upap.h utils.c
src/external/bsd/ppp/dist/pppd/plugins [yamt-pagecache]: minconn.c
passwordfd.c
src/external/bsd/ppp/dist/pppd/plugins/pppol2tp [yamt-pagecache]:
l2tp_event.h openl2tp.c pppol2tp.c
src/external/bsd/ppp/dist/pppdump [yamt-pagecache]: bsd-comp.c
deflate.c pppdump.8 pppdump.c
src/external/bsd/ppp/dist/pppstats [yamt-pagecache]: pppstats.8
pppstats.c
src/external/bsd/ppp/usr.sbin [yamt-pagecache]: Makefile Makefile.inc
src/external/bsd/ppp/usr.sbin/chat [yamt-pagecache]: Makefile
src/external/bsd/ppp/usr.sbin/plugins/minconn [yamt-pagecache]:
Makefile
src/external/bsd/ppp/usr.sbin/plugins/passwordfd [yamt-pagecache]:
Makefile
src/external/bsd/ppp/usr.sbin/plugins/status [yamt-pagecache]: Makefile
status.c
src/external/bsd/ppp/usr.sbin/pppd [yamt-pagecache]: Makefile sys-bsd.c
tdb.c tdb.h
src/external/bsd/ppp/usr.sbin/pppdump [yamt-pagecache]: Makefile
pppdump.h
src/external/bsd/ppp/usr.sbin/pppstats [yamt-pagecache]: Makefile

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.4.2 src/external/bsd/ppp/Makefile \
src/external/bsd/ppp/ppp2netbsd
cvs rdiff -u -r0 -r1.1.1.1.4.2 src/external/bsd/ppp/dist/FAQ \
src/external/bsd/ppp/dist/PLUGINS src/external/bsd/ppp/dist/README \
src/external/bsd/ppp/dist/README.MPPE \
src/external/bsd/ppp/dist/README.MSCHAP80 \
src/external/bsd/ppp/dist/README.MSCHAP81 \
src/external/bsd/ppp/dist/README.cbcp \
src/external/bsd/ppp/dist/README.eap-srp \
src/external/bsd/ppp/dist/README.pppol2tp \
src/external/bsd/ppp/dist/README.pwfd src/external/bsd/ppp/dist/SETUP
cvs rdiff -u -r0 -r1.1.1.1.4.2 src/external/bsd/ppp/dist/chat/.gitignore
cvs rdiff -u -r0 -r1.2.4.2 src/external/bsd/ppp/dist/chat/chat.8
cvs rdiff -u -r0 -r1.3.4.2 src/external/bsd/ppp/dist/chat/chat.c
cvs rdiff -u -r0 -r1.1.1.1.4.2 src/external/bsd/ppp/dist/pppd/.gitignore \
src/external/bsd/ppp/dist/pppd/ppp.pam
cvs rdiff -u -r0 -r1.2.4.2 src/external/bsd/ppp/dist/pppd/auth.c \
src/external/bsd/ppp/dist/pppd/cbcp.c \
src/external/bsd/ppp/dist/pppd/cbcp.h \
src/external/bsd/ppp/dist/pppd/ccp.c src/external/bsd/ppp/dist/pppd/ccp.h \
src/external/bsd/ppp/dist/pppd/chap-md5.c \
src/external/bsd/ppp/dist/pppd/chap-md5.h \
src/external/bsd/ppp/dist/pppd/chap-new.c \
src/external/bsd/ppp/dist/pppd/chap-new.h \
src/external/bsd/ppp/dist/pppd/chap_ms.c \
src/external/bsd/ppp/dist/pppd/chap_ms.h \
src/external/bsd/ppp/dist/pppd/demand.c \
src/external/bsd/ppp/dist/pppd/eap.c src/external/bsd/ppp/dist/pppd/eap.h \
src/external/bsd/ppp/dist/pppd/ecp.c src/external/bsd/ppp/dist/pppd/ecp.h \
src/external/bsd/ppp/dist/pppd/eui64.c \
src/external/bsd/ppp/dist/pppd/eui64.h \
src/external/bsd/ppp/dist/pppd/fsm.c src/external/bsd/ppp/dist/pppd/fsm.h \
src/external/bsd/ppp/dist/pppd/ipcp.c \
src/external/bsd/ppp/dist/pppd/ipcp.h \
src/external/bsd/ppp/dist/pppd/ipv6cp.c \
src/external/bsd/ppp/dist/pppd/ipv6cp.h \
src/external/bsd/ppp/dist/pppd/ipxcp.c \
src/external/bsd/ppp/dist/pppd/ipxcp.h \
src/external/bsd/ppp/dist/pppd/lcp.c src/external/bsd/ppp/dist/pppd/lcp.h \
src/external/bsd/ppp/dist/pppd/magic.c \
src/external/bsd/ppp/dist/pppd/magic.h \
src/external/bsd/ppp/dist/pppd/mppe.h \
src/external/bsd/ppp/dist/pppd/multilink.c \
src/external/bsd/ppp/dist/pppd/options.c \
src/external/bsd/ppp/dist/pppd/patchlevel.h \
src/external/bsd/ppp/dist/pppd/pathnames.h \
src/external/bsd/ppp/dist/pppd/pppcrypt.c \
src/external/bsd/ppp/dist/pppd/pppcrypt.h \

CVS commit: [yamt-pagecache] src/external/bsd/tcpdump

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:51:22 UTC 2014

Modified Files:
src/external/bsd/tcpdump/bin [yamt-pagecache]: Makefile
src/external/bsd/tcpdump/dist [yamt-pagecache]: CHANGES CREDITS
INSTALL.txt Makefile-devel-adds Makefile.in VERSION aclocal.m4
addrtoname.c addrtoname.h af.c af.h aodv.h appletalk.h arcnet.h
atm.h atmuni31.h bgp.h bootp.h bpf_dump.c chdlc.h checksum.c
config.h.in configure configure.in cpack.c cpack.h dccp.h decnet.h
decode_prefix.h enc.h ether.h ethertype.h extract.h fddi.h gmpls.c
gmpls.h gmt2local.c gmt2local.h icmp6.h ieee802_11.h
ieee802_11_radio.h igrp.h interface.h ip.h ip6.h ipfc.h ipproto.c
ipproto.h ipsec_doi.h ipx.h isakmp.h l2tp.h l2vpn.c l2vpn.h lane.h
llc.h machdep.c machdep.h makemib mkdep mpls.h nameser.h netbios.h
netdissect.h nfs.h nfsfh.h nlpid.c nlpid.h ntp.h oakley.h ospf.h
ospf6.h oui.c oui.h parsenfsfh.c pcap-missing.h pcap_dump_ftell.c
pmap_prot.h ppp.h print-802_11.c print-ah.c print-aodv.c
print-ap1394.c print-arcnet.c print-arp.c print-ascii.c
print-atalk.c print-atm.c print-beep.c print-bfd.c print-bgp.c
print-bootp.c print-bt.c print-cdp.c print-cfm.c print-chdlc.c
print-cip.c print-cnfp.c print-dccp.c print-decnet.c print-dhcp6.c
print-domain.c print-dtp.c print-dvmrp.c print-eap.c print-egp.c
print-eigrp.c print-enc.c print-esp.c print-ether.c print-fddi.c
print-forces.c print-fr.c print-frag6.c print-gre.c print-hsrp.c
print-icmp.c print-icmp6.c print-igmp.c print-igrp.c print-ip.c
print-ip6.c print-ip6opts.c print-ipcomp.c print-ipfc.c
print-ipnet.c print-ipx.c print-isakmp.c print-isoclns.c
print-juniper.c print-krb.c print-l2tp.c print-lane.c print-ldp.c
print-llc.c print-lldp.c print-lmp.c print-lspping.c print-lwapp.c
print-lwres.c print-mobile.c print-mobility.c print-mpcp.c
print-mpls.c print-msdp.c print-netbios.c print-nfs.c print-ntp.c
print-null.c print-olsr.c print-ospf.c print-ospf6.c print-pflog.c
print-pgm.c print-pim.c print-ppp.c print-pppoe.c print-pptp.c
print-radius.c print-raw.c print-rip.c print-ripng.c print-rrcp.c
print-rsvp.c print-rt6.c print-rx.c print-sctp.c print-sflow.c
print-sip.c print-sl.c print-sll.c print-slow.c print-smb.c
print-snmp.c print-stp.c print-sunatm.c print-sunrpc.c
print-symantec.c print-syslog.c print-tcp.c print-telnet.c
print-tftp.c print-timed.c print-token.c print-udld.c print-udp.c
print-vjc.c print-vqp.c print-vrrp.c print-vtp.c print-wb.c
print-zephyr.c route6d.h rpc_auth.h rpc_msg.h rx.h sctpConstants.h
sctpHeader.h setsignal.c setsignal.h signature.c signature.h
slcompress.h slip.h sll.h smb.h smbutil.c strcasecmp.c tcp.h
tcpdump-stdinc.h tcpdump.1.in tcpdump.c telnet.h tftp.h timed.h
token.h udp.h util.c vfprintf.c
src/external/bsd/tcpdump/dist/lbl [yamt-pagecache]: os-osf4.h
os-solaris2.h os-sunos4.h os-ultrix4.h
src/external/bsd/tcpdump/dist/missing [yamt-pagecache]: addrinfo.h
datalinks.c dlnames.c getnameinfo.c inet_aton.c inet_ntop.c
inet_pton.c snprintf.c strdup.c strlcat.c strlcpy.c strsep.c
src/external/bsd/tcpdump/dist/tests [yamt-pagecache]: TESTLIST TESTonce
TESTrun.sh dio.out forces1.out forces1.pcap forces1vvv.out
forces1.out forces2v.out forces2vv.out ikev2fourv.out
ikev2fourv4.out lmp.out print-A.out print-AA.out print-capX.out
print-capXX.out print-x.out print-xx.out
src/external/bsd/tcpdump/dist/win32/prj [yamt-pagecache]: GNUmakefile
WinDump.dsp
src/external/bsd/tcpdump/include [yamt-pagecache]: config.h
Added Files:
src/external/bsd/tcpdump [yamt-pagecache]: tcpdump2netbsd
src/external/bsd/tcpdump/dist [yamt-pagecache]: README.md in_cksum.c
mptcp.h nflog.h openflow.h ppi.h print-802_15_4.c print-babel.c
print-calm-fast.c print-carp.c print-geonet.c print-mptcp.c
print-msnlb.c print-nflog.c print-openflow-1.0.c print-openflow.c
print-otv.c print-ppi.c print-rpki-rtr.c print-tipc.c print-vxlan.c
print-zeromq.c
src/external/bsd/tcpdump/dist/tests [yamt-pagecache]:
02-sunrise-sunset-esp.pcap 08-sunrise-sunset-aes.pcap
08-sunrise-sunset-esp2.pcap QinQpacket.out QinQpacket.pcap
QinQpacketv.out babel.pcap babel1.out babel1v.out babel_auth.out
babel_auth.pcap babel_pad1.out babel_pad1.pcap dcb_ets.out
dcb_ets.pcap dcb_pfc.out dcb_pfc.pcap dcb_qcn.out dcb_qcn.pcap

CVS commit: [yamt-pagecache] src/external/bsd/tmux

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:51:25 UTC 2014

Modified Files:
src/external/bsd/tmux/dist [yamt-pagecache]: cmd-if-shell.c input.c
log.c tmux.1 tmux.h
src/external/bsd/tmux/usr.bin/tmux [yamt-pagecache]: Makefile
Removed Files:
src/external/bsd/tmux/dist/compat [yamt-pagecache]: asprintf.c
bitstring.h closefrom.c daemon.c fgetln.c forkpty-aix.c
forkpty-hpux.c forkpty-sunos.c getopt.c queue.h setenv.c
strcasestr.c strlcat.c strlcpy.c strsep.c tree.h unvis.c vis.c
vis.h

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.1.1.2.2.1 \
src/external/bsd/tmux/dist/cmd-if-shell.c \
src/external/bsd/tmux/dist/tmux.1
cvs rdiff -u -r1.4 -r1.4.2.1 src/external/bsd/tmux/dist/input.c
cvs rdiff -u -r1.2 -r1.2.2.1 src/external/bsd/tmux/dist/log.c
cvs rdiff -u -r1.3 -r1.3.2.1 src/external/bsd/tmux/dist/tmux.h
cvs rdiff -u -r1.1.1.2 -r0 src/external/bsd/tmux/dist/compat/asprintf.c \
src/external/bsd/tmux/dist/compat/bitstring.h \
src/external/bsd/tmux/dist/compat/closefrom.c \
src/external/bsd/tmux/dist/compat/daemon.c \
src/external/bsd/tmux/dist/compat/fgetln.c \
src/external/bsd/tmux/dist/compat/forkpty-aix.c \
src/external/bsd/tmux/dist/compat/forkpty-sunos.c \
src/external/bsd/tmux/dist/compat/getopt.c \
src/external/bsd/tmux/dist/compat/queue.h \
src/external/bsd/tmux/dist/compat/setenv.c \
src/external/bsd/tmux/dist/compat/strcasestr.c \
src/external/bsd/tmux/dist/compat/strlcat.c \
src/external/bsd/tmux/dist/compat/strlcpy.c \
src/external/bsd/tmux/dist/compat/strsep.c \
src/external/bsd/tmux/dist/compat/tree.h \
src/external/bsd/tmux/dist/compat/unvis.c \
src/external/bsd/tmux/dist/compat/vis.c \
src/external/bsd/tmux/dist/compat/vis.h
cvs rdiff -u -r1.1.1.1 -r0 src/external/bsd/tmux/dist/compat/forkpty-hpux.c
cvs rdiff -u -r1.9 -r1.9.2.1 src/external/bsd/tmux/usr.bin/tmux/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/tmux/dist/cmd-if-shell.c
diff -u src/external/bsd/tmux/dist/cmd-if-shell.c:1.1.1.2 src/external/bsd/tmux/dist/cmd-if-shell.c:1.1.1.2.2.1
--- src/external/bsd/tmux/dist/cmd-if-shell.c:1.1.1.2	Wed Aug 17 18:40:04 2011
+++ src/external/bsd/tmux/dist/cmd-if-shell.c	Thu May 22 15:51:25 2014
@@ -1,4 +1,4 @@
-/* $Id: cmd-if-shell.c,v 1.1.1.2 2011/08/17 18:40:04 jmmv Exp $ */
+/* $Id: cmd-if-shell.c,v 1.1.1.2.2.1 2014/05/22 15:51:25 yamt Exp $ */
 
 /*
  * Copyright (c) 2009 Tiago Cunha m...@tiagocunha.org
@@ -97,11 +97,9 @@ cmd_if_shell_free(void *data)
 {
 	struct cmd_if_shell_data	*cdata = data;
 	struct cmd_ctx			*ctx = cdata-ctx;
-	struct msg_exit_data		 exitdata;
 
 	if (ctx-cmdclient != NULL) {
 		ctx-cmdclient-references--;
-		exitdata.retcode = ctx-cmdclient-retcode;
 		ctx-cmdclient-flags |= CLIENT_EXIT;
 	}
 	if (ctx-curclient != NULL)
Index: src/external/bsd/tmux/dist/tmux.1
diff -u src/external/bsd/tmux/dist/tmux.1:1.1.1.2 src/external/bsd/tmux/dist/tmux.1:1.1.1.2.2.1
--- src/external/bsd/tmux/dist/tmux.1:1.1.1.2	Wed Aug 17 18:40:03 2011
+++ src/external/bsd/tmux/dist/tmux.1	Thu May 22 15:51:25 2014
@@ -1,4 +1,4 @@
-.\ $Id: tmux.1,v 1.1.1.2 2011/08/17 18:40:03 jmmv Exp $
+.\ $Id: tmux.1,v 1.1.1.2.2.1 2014/05/22 15:51:25 yamt Exp $
 .\
 .\ Copyright (c) 2007 Nicholas Marriott n...@users.sourceforge.net
 .\
@@ -3008,4 +3008,4 @@ bind-key S command-prompt new-window -n
 .Sh SEE ALSO
 .Xr pty 4
 .Sh AUTHORS
-.An Nicholas Marriott Aq n...@users.sourceforge.net
+.An Nicholas Marriott Aq Mt n...@users.sourceforge.net

Index: src/external/bsd/tmux/dist/input.c
diff -u src/external/bsd/tmux/dist/input.c:1.4 src/external/bsd/tmux/dist/input.c:1.4.2.1
--- src/external/bsd/tmux/dist/input.c:1.4	Wed Aug 17 19:28:36 2011
+++ src/external/bsd/tmux/dist/input.c	Thu May 22 15:51:25 2014
@@ -1,4 +1,4 @@
-/* $Id: input.c,v 1.4 2011/08/17 19:28:36 jmmv Exp $ */
+/* $Id: input.c,v 1.4.2.1 2014/05/22 15:51:25 yamt Exp $ */
 
 /*
  * Copyright (c) 2007 Nicholas Marriott n...@users.sourceforge.net
@@ -49,7 +49,7 @@
 /* Helper functions. */
 int	input_split(struct input_ctx *);
 int	input_get(struct input_ctx *, u_int, int, int);
-void	input_reply(struct input_ctx *, const char *, ...);
+void	input_reply(struct input_ctx *, const char *, ...) __printflike(2, 3);
 
 /* Transition entry/exit handlers. */
 void	input_clear(struct input_ctx *);

Index: src/external/bsd/tmux/dist/log.c
diff -u src/external/bsd/tmux/dist/log.c:1.2 src/external/bsd/tmux/dist/log.c:1.2.2.1
--- src/external/bsd/tmux/dist/log.c:1.2	Thu Aug 25 16:41:51 2011
+++ src/external/bsd/tmux/dist/log.c	Thu May 22 

CVS commit: [yamt-pagecache] src/external/bsd/wpa

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:51:42 UTC 2014

Modified Files:
src/external/bsd/wpa/bin/hostapd [yamt-pagecache]: Makefile hostapd.8
hostapd.conf.5
src/external/bsd/wpa/bin/hostapd_cli [yamt-pagecache]: hostapd_cli.8
src/external/bsd/wpa/bin/wpa_cli [yamt-pagecache]: wpa_cli.8
src/external/bsd/wpa/bin/wpa_passphrase [yamt-pagecache]: Makefile
wpa_passphrase.8
src/external/bsd/wpa/bin/wpa_supplicant [yamt-pagecache]: Makefile
wpa_supplicant.8 wpa_supplicant.conf.5
src/external/bsd/wpa/dist [yamt-pagecache]: COPYING README
src/external/bsd/wpa/dist/hostapd [yamt-pagecache]: Android.mk
ChangeLog Makefile README README-WPS config_file.c config_file.h
ctrl_iface.c ctrl_iface.h defconfig dump_state.c dump_state.h
eap_register.c eap_register.h hlr_auc_gw.c hostapd.conf
hostapd.eap_user hostapd_cli.c main.c nt_password_hash.c
src/external/bsd/wpa/dist/src/ap [yamt-pagecache]: accounting.c
accounting.h ap_config.c ap_config.h ap_drv_ops.c ap_drv_ops.h
ap_list.c ap_list.h ap_mlme.c ap_mlme.h authsrv.c authsrv.h
beacon.c beacon.h ctrl_iface_ap.c ctrl_iface_ap.h drv_callbacks.c
hostapd.c hostapd.h hw_features.c hw_features.h iapp.c iapp.h
ieee802_11.c ieee802_11.h ieee802_11_auth.c ieee802_11_auth.h
ieee802_11_shared.c ieee802_1x.c ieee802_1x.h p2p_hostapd.c
p2p_hostapd.h peerkey_auth.c pmksa_cache_auth.c pmksa_cache_auth.h
preauth_auth.c preauth_auth.h sta_info.c sta_info.h
tkip_countermeasures.c tkip_countermeasures.h utils.c vlan_init.c
wmm.c wpa_auth.c wpa_auth.h wpa_auth_ft.c wpa_auth_glue.c
wpa_auth_glue.h wpa_auth_i.h wpa_auth_ie.c wpa_auth_ie.h
wps_hostapd.c wps_hostapd.h
src/external/bsd/wpa/dist/src/common [yamt-pagecache]: defs.h
eapol_common.h gas.c gas.h ieee802_11_common.c ieee802_11_common.h
ieee802_11_defs.h privsep_commands.h version.h wpa_common.c
wpa_common.h wpa_ctrl.c wpa_ctrl.h
src/external/bsd/wpa/dist/src/crypto [yamt-pagecache]: Makefile
aes-cbc.c aes-ctr.c aes-eax.c aes-encblock.c aes-internal-dec.c
aes-internal-enc.c aes-internal.c aes-omac1.c aes-unwrap.c
aes-wrap.c aes.h aes_i.h aes_wrap.h crypto.h crypto_cryptoapi.c
crypto_gnutls.c crypto_internal-cipher.c crypto_internal-modexp.c
crypto_internal-rsa.c crypto_internal.c crypto_libtomcrypt.c
crypto_none.c crypto_nss.c crypto_openssl.c des-internal.c des_i.h
dh_group5.c dh_group5.h dh_groups.c dh_groups.h
fips_prf_cryptoapi.c fips_prf_gnutls.c fips_prf_internal.c
fips_prf_nss.c fips_prf_openssl.c md4-internal.c md5-internal.c
md5.c md5.h md5_i.h milenage.c milenage.h ms_funcs.c ms_funcs.h
random.c random.h rc4.c sha1-internal.c sha1-pbkdf2.c sha1-tlsprf.c
sha1-tprf.c sha1.c sha1.h sha1_i.h sha256-internal.c sha256.c
sha256.h tls.h tls_gnutls.c tls_internal.c tls_none.c tls_nss.c
tls_openssl.c tls_schannel.c
src/external/bsd/wpa/dist/src/drivers [yamt-pagecache]: driver.h
driver_atheros.c driver_bsd.c driver_common.c driver_hostap.c
driver_hostap.h driver_madwifi.c driver_ndis.c driver_ndis.h
driver_ndis_.c driver_nl80211.c driver_none.c driver_privsep.c
driver_roboswitch.c driver_test.c driver_wext.c driver_wext.h
driver_wired.c drivers.c drivers.mak drivers.mk linux_ioctl.c
linux_ioctl.h ndis_events.c netlink.c netlink.h nl80211_copy.h
priv_netlink.h rfkill.c rfkill.h
src/external/bsd/wpa/dist/src/eap_common [yamt-pagecache]: chap.c
chap.h eap_common.c eap_common.h eap_defs.h eap_fast_common.c
eap_fast_common.h eap_gpsk_common.c eap_gpsk_common.h
eap_ikev2_common.c eap_ikev2_common.h eap_pax_common.c
eap_pax_common.h eap_peap_common.c eap_peap_common.h
eap_psk_common.c eap_psk_common.h eap_pwd_common.c eap_pwd_common.h
eap_sake_common.c eap_sake_common.h eap_sim_common.c
eap_sim_common.h eap_tlv_common.h eap_ttls.h eap_wsc_common.c
eap_wsc_common.h ikev2_common.c ikev2_common.h
src/external/bsd/wpa/dist/src/eap_peer [yamt-pagecache]: eap.c eap.h
eap_aka.c eap_config.h eap_fast.c eap_fast_pac.c eap_fast_pac.h
eap_gpsk.c eap_gtc.c eap_i.h eap_ikev2.c eap_leap.c eap_md5.c
eap_methods.c eap_methods.h eap_mschapv2.c eap_otp.c eap_pax.c
eap_peap.c eap_psk.c eap_pwd.c eap_sake.c eap_sim.c eap_tls.c
eap_tls_common.c eap_tls_common.h eap_tnc.c eap_ttls.c
eap_vendor_test.c eap_wsc.c ikev2.c ikev2.h mschapv2.c mschapv2.h

CVS commit: [yamt-pagecache] src/external/bsd/top/dist

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 15:51:29 UTC 2014

Modified Files:
src/external/bsd/top/dist [yamt-pagecache]: hash.c screen.c
src/external/bsd/top/dist/machine [yamt-pagecache]: m_netbsd.c

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.6.1 src/external/bsd/top/dist/hash.c
cvs rdiff -u -r1.3.6.1 -r1.3.6.2 src/external/bsd/top/dist/screen.c
cvs rdiff -u -r1.16.2.1 -r1.16.2.2 \
src/external/bsd/top/dist/machine/m_netbsd.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/top/dist/hash.c
diff -u src/external/bsd/top/dist/hash.c:1.3 src/external/bsd/top/dist/hash.c:1.3.6.1
--- src/external/bsd/top/dist/hash.c:1.3	Tue May  5 18:51:21 2009
+++ src/external/bsd/top/dist/hash.c	Thu May 22 15:51:29 2014
@@ -579,7 +579,6 @@ hash_remove_pos_uint(hash_pos *pos)
 llistitem *li;
 void *ans;
 hash_item_uint *hi;
-unsigned int key;
 
 /* sanity checks */
 if (pos == NULL || pos-ll_last == pos-ll_item)
@@ -597,9 +596,6 @@ hash_remove_pos_uint(hash_pos *pos)
 hi = (hash_item_uint *)li-datum;
 ans = hi-value;
 
-/* free up the space */
-key = hi-key;
-;
 ll_freeitem(li);
 
 /* back up to previous item */
@@ -917,7 +913,6 @@ hash_remove_pos_pid(hash_pos *pos)
 llistitem *li;
 void *ans;
 hash_item_pid *hi;
-pid_t key;
 
 /* sanity checks */
 if (pos == NULL || pos-ll_last == pos-ll_item)
@@ -936,8 +931,6 @@ hash_remove_pos_pid(hash_pos *pos)
 ans = hi-value;
 
 /* free up the space */
-key = hi-key;
-;
 ll_freeitem(li);
 
 /* back up to previous item */
@@ -1593,7 +1586,6 @@ hash_remove_pos_pidthr(hash_pos *pos)
 llistitem *li;
 void *ans;
 hash_item_pidthr *hi;
-pidthr_t key;
 
 /* sanity checks */
 if (pos == NULL || pos-ll_last == pos-ll_item)
@@ -1612,8 +1604,6 @@ hash_remove_pos_pidthr(hash_pos *pos)
 ans = hi-value;
 
 /* free up the space */
-key = hi-key;
-;
 ll_freeitem(li);
 
 /* back up to previous item */
@@ -1932,7 +1922,6 @@ hash_remove_pos_lwpid(hash_pos *pos)
 llistitem *li;
 void *ans;
 hash_item_lwpid *hi;
-lwpid_t key;
 
 /* sanity checks */
 if (pos == NULL || pos-ll_last == pos-ll_item)
@@ -1951,8 +1940,6 @@ hash_remove_pos_lwpid(hash_pos *pos)
 ans = hi-value;
 
 /* free up the space */
-key = hi-key;
-;
 ll_freeitem(li);
 
 /* back up to previous item */

Index: src/external/bsd/top/dist/screen.c
diff -u src/external/bsd/top/dist/screen.c:1.3.6.1 src/external/bsd/top/dist/screen.c:1.3.6.2
--- src/external/bsd/top/dist/screen.c:1.3.6.1	Tue Apr 17 00:04:08 2012
+++ src/external/bsd/top/dist/screen.c	Thu May 22 15:51:29 2014
@@ -273,8 +273,7 @@ screen_readtermcap(int interactive)
 /* set up common terminal capabilities */
 if ((screen_length = tgetnum(li)) = 0)
 {
-	screen_length = smart_terminal = 0;
-	return No;
+	screen_length = 0;
 }
 
 /* screen_width is a little different */
@@ -329,6 +328,13 @@ screen_readtermcap(int interactive)
sets lower_left. */
 screen_getsize();
 
+/* If screen_length is 0 from both termcap and ioctl then we are dumb */
+if (screen_length == 0)
+{
+smart_terminal = No;
+return No;
+}
+
 /* if stdout is not a terminal, pretend we are a dumb terminal */
 #ifdef USE_SGTTY
 if (ioctl(STDOUT, TIOCGETP, old_settings) == -1)

Index: src/external/bsd/top/dist/machine/m_netbsd.c
diff -u src/external/bsd/top/dist/machine/m_netbsd.c:1.16.2.1 src/external/bsd/top/dist/machine/m_netbsd.c:1.16.2.2
--- src/external/bsd/top/dist/machine/m_netbsd.c:1.16.2.1	Wed Jan 23 00:04:38 2013
+++ src/external/bsd/top/dist/machine/m_netbsd.c	Thu May 22 15:51:29 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: m_netbsd.c,v 1.16.2.1 2013/01/23 00:04:38 yamt Exp $	*/
+/*	$NetBSD: m_netbsd.c,v 1.16.2.2 2014/05/22 15:51:29 yamt Exp $	*/
 
 /*
  * top - a top users display for Unix
@@ -37,12 +37,12 @@
  *		Andrew Doran a...@netbsd.org
  *
  *
- * $Id: m_netbsd.c,v 1.16.2.1 2013/01/23 00:04:38 yamt Exp $
+ * $Id: m_netbsd.c,v 1.16.2.2 2014/05/22 15:51:29 yamt Exp $
  */
 #include sys/cdefs.h
 
 #ifndef lint
-__RCSID($NetBSD: m_netbsd.c,v 1.16.2.1 2013/01/23 00:04:38 yamt Exp $);
+__RCSID($NetBSD: m_netbsd.c,v 1.16.2.2 2014/05/22 15:51:29 yamt Exp $);
 #endif
 
 #include sys/param.h
@@ -587,7 +587,6 @@ get_proc_info(struct system_info *si, st
 	int show_idle;
 	int show_system;
 	int show_uid;
-	int show_command;
 
 	static struct handle handle;
 
@@ -627,7 +626,6 @@ get_proc_info(struct system_info *si, st
 	show_idle = sel-idle;
 	show_system = sel-system;
 	show_uid = 

CVS commit: [yamt-pagecache] src/external/bsd/llvm/config

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 16:13:27 UTC 2014

Modified Files:
src/external/bsd/llvm/config/clang/Config [yamt-pagecache]: config.h
src/external/bsd/llvm/config/llvm/Config [yamt-pagecache]:
AsmParsers.def AsmPrinters.def Disassemblers.def Targets.def
config.h.in llvm-config.h.in
src/external/bsd/llvm/config/llvm/Support [yamt-pagecache]: DataTypes.h
Added Files:
src/external/bsd/llvm/config/mclinker/mcld/Config [yamt-pagecache]:
Config.h Linkers.def Targets.def

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 \
src/external/bsd/llvm/config/clang/Config/config.h
cvs rdiff -u -r1.2.2.2 -r1.2.2.3 \
src/external/bsd/llvm/config/llvm/Config/AsmParsers.def \
src/external/bsd/llvm/config/llvm/Config/Disassemblers.def \
src/external/bsd/llvm/config/llvm/Config/config.h.in \
src/external/bsd/llvm/config/llvm/Config/llvm-config.h.in
cvs rdiff -u -r1.5.2.1 -r1.5.2.2 \
src/external/bsd/llvm/config/llvm/Config/AsmPrinters.def
cvs rdiff -u -r1.5 -r1.5.2.1 \
src/external/bsd/llvm/config/llvm/Config/Targets.def
cvs rdiff -u -r1.1.6.2 -r1.1.6.3 \
src/external/bsd/llvm/config/llvm/Support/DataTypes.h
cvs rdiff -u -r0 -r1.2.12.2 \
src/external/bsd/llvm/config/mclinker/mcld/Config/Config.h
cvs rdiff -u -r0 -r1.1.12.2 \
src/external/bsd/llvm/config/mclinker/mcld/Config/Linkers.def \
src/external/bsd/llvm/config/mclinker/mcld/Config/Targets.def

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/llvm/config/clang/Config/config.h
diff -u src/external/bsd/llvm/config/clang/Config/config.h:1.1.2.4 src/external/bsd/llvm/config/clang/Config/config.h:1.1.2.5
--- src/external/bsd/llvm/config/clang/Config/config.h:1.1.2.4	Tue Oct 30 18:55:48 2012
+++ src/external/bsd/llvm/config/clang/Config/config.h	Thu May 22 16:13:26 2014
@@ -11,10 +11,10 @@
 #define CLANG_RESOURCE_DIR 
 
 /* Directories clang will search for headers */
-#define C_INCLUDE_DIRS /usr/include/clang-3.2:/usr/include
+#define C_INCLUDE_DIRS /usr/include/clang-3.5:/usr/include
 
 /* Linker version detected at compile time. */
-#define HOST_LINK_VERSION 2.22
+#define HOST_LINK_VERSION 2.23.52.20130913
 
 /* Default path to all compiler invocations for --sysroot=path. */
 #define DEFAULT_SYSROOT 

Index: src/external/bsd/llvm/config/llvm/Config/AsmParsers.def
diff -u src/external/bsd/llvm/config/llvm/Config/AsmParsers.def:1.2.2.2 src/external/bsd/llvm/config/llvm/Config/AsmParsers.def:1.2.2.3
--- src/external/bsd/llvm/config/llvm/Config/AsmParsers.def:1.2.2.2	Tue Oct 30 18:55:48 2012
+++ src/external/bsd/llvm/config/llvm/Config/AsmParsers.def	Thu May 22 16:13:26 2014
@@ -24,6 +24,6 @@
 #  error Please define the macro LLVM_ASM_PARSER(TargetName)
 #endif
 
-LLVM_ASM_PARSER(X86) LLVM_ASM_PARSER(ARM) LLVM_ASM_PARSER(Mips) 
+LLVM_ASM_PARSER(X86) LLVM_ASM_PARSER(PowerPC) LLVM_ASM_PARSER(Sparc) LLVM_ASM_PARSER(AArch64) LLVM_ASM_PARSER(ARM) LLVM_ASM_PARSER(Mips) 
 
 #undef LLVM_ASM_PARSER
Index: src/external/bsd/llvm/config/llvm/Config/Disassemblers.def
diff -u src/external/bsd/llvm/config/llvm/Config/Disassemblers.def:1.2.2.2 src/external/bsd/llvm/config/llvm/Config/Disassemblers.def:1.2.2.3
--- src/external/bsd/llvm/config/llvm/Config/Disassemblers.def:1.2.2.2	Tue Oct 30 18:55:49 2012
+++ src/external/bsd/llvm/config/llvm/Config/Disassemblers.def	Thu May 22 16:13:26 2014
@@ -24,6 +24,6 @@
 #  error Please define the macro LLVM_DISASSEMBLER(TargetName)
 #endif
 
-LLVM_DISASSEMBLER(X86) LLVM_DISASSEMBLER(ARM) LLVM_DISASSEMBLER(Mips) 
+LLVM_DISASSEMBLER(X86) LLVM_DISASSEMBLER(PowerPC) LLVM_DISASSEMBLER(Sparc) LLVM_DISASSEMBLER(AArch64) LLVM_DISASSEMBLER(ARM) LLVM_DISASSEMBLER(Mips) 
 
 #undef LLVM_DISASSEMBLER
Index: src/external/bsd/llvm/config/llvm/Config/config.h.in
diff -u src/external/bsd/llvm/config/llvm/Config/config.h.in:1.2.2.2 src/external/bsd/llvm/config/llvm/Config/config.h.in:1.2.2.3
--- src/external/bsd/llvm/config/llvm/Config/config.h.in:1.2.2.2	Tue Oct 30 18:55:49 2012
+++ src/external/bsd/llvm/config/llvm/Config/config.h.in	Thu May 22 16:13:26 2014
@@ -14,11 +14,17 @@
 #define CLANG_RESOURCE_DIR 
 
 /* Directories clang will search for headers */
-#define C_INCLUDE_DIRS /usr/include/clang-3.2:/usr/include
+#define C_INCLUDE_DIRS /usr/include/clang-3.5:/usr/include
 
 /* Default path to all compiler invocations for --sysroot=path. */
 #define DEFAULT_SYSROOT 
 
+/* Define if you want backtraces on crash */
+#define ENABLE_BACKTRACES 1
+
+/* Define to enable crash handling overrides */
+#define ENABLE_CRASH_OVERRIDES 1
+
 /* Define if position independent code is enabled */
 

CVS commit: [yamt-pagecache] src/external/bsd/llvm/bin

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 16:13:23 UTC 2014

Modified Files:
src/external/bsd/llvm/bin [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/bugpoint [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/clang [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/clang-tblgen [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/llc [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/lli [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/llvm-ar [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/llvm-as [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/llvm-bcanalyzer [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/llvm-cov [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/llvm-diff [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/llvm-dis [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/llvm-dwarfdump [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/llvm-extract [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/llvm-link [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/llvm-mc [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/llvm-nm [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/llvm-ranlib [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/llvm-readobj [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/llvm-symbolizer [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/macho-dumpx [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/opt [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/tblgen [yamt-pagecache]: Makefile
Added Files:
src/external/bsd/llvm/bin/clang-format [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/lld [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/lldb [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/llvm-mcld [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/llvm-objdump [yamt-pagecache]: Makefile
src/external/bsd/llvm/bin/llvm-profdata [yamt-pagecache]: Makefile
Removed Files:
src/external/bsd/llvm/bin/llvm-prof [yamt-pagecache]: Makefile

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.3.2.3 -r1.3.2.4 src/external/bsd/llvm/bin/Makefile
cvs rdiff -u -r1.2.4.1 -r1.2.4.2 src/external/bsd/llvm/bin/bugpoint/Makefile
cvs rdiff -u -r1.15.2.4 -r1.15.2.5 src/external/bsd/llvm/bin/clang/Makefile
cvs rdiff -u -r0 -r1.2.6.2 src/external/bsd/llvm/bin/clang-format/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 \
src/external/bsd/llvm/bin/clang-tblgen/Makefile
cvs rdiff -u -r1.10.2.1 -r1.10.2.2 src/external/bsd/llvm/bin/llc/Makefile
cvs rdiff -u -r0 -r1.3.4.2 src/external/bsd/llvm/bin/lld/Makefile
cvs rdiff -u -r0 -r1.2.4.2 src/external/bsd/llvm/bin/lldb/Makefile
cvs rdiff -u -r1.6.2.1 -r1.6.2.2 src/external/bsd/llvm/bin/lli/Makefile
cvs rdiff -u -r1.1 -r1.1.6.1 src/external/bsd/llvm/bin/llvm-ar/Makefile
cvs rdiff -u -r1.1 -r1.1.6.1 src/external/bsd/llvm/bin/llvm-as/Makefile
cvs rdiff -u -r1.1 -r1.1.6.1 \
src/external/bsd/llvm/bin/llvm-bcanalyzer/Makefile
cvs rdiff -u -r1.1 -r1.1.2.1 src/external/bsd/llvm/bin/llvm-cov/Makefile
cvs rdiff -u -r1.2 -r1.2.4.1 src/external/bsd/llvm/bin/llvm-diff/Makefile
cvs rdiff -u -r1.2 -r1.2.4.1 src/external/bsd/llvm/bin/llvm-dis/Makefile
cvs rdiff -u -r1.1 -r1.1.2.1 \
src/external/bsd/llvm/bin/llvm-dwarfdump/Makefile
cvs rdiff -u -r1.1.6.1 -r1.1.6.2 \
src/external/bsd/llvm/bin/llvm-extract/Makefile
cvs rdiff -u -r1.2 -r1.2.2.1 src/external/bsd/llvm/bin/llvm-link/Makefile
cvs rdiff -u -r1.10.2.2 -r1.10.2.3 src/external/bsd/llvm/bin/llvm-mc/Makefile
cvs rdiff -u -r0 -r1.1.12.2 src/external/bsd/llvm/bin/llvm-mcld/Makefile
cvs rdiff -u -r1.1 -r1.1.6.1 src/external/bsd/llvm/bin/llvm-nm/Makefile
cvs rdiff -u -r0 -r1.9.4.2 src/external/bsd/llvm/bin/llvm-objdump/Makefile
cvs rdiff -u -r1.1 -r0 src/external/bsd/llvm/bin/llvm-prof/Makefile
cvs rdiff -u -r0 -r1.1.4.2 src/external/bsd/llvm/bin/llvm-profdata/Makefile
cvs rdiff -u -r1.1 -r1.1.6.1 src/external/bsd/llvm/bin/llvm-ranlib/Makefile
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 \
src/external/bsd/llvm/bin/llvm-readobj/Makefile
cvs rdiff -u -r1.1.4.2 -r1.1.4.3 \
src/external/bsd/llvm/bin/llvm-symbolizer/Makefile
cvs rdiff -u -r1.1 -r1.1.6.1 src/external/bsd/llvm/bin/macho-dumpx/Makefile
cvs rdiff -u -r1.2.4.2 -r1.2.4.3 src/external/bsd/llvm/bin/opt/Makefile
cvs rdiff -u -r1.7.2.2 -r1.7.2.3 src/external/bsd/llvm/bin/tblgen/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/llvm/bin/Makefile
diff -u 

CVS commit: [yamt-pagecache] src/external/bsd/llvm/include

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 16:14:36 UTC 2014

Modified Files:
src/external/bsd/llvm/include [yamt-pagecache]: Makefile

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.4.2.3 -r1.4.2.4 src/external/bsd/llvm/include/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/llvm/include/Makefile
diff -u src/external/bsd/llvm/include/Makefile:1.4.2.3 src/external/bsd/llvm/include/Makefile:1.4.2.4
--- src/external/bsd/llvm/include/Makefile:1.4.2.3	Wed Jan 16 05:27:58 2013
+++ src/external/bsd/llvm/include/Makefile	Thu May 22 16:14:36 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4.2.3 2013/01/16 05:27:58 yamt Exp $
+#	$NetBSD: Makefile,v 1.4.2.4 2014/05/22 16:14:36 yamt Exp $
 
 .include bsd.init.mk
 
@@ -24,8 +24,12 @@ INCS=	__wmmintrin_aes.h \
 	nmmintrin.h \
 	pmmintrin.h \
 	popcntintrin.h \
+	prfchwintrin.h \
+	rdseedintrin.h \
 	rtmintrin.h \
+	shaintrin.h \
 	smmintrin.h \
+	tbmintrin.h \
 	tmmintrin.h \
 	wmmintrin.h \
 	x86intrin.h \
@@ -46,31 +50,34 @@ HEADER=	\
   stdint.h \
   tgmath.h
 
-.PATH:	${LLVM_SRCDIR}/include/llvm \
+.PATH:	${LLVM_SRCDIR}/include/llvm/IR \
 	${CLANG_SRCDIR}/include/clang/AST \
 	${CLANG_SRCDIR}/include/clang/Basic \
 	${CLANG_SRCDIR}/include/clang/Driver
 
-TABLEGEN_SRC=	Intrinsics.td
+TABLEGEN_SRC=	Intrinsics.td Options.td CC1AsOptions.td 
 
 TABLEGEN_OUTPUT.Intrinsics.td= \
-	llvm/Intrinsics.gen|-gen-intrinsic
+	llvm/IR/Intrinsics.gen|-gen-intrinsic
 
 CLANG_TABLEGEN_SRC=	Attr.td CommentCommands.td CommentHTMLTags.td \
-	CommentNodes.td DeclNodes.td StmtNodes.td \
-	Diagnostic.td arm_neon.td Options.td \
-	CC1AsOptions.td CC1Options.td
+	CommentNodes.td CommentHTMLNamedCharacterReferences.td DeclNodes.td \
+	StmtNodes.td Diagnostic.td arm_neon.td
 
 CLANG_TABLEGEN_INCLUDES.Attr.td=	-I${CLANG_SRCDIR}/include
 CLANG_TABLEGEN_OUTPUT.Attr.td= \
 	clang/AST/Attrs.inc|-gen-clang-attr-classes \
-clang/AST/AttrImpl.inc|-gen-clang-attr-impl \
+	clang/AST/AttrDump.inc|-gen-clang-attr-dump \
+	clang/AST/AttrImpl.inc|-gen-clang-attr-impl \
+	clang/AST/AttrVisitor.inc|-gen-clang-attr-ast-visitor \
 	clang/Basic/AttrList.inc|-gen-clang-attr-list \
 	clang/Lex/AttrSpellings.inc|-gen-clang-attr-spelling-list \
-	clang/Parse/AttrLateParsed.inc|-gen-clang-attr-late-parsed-list \
-	clang/Sema/AttrTemplateInstantiate.inc|-gen-clang-attr-template-instantiate \
+	clang/Parse/AttrParserStringSwitches.inc|-gen-clang-attr-parser-string-switches \
+	clang/Sema/AttrParsedAttrImpl.inc|-gen-clang-attr-parsed-attr-impl \
 	clang/Sema/AttrParsedAttrKinds.inc|-gen-clang-attr-parsed-attr-kinds \
 	clang/Sema/AttrParsedAttrList.inc|-gen-clang-attr-parsed-attr-list \
+	clang/Sema/AttrSpellingListIndex.inc|-gen-clang-attr-spelling-index \
+	clang/Sema/AttrTemplateInstantiate.inc|-gen-clang-attr-template-instantiate \
 	clang/Serialization/AttrPCHRead.inc|-gen-clang-attr-pch-read \
 	clang/Serialization/AttrPCHWrite.inc|-gen-clang-attr-pch-write
 
@@ -84,12 +91,16 @@ CLANG_TABLEGEN_OUTPUT.CommentNodes.td= \
 	clang/AST/CommentNodes.inc|-gen-clang-comment-nodes
 
 CLANG_TABLEGEN_OUTPUT.CommentCommands.td= \
-	clang/AST/CommentCommandInfo.inc|-gen-clang-comment-command-info
+	clang/AST/CommentCommandInfo.inc|-gen-clang-comment-command-info \
+	clang/AST/CommentCommandList.inc|-gen-clang-comment-command-list
 
 CLANG_TABLEGEN_OUTPUT.CommentHTMLTags.td= \
 	clang/AST/CommentHTMLTags.inc|-gen-clang-comment-html-tags \
 	clang/AST/CommentHTMLTagsProperties.inc|-gen-clang-comment-html-tags-properties
 
+CLANG_TABLEGEN_OUTPUT.CommentHTMLNamedCharacterReferences.td= \
+	clang/AST/CommentHTMLNamedCharacterReferences.inc|-gen-clang-comment-html-named-character-references
+
 CLANG_TABLEGEN_INCLUDES.Diagnostic.td=	-I${CLANG_SRCDIR}/include/clang/Basic
 CLANG_TABLEGEN_OUTPUT.Diagnostic.td= \
 	clang/Basic/DiagnosticAnalysisKinds.inc|-gen-clang-diags-defs^-clang-component=Analysis \
@@ -109,12 +120,12 @@ CLANG_TABLEGEN_OUTPUT.arm_neon.td= \
 	clang/Basic/arm_neon.inc|-gen-arm-neon-sema \
 	arm_neon.h.inc|-gen-arm-neon
 
-CLANG_TABLEGEN_INCLUDES.Options.td=	-I${CLANG_SRCDIR}/include/clang/Driver
-CLANG_TABLEGEN_OUTPUT.Options.td= \
+TABLEGEN_INCLUDES.Options.td=	-I${CLANG_SRCDIR}/include/clang/Driver
+TABLEGEN_OUTPUT.Options.td= \
 	clang/Driver/Options.inc|-gen-opt-parser-defs
 
-CLANG_TABLEGEN_INCLUDES.CC1AsOptions.td=	-I${CLANG_SRCDIR}/include/clang/Driver
-CLANG_TABLEGEN_OUTPUT.CC1AsOptions.td= \
+TABLEGEN_INCLUDES.CC1AsOptions.td=	-I${CLANG_SRCDIR}/include/clang/Driver
+TABLEGEN_OUTPUT.CC1AsOptions.td= \
 	clang/Driver/CC1AsOptions.inc|-gen-opt-parser-defs
 
 .include ${.PARSEDIR}/../tablegen.mk
@@ -137,8 +148,7 @@ CLEANFILES+=	

CVS commit: [yamt-pagecache] src/external/bsd/llvm/librt

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 16:14:57 UTC 2014

Removed Files:
src/external/bsd/llvm/librt [yamt-pagecache]: Makefile Makefile.inc
src/external/bsd/llvm/librt/libclang_asan [yamt-pagecache]: Makefile
shlib_version
src/external/bsd/llvm/librt/libcompiler_rt [yamt-pagecache]: Makefile
shlib_version

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.2.4.2 -r0 src/external/bsd/llvm/librt/Makefile
cvs rdiff -u -r1.1.4.2 -r0 src/external/bsd/llvm/librt/Makefile.inc
cvs rdiff -u -r1.1.4.2 -r0 src/external/bsd/llvm/librt/libclang_asan/Makefile \
src/external/bsd/llvm/librt/libclang_asan/shlib_version
cvs rdiff -u -r1.1.4.2 -r0 \
src/external/bsd/llvm/librt/libcompiler_rt/Makefile \
src/external/bsd/llvm/librt/libcompiler_rt/shlib_version

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



CVS commit: [yamt-pagecache] src/external/bsd/llvm/dist/llvm/docs

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 16:26:27 UTC 2014

Added Files:
src/external/bsd/llvm/dist/llvm/docs [yamt-pagecache]:
AliasAnalysis.rst Atomics.rst BitCodeFormat.rst
BranchWeightMetadata.rst Bugpoint.rst CMake.rst CMakeLists.txt
CodeGenerator.rst CodingStandards.rst CommandLine.rst
CompilerWriterInfo.rst DebuggingJITedCode.rst DeveloperPolicy.rst
Dummy.html ExceptionHandling.rst ExtendedIntegerResults.txt
ExtendingLLVM.rst Extensions.rst FAQ.rst GarbageCollection.rst
GetElementPtr.rst GettingStarted.rst GettingStartedVS.rst
GoldPlugin.rst HowToAddABuilder.rst HowToBuildOnARM.rst
HowToCrossCompileLLVM.rst HowToReleaseLLVM.rst
HowToSetUpLLVMStyleRTTI.rst HowToSubmitABug.rst
HowToUseAttributes.rst HowToUseInstrMappings.rst InAlloca.rst
LLVMBuild.rst LLVMBuild.txt LangRef.rst Lexicon.rst
LinkTimeOptimization.rst MCJIT-creation.png MCJIT-dyld-load.png
MCJIT-engine-builder.png MCJIT-load-object.png MCJIT-load.png
MCJIT-resolve-relocations.png MCJITDesignAndImplementation.rst
Makefile Makefile.sphinx MakefileGuide.rst MarkedUpDisassembly.rst
NVPTXUsage.rst Packaging.rst Passes.rst Phabricator.rst
ProgrammersManual.rst Projects.rst README.txt ReleaseNotes.rst
ReleaseProcess.rst SegmentedStacks.rst SourceLevelDebugging.rst
SphinxQuickstartTemplate.rst StackMaps.rst SystemLibrary.rst
TableGenFundamentals.rst TestSuiteMakefileGuide.rst
TestingGuide.rst Vectorizers.rst WritingAnLLVMBackend.rst
WritingAnLLVMPass.rst YamlIO.rst conf.py doxygen.cfg.in doxygen.css
doxygen.footer doxygen.header doxygen.intro gcc-loops.png index.rst
linpack-pc.png make.bat re_format.7 yaml2obj.rst
src/external/bsd/llvm/dist/llvm/docs/CommandGuide [yamt-pagecache]:
FileCheck.rst bugpoint.rst index.rst lit.rst llc.rst lli.rst
llvm-ar.rst llvm-as.rst llvm-bcanalyzer.rst llvm-build.rst
llvm-config.rst llvm-cov.rst llvm-diff.rst llvm-dis.rst
llvm-extract.rst llvm-link.rst llvm-nm.rst llvm-prof.rst
llvm-profdata.rst llvm-readobj.rst llvm-stress.rst
llvm-symbolizer.rst opt.rst tblgen.rst
src/external/bsd/llvm/dist/llvm/docs/HistoricalNotes [yamt-pagecache]:
2000-11-18-EarlyDesignIdeas.txt 2000-11-18-EarlyDesignIdeasResp.txt
2000-12-06-EncodingIdea.txt 2000-12-06-MeetingSummary.txt
2001-01-31-UniversalIRIdea.txt 2001-02-06-TypeNotationDebate.txt
2001-02-06-TypeNotationDebateResp1.txt
2001-02-06-TypeNotationDebateResp2.txt
2001-02-06-TypeNotationDebateResp4.txt 2001-02-09-AdveComments.txt
2001-02-09-AdveCommentsResponse.txt 2001-02-13-Reference-Memory.txt
2001-02-13-Reference-MemoryResponse.txt
2001-04-16-DynamicCompilation.txt 2001-05-18-ExceptionHandling.txt
2001-05-19-ExceptionResponse.txt 2001-06-01-GCCOptimizations.txt
2001-06-01-GCCOptimizations2.txt 2001-06-20-.NET-Differences.txt
2001-07-06-LoweringIRForCodeGen.txt
2001-09-18-OptimizeExceptions.txt 2002-05-12-InstListChange.txt
2002-06-25-MegaPatchInfo.txt 2003-01-23-CygwinNotes.txt
2003-06-25-Reoptimizer1.txt 2003-06-26-Reoptimizer2.txt
2007-OriginalClangReadme.txt
src/external/bsd/llvm/dist/llvm/docs/TableGen [yamt-pagecache]:
LangRef.rst
src/external/bsd/llvm/dist/llvm/docs/_static [yamt-pagecache]:
lines.gif llvm.css
src/external/bsd/llvm/dist/llvm/docs/_templates [yamt-pagecache]:
indexsidebar.html layout.html
src/external/bsd/llvm/dist/llvm/docs/_themes/llvm-theme 
[yamt-pagecache]:
layout.html theme.conf
src/external/bsd/llvm/dist/llvm/docs/_themes/llvm-theme/static 
[yamt-pagecache]:
contents.png llvm-theme.css logo.png navigation.png
src/external/bsd/llvm/dist/llvm/docs/tutorial [yamt-pagecache]:
LangImpl1.rst LangImpl2.rst LangImpl3.rst LangImpl4.rst
LangImpl5-cfg.png LangImpl5.rst LangImpl6.rst LangImpl7.rst
LangImpl8.rst OCamlLangImpl1.rst OCamlLangImpl2.rst
OCamlLangImpl3.rst OCamlLangImpl4.rst OCamlLangImpl5.rst
OCamlLangImpl6.rst OCamlLangImpl7.rst OCamlLangImpl8.rst index.rst

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.1.1.4.2 \
src/external/bsd/llvm/dist/llvm/docs/AliasAnalysis.rst \
src/external/bsd/llvm/dist/llvm/docs/Atomics.rst \

CVS commit: [yamt-pagecache] src/external/bsd/llvm/dist/llvm/projects

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 16:27:34 UTC 2014

Added Files:
src/external/bsd/llvm/dist/llvm/projects [yamt-pagecache]:
CMakeLists.txt LLVMBuild.txt Makefile
src/external/bsd/llvm/dist/llvm/projects/sample [yamt-pagecache]:
Makefile Makefile.common.in Makefile.llvm.config.in
Makefile.llvm.rules configure
src/external/bsd/llvm/dist/llvm/projects/sample/autoconf 
[yamt-pagecache]:
AutoRegen.sh ExportMap.map LICENSE.TXT config.guess config.sub
configure.ac install-sh ltmain.sh mkinstalldirs
src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/m4 
[yamt-pagecache]:
build_exeext.m4 c_printf_a.m4 check_gnu_make.m4 config_makefile.m4
config_project.m4 cxx_flag_check.m4 find_std_program.m4
func_isinf.m4 func_isnan.m4 func_mmap_file.m4
header_mmap_anonymous.m4 huge_val.m4 libtool.m4 link_options.m4
linux_mixed_64_32.m4 ltdl.m4 need_dev_zero_for_mmap.m4
path_tclsh.m4 rand48.m4 sanity_check.m4 single_cxx_check.m4
visibility_inlines_hidden.m4
src/external/bsd/llvm/dist/llvm/projects/sample/docs [yamt-pagecache]:
index.html
src/external/bsd/llvm/dist/llvm/projects/sample/include 
[yamt-pagecache]:
sample.h
src/external/bsd/llvm/dist/llvm/projects/sample/lib [yamt-pagecache]:
Makefile
src/external/bsd/llvm/dist/llvm/projects/sample/lib/sample 
[yamt-pagecache]:
Makefile sample.c
src/external/bsd/llvm/dist/llvm/projects/sample/tools [yamt-pagecache]:
Makefile
src/external/bsd/llvm/dist/llvm/projects/sample/tools/sample 
[yamt-pagecache]:
Makefile main.c

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.1.3.4.2 \
src/external/bsd/llvm/dist/llvm/projects/CMakeLists.txt
cvs rdiff -u -r0 -r1.1.1.1.4.2 \
src/external/bsd/llvm/dist/llvm/projects/LLVMBuild.txt \
src/external/bsd/llvm/dist/llvm/projects/Makefile
cvs rdiff -u -r0 -r1.1.1.1.4.2 \
src/external/bsd/llvm/dist/llvm/projects/sample/Makefile \
src/external/bsd/llvm/dist/llvm/projects/sample/Makefile.common.in \
src/external/bsd/llvm/dist/llvm/projects/sample/Makefile.llvm.rules
cvs rdiff -u -r0 -r1.1.1.2.4.2 \
src/external/bsd/llvm/dist/llvm/projects/sample/Makefile.llvm.config.in \
src/external/bsd/llvm/dist/llvm/projects/sample/configure
cvs rdiff -u -r0 -r1.1.1.1.4.2 \
src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/AutoRegen.sh \
src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/ExportMap.map \
src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/LICENSE.TXT \
src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/config.guess \
src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/config.sub \
src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/install-sh \
src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/ltmain.sh \
src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/mkinstalldirs
cvs rdiff -u -r0 -r1.1.1.2.4.2 \
src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/configure.ac
cvs rdiff -u -r0 -r1.1.1.1.4.2 \
src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/m4/build_exeext.m4 
\
src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/m4/c_printf_a.m4 \

src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/m4/check_gnu_make.m4 \

src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/m4/config_makefile.m4 \

src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/m4/config_project.m4 \

src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/m4/cxx_flag_check.m4 \

src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/m4/find_std_program.m4 
\
src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/m4/func_isinf.m4 \
src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/m4/func_isnan.m4 \

src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/m4/func_mmap_file.m4 \

src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/m4/header_mmap_anonymous.m4
 \
src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/m4/huge_val.m4 \
src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/m4/libtool.m4 \
src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/m4/link_options.m4 
\

src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/m4/linux_mixed_64_32.m4
 \
src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/m4/ltdl.m4 \

src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/m4/need_dev_zero_for_mmap.m4
 \
src/external/bsd/llvm/dist/llvm/projects/sample/autoconf/m4/path_tclsh.m4 \

CVS commit: [yamt-pagecache] src/external/bsd

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 16:30:25 UTC 2014

Modified Files:
src/external/bsd [yamt-pagecache]: Makefile

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.30.2.4 -r1.30.2.5 src/external/bsd/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/Makefile
diff -u src/external/bsd/Makefile:1.30.2.4 src/external/bsd/Makefile:1.30.2.5
--- src/external/bsd/Makefile:1.30.2.4	Wed Jan 16 05:26:14 2013
+++ src/external/bsd/Makefile	Thu May 22 16:30:25 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.30.2.4 2013/01/16 05:26:14 yamt Exp $
+#	$NetBSD: Makefile,v 1.30.2.5 2014/05/22 16:30:25 yamt Exp $
 
 .include bsd.own.mk
 
@@ -10,7 +10,7 @@ SUBDIR=	acpica am-utils bind byacc cron 
 SUBDIR+= atf
 .endif
 .if (${MKCRYPTO} != no)
-SUBDIR+= pkg_install ../../crypto/external/bsd
+SUBDIR+= pkg_install
 .endif
 # IP Filter
 .if (${MKIPFILTER} != no)
@@ -19,9 +19,15 @@ SUBDIR+=ipf
 .if (${MKISCSI} != no)
 SUBDIR+= iscsi 
 .endif
+.if (${MKKYUA} != no)
+SUBDIR+= lutok kyua-testers kyua-cli kyua-atf-compat
+.endif
 .if (${MKLDAP} != no)
 SUBDIR+= openldap
 .endif
+.if (${MKLIBCXX} != no)
+SUBDIR+= libc++
+.endif
 .if (${MKLLVM} != no)
 SUBDIR+= llvm
 .endif
@@ -29,4 +35,6 @@ SUBDIR+= llvm
 SUBDIR+= pcc
 .endif
 
+SUBDIR+= pdisk dhcp nvi ppp smbfs
+
 .include bsd.subdir.mk



CVS commit: [yamt-pagecache] src/external/bsd/llvm/dist/llvm/utils

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 16:29:25 UTC 2014

Added Files:
src/external/bsd/llvm/dist/llvm/utils [yamt-pagecache]: DSAclean.py
DSAextract.py GenLibDeps.pl GetRepositoryPath GetSourceVersion
LLVMBuild.txt Makefile UpdateCMakeLists.pl check-each-file
clang-parse-diagnostics-file codegen-diff countloc.sh findmisopt
findoptdiff findsym.pl getsrcs.sh lldbDataFormatters.py
llvm-compilers-check llvm-native-gcc llvm-native-gxx llvm.grm
llvm.natvis llvmdo llvmgrep makellvm sort_includes.py
test_debuginfo.pl wciia.py
src/external/bsd/llvm/dist/llvm/utils/FileCheck [yamt-pagecache]:
CMakeLists.txt FileCheck.cpp Makefile
src/external/bsd/llvm/dist/llvm/utils/FileUpdate [yamt-pagecache]:
CMakeLists.txt FileUpdate.cpp Makefile
src/external/bsd/llvm/dist/llvm/utils/KillTheDoctor [yamt-pagecache]:
CMakeLists.txt KillTheDoctor.cpp
src/external/bsd/llvm/dist/llvm/utils/Misc [yamt-pagecache]:
mergefunctions.clang.svn.patch zkill
src/external/bsd/llvm/dist/llvm/utils/PerfectShuffle [yamt-pagecache]:
Makefile PerfectShuffle.cpp
src/external/bsd/llvm/dist/llvm/utils/TableGen [yamt-pagecache]:
AsmMatcherEmitter.cpp AsmWriterEmitter.cpp AsmWriterInst.cpp
AsmWriterInst.h CMakeLists.txt CTagsEmitter.cpp
CallingConvEmitter.cpp CodeEmitterGen.cpp CodeGenDAGPatterns.cpp
CodeGenDAGPatterns.h CodeGenInstruction.cpp CodeGenInstruction.h
CodeGenIntrinsics.h CodeGenMapTable.cpp CodeGenRegisters.cpp
CodeGenRegisters.h CodeGenSchedule.cpp CodeGenSchedule.h
CodeGenTarget.cpp CodeGenTarget.h DAGISelEmitter.cpp
DAGISelMatcher.cpp DAGISelMatcher.h DAGISelMatcherEmitter.cpp
DAGISelMatcherGen.cpp DAGISelMatcherOpt.cpp
DFAPacketizerEmitter.cpp DisassemblerEmitter.cpp
FastISelEmitter.cpp FixedLenDecoderEmitter.cpp InstrInfoEmitter.cpp
IntrinsicEmitter.cpp LLVMBuild.txt Makefile OptParserEmitter.cpp
PseudoLoweringEmitter.cpp RegisterInfoEmitter.cpp
SequenceToOffsetTable.h SetTheory.cpp SetTheory.h
SubtargetEmitter.cpp TGValueTypes.cpp TableGen.cpp
TableGenBackends.h X86DisassemblerShared.h
X86DisassemblerTables.cpp X86DisassemblerTables.h
X86ModRMFilters.cpp X86ModRMFilters.h X86RecognizableInstr.cpp
X86RecognizableInstr.h tdtags
src/external/bsd/llvm/dist/llvm/utils/Target/ARM [yamt-pagecache]:
analyze-match-table.py
src/external/bsd/llvm/dist/llvm/utils/bugpoint [yamt-pagecache]:
RemoteRunSafely.sh
src/external/bsd/llvm/dist/llvm/utils/buildit [yamt-pagecache]:
GNUmakefile build_llvm
src/external/bsd/llvm/dist/llvm/utils/count [yamt-pagecache]:
CMakeLists.txt Makefile count.c
src/external/bsd/llvm/dist/llvm/utils/crosstool [yamt-pagecache]:
create-snapshots.sh
src/external/bsd/llvm/dist/llvm/utils/crosstool/ARM [yamt-pagecache]:
README build-install-linux.sh
src/external/bsd/llvm/dist/llvm/utils/emacs [yamt-pagecache]: README
emacs.el llvm-mode.el tablegen-mode.el
src/external/bsd/llvm/dist/llvm/utils/fpcmp [yamt-pagecache]: Makefile
fpcmp.cpp
src/external/bsd/llvm/dist/llvm/utils/git [yamt-pagecache]: find-rev
src/external/bsd/llvm/dist/llvm/utils/git-svn [yamt-pagecache]:
git-svnrevert git-svnup
src/external/bsd/llvm/dist/llvm/utils/jedit [yamt-pagecache]: README
tablegen.xml
src/external/bsd/llvm/dist/llvm/utils/kate [yamt-pagecache]: README
llvm.xml
src/external/bsd/llvm/dist/llvm/utils/lint [yamt-pagecache]:
common_lint.py cpp_lint.py generic_lint.py
remove_trailing_whitespace.sh
src/external/bsd/llvm/dist/llvm/utils/lit [yamt-pagecache]: MANIFEST.in
TODO lit.py setup.py
src/external/bsd/llvm/dist/llvm/utils/lit/examples [yamt-pagecache]:
README.txt
src/external/bsd/llvm/dist/llvm/utils/lit/examples/many-tests 
[yamt-pagecache]:
README.txt lit.cfg
src/external/bsd/llvm/dist/llvm/utils/lit/lit [yamt-pagecache]:
LitConfig.py LitTestCase.py ProgressBar.py ShCommands.py ShUtil.py
Test.py TestRunner.py TestingConfig.py __init__.py discovery.py
main.py run.py util.py
src/external/bsd/llvm/dist/llvm/utils/lit/lit/ExampleTests.ObjDir 
[yamt-pagecache]:
lit.site.cfg
src/external/bsd/llvm/dist/llvm/utils/lit/lit/formats [yamt-pagecache]:
__init__.py base.py googletest.py shtest.py
src/external/bsd/llvm/dist/llvm/utils/lit/tests [yamt-pagecache]:
.coveragerc discovery.py 

CVS commit: [yamt-pagecache] src/external/bsd/llvm/dist/llvm/tools

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 16:29:09 UTC 2014

Added Files:
src/external/bsd/llvm/dist/llvm/tools [yamt-pagecache]: CMakeLists.txt
LLVMBuild.txt Makefile
src/external/bsd/llvm/dist/llvm/tools/bugpoint [yamt-pagecache]:
BugDriver.cpp BugDriver.h CMakeLists.txt CrashDebugger.cpp
ExecutionDriver.cpp ExtractFunction.cpp FindBugs.cpp LLVMBuild.txt
ListReducer.h Makefile Miscompilation.cpp OptimizerDriver.cpp
ToolRunner.cpp ToolRunner.h bugpoint.cpp
src/external/bsd/llvm/dist/llvm/tools/bugpoint-passes [yamt-pagecache]:
CMakeLists.txt Makefile TestPasses.cpp bugpoint.exports
src/external/bsd/llvm/dist/llvm/tools/gold [yamt-pagecache]:
CMakeLists.txt Makefile README.txt gold-plugin.cpp gold.exports
src/external/bsd/llvm/dist/llvm/tools/llc [yamt-pagecache]:
CMakeLists.txt LLVMBuild.txt Makefile llc.cpp
src/external/bsd/llvm/dist/llvm/tools/lli [yamt-pagecache]:
CMakeLists.txt LLVMBuild.txt Makefile RPCChannel.h
RemoteMemoryManager.cpp RemoteMemoryManager.h RemoteTarget.cpp
RemoteTarget.h RemoteTargetExternal.cpp RemoteTargetExternal.h
RemoteTargetMessage.h lli.cpp
src/external/bsd/llvm/dist/llvm/tools/lli/ChildTarget [yamt-pagecache]:
CMakeLists.txt ChildTarget.cpp LLVMBuild.txt Makefile
src/external/bsd/llvm/dist/llvm/tools/lli/ChildTarget/Unix 
[yamt-pagecache]:
ChildTarget.inc
src/external/bsd/llvm/dist/llvm/tools/lli/ChildTarget/Windows 
[yamt-pagecache]:
ChildTarget.inc
src/external/bsd/llvm/dist/llvm/tools/lli/Unix [yamt-pagecache]:
RPCChannel.inc RemoteTargetExternal.inc
src/external/bsd/llvm/dist/llvm/tools/lli/Windows [yamt-pagecache]:
RPCChannel.inc RemoteTargetExternal.inc
src/external/bsd/llvm/dist/llvm/tools/llvm-ar [yamt-pagecache]:
CMakeLists.txt LLVMBuild.txt Makefile llvm-ar.cpp
src/external/bsd/llvm/dist/llvm/tools/llvm-as [yamt-pagecache]:
CMakeLists.txt LLVMBuild.txt Makefile llvm-as.cpp
src/external/bsd/llvm/dist/llvm/tools/llvm-bcanalyzer [yamt-pagecache]:
CMakeLists.txt LLVMBuild.txt Makefile llvm-bcanalyzer.cpp
src/external/bsd/llvm/dist/llvm/tools/llvm-c-test [yamt-pagecache]:
CMakeLists.txt Makefile calc.c disassemble.c helpers.c
include-all.c llvm-c-test.h main.c module.c object.c targets.c
src/external/bsd/llvm/dist/llvm/tools/llvm-config [yamt-pagecache]:
BuildVariables.inc.in CMakeLists.txt Makefile llvm-config.cpp
src/external/bsd/llvm/dist/llvm/tools/llvm-cov [yamt-pagecache]:
CMakeLists.txt LLVMBuild.txt Makefile llvm-cov.cpp
src/external/bsd/llvm/dist/llvm/tools/llvm-diff [yamt-pagecache]:
CMakeLists.txt DiffConsumer.cpp DiffConsumer.h DiffLog.cpp
DiffLog.h DifferenceEngine.cpp DifferenceEngine.h LLVMBuild.txt
Makefile llvm-diff.cpp
src/external/bsd/llvm/dist/llvm/tools/llvm-dis [yamt-pagecache]:
CMakeLists.txt LLVMBuild.txt Makefile llvm-dis.cpp
src/external/bsd/llvm/dist/llvm/tools/llvm-dwarfdump [yamt-pagecache]:
CMakeLists.txt LLVMBuild.txt Makefile llvm-dwarfdump.cpp
src/external/bsd/llvm/dist/llvm/tools/llvm-extract [yamt-pagecache]:
CMakeLists.txt LLVMBuild.txt Makefile llvm-extract.cpp
src/external/bsd/llvm/dist/llvm/tools/llvm-jitlistener [yamt-pagecache]:
CMakeLists.txt LLVMBuild.txt Makefile llvm-jitlistener.cpp
src/external/bsd/llvm/dist/llvm/tools/llvm-link [yamt-pagecache]:
CMakeLists.txt LLVMBuild.txt Makefile llvm-link.cpp
src/external/bsd/llvm/dist/llvm/tools/llvm-lto [yamt-pagecache]:
CMakeLists.txt LLVMBuild.txt Makefile llvm-lto.cpp
src/external/bsd/llvm/dist/llvm/tools/llvm-mc [yamt-pagecache]:
CMakeLists.txt Disassembler.cpp Disassembler.h LLVMBuild.txt
Makefile llvm-mc.cpp
src/external/bsd/llvm/dist/llvm/tools/llvm-mcmarkup [yamt-pagecache]:
CMakeLists.txt LLVMBuild.txt Makefile llvm-mcmarkup.cpp
src/external/bsd/llvm/dist/llvm/tools/llvm-nm [yamt-pagecache]:
CMakeLists.txt LLVMBuild.txt Makefile llvm-nm.cpp
src/external/bsd/llvm/dist/llvm/tools/llvm-objdump [yamt-pagecache]:
CMakeLists.txt COFFDump.cpp ELFDump.cpp LLVMBuild.txt MachODump.cpp
Makefile llvm-objdump.cpp llvm-objdump.h
src/external/bsd/llvm/dist/llvm/tools/llvm-profdata [yamt-pagecache]:
CMakeLists.txt LLVMBuild.txt Makefile llvm-profdata.cpp
src/external/bsd/llvm/dist/llvm/tools/llvm-readobj [yamt-pagecache]:
ARMAttributeParser.cpp ARMAttributeParser.h ARMEHABIPrinter.h
CMakeLists.txt COFFDumper.cpp ELFDumper.cpp Error.cpp 

CVS commit: [yamt-pagecache] src/external/bsd/llvm/dist/llvm/unittests

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 16:29:15 UTC 2014

Added Files:
src/external/bsd/llvm/dist/llvm/unittests [yamt-pagecache]:
CMakeLists.txt Makefile Makefile.unittest
src/external/bsd/llvm/dist/llvm/unittests/ADT [yamt-pagecache]:
APFloatTest.cpp APIntTest.cpp ArrayRefTest.cpp BitVectorTest.cpp
CMakeLists.txt DAGDeltaAlgorithmTest.cpp DeltaAlgorithmTest.cpp
DenseMapTest.cpp DenseSetTest.cpp FoldingSet.cpp HashingTest.cpp
ImmutableMapTest.cpp ImmutableSetTest.cpp IntEqClassesTest.cpp
IntervalMapTest.cpp IntrusiveRefCntPtrTest.cpp Makefile
MapVectorTest.cpp OptionalTest.cpp PackedVectorTest.cpp
PointerUnionTest.cpp SCCIteratorTest.cpp SmallPtrSetTest.cpp
SmallStringTest.cpp SmallVectorTest.cpp SparseBitVectorTest.cpp
SparseMultiSetTest.cpp SparseSetTest.cpp StringMapTest.cpp
StringRefTest.cpp TinyPtrVectorTest.cpp TripleTest.cpp
TwineTest.cpp VariadicFunctionTest.cpp ilistTest.cpp
polymorphic_ptr_test.cpp
src/external/bsd/llvm/dist/llvm/unittests/Analysis [yamt-pagecache]:
CFGTest.cpp CMakeLists.txt Makefile ScalarEvolutionTest.cpp
src/external/bsd/llvm/dist/llvm/unittests/Bitcode [yamt-pagecache]:
BitReaderTest.cpp CMakeLists.txt Makefile
src/external/bsd/llvm/dist/llvm/unittests/CodeGen [yamt-pagecache]:
CMakeLists.txt DIEHashTest.cpp Makefile
src/external/bsd/llvm/dist/llvm/unittests/DebugInfo [yamt-pagecache]:
CMakeLists.txt DWARFFormValueTest.cpp Makefile
src/external/bsd/llvm/dist/llvm/unittests/ExecutionEngine 
[yamt-pagecache]:
CMakeLists.txt ExecutionEngineTest.cpp Makefile
src/external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/JIT 
[yamt-pagecache]:
CMakeLists.txt IntelJITEventListenerTest.cpp
JITEventListenerTest.cpp JITEventListenerTestCommon.h
JITMemoryManagerTest.cpp JITTest.cpp JITTests.def Makefile
MultiJITTest.cpp OProfileJITEventListenerTest.cpp
src/external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/MCJIT 
[yamt-pagecache]:
CMakeLists.txt MCJITCAPITest.cpp MCJITMemoryManagerTest.cpp
MCJITMultipleModuleTest.cpp MCJITObjectCacheTest.cpp MCJITTest.cpp
MCJITTestAPICommon.h MCJITTestBase.h MCJITTests.def Makefile
src/external/bsd/llvm/dist/llvm/unittests/IR [yamt-pagecache]:
AttributesTest.cpp CMakeLists.txt ConstantsTest.cpp
DominatorTreeTest.cpp IRBuilderTest.cpp InstructionsTest.cpp
LegacyPassManagerTest.cpp MDBuilderTest.cpp Makefile
MetadataTest.cpp PassManagerTest.cpp PatternMatch.cpp
TypeBuilderTest.cpp TypesTest.cpp ValueMapTest.cpp ValueTest.cpp
VerifierTest.cpp WaymarkTest.cpp
src/external/bsd/llvm/dist/llvm/unittests/LineEditor [yamt-pagecache]:
CMakeLists.txt LineEditor.cpp Makefile
src/external/bsd/llvm/dist/llvm/unittests/Linker [yamt-pagecache]:
CMakeLists.txt LinkModulesTest.cpp Makefile
src/external/bsd/llvm/dist/llvm/unittests/MC [yamt-pagecache]:
CMakeLists.txt MCAtomTest.cpp Makefile
src/external/bsd/llvm/dist/llvm/unittests/Object [yamt-pagecache]:
CMakeLists.txt Makefile YAMLTest.cpp
src/external/bsd/llvm/dist/llvm/unittests/Option [yamt-pagecache]:
CMakeLists.txt Makefile OptionParsingTest.cpp Opts.td
src/external/bsd/llvm/dist/llvm/unittests/Support [yamt-pagecache]:
AlignOfTest.cpp AllocatorTest.cpp ArrayRecyclerTest.cpp
BlockFrequencyTest.cpp CMakeLists.txt Casting.cpp
CommandLineTest.cpp CompressionTest.cpp ConstantRangeTest.cpp
ConvertUTFTest.cpp DataExtractorTest.cpp EndianTest.cpp
ErrorOrTest.cpp FileOutputBufferTest.cpp LEB128Test.cpp
LeakDetectorTest.cpp LineIteratorTest.cpp LockFileManagerTest.cpp
MD5Test.cpp Makefile ManagedStatic.cpp MathExtrasTest.cpp
MemoryBufferTest.cpp MemoryTest.cpp Path.cpp ProcessTest.cpp
ProgramTest.cpp RegexTest.cpp SourceMgrTest.cpp
SwapByteOrderTest.cpp ThreadLocalTest.cpp TimeValueTest.cpp
UnicodeTest.cpp ValueHandleTest.cpp YAMLIOTest.cpp
YAMLParserTest.cpp formatted_raw_ostream_test.cpp
raw_ostream_test.cpp
src/external/bsd/llvm/dist/llvm/unittests/Transforms [yamt-pagecache]:
CMakeLists.txt Makefile
src/external/bsd/llvm/dist/llvm/unittests/Transforms/DebugIR 
[yamt-pagecache]:
CMakeLists.txt DebugIR.cpp Makefile
src/external/bsd/llvm/dist/llvm/unittests/Transforms/Utils 
[yamt-pagecache]:
ASanStackFrameLayoutTest.cpp CMakeLists.txt Cloning.cpp
IntegerDivision.cpp Local.cpp Makefile SpecialCaseList.cpp

Log Message:

CVS commit: [yamt-pagecache] src/external/bsd/llvm

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 16:30:18 UTC 2014

Modified Files:
src/external/bsd/llvm [yamt-pagecache]: Makefile Makefile.inc link.mk

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.1.6.1 -r1.1.6.2 src/external/bsd/llvm/Makefile \
src/external/bsd/llvm/link.mk
cvs rdiff -u -r1.23.2.5 -r1.23.2.6 src/external/bsd/llvm/Makefile.inc

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/llvm/Makefile
diff -u src/external/bsd/llvm/Makefile:1.1.6.1 src/external/bsd/llvm/Makefile:1.1.6.2
--- src/external/bsd/llvm/Makefile:1.1.6.1	Tue Oct 30 18:55:47 2012
+++ src/external/bsd/llvm/Makefile	Thu May 22 16:30:18 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1.6.1 2012/10/30 18:55:47 yamt Exp $
+#	$NetBSD: Makefile,v 1.1.6.2 2014/05/22 16:30:18 yamt Exp $
 
 .include bsd.init.mk
 
@@ -15,9 +15,19 @@ SUBDIR+=	librt
 .include Makefile.inc
 
 checkout:
-	svn co -r ${LLVM_REVISION} ${SVN_ROOT}/llvm/trunk ${LLVM_SRCDIR}
-	svn co -r ${CLANG_REVISION} ${SVN_ROOT}/cfe/trunk ${CLANG_SRCDIR}
-	svn co -r ${COMPILER_RT_REVISION} ${SVN_ROOT}/compiler-rt/trunk \
-	${COMPILER_RT_SRCDIR}
+	svn co -r ${LLD_REVISION} ${SVN_ROOT}/lld/${SVN_BRANCH} ${LLD_SRCDIR}
+	svn co -r ${LLDB_REVISION} ${SVN_ROOT}/lldb/${SVN_BRANCH} ${LLDB_SRCDIR}
+
+checkout-imported:
+	svn co -r ${CLANG_REVISION} ${SVN_ROOT}/cfe/${SVN_BRANCH} ${CLANG_SRCDIR}
+	svn co -r ${LLVM_REVISION} ${SVN_ROOT}/llvm/${SVN_BRANCH} ${LLVM_SRCDIR}
+
+checkout-mclinker:
+	if [ -d ${MCLINKER_SRCDIR}/.git ]; then \
+		cd ${MCLINKER_SRCDIR}; git pull ${MCLINKER_ROOT} ; \
+	else \
+		git clone ${MCLINKER_ROOT} ${MCLINKER_SRCDIR}; \
+	fi
+	cd ${MCLINKER_SRCDIR}  git checkout ${MCLINKER_REVISION}
 
 .include bsd.subdir.mk
Index: src/external/bsd/llvm/link.mk
diff -u src/external/bsd/llvm/link.mk:1.1.6.1 src/external/bsd/llvm/link.mk:1.1.6.2
--- src/external/bsd/llvm/link.mk:1.1.6.1	Tue Oct 30 18:55:47 2012
+++ src/external/bsd/llvm/link.mk	Thu May 22 16:30:18 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: link.mk,v 1.1.6.1 2012/10/30 18:55:47 yamt Exp $
+#	$NetBSD: link.mk,v 1.1.6.2 2014/05/22 16:30:18 yamt Exp $
 
 .include bsd.own.mk
 
@@ -8,12 +8,30 @@ LIB_BASE=	${NETBSDSRCDIR}/tools/llvm-lib
 LIB_BASE=	${LLVM_TOPLEVEL}/lib
 .endif
 
+.for l in ${MCLINKER_LIBS}
+MCLINKER_OBJDIR.${l}!=	cd ${LIB_BASE}/libMCLinker${l}  ${PRINTOBJDIR}
+LDADD+=	-L${MCLINKER_OBJDIR.${l}} -lMCLinker${l}
+DPADD+=	${MCLINKER_OBJDIR.${l}}/libMCLinker${l}.a
+.endfor
+
+.for l in ${LLDB_LIBS}
+LLDB_OBJDIR.${l}!=	cd ${LIB_BASE}/liblldb${l}  ${PRINTOBJDIR}
+LDADD+=	-L${LLDB_OBJDIR.${l}} -llldb${l}
+DPADD+=	${LLDB_OBJDIR.${l}}/liblldb${l}.a
+.endfor
+
 .for l in ${CLANG_LIBS}
 CLANG_OBJDIR.${l}!=	cd ${LIB_BASE}/lib${l}  ${PRINTOBJDIR}
 LDADD+=	-L${CLANG_OBJDIR.${l}} -l${l}
 DPADD+=	${CLANG_OBJDIR.${l}}/lib${l}.a
 .endfor
 
+.for l in ${LLD_LIBS}
+LLD_OBJDIR.${l}!=	cd ${LIB_BASE}/lib${l}  ${PRINTOBJDIR}
+LDADD+=	-L${LLD_OBJDIR.${l}} -l${l}
+DPADD+=	${LLD_OBJDIR.${l}}/lib${l}.a
+.endfor
+
 .for l in ${LLVM_LIBS}
 LLVM_OBJDIR.${l}!=	cd ${LIB_BASE}/libLLVM${l}  ${PRINTOBJDIR}
 LDADD+=	-L${LLVM_OBJDIR.${l}} -lLLVM${l}
@@ -21,8 +39,12 @@ DPADD+=	${LLVM_OBJDIR.${l}}/libLLVM${l}.
 .endfor
 
 .if defined(HOSTPROG)
-LDADD_NEED_DL=	cat ${LLVM_TOOLCONF_OBJDIR}/need-dl 2 /dev/null
-LDADD+=	${LDADD_NEED_DL:sh}
+LDADD_NEED_DL=		cat ${LLVM_TOOLCONF_OBJDIR}/need-dl 2 /dev/null
+LDADD_NEED_TERMINFO=	cat ${LLVM_TOOLCONF_OBJDIR}/need-terminfo 2 /dev/null
+LDADD+=	${LDADD_NEED_DL:sh} ${LDADD_NEED_TERMINFO:sh}
+.else
+LDADD+=	-lterminfo
+DPADD+=	${LIBTERMINFO}
 .endif
 
 LDADD+=	-lpthread

Index: src/external/bsd/llvm/Makefile.inc
diff -u src/external/bsd/llvm/Makefile.inc:1.23.2.5 src/external/bsd/llvm/Makefile.inc:1.23.2.6
--- src/external/bsd/llvm/Makefile.inc:1.23.2.5	Wed Jan 16 05:27:58 2013
+++ src/external/bsd/llvm/Makefile.inc	Thu May 22 16:30:18 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.23.2.5 2013/01/16 05:27:58 yamt Exp $
+#	$NetBSD: Makefile.inc,v 1.23.2.6 2014/05/22 16:30:18 yamt Exp $
 
 .if !defined(LLVM_TOPLEVEL_MK)
 LLVM_TOPLEVEL_MK=
@@ -6,47 +6,75 @@ LLVM_TOPLEVEL_MK=
 .include bsd.own.mk
 
 SVN_ROOT=		http://llvm.org/svn/llvm-project
+SVN_BRANCH=		trunk
 
-COMMON_REVISION=	168187
-LLVM_REVISION=		${COMMON_REVISION}
+COMMON_REVISION=	202566
 CLANG_REVISION=		${COMMON_REVISION}
-COMPILER_RT_REVISION=	${COMMON_REVISION}
+LLD_REVISION=		${COMMON_REVISION}
+LLDB_REVISION=		${COMMON_REVISION}
+LLVM_REVISION=		${COMMON_REVISION}
 
-LLVM_VERSION=		3.2
-CLANG_VERSION=		3.2
+MCLINKER_REVISION=	deeb2a77b4165827316f88e0a7ba4ba6b743a080
+MCLINKER_ROOT=		https://code.google.com/p/mclinker/
+
+LLVM_VERSION=		3.5
+CLANG_VERSION=		3.5
 
-LLVM_SRCDIR:=	

CVS commit: [yamt-pagecache] src/external/gpl3/gcc/dist/libdecnumber

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 16:36:14 UTC 2014

Modified Files:
src/external/gpl3/gcc/dist/libdecnumber [yamt-pagecache]: ChangeLog
Makefile.in aclocal.m4 configure configure.ac dconfig.h decBasic.c
decCommon.c decContext.c decContext.h decDPD.h decDouble.c
decDouble.h decExcept.c decExcept.h decLibrary.c decNumber.c
decNumber.h decNumberLocal.h decPacked.c decPacked.h decQuad.c
decQuad.h decRound.c decRound.h decSingle.c decSingle.h
src/external/gpl3/gcc/dist/libdecnumber/bid [yamt-pagecache]: bid-dpd.h
bid2dpd_dpd2bid.c bid2dpd_dpd2bid.h decimal128.c decimal32.c
decimal64.c host-ieee128.c host-ieee32.c host-ieee64.c
src/external/gpl3/gcc/dist/libdecnumber/dpd [yamt-pagecache]:
decimal128.c decimal128.h decimal128Local.h decimal32.c decimal32.h
decimal64.c decimal64.h

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.1 -r1.1.1.1.2.2 \
src/external/gpl3/gcc/dist/libdecnumber/ChangeLog
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.2.1 \
src/external/gpl3/gcc/dist/libdecnumber/Makefile.in \
src/external/gpl3/gcc/dist/libdecnumber/aclocal.m4 \
src/external/gpl3/gcc/dist/libdecnumber/configure \
src/external/gpl3/gcc/dist/libdecnumber/configure.ac \
src/external/gpl3/gcc/dist/libdecnumber/dconfig.h \
src/external/gpl3/gcc/dist/libdecnumber/decBasic.c \
src/external/gpl3/gcc/dist/libdecnumber/decCommon.c \
src/external/gpl3/gcc/dist/libdecnumber/decContext.c \
src/external/gpl3/gcc/dist/libdecnumber/decContext.h \
src/external/gpl3/gcc/dist/libdecnumber/decDPD.h \
src/external/gpl3/gcc/dist/libdecnumber/decDouble.c \
src/external/gpl3/gcc/dist/libdecnumber/decDouble.h \
src/external/gpl3/gcc/dist/libdecnumber/decExcept.c \
src/external/gpl3/gcc/dist/libdecnumber/decExcept.h \
src/external/gpl3/gcc/dist/libdecnumber/decLibrary.c \
src/external/gpl3/gcc/dist/libdecnumber/decNumber.c \
src/external/gpl3/gcc/dist/libdecnumber/decNumber.h \
src/external/gpl3/gcc/dist/libdecnumber/decNumberLocal.h \
src/external/gpl3/gcc/dist/libdecnumber/decPacked.c \
src/external/gpl3/gcc/dist/libdecnumber/decPacked.h \
src/external/gpl3/gcc/dist/libdecnumber/decQuad.c \
src/external/gpl3/gcc/dist/libdecnumber/decQuad.h \
src/external/gpl3/gcc/dist/libdecnumber/decRound.c \
src/external/gpl3/gcc/dist/libdecnumber/decRound.h \
src/external/gpl3/gcc/dist/libdecnumber/decSingle.c \
src/external/gpl3/gcc/dist/libdecnumber/decSingle.h
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.2.1 \
src/external/gpl3/gcc/dist/libdecnumber/bid/bid-dpd.h \
src/external/gpl3/gcc/dist/libdecnumber/bid/bid2dpd_dpd2bid.c \
src/external/gpl3/gcc/dist/libdecnumber/bid/bid2dpd_dpd2bid.h \
src/external/gpl3/gcc/dist/libdecnumber/bid/decimal128.c \
src/external/gpl3/gcc/dist/libdecnumber/bid/decimal32.c \
src/external/gpl3/gcc/dist/libdecnumber/bid/decimal64.c \
src/external/gpl3/gcc/dist/libdecnumber/bid/host-ieee128.c \
src/external/gpl3/gcc/dist/libdecnumber/bid/host-ieee32.c \
src/external/gpl3/gcc/dist/libdecnumber/bid/host-ieee64.c
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.2.1 \
src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal128.c \
src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal128.h \
src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal128Local.h \
src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal32.c \
src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal32.h \
src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal64.c \
src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal64.h

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

Modified files:

Index: src/external/gpl3/gcc/dist/libdecnumber/ChangeLog
diff -u src/external/gpl3/gcc/dist/libdecnumber/ChangeLog:1.1.1.1.2.1 src/external/gpl3/gcc/dist/libdecnumber/ChangeLog:1.1.1.1.2.2
--- src/external/gpl3/gcc/dist/libdecnumber/ChangeLog:1.1.1.1.2.1	Tue Oct 30 18:57:31 2012
+++ src/external/gpl3/gcc/dist/libdecnumber/ChangeLog	Thu May 22 16:36:14 2014
@@ -1,22 +1,89 @@
-2012-07-02  Release Manager
+2013-10-16  Release Manager
 
-	* GCC 4.5.4 released.
+	* GCC 4.8.2 released.
 
-2011-04-28  Release Manager
+2013-05-31  Release Manager
 
-	* GCC 4.5.3 released.
+	* GCC 4.8.1 released.
 
-2010-12-16  Release Manager
+2013-03-22  Release Manager
 
-	* GCC 4.5.2 released.
+	* GCC 4.8.0 released.
 
-2010-07-31  Release Manager
+2013-02-06  Richard Sandiford  rdsandif...@googlemail.com
 
-	* GCC 4.5.1 released.
+	Update copyright years.
 
-2010-04-14  Release Manager
+2012-11-04  Thomas Schwinge  

CVS commit: [yamt-pagecache] src/external/gpl3/gcc/dist/intl

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 16:36:03 UTC 2014

Modified Files:
src/external/gpl3/gcc/dist/intl [yamt-pagecache]: ChangeLog configure

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.1 -r1.1.1.1.2.2 \
src/external/gpl3/gcc/dist/intl/ChangeLog
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.2.1 \
src/external/gpl3/gcc/dist/intl/configure

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

Modified files:

Index: src/external/gpl3/gcc/dist/intl/ChangeLog
diff -u src/external/gpl3/gcc/dist/intl/ChangeLog:1.1.1.1.2.1 src/external/gpl3/gcc/dist/intl/ChangeLog:1.1.1.1.2.2
--- src/external/gpl3/gcc/dist/intl/ChangeLog:1.1.1.1.2.1	Tue Oct 30 18:57:30 2012
+++ src/external/gpl3/gcc/dist/intl/ChangeLog	Thu May 22 16:36:03 2014
@@ -1,28 +1,20 @@
-2012-07-02  Release Manager
+2013-10-16  Release Manager
 
-	* GCC 4.5.4 released.
+	* GCC 4.8.2 released.
 
-2011-04-28  Release Manager
+2013-05-31  Release Manager
 
-	* GCC 4.5.3 released.
+	* GCC 4.8.1 released.
 
-2010-12-16  Release Manager
+2013-03-22  Release Manager
 
-	* GCC 4.5.2 released.
+	* GCC 4.8.0 released.
 
-2010-10-02  Ralf Wildenhues  ralf.wildenh...@gmx.de
+2010-06-27  Ralf Wildenhues  ralf.wildenh...@gmx.de
 
 	PR bootstrap/44621
 	* configure: Regenerate.
 
-2010-07-31  Release Manager
-
-	* GCC 4.5.1 released.
-
-2010-04-14  Release Manager
-
-	* GCC 4.5.0 released.
-
 2010-04-02  Ralf Wildenhues  ralf.wildenh...@gmx.de
 
 	* aclocal.m4: Regenerate.

Index: src/external/gpl3/gcc/dist/intl/configure
diff -u src/external/gpl3/gcc/dist/intl/configure:1.1.1.1 src/external/gpl3/gcc/dist/intl/configure:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/intl/configure:1.1.1.1	Tue Jun 21 01:19:50 2011
+++ src/external/gpl3/gcc/dist/intl/configure	Thu May 22 16:36:03 2014
@@ -2212,7 +2212,7 @@ for ac_dir in $srcdir $srcdir/.. $s
   for ac_t in install-sh install.sh shtool; do
 if test -f $ac_dir/$ac_t; then
   ac_aux_dir=$ac_dir
-  ac_install_sh=$ac_aux_dir/$ac_t -c
+  ac_install_sh=$SHELL $ac_aux_dir/$ac_t -c
   break 2
 fi
   done



CVS commit: [yamt-pagecache] src/external/gpl3/gcc/dist/libitm

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 16:36:49 UTC 2014

Added Files:
src/external/gpl3/gcc/dist/libitm [yamt-pagecache]: ChangeLog
Makefile.am Makefile.in aatree.cc aatree.h acinclude.m4 aclocal.m4
alloc.cc alloc_c.cc alloc_cpp.cc barrier.cc beginend.cc
clearcap.map clone.cc common.h config.h.in configure configure.ac
configure.tgt containers.h dispatch.h eh_cpp.cc libitm.h libitm.map
libitm.spec.in libitm.texi libitm_i.h local.cc local_atomic
local_type_traits method-gl.cc method-ml.cc method-serial.cc
query.cc retry.cc stmlock.h useraction.cc util.cc
src/external/gpl3/gcc/dist/libitm/config/alpha [yamt-pagecache]:
cacheline.h sjlj.S target.h
src/external/gpl3/gcc/dist/libitm/config/arm [yamt-pagecache]: hwcap.cc
hwcap.h sjlj.S target.h
src/external/gpl3/gcc/dist/libitm/config/generic [yamt-pagecache]:
asmcfi.h cacheline.h tls.cc tls.h
src/external/gpl3/gcc/dist/libitm/config/linux [yamt-pagecache]:
futex.cc futex.h futex_bits.h rwlock.cc rwlock.h
src/external/gpl3/gcc/dist/libitm/config/linux/alpha [yamt-pagecache]:
futex_bits.h
src/external/gpl3/gcc/dist/libitm/config/linux/powerpc [yamt-pagecache]:
futex_bits.h
src/external/gpl3/gcc/dist/libitm/config/linux/sh [yamt-pagecache]:
futex_bits.h
src/external/gpl3/gcc/dist/libitm/config/linux/sparc [yamt-pagecache]:
futex_bits.h
src/external/gpl3/gcc/dist/libitm/config/linux/x86 [yamt-pagecache]:
futex_bits.h tls.h
src/external/gpl3/gcc/dist/libitm/config/posix [yamt-pagecache]:
rwlock.cc rwlock.h
src/external/gpl3/gcc/dist/libitm/config/powerpc [yamt-pagecache]:
cacheline.h sjlj.S target.h
src/external/gpl3/gcc/dist/libitm/config/s390 [yamt-pagecache]: sjlj.S
target.h
src/external/gpl3/gcc/dist/libitm/config/sh [yamt-pagecache]: sjlj.S
target.h
src/external/gpl3/gcc/dist/libitm/config/sparc [yamt-pagecache]:
cacheline.h sjlj.S target.h
src/external/gpl3/gcc/dist/libitm/config/x86 [yamt-pagecache]:
cacheline.h sjlj.S target.h x86_avx.cc x86_sse.cc

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.1.1.4.2 src/external/gpl3/gcc/dist/libitm/ChangeLog \
src/external/gpl3/gcc/dist/libitm/aatree.cc \
src/external/gpl3/gcc/dist/libitm/aatree.h \
src/external/gpl3/gcc/dist/libitm/acinclude.m4 \
src/external/gpl3/gcc/dist/libitm/aclocal.m4 \
src/external/gpl3/gcc/dist/libitm/alloc.cc \
src/external/gpl3/gcc/dist/libitm/alloc_c.cc \
src/external/gpl3/gcc/dist/libitm/alloc_cpp.cc \
src/external/gpl3/gcc/dist/libitm/barrier.cc \
src/external/gpl3/gcc/dist/libitm/beginend.cc \
src/external/gpl3/gcc/dist/libitm/clearcap.map \
src/external/gpl3/gcc/dist/libitm/clone.cc \
src/external/gpl3/gcc/dist/libitm/common.h \
src/external/gpl3/gcc/dist/libitm/config.h.in \
src/external/gpl3/gcc/dist/libitm/configure.tgt \
src/external/gpl3/gcc/dist/libitm/containers.h \
src/external/gpl3/gcc/dist/libitm/dispatch.h \
src/external/gpl3/gcc/dist/libitm/eh_cpp.cc \
src/external/gpl3/gcc/dist/libitm/libitm.h \
src/external/gpl3/gcc/dist/libitm/libitm.map \
src/external/gpl3/gcc/dist/libitm/libitm.spec.in \
src/external/gpl3/gcc/dist/libitm/libitm.texi \
src/external/gpl3/gcc/dist/libitm/libitm_i.h \
src/external/gpl3/gcc/dist/libitm/local.cc \
src/external/gpl3/gcc/dist/libitm/local_atomic \
src/external/gpl3/gcc/dist/libitm/local_type_traits \
src/external/gpl3/gcc/dist/libitm/method-gl.cc \
src/external/gpl3/gcc/dist/libitm/method-ml.cc \
src/external/gpl3/gcc/dist/libitm/method-serial.cc \
src/external/gpl3/gcc/dist/libitm/query.cc \
src/external/gpl3/gcc/dist/libitm/retry.cc \
src/external/gpl3/gcc/dist/libitm/stmlock.h \
src/external/gpl3/gcc/dist/libitm/useraction.cc \
src/external/gpl3/gcc/dist/libitm/util.cc
cvs rdiff -u -r0 -r1.2.4.2 src/external/gpl3/gcc/dist/libitm/Makefile.am \
src/external/gpl3/gcc/dist/libitm/Makefile.in \
src/external/gpl3/gcc/dist/libitm/configure.ac
cvs rdiff -u -r0 -r1.3.2.2 src/external/gpl3/gcc/dist/libitm/configure
cvs rdiff -u -r0 -r1.1.1.1.4.2 \
src/external/gpl3/gcc/dist/libitm/config/alpha/cacheline.h \
src/external/gpl3/gcc/dist/libitm/config/alpha/sjlj.S \
src/external/gpl3/gcc/dist/libitm/config/alpha/target.h
cvs rdiff -u -r0 -r1.1.1.1.4.2 \
src/external/gpl3/gcc/dist/libitm/config/arm/hwcap.cc \

CVS commit: [yamt-pagecache] src/external/gpl3/gcc/dist/libsanitizer

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 16:37:02 UTC 2014

Added Files:
src/external/gpl3/gcc/dist/libsanitizer [yamt-pagecache]: ChangeLog
LICENSE.TXT MERGE Makefile.am Makefile.in README.gcc acinclude.m4
aclocal.m4 configure configure.ac configure.tgt libtool-version
merge.sh
src/external/gpl3/gcc/dist/libsanitizer/asan [yamt-pagecache]:
Makefile.am Makefile.in asan_allocator.cc asan_allocator.h
asan_allocator2.cc asan_fake_stack.cc asan_flags.h asan_globals.cc
asan_intercepted_functions.h asan_interceptors.cc
asan_interceptors.h asan_interface_internal.h asan_internal.h
asan_linux.cc asan_lock.h asan_mac.cc asan_mac.h
asan_malloc_linux.cc asan_malloc_mac.cc asan_malloc_win.cc
asan_mapping.h asan_new_delete.cc asan_poisoning.cc asan_posix.cc
asan_preinit.cc asan_report.cc asan_report.h asan_rtl.cc
asan_stack.cc asan_stack.h asan_stats.cc asan_stats.h
asan_thread.cc asan_thread.h asan_thread_registry.cc
asan_thread_registry.h asan_win.cc libtool-version
src/external/gpl3/gcc/dist/libsanitizer/include/sanitizer 
[yamt-pagecache]:
asan_interface.h common_interface_defs.h
src/external/gpl3/gcc/dist/libsanitizer/interception [yamt-pagecache]:
Makefile.am Makefile.in interception.h interception_linux.cc
interception_linux.h interception_mac.cc interception_mac.h
interception_type_test.cc interception_win.cc interception_win.h
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common 
[yamt-pagecache]:
Makefile.am Makefile.in sanitizer_allocator.cc
sanitizer_allocator.h sanitizer_atomic.h sanitizer_atomic_clang.h
sanitizer_atomic_msvc.h sanitizer_common.cc sanitizer_common.h
sanitizer_common_interceptors.inc
sanitizer_common_interceptors_scanf.inc sanitizer_flags.cc
sanitizer_flags.h sanitizer_internal_defs.h sanitizer_lfstack.h
sanitizer_libc.cc sanitizer_libc.h sanitizer_linux.cc
sanitizer_list.h sanitizer_mac.cc sanitizer_mutex.h
sanitizer_placement_new.h sanitizer_platform_interceptors.h
sanitizer_platform_limits_posix.cc
sanitizer_platform_limits_posix.h sanitizer_posix.cc
sanitizer_printf.cc sanitizer_procmaps.h sanitizer_quarantine.h
sanitizer_report_decorator.h sanitizer_stackdepot.cc
sanitizer_stackdepot.h sanitizer_stacktrace.cc
sanitizer_stacktrace.h sanitizer_symbolizer.cc
sanitizer_symbolizer.h sanitizer_symbolizer_itanium.cc
sanitizer_symbolizer_linux.cc sanitizer_symbolizer_mac.cc
sanitizer_symbolizer_win.cc sanitizer_win.cc
src/external/gpl3/gcc/dist/libsanitizer/tsan [yamt-pagecache]:
Makefile.am Makefile.in libtool-version tsan_clock.cc tsan_clock.h
tsan_defs.h tsan_fd.cc tsan_fd.h tsan_flags.cc tsan_flags.h
tsan_interceptors.cc tsan_interface.cc tsan_interface.h
tsan_interface_ann.cc tsan_interface_ann.h tsan_interface_atomic.cc
tsan_interface_atomic.h tsan_interface_inl.h tsan_interface_java.cc
tsan_interface_java.h tsan_md5.cc tsan_mman.cc tsan_mman.h
tsan_mutex.cc tsan_mutex.h tsan_mutexset.cc tsan_mutexset.h
tsan_platform.h tsan_platform_linux.cc tsan_platform_mac.cc
tsan_platform_windows.cc tsan_report.cc tsan_report.h tsan_rtl.cc
tsan_rtl.h tsan_rtl_amd64.S tsan_rtl_mutex.cc tsan_rtl_report.cc
tsan_rtl_thread.cc tsan_stat.cc tsan_stat.h tsan_suppressions.cc
tsan_suppressions.h tsan_symbolize.cc tsan_symbolize.h
tsan_symbolize_addr2line_linux.cc tsan_sync.cc tsan_sync.h
tsan_trace.h tsan_update_shadow_word_inl.h tsan_vector.h

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.1.1.4.2 \
src/external/gpl3/gcc/dist/libsanitizer/ChangeLog \
src/external/gpl3/gcc/dist/libsanitizer/LICENSE.TXT \
src/external/gpl3/gcc/dist/libsanitizer/MERGE \
src/external/gpl3/gcc/dist/libsanitizer/Makefile.am \
src/external/gpl3/gcc/dist/libsanitizer/Makefile.in \
src/external/gpl3/gcc/dist/libsanitizer/README.gcc \
src/external/gpl3/gcc/dist/libsanitizer/acinclude.m4 \
src/external/gpl3/gcc/dist/libsanitizer/aclocal.m4 \
src/external/gpl3/gcc/dist/libsanitizer/configure.ac \
src/external/gpl3/gcc/dist/libsanitizer/configure.tgt \
src/external/gpl3/gcc/dist/libsanitizer/libtool-version \
src/external/gpl3/gcc/dist/libsanitizer/merge.sh
cvs rdiff -u -r0 -r1.2.2.2 

CVS commit: [yamt-pagecache] src/external/gpl3/gcc/dist/libssp

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 16:37:05 UTC 2014

Modified Files:
src/external/gpl3/gcc/dist/libssp [yamt-pagecache]: ChangeLog
Makefile.am Makefile.in aclocal.m4 config.h.in configure
configure.ac memmove-chk.c ssp.map strncat-chk.c

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.1 -r1.1.1.1.2.2 \
src/external/gpl3/gcc/dist/libssp/ChangeLog
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.2.1 \
src/external/gpl3/gcc/dist/libssp/Makefile.am \
src/external/gpl3/gcc/dist/libssp/Makefile.in \
src/external/gpl3/gcc/dist/libssp/aclocal.m4 \
src/external/gpl3/gcc/dist/libssp/config.h.in \
src/external/gpl3/gcc/dist/libssp/configure \
src/external/gpl3/gcc/dist/libssp/configure.ac \
src/external/gpl3/gcc/dist/libssp/memmove-chk.c \
src/external/gpl3/gcc/dist/libssp/ssp.map \
src/external/gpl3/gcc/dist/libssp/strncat-chk.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/gpl3/gcc/dist/libssp/ChangeLog
diff -u src/external/gpl3/gcc/dist/libssp/ChangeLog:1.1.1.1.2.1 src/external/gpl3/gcc/dist/libssp/ChangeLog:1.1.1.1.2.2
--- src/external/gpl3/gcc/dist/libssp/ChangeLog:1.1.1.1.2.1	Tue Oct 30 18:57:33 2012
+++ src/external/gpl3/gcc/dist/libssp/ChangeLog	Thu May 22 16:37:05 2014
@@ -1,22 +1,95 @@
-2012-07-02  Release Manager
+2013-10-16  Release Manager
 
-	* GCC 4.5.4 released.
+	* GCC 4.8.2 released.
 
-2011-04-28  Release Manager
+2013-05-31  Release Manager
 
-	* GCC 4.5.3 released.
+	* GCC 4.8.1 released.
 
-2010-12-16  Release Manager
+2013-03-22  Release Manager
 
-	* GCC 4.5.2 released.
+	* GCC 4.8.0 released.
 
-2010-07-31  Release Manager
+2013-02-06  Richard Sandiford  rdsandif...@googlemail.com
 
-	* GCC 4.5.1 released.
+	Revert previous patch.
 
-2010-04-14  Release Manager
+2013-02-03  Richard Sandiford  rdsandif...@googlemail.com
 
-	* GCC 4.5.0 released.
+	Update copyright years.
+
+2013-01-15  Paul Pluzhnikov  ppluzhni...@google.com
+
+	PR 55982
+	* strncat-chk.c (__strncat_chk): Fix loop unroll.
+
+2012-09-14  David Edelsohn  dje@gmail.com
+
+	* configure: Regenerated.
+
+2012-05-29  Benjamin Kosnik  b...@redhat.com
+
+	PR libstdc++/51007
+	* configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
+	* configure: Regenerated.
+
+2012-05-16  H.J. Lu  hongjiu...@intel.com
+
+	* configure: Regenerated.
+
+2011-11-21  Andreas Tobler  andre...@fgznet.ch
+
+	* configure: Regenerate.
+
+2011-03-21  Rainer Orth  r...@cebitec.uni-bielefeld.de
+
+	PR bootstrap/48135
+	* configure.ac (ssp_use_symver): Handle --disable-symvers.
+	* configure: Regenerate.
+
+2011-02-13  Ralf Wildenhues  ralf.wildenh...@gmx.de
+
+	* Makefile.in: Regenerate.
+	* aclocal.m4: Likewise.
+	* configure: Likewise.
+
+2010-12-06  Dave Korn  dave.korn.cyg...@gmail.com
+
+	PR target/40125
+	PR lto/46695
+	* configure.ac: Invoke ACX_LT_HOST_FLAGS.
+	* Makefile.am (libssp_la_LDFLAGS): Use lt_host_flags.
+	* aclocal.m4: Regenerate.
+	* configure: Regenerate.
+	* Makefile.in: Regenerate.
+
+2010-07-02  Rainer Orth  r...@cebitec.uni-bielefeld.de
+
+	* configure.ac (ssp_use_symver): Only check for Sun-style symbol
+	versioning on Solaris 2.
+	* configure: Regenerate.
+
+2010-07-02  Rainer Orth  r...@cebitec.uni-bielefeld.de
+
+	* configure.ac: Check for Sun symbol versioning.
+	Check for memmove.
+	* configure: Regenerate.
+	* config.h.in: Regenerate.
+
+	* Makefile.am [LIBSSP_USE_SYMVER]: Protect version_arg,
+	version_dep with LIBSSP_USE_SYMVER_GNU.
+	[LIBSSP_USE_SYMVER_SUN]: Handle Sun symbol versioning.
+	* Makefile.in: Regenerate.
+
+	* ssp.map: Reformat.
+
+	* memmove-chk.c: Change guard to HAVE_MEMMOVE.
+
+2010-05-04  Ralf Wildenhues  ralf.wildenh...@gmx.de
+
+	PR other/43620
+	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
+	* Makefile.in: Regenerate.
 
 2010-04-02  Ralf Wildenhues  ralf.wildenh...@gmx.de
 

Index: src/external/gpl3/gcc/dist/libssp/Makefile.am
diff -u src/external/gpl3/gcc/dist/libssp/Makefile.am:1.1.1.1 src/external/gpl3/gcc/dist/libssp/Makefile.am:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libssp/Makefile.am:1.1.1.1	Tue Jun 21 01:23:33 2011
+++ src/external/gpl3/gcc/dist/libssp/Makefile.am	Thu May 22 16:37:05 2014
@@ -1,6 +1,6 @@
 ## Makefile for the toplevel directory of the libssp library.
 ##
-## Copyright (C) 2005
+## Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010
 ## Free Software Foundation, Inc.
 ##
 
@@ -12,8 +12,23 @@ MAINT_CHARSET = latin1
 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
 
 if LIBSSP_USE_SYMVER
+if LIBSSP_USE_SYMVER_GNU
 version_arg = -Wl,--version-script=$(srcdir)/ssp.map
 version_dep = $(srcdir)/ssp.map
+endif
+if LIBSSP_USE_SYMVER_SUN

CVS commit: [yamt-pagecache] src/external/gpl3/gcc/dist/INSTALL

2014-05-22 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Thu May 22 16:34:59 UTC 2014

Modified Files:
src/external/gpl3/gcc/dist/INSTALL [yamt-pagecache]: README
Removed Files:
src/external/gpl3/gcc/dist/INSTALL [yamt-pagecache]: binaries.html
build.html configure.html download.html finalinstall.html gfdl.html
index.html old.html prerequisites.html specific.html test.html

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  (Protocol error: too many arguments)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.2.1 \
src/external/gpl3/gcc/dist/INSTALL/README
cvs rdiff -u -r1.1.1.1 -r0 src/external/gpl3/gcc/dist/INSTALL/binaries.html \
src/external/gpl3/gcc/dist/INSTALL/build.html \
src/external/gpl3/gcc/dist/INSTALL/download.html \
src/external/gpl3/gcc/dist/INSTALL/finalinstall.html \
src/external/gpl3/gcc/dist/INSTALL/gfdl.html \
src/external/gpl3/gcc/dist/INSTALL/index.html \
src/external/gpl3/gcc/dist/INSTALL/old.html \
src/external/gpl3/gcc/dist/INSTALL/prerequisites.html \
src/external/gpl3/gcc/dist/INSTALL/specific.html \
src/external/gpl3/gcc/dist/INSTALL/test.html
cvs rdiff -u -r1.1.1.1.2.1 -r0 \
src/external/gpl3/gcc/dist/INSTALL/configure.html

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

Modified files:

Index: src/external/gpl3/gcc/dist/INSTALL/README
diff -u src/external/gpl3/gcc/dist/INSTALL/README:1.1.1.1 src/external/gpl3/gcc/dist/INSTALL/README:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/INSTALL/README:1.1.1.1	Tue Jun 21 01:23:10 2011
+++ src/external/gpl3/gcc/dist/INSTALL/README	Thu May 22 16:34:59 2014
@@ -4,3 +4,4 @@ For releases the installation documentat
 gcc/doc/install.texi and copied into this directory.
 
 To read this documentation, please point your HTML browser to index.html.
+The latest version is always available at http://gcc.gnu.org/install/ .



  1   2   3   4   5   6   7   8   9   10   >