CVS commit: src/sys/dev/pci

2023-11-13 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Mon Nov 13 08:10:53 UTC 2023

Modified Files:
src/sys/dev/pci: pcidevs.h pcidevs_data.h

Log Message:
regen for newer Areca boards


To generate a diff of this commit:
cvs rdiff -u -r1.1479 -r1.1480 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1478 -r1.1479 src/sys/dev/pci/pcidevs_data.h

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: src/sys/dev/pci

2023-11-13 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Mon Nov 13 08:10:53 UTC 2023

Modified Files:
src/sys/dev/pci: pcidevs.h pcidevs_data.h

Log Message:
regen for newer Areca boards


To generate a diff of this commit:
cvs rdiff -u -r1.1479 -r1.1480 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1478 -r1.1479 src/sys/dev/pci/pcidevs_data.h

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



CVS commit: src/sys/dev/pci

2023-11-13 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Mon Nov 13 08:07:24 UTC 2023

Modified Files:
src/sys/dev/pci: pcidevs

Log Message:
add some newer Areca boards in prep for updating driver


To generate a diff of this commit:
cvs rdiff -u -r1.1498 -r1.1499 src/sys/dev/pci/pcidevs

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



CVS commit: src/sys/dev/pci

2023-11-13 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Mon Nov 13 08:07:24 UTC 2023

Modified Files:
src/sys/dev/pci: pcidevs

Log Message:
add some newer Areca boards in prep for updating driver


To generate a diff of this commit:
cvs rdiff -u -r1.1498 -r1.1499 src/sys/dev/pci/pcidevs

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/pci/pcidevs
diff -u src/sys/dev/pci/pcidevs:1.1498 src/sys/dev/pci/pcidevs:1.1499
--- src/sys/dev/pci/pcidevs:1.1498	Thu Oct 26 03:42:41 2023
+++ src/sys/dev/pci/pcidevs	Mon Nov 13 08:07:24 2023
@@ -1,4 +1,4 @@
-$NetBSD: pcidevs,v 1.1498 2023/10/26 03:42:41 msaitoh Exp $
+$NetBSD: pcidevs,v 1.1499 2023/11/13 08:07:24 jnemeth Exp $
 
 /*
  * Copyright (c) 1995, 1996 Christopher G. Demetriou
@@ -1488,6 +1488,7 @@ product ARECA ARC1170		0x1170	ARC-1170
 product ARECA ARC1200		0x1200	ARC-1200
 product ARECA ARC1200_B		0x1201	ARC-1200 rev B
 product ARECA ARC1202		0x1202	ARC-1202
+product ARECA ARC1203		0x1203	ARC-1203
 product ARECA ARC1210		0x1210	ARC-1210
 product ARECA ARC1214 		0x1214	ARC-1214
 product ARECA ARC1220		0x1220	ARC-1220
@@ -1500,6 +1501,8 @@ product ARECA ARC1381		0x1381	ARC-1381
 product ARECA ARC1680		0x1680	ARC-1680
 product ARECA ARC1681		0x1681	ARC-1681
 product ARECA ARC1880 		0x1880	ARC-1880
+product ARECA ARC1884 		0x1884	ARC-1884
+product ARECA ARC1886 		0x1886	ARC-1886
 
 /* ASIX Electronics products */
 product ASIX AX88140A	0x1400	AX88140A 10/100 Ethernet



CVS commit: src/usr.bin/calendar/calendars

2023-10-30 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Mon Oct 30 06:32:19 UTC 2023

Modified Files:
src/usr.bin/calendar/calendars: calendar.christian calendar.holiday
calendar.judaic calendar.usholiday

Log Message:
update for variable holidays in 2024


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.bin/calendar/calendars/calendar.christian
cvs rdiff -u -r1.33 -r1.34 src/usr.bin/calendar/calendars/calendar.holiday
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/calendar/calendars/calendar.judaic \
src/usr.bin/calendar/calendars/calendar.usholiday

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/calendar/calendars/calendar.christian
diff -u src/usr.bin/calendar/calendars/calendar.christian:1.11 src/usr.bin/calendar/calendars/calendar.christian:1.12
--- src/usr.bin/calendar/calendars/calendar.christian:1.11	Wed Dec 28 17:05:43 2022
+++ src/usr.bin/calendar/calendars/calendar.christian	Mon Oct 30 06:32:19 2023
@@ -1,19 +1,19 @@
 01/06	Epiphany
-02/21*	Shrove Tuesday / Mardi Gras (day before Ash Wednesday)
-02/22*	Ash Wednesday (First day of Lent)
-04/02*	Palm Sunday (7 days before Easter)
-04/06*	Maundy Thursday (3 days before Easter)
-04/07*	Good Friday (2 days before Easter)
-04/09*	Easter Sunday
-04/10*	Easter Monday
-05/14*	Rogation Sunday
-05/18*	Ascension Day (10 days before Pentecost)
-05/28*	Pentecost (Whitsunday)
-05/29*	Whitmonday
-06/04*	Trinity Sunday (7 days after Pentecost)
-06/08*	Corpus Christi (11 days after Pentecost)
+02/13*	Shrove Tuesday / Mardi Gras (day before Ash Wednesday)
+02/14*	Ash Wednesday (First day of Lent)
+03/24*	Palm Sunday (7 days before Easter)
+03/28*	Maundy Thursday (3 days before Easter)
+03/29*	Good Friday (2 days before Easter)
+03/31*	Easter Sunday
+04/01*	Easter Monday
+05/05*	Rogation Sunday
+05/09*	Ascension Day (10 days before Pentecost)
+05/19*	Pentecost (Whitsunday)
+05/20*	Whitmonday
+05/26*	Trinity Sunday (7 days after Pentecost)
+05/30*	Corpus Christi (11 days after Pentecost)
 10/18	Feast Day of St. Luke
-12/03*	Advent Sunday (4th Sunday before Christmas)
+12/01*	Advent Sunday (4th Sunday before Christmas)
 12/06	St. Nicholas' Day
 12/24	Christmas Eve
 12/25	Feast of the Nativity (Christmas)

Index: src/usr.bin/calendar/calendars/calendar.holiday
diff -u src/usr.bin/calendar/calendars/calendar.holiday:1.33 src/usr.bin/calendar/calendars/calendar.holiday:1.34
--- src/usr.bin/calendar/calendars/calendar.holiday:1.33	Fri Jun 18 13:13:44 2021
+++ src/usr.bin/calendar/calendars/calendar.holiday	Mon Oct 30 06:32:19 2023
@@ -24,9 +24,9 @@
 01/19	Nameday of Archbishop Makarios in Cyprus
 01/20	Army Day in Mali 
 01/20	National Heroes Day in Guinea-Bissau
-01/19*	Martin Luther King Day in New York (3rd Sunday)
-01/20*	Lee-Jackson Day in Virginia (3rd Monday)
-01/20*	Robert E. Lee's Birthday in Alabama & Mississippi (3rd Monday)
+01/21*	Martin Luther King Day in New York (3rd Sunday)
+01/22*	Lee-Jackson Day in Virginia (3rd Monday)
+01/22*	Robert E. Lee's Birthday in Alabama & Mississippi (3rd Monday)
 01/21	Our Lady of Altagracia in Dominican Republic
 01/23	Feast of St. Ildefonsus
 01/23	National Handwriting Day
@@ -59,7 +59,7 @@
 03/04	Vermont Admission Day (admitted as 14th state in 1791)
 03/05	Independence Day in Equatorial Guinea
 03/06	Lantern Day, Bejing
-03/09*	Purim - Feast of Lots 
+03/23*	Purim - Feast of Lots 
 03/08	First Annual International Women's Day, 1909
 03/08	International Women's Day
 03/08	Syrian National Day in Libyan Arab Republic
@@ -91,7 +91,7 @@
 03/25	Lady Day (a.k.a. the Feast of the Annunciation)
 03/25	Maryland Day in Maryland
 03/25	National Holiday in Greece
-03/30*	Seward's Day in Alaska (last Monday)
+03/25*	Seward's Day in Alaska (last Monday)
 03/26	Independence Day in Bangladesh
 03/26	Prince Jonah Kuhio Kalanianaole Day in Hawaii
 03/27	Armed Forces Day in Burma
@@ -114,7 +114,7 @@
 04/13	Songkran Day in Thailand
 04/14	Day of the Americas in Honduras
 04/15	Bengali New Year in Bangladesh
-04/20*	Patriot's Day in Maine & Massachusetts (3rd Monday)
+04/15*	Patriot's Day in Maine & Massachusetts (3rd Monday)
 04/16	De Diego's Birthday (celebrated in Puerto Rico)
 04/16	Holy Week (5 days) in Venezuela
 04/16	Tourist Week (5 days) in Uruguay
@@ -126,15 +126,15 @@
 04/22	Arbor Day in Nebraska & Delaware
 04/22	Oklahoma Day in Oklahoma
 04/24	Victory Day in Togo
-04/08*	Pesach - First Day of Passover - Festival of Freedom
+04/22*	Pesach - First Day of Passover - Festival of Freedom
 04/25	Anzac Day in Australia, New Zealand, Tonga, Western Samoa
 04/25	Liberation Day in Italy 
 04/25	National Flag Day in Swaziland
 04/26	Confederate Memorial Day in Florida & Georgia
 04/26	Union Day in Tanzania
 04/27	Independence Day in Togo
-04/27*	Arbor Day in Wyoming (last Monday)
-04/27*	Confederate Memorial Day in Alabama & Mississippi (last Monday)
+04/29*	Arbor Day in Wyoming (last Monday)

CVS commit: src/usr.bin/calendar/calendars

2023-10-30 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Mon Oct 30 06:32:19 UTC 2023

Modified Files:
src/usr.bin/calendar/calendars: calendar.christian calendar.holiday
calendar.judaic calendar.usholiday

Log Message:
update for variable holidays in 2024


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.bin/calendar/calendars/calendar.christian
cvs rdiff -u -r1.33 -r1.34 src/usr.bin/calendar/calendars/calendar.holiday
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/calendar/calendars/calendar.judaic \
src/usr.bin/calendar/calendars/calendar.usholiday

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



CVS commit: src/usr.bin/calendar/calendars

2022-08-07 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sun Aug  7 19:37:15 UTC 2022

Modified Files:
src/usr.bin/calendar/calendars: calendar.netbsd

Log Message:
note the release NetBSD 9.3


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/usr.bin/calendar/calendars/calendar.netbsd

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/calendar/calendars/calendar.netbsd
diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.47 src/usr.bin/calendar/calendars/calendar.netbsd:1.48
--- src/usr.bin/calendar/calendars/calendar.netbsd:1.47	Mon May 17 15:59:28 2021
+++ src/usr.bin/calendar/calendars/calendar.netbsd	Sun Aug  7 19:37:15 2022
@@ -76,6 +76,7 @@
 07/25   NetBSD/mvme68k port started, 1995
 08/02   NetBSD 5.0.1 released, 2009
 08/02   NetBSD/vax port started, 1994
+08/04   NetBSD 9.3 released, 2022
 08/12   NetBSD/mipsco port started, 2000
 08/20   pkgsrc forked from FreeBSD Ports, 1997
 08/22   NetBSD 6.1.1 released, 2013



CVS commit: src/usr.bin/calendar/calendars

2022-08-07 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sun Aug  7 19:37:15 UTC 2022

Modified Files:
src/usr.bin/calendar/calendars: calendar.netbsd

Log Message:
note the release NetBSD 9.3


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/usr.bin/calendar/calendars/calendar.netbsd

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



CVS commit: src/sys/conf

2021-12-31 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sat Jan  1 06:14:28 UTC 2022

Modified Files:
src/sys/conf: copyright

Log Message:
Welcome to 2022!


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/conf/copyright

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



CVS commit: src/sys/conf

2021-12-31 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sat Jan  1 06:14:28 UTC 2022

Modified Files:
src/sys/conf: copyright

Log Message:
Welcome to 2022!


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/conf/copyright

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/copyright
diff -u src/sys/conf/copyright:1.19 src/sys/conf/copyright:1.20
--- src/sys/conf/copyright:1.19	Fri Jan  1 08:02:16 2021
+++ src/sys/conf/copyright	Sat Jan  1 06:14:28 2022
@@ -1,5 +1,6 @@
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
-2018, 2019, 2020, 2021 The NetBSD Foundation, Inc.  All rights reserved.
+2018, 2019, 2020, 2021, 2022
+The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California.  All rights reserved.



CVS commit: src/sys/dev/usb

2021-10-21 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Thu Oct 21 20:18:16 UTC 2021

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

Log Message:
add Edimax N150 adapter; tested on my PBP


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 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.100 src/sys/dev/usb/if_urtwn.c:1.101
--- src/sys/dev/usb/if_urtwn.c:1.100	Fri Sep 17 13:02:52 2021
+++ src/sys/dev/usb/if_urtwn.c	Thu Oct 21 20:18:16 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_urtwn.c,v 1.100 2021/09/17 13:02:52 nat Exp $	*/
+/*	$NetBSD: if_urtwn.c,v 1.101 2021/10/21 20:18:16 jnemeth 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.100 2021/09/17 13:02:52 nat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.101 2021/10/21 20:18:16 jnemeth Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -213,6 +213,7 @@ static const struct urtwn_dev {
 	URTWN_RTL8188E_DEV(ABOCOM, RTL8188EU),
 	URTWN_RTL8188E_DEV(TPLINK, RTL8188EU),
 	URTWN_RTL8188E_DEV(DLINK, DWA121B1),
+	URTWN_RTL8188E_DEV(EDIMAX, EW7811UNV2),
 
 	/* URTWN_RTL8192EU */
 	URTWN_RTL8192EU_DEV(DLINK,	DWA131E),



CVS commit: src/sys/dev/usb

2021-10-21 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Thu Oct 21 20:18:16 UTC 2021

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

Log Message:
add Edimax N150 adapter; tested on my PBP


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 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-10-21 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Thu Oct 21 20:17:57 UTC 2021

Modified Files:
src/sys/dev/usb: usbdevs.h usbdevs_data.h

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.787 -r1.788 src/sys/dev/usb/usbdevs.h \
src/sys/dev/usb/usbdevs_data.h

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-10-21 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Thu Oct 21 20:16:51 UTC 2021

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
add Edimax N150 adapter; tested on my PBP


To generate a diff of this commit:
cvs rdiff -u -r1.797 -r1.798 src/sys/dev/usb/usbdevs

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/usbdevs
diff -u src/sys/dev/usb/usbdevs:1.797 src/sys/dev/usb/usbdevs:1.798
--- src/sys/dev/usb/usbdevs:1.797	Sun Oct 17 20:40:03 2021
+++ src/sys/dev/usb/usbdevs	Thu Oct 21 20:16:51 2021
@@ -1,4 +1,4 @@
-$NetBSD: usbdevs,v 1.797 2021/10/17 20:40:03 andvar Exp $
+$NetBSD: usbdevs,v 1.798 2021/10/21 20:16:51 jnemeth Exp $
 
 /*-
  * Copyright (c) 1998-2004 The NetBSD Foundation, Inc.
@@ -1507,6 +1507,7 @@ product EDIMAX RTL8192CU	0x7822	RTL8192C
 product EDIMAX EW7811UTC_1	0xa811	EW-7811UTC
 product EDIMAX EW7811UTC_2	0xa812	EW-7811UTC
 product EDIMAX ELECOM_WDC433SU2M 0xb711	ELECOM WDC-433SU2M
+product EDIMAX EW7811UNV2	0xb811	EW-7811Un V2
 
 /* eGalax Products */
 product EGALAX TPANEL		0x0001	Touch Panel



CVS commit: src/sys/dev/usb

2021-10-21 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Thu Oct 21 20:16:51 UTC 2021

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
add Edimax N150 adapter; tested on my PBP


To generate a diff of this commit:
cvs rdiff -u -r1.797 -r1.798 src/sys/dev/usb/usbdevs

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



CVS commit: src/sbin/gpt

2020-12-13 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sun Dec 13 21:55:25 UTC 2020

Modified Files:
src/sbin/gpt: recover.c

Log Message:
PR/55875 - Valentin -- "gpt recover -r" does nothing

Delete do nothing undocumented option, that was there from initial
import.  No idea what it was intended to do and there is no longer
an "upstream".


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sbin/gpt/recover.c

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

Modified files:

Index: src/sbin/gpt/recover.c
diff -u src/sbin/gpt/recover.c:1.18 src/sbin/gpt/recover.c:1.19
--- src/sbin/gpt/recover.c:1.18	Tue Jul  3 03:41:24 2018
+++ src/sbin/gpt/recover.c	Sun Dec 13 21:55:25 2020
@@ -33,7 +33,7 @@
 __FBSDID("$FreeBSD: src/sbin/gpt/recover.c,v 1.8 2005/08/31 01:47:19 marcel Exp $");
 #endif
 #ifdef __RCSID
-__RCSID("$NetBSD: recover.c,v 1.18 2018/07/03 03:41:24 jnemeth Exp $");
+__RCSID("$NetBSD: recover.c,v 1.19 2020/12/13 21:55:25 jnemeth Exp $");
 #endif
 
 #include 
@@ -149,7 +149,7 @@ recover_gpt_tbl(gpt_t gpt, int type, off
 }
 
 static int
-recover(gpt_t gpt, int recoverable)
+recover(gpt_t gpt)
 {
 	off_t last = gpt_last(gpt);
 	map_t map;
@@ -233,13 +233,9 @@ static int
 cmd_recover(gpt_t gpt, int argc, char *argv[])
 {
 	int ch;
-	int recoverable = 0;
 
 	while ((ch = getopt(argc, argv, "r")) != -1) {
 		switch(ch) {
-		case 'r':
-			recoverable = 1;
-			break;
 		default:
 			return usage();
 		}
@@ -248,5 +244,5 @@ cmd_recover(gpt_t gpt, int argc, char *a
 	if (argc != optind)
 		return usage();
 
-	return recover(gpt, recoverable);
+	return recover(gpt);
 }



CVS commit: src/sbin/gpt

2020-12-13 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sun Dec 13 21:55:25 UTC 2020

Modified Files:
src/sbin/gpt: recover.c

Log Message:
PR/55875 - Valentin -- "gpt recover -r" does nothing

Delete do nothing undocumented option, that was there from initial
import.  No idea what it was intended to do and there is no longer
an "upstream".


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sbin/gpt/recover.c

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



CVS commit: src/etc

2020-10-11 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sun Oct 11 22:14:55 UTC 2020

Modified Files:
src/etc: named.conf

Log Message:
Also edns-udp-size.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/etc/named.conf

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



CVS commit: src/etc

2020-10-11 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sun Oct 11 22:14:55 UTC 2020

Modified Files:
src/etc: named.conf

Log Message:
Also edns-udp-size.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/etc/named.conf

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

Modified files:

Index: src/etc/named.conf
diff -u src/etc/named.conf:1.9 src/etc/named.conf:1.10
--- src/etc/named.conf:1.9	Sun Oct 11 22:11:36 2020
+++ src/etc/named.conf	Sun Oct 11 22:14:55 2020
@@ -1,4 +1,4 @@
-# $NetBSD: named.conf,v 1.9 2020/10/11 22:11:36 jnemeth Exp $
+# $NetBSD: named.conf,v 1.10 2020/10/11 22:14:55 jnemeth Exp $
 
 # boot file for secondary name server
 # Note that there should be one primary entry for each SOA record.
@@ -16,6 +16,7 @@ options {
 	bindkeys-file "bind.keys";
 	allow-recursion { localhost; localnets; };
 	max-udp-size 1220;
+	edns-udp-size 1220;
 
 	#
 	# This forces all queries to come from port 53; might be



CVS commit: src/etc

2020-10-11 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sun Oct 11 22:11:37 UTC 2020

Modified Files:
src/etc: named.conf

Log Message:
Set max-udp-size as per DNS flag day 2020, see
https://www.isc.org/blogs/dns-flag-day-2020-2/ .


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/etc/named.conf

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

Modified files:

Index: src/etc/named.conf
diff -u src/etc/named.conf:1.8 src/etc/named.conf:1.9
--- src/etc/named.conf:1.8	Sat Mar 21 20:20:59 2020
+++ src/etc/named.conf	Sun Oct 11 22:11:36 2020
@@ -1,4 +1,4 @@
-# $NetBSD: named.conf,v 1.8 2020/03/21 20:20:59 christos Exp $
+# $NetBSD: named.conf,v 1.9 2020/10/11 22:11:36 jnemeth Exp $
 
 # boot file for secondary name server
 # Note that there should be one primary entry for each SOA record.
@@ -15,6 +15,7 @@ options {
 	managed-keys-directory "keys";
 	bindkeys-file "bind.keys";
 	allow-recursion { localhost; localnets; };
+	max-udp-size 1220;
 
 	#
 	# This forces all queries to come from port 53; might be



CVS commit: src/etc

2020-10-11 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sun Oct 11 22:11:37 UTC 2020

Modified Files:
src/etc: named.conf

Log Message:
Set max-udp-size as per DNS flag day 2020, see
https://www.isc.org/blogs/dns-flag-day-2020-2/ .


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/etc/named.conf

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



CVS commit: src/sys/dev/pci

2020-08-08 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sat Aug  8 19:39:28 UTC 2020

Modified Files:
src/sys/dev/pci: mpii.c

Log Message:
make this compile without bio(4)


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/pci/mpii.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/pci/mpii.c
diff -u src/sys/dev/pci/mpii.c:1.24 src/sys/dev/pci/mpii.c:1.25
--- src/sys/dev/pci/mpii.c:1.24	Thu Nov 28 17:09:10 2019
+++ src/sys/dev/pci/mpii.c	Sat Aug  8 19:39:28 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: mpii.c,v 1.24 2019/11/28 17:09:10 maxv Exp $ */
+/* $NetBSD: mpii.c,v 1.25 2020/08/08 19:39:28 jnemeth Exp $ */
 /*	$OpenBSD: mpii.c,v 1.115 2018/08/14 05:22:21 jmatthew Exp $	*/
 /*
  * Copyright (c) 2010, 2012 Mike Belopuhov
@@ -20,7 +20,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: mpii.c,v 1.24 2019/11/28 17:09:10 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpii.c,v 1.25 2020/08/08 19:39:28 jnemeth Exp $");
 
 #include "bio.h"
 
@@ -244,8 +244,10 @@ struct mpii_softc {
 	struct workqueue	*sc_evt_ack_wq;
 	struct work		sc_evt_ack_work;
 
+#if NBIO > 0
 	struct sysmon_envsys	*sc_sme;
 	envsys_data_t		*sc_sensors;
+#endif
 };
 
 static int	mpii_match(device_t, cfdata_t, void *);



CVS commit: src/sys/dev/pci

2020-08-08 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sat Aug  8 19:39:28 UTC 2020

Modified Files:
src/sys/dev/pci: mpii.c

Log Message:
make this compile without bio(4)


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/pci/mpii.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/sys

2019-12-25 Thread John Nemeth
On Dec 23,  3:06pm, Warner Losh wrote:
} On Mon, Dec 23, 2019, 2:37 PM Kamil Rytarowski  wrote:
} > On 23.12.2019 18:14, Greg Troxel wrote:
} > > Warner Losh  writes:
} > >
} > >> Just a quick note: when FreeBSD when from 9 to 10, we had to play 'hunt
} > the
} > >> wumpus' for all the autoconfig scripts that suddenly thought they were
} > >> configuring for FreeBSD 1.0.
} > >>
} > >> If you can arrange it, it might make sense to do a pkgsrc run on an
} > >> experimental system that has the version as 10.0 rather than 9.9.xx
} > before
} > >> committing to a schedule given the experience of your sister BSD
} > project.
} > >
} > > Thanks, that's a really good point.
} >
} > This issue is well known. Once we will branch -10 we will test it in
} > HEAD and -10 concurrently.
} >
} > On the other hand, clang10 broke only a single piece of software that I
} > build (nodejs).
} 
} FreeBSD 10 broke dozens of config scripts that all derived from a common
} ancestor back in the 90s... though 1.0 FreeBSD needed special treatment for
} things like a.out and such and the scripts used 1* to match. It would be

I was going to say that we could just skip 10 and go direct to
11, but 1* would catch 11 as well.  So much for the shortcut.

} easy enough to grep for that pattern in gnu software to see if it will trip
} you up. NetBSDs release version history may be such this isn't an issue,
} but it broke a heck of a lot than I'd expected at the time...
} 
}-- End of excerpt from Warner Losh


Re: CVS commit: src/sys/sys

2019-12-23 Thread John Nemeth
On Dec 23, 11:33am, Greg Troxel wrote:
} Martin Husemann  writes:
} > On Mon, Dec 23, 2019 at 09:02:50AM -0500, Greg Troxel wrote:
} >> Well, we are coming up on a year since netbsd-9 was branched, or at
} >> least will arrive there before this discussion resolves.   So cutting
} >> -10 before we hit 100 works for me :-)
} >
} > Nitpicking (and I don't know for the discussion resolving), but netbsd-9
} > was branched on 2019-07-30 (so not even 1/2 a year yes).
} >
} > The branch for netbsd-10 can happen soon after Andrew is done (we need
} > 10.0 on the build cluster ASAP).
} 
} I will admit that my comment was partly humor.
} 
} Thanks for pointing out the -9 branch date.  Given that we have had an
} RC, this branch is going much better than recent previous ones.  I
} realize it's always difficult, but I think we (mostly you, perhaps) are
} doing better this time.
} 
} I did mean to be somewhat serious in saying it was going to be time to
} start 10, just based on calendar, because I believe releases should be
} no more than 18 months apart, and I think 12 months is ideal.  Thus I am
} in favor of starting a new branch 12 months after the last one was
} started.

I would like to see releases being 18 to 24 months.  Releases
that come too close together are nasty for people that are running
production systems.  Having releases too close together leads to
the idea of LTS (Long Term Support) versions, which have their own
problems that very few people want.  What would be really nice is
to tighten up the release cycle.  I realise that they have been
long for a variety of reasons, but it is something that needs to
be worked on.

} (I see the merits of points about lots of improvements in current vs 9
} and the reasonableness of branching late spring and releasing fall, even
} if that seems a bit aspirational.)
} 
}-- End of excerpt from Greg Troxel


Re: CVS commit: src

2019-12-20 Thread John Nemeth
On Dec 20,  9:44pm, Maxime Villard wrote:
} Le 20/12/2019 à 20:52, Martin Husemann a écrit :
} > On Fri, Dec 20, 2019 at 07:54:36PM +0100, Maxime Villard wrote:
} >> Alright, fair enough. I will revert my removal over the week-end, because 
it
} >> hasn't received sufficient public discussion.
} > 
} > Thank you!
} > 
} >> As well, I will revert secteam's
} >> killing of the feature, because there has been no public discussion on 
that at
} >> all.
} > 
} > Please do not. You *do* have a point here, but:
} > 
} >   1) public discussion upfront for a security issue is not always possible,
} >  as you are well aware
} 
} I'm afraid that's no excuse, in that several of the security issues in the
} past have had to be discussed publicly. (On your own personal insistence,
} by the way, and I see no reason why the policy would change all of a
} sudden just because you personally decided otherwise.)
} 
} >   2) there has been a public security advisory which assumes this change
} >  and would need to be revised in case of reversal
} 
} This only means secteam doubled down in being wrong.
} 
} Specifically, it seems to me that removing /dev/filemon would have been
} sufficient, instead of removing the kmod. People could re-create
} /dev/filemon with minimal effort, should they be interested in the feature.
} As opposed to that, rebuilding a kmod is a much bigger effort.

 I don't wish to get embroiled in this debate (even if I did
start it by requesting the reversion).  I just want to point out
that there is a relatively simple way disable the autoloading of
a module.  From module(9):

   The directory from which the module is loaded will be searched for
   a file with the same name as the module file, but with the suffix
   ``.plist''.  If this file is found, the prop_dictionary it contains
   will be loaded and passed to the module's modcmd() routine.  If
   this prop_dictionary contains a ``noautoload'' property which is
   set to ``true'' then the system will refuse to load the module.

The simplest way to do the above is:

modload -p -b noautoload=true > .plist

}-- End of excerpt from Maxime Villard


Re: CVS commit: src

2019-12-18 Thread John Nemeth
On Dec 18,  7:37am, "Maxime Villard" wrote:
}
} This is a multi-part message in MIME format.
} 
} --_--=_1576654639170820
} Content-Disposition: inline
} Content-Transfer-Encoding: 8bit
} Content-Type: text/plain; charset="US-ASCII"
} 
} Module Name:  src
} Committed By: maxv
} Date: Wed Dec 18 07:37:19 UTC 2019
} 
} Modified Files:
}   src/distrib/sets/lists/base: mi
}   src/distrib/sets/lists/comp: mi
}   src/distrib/sets/lists/man: mi
}   src/etc: MAKEDEV.tmpl
}   src/etc/mtree: NetBSD.dist.base
}   src/share/man/man4: Makefile
}   src/sys/arch/amd64/conf: ALL
}   src/sys/arch/i386/conf: ALL
}   src/sys/conf: files majors
}   src/sys/dev: Makefile
}   src/sys/modules: Makefile
}   src/usr.bin/make: Makefile compat.c make.1 meta.c
}   src/usr.sbin/makemandb: nostem.txt
} Removed Files:
}   src/share/man/man4: filemon.4
}   src/sys/dev/filemon: Makefile filemon.c filemon.h filemon_wrapper.c
}   mknod-sh
}   src/sys/modules/filemon: Makefile filemon.ioconf
} 
} Log Message:
} Retire filemon, discussed on tech-kern@.

 What discussion?  In a message dated, Tue Dec 17 13:58:19
2019, you stated, "I will prepare the removal of filemon."  That
doesn't exactly look like a proposal to me.  After that, I don't
see any discussion about its removal.

Please revert this commit, make a proper proposal and allow
for a proper discussion as per the policy for removing features.

}-- End of excerpt from "Maxime Villard"


CVS commit: src/usr.bin/calendar/calendars

2019-12-15 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Mon Dec 16 07:18:11 UTC 2019

Modified Files:
src/usr.bin/calendar/calendars: calendar.christian calendar.holiday
calendar.usholiday

Log Message:
update calendar files with all dates in 2020 as next release is expect late 2019


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/calendar/calendars/calendar.christian
cvs rdiff -u -r1.29 -r1.30 src/usr.bin/calendar/calendars/calendar.holiday
cvs rdiff -u -r1.9 -r1.10 src/usr.bin/calendar/calendars/calendar.usholiday

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/calendar/calendars/calendar.christian
diff -u src/usr.bin/calendar/calendars/calendar.christian:1.7 src/usr.bin/calendar/calendars/calendar.christian:1.8
--- src/usr.bin/calendar/calendars/calendar.christian:1.7	Sat Jun  2 05:55:47 2018
+++ src/usr.bin/calendar/calendars/calendar.christian	Mon Dec 16 07:18:11 2019
@@ -1,17 +1,17 @@
 01/06*	Epiphany
-03/05*	Shrove Tuesday / Mardi Gras (day before Ash Wednesday)
-03/06*	Ash Wednesday (First day of Lent)
-04/14*	Palm Sunday (7 days before Easter)
-04/17*	Maundy Thursday (3 days before Easter)
-04/18*	Good Friday (2 days before Easter)
-04/20*	Easter Sunday
-05/26*	Rogation Sunday
-05/30*	Ascension Day (10 days before Pentecost)
-06/09*	Pentecost (Whitsunday)
-06/10*	Whitmonday
-06/16*	Trinity Sunday (7 days after Pentecost)
-06/20*	Corpus Christi (11 days after Pentecost)
+02/25*	Shrove Tuesday / Mardi Gras (day before Ash Wednesday)
+02/26*	Ash Wednesday (First day of Lent)
+04/05*	Palm Sunday (7 days before Easter)
+04/09*	Maundy Thursday (3 days before Easter)
+04/10*	Good Friday (2 days before Easter)
+04/12*	Easter Sunday
+05/17*	Rogation Sunday
+05/21*	Ascension Day (10 days before Pentecost)
+05/31*	Pentecost (Whitsunday)
+06/01*	Whitmonday
+06/07*	Trinity Sunday (7 days after Pentecost)
+06/11*	Corpus Christi (11 days after Pentecost)
 10/18	Feast Day of St. Luke
-12/02*	First Sunday of Advent (4th Sunday before Christmas)
+11/29*	First Sunday of Advent (4th Sunday before Christmas)
 12/06	St. Nicholas' Day
 12/25	Feast of the Nativity (Christmas)

Index: src/usr.bin/calendar/calendars/calendar.holiday
diff -u src/usr.bin/calendar/calendars/calendar.holiday:1.29 src/usr.bin/calendar/calendars/calendar.holiday:1.30
--- src/usr.bin/calendar/calendars/calendar.holiday:1.29	Sat Jun  2 05:55:47 2018
+++ src/usr.bin/calendar/calendars/calendar.holiday	Mon Dec 16 07:18:11 2019
@@ -24,9 +24,9 @@
 01/19	Nameday of Archbishop Makarios in Cyprus
 01/20	Army Day in Mali 
 01/20	National Heroes Day in Guinea-Bissau
-01/20*	Martin Luther King Day in New York (3rd Sunday)
-01/21*	Lee-Jackson Day in Virginia (3rd Monday)
-01/21*	Robert E. Lee's Birthday in Alabama & Mississippi (3rd Monday)
+01/19*	Martin Luther King Day in New York (3rd Sunday)
+01/20*	Lee-Jackson Day in Virginia (3rd Monday)
+01/20*	Robert E. Lee's Birthday in Alabama & Mississippi (3rd Monday)
 01/21	Our Lady of Altagracia in Dominican Republic
 01/23	Feast of St. Ildefonsus
 01/23	National Handwriting Day
@@ -59,7 +59,7 @@
 03/04	Vermont Admission Day (admitted as 14th state in 1791)
 03/05	Independence Day in Equatorial Guinea
 03/06	Lantern Day, Bejing
-03/20*	Purim - Feast of Lots 
+03/09*	Purim - Feast of Lots 
 03/08	First Annual International Women's Day, 1909
 03/08	International Women's Day in U.S.S.R.
 03/08	Syrian National Day in Libyan Arab Republic
@@ -91,7 +91,7 @@
 03/25	Lady Day (a.k.a. the Feast of the Annunciation)
 03/25	Maryland Day in Maryland
 03/25	National Holiday in Greece
-03/25*	Seward's Day in Alaska (last Monday)
+03/30*	Seward's Day in Alaska (last Monday)
 03/26	Independence Day in Bangladesh
 03/26	Prince Jonah Kuhio Kalanianaole Day in Hawaii
 03/27	Armed Forces Day in Burma
@@ -114,7 +114,7 @@
 04/13	Songkran Day in Thailand
 04/14	Day of the Americas in Honduras
 04/15	Bengali New Year in Bangladesh
-04/15*	Patriot's Day in Maine & Massachusetts (3rd Monday)
+04/20*	Patriot's Day in Maine & Massachusetts (3rd Monday)
 04/16	De Diego's Birthday (celebrated in Puerto Rico)
 04/16	Holy Week (5 days) in Venezuela
 04/16	Tourist Week (5 days) in Uruguay
@@ -126,15 +126,15 @@
 04/22	Arbor Day in Nebraska & Delaware
 04/22	Oklahoma Day in Oklahoma
 04/24	Victory Day in Togo
-04/19*	Pesach - First Day of Passover - Festival of Freedom
+04/08*	Pesach - First Day of Passover - Festival of Freedom
 04/25	Anzac Day in Australia, New Zealand, Tonga, Western Samoa
 04/25	Liberation Day in Italy 
 04/25	National Flag Day in Swaziland
 04/26	Confederate Memorial Day in Florida & Georgia
 04/26	Union Day in Tanzania
 04/27	Independence Day in Togo
-04/29*	Arbor Day in Wyoming (last Monday)
-04/29*	Confederate Memorial Day in Alabama & Mississippi (last Monday)
+04/27*	Arbor Day in Wyoming (last Monday)
+04/27*	Confederate Memorial Day in Alabama & Mississippi (last Monday)

CVS commit: src/usr.bin/calendar/calendars

2019-12-15 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Mon Dec 16 07:18:11 UTC 2019

Modified Files:
src/usr.bin/calendar/calendars: calendar.christian calendar.holiday
calendar.usholiday

Log Message:
update calendar files with all dates in 2020 as next release is expect late 2019


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/calendar/calendars/calendar.christian
cvs rdiff -u -r1.29 -r1.30 src/usr.bin/calendar/calendars/calendar.holiday
cvs rdiff -u -r1.9 -r1.10 src/usr.bin/calendar/calendars/calendar.usholiday

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



CVS commit: src/sbin/gpt

2019-10-16 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Wed Oct 16 19:03:53 UTC 2019

Modified Files:
src/sbin/gpt: destroy.c

Log Message:
Do the 'dkctl makewedges' dance to drop any wedges assoicated the
destroyed GPT.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sbin/gpt/destroy.c

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



CVS commit: src/sbin/gpt

2019-10-16 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Wed Oct 16 19:03:53 UTC 2019

Modified Files:
src/sbin/gpt: destroy.c

Log Message:
Do the 'dkctl makewedges' dance to drop any wedges assoicated the
destroyed GPT.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sbin/gpt/destroy.c

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

Modified files:

Index: src/sbin/gpt/destroy.c
diff -u src/sbin/gpt/destroy.c:1.12 src/sbin/gpt/destroy.c:1.13
--- src/sbin/gpt/destroy.c:1.12	Thu Apr  4 14:03:40 2019
+++ src/sbin/gpt/destroy.c	Wed Oct 16 19:03:53 2019
@@ -33,7 +33,7 @@
 __FBSDID("$FreeBSD: src/sbin/gpt/destroy.c,v 1.6 2005/08/31 01:47:19 marcel Exp $");
 #endif
 #ifdef __RCSID
-__RCSID("$NetBSD: destroy.c,v 1.12 2019/04/04 14:03:40 martin Exp $");
+__RCSID("$NetBSD: destroy.c,v 1.13 2019/10/16 19:03:53 jnemeth Exp $");
 #endif
 
 #include 
@@ -59,7 +59,7 @@ struct gpt_cmd c_destroy = {
 	"destroy",
 	cmd_destroy,
 	destroyhelp, __arraycount(destroyhelp),
-	0,
+	GPT_SYNC,
 };
 
 #define usage() gpt_usage(NULL, _destroy)



CVS commit: src/doc

2019-10-03 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Thu Oct  3 06:27:09 UTC 2019

Modified Files:
src/doc: CHANGES

Log Message:
typo


To generate a diff of this commit:
cvs rdiff -u -r1.2587 -r1.2588 src/doc/CHANGES

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

Modified files:

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.2587 src/doc/CHANGES:1.2588
--- src/doc/CHANGES:1.2587	Wed Oct  2 11:18:55 2019
+++ src/doc/CHANGES	Thu Oct  3 06:27:09 2019
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2587 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2588 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -24,7 +24,7 @@
 # 
 
 Changes from NetBSD 9.0 to NetBSD 10.0:
-	openldap: Import 2.4.48. [christos 20180808]
+	openldap: Import 2.4.48. [christos 20190808]
 	usbnet(9): Add common framework for USB network devices.  Port the
 		axe(4), axen(4), cdce(4), cue(4), mue(4), smsc(4), udav(4),
 		ure(4), url(4), and urndis(4) drivers fixing many bugs and



CVS commit: src/doc

2019-10-03 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Thu Oct  3 06:27:09 UTC 2019

Modified Files:
src/doc: CHANGES

Log Message:
typo


To generate a diff of this commit:
cvs rdiff -u -r1.2587 -r1.2588 src/doc/CHANGES

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



CVS commit: src/sys/netinet

2019-09-25 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Wed Sep 25 19:06:30 UTC 2019

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

Log Message:
PR/54572 - Edgar Fu� -- error in comment


To generate a diff of this commit:
cvs rdiff -u -r1.415 -r1.416 src/sys/netinet/tcp_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/netinet/tcp_input.c
diff -u src/sys/netinet/tcp_input.c:1.415 src/sys/netinet/tcp_input.c:1.416
--- src/sys/netinet/tcp_input.c:1.415	Tue Aug  6 15:48:18 2019
+++ src/sys/netinet/tcp_input.c	Wed Sep 25 19:06:30 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: tcp_input.c,v 1.415 2019/08/06 15:48:18 riastradh Exp $	*/
+/*	$NetBSD: tcp_input.c,v 1.416 2019/09/25 19:06:30 jnemeth Exp $	*/
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -148,7 +148,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.415 2019/08/06 15:48:18 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.416 2019/09/25 19:06:30 jnemeth Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -2405,8 +2405,8 @@ after_listen:
 
 	/*
 	 * Since we've covered the SYN-SENT and SYN-RECEIVED states above
-	 * we must be in a synchronized state.  RFC791 states (under RST
-	 * generation) that any unacceptable segment (an out-of-order SYN
+	 * we must be in a synchronized state.  RFC793 states (under Reset
+	 * Generation) that any unacceptable segment (an out-of-order SYN
 	 * qualifies) received in a synchronized state must elicit only an
 	 * empty acknowledgment segment ... and the connection remains in
 	 * the same state.



CVS commit: src/sys/netinet

2019-09-25 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Wed Sep 25 19:06:30 UTC 2019

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

Log Message:
PR/54572 - Edgar Fu� -- error in comment


To generate a diff of this commit:
cvs rdiff -u -r1.415 -r1.416 src/sys/netinet/tcp_input.c

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



Re: Leak Sanitizer - how to suppress leaks

2019-09-17 Thread John Nemeth
On Sep 16,  3:02am, Kamil Rytarowski wrote:
} On 16.09.2019 02:47, Robert Elz wrote:
} > Expecting any unix program (even the simplest) to simply compile and run
} > in a non-kernel environment is pointless, they simply won't work.
} 
} As a non-trivial no-kernel example, nethack on rump unikernel:
} 
} https://github.com/anttikantee/rumprun-nethack

 This is certainly an interesting case.  However, in this case,
the "kernel", becomes part of the application.  As soon as the
application exits, the kernel exits as well, so all memory ceases
to exist.

}-- End of excerpt from Kamil Rytarowski


Re: Leak Sanitizer - how to suppress leaks

2019-09-17 Thread John Nemeth
On Sep 16,  7:47am, Robert Elz wrote:
} 
} I used to program such things in the past (distant past) - one of the
} requirements of the particular system I was using was that processes
} were not allowed to run for "too long" before calling the system process
} switch function (no kernel running clock interrupts to do time slicing).

 That was Windows for a very long time, i.e. co-operative
multi-tasking.  I wrote one Windows app in the Windows 3.1/95 era.
I hated it.  Terrible programming environment.  Heck, all of Windows
would stop running when you ran the application under a debugger.
At least I figured out a dual monitor setup (Windows running on a
VGA adapter and the debugger running on a Hercules adapter).

}   | In cases where it _is_ expensive, or at least where it's expensive to
}   | figure out, the same argument applies as against garbage collection:
}   | if you aren't sure what the lifetime of that object is, and the
}   | program isn't structured in a way that allows being reasomably sure it
}   | is disposed of exactly once, how can you have confidence in any other
}   | correctness properties?
} 
} That isn't the issue at all - in the programs in question, there's no
} issue with the lifetimes of objects, it is from creation until something
} explicitly makes them go away, or process exit, whichever comes first.

 Process exit does it much more efficiently as well.  Instead
of trying to find every object and free memory a few bytes at a
time, the entire address space is freed in fell swoop.

}-- End of excerpt from Robert Elz


CVS commit: src/doc

2019-06-24 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue Jun 25 05:04:35 UTC 2019

Modified Files:
src/doc: CHANGES

Log Message:
note new gpt(8) uuid subcommand


To generate a diff of this commit:
cvs rdiff -u -r1.2548 -r1.2549 src/doc/CHANGES

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

Modified files:

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.2548 src/doc/CHANGES:1.2549
--- src/doc/CHANGES:1.2548	Sun Jun  9 18:44:05 2019
+++ src/doc/CHANGES	Tue Jun 25 05:04:35 2019
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2548 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2549 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -393,3 +393,5 @@ Changes from NetBSD 8.0 to NetBSD 9.0:
 	evbarm: Add support for the Banana Pi BPI-P2 Zero. [thorpej 20190604]
 	mac68k: Switch page size to 8KB. [jklos 20190606]
 	OpenSSL: Imported 1.1.1c. [christos 20190609]
+	gpt(8): added uuid subcommand to generate new UUIDS.
+		[jnemeth 20190624]



CVS commit: src/doc

2019-06-24 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue Jun 25 05:04:35 UTC 2019

Modified Files:
src/doc: CHANGES

Log Message:
note new gpt(8) uuid subcommand


To generate a diff of this commit:
cvs rdiff -u -r1.2548 -r1.2549 src/doc/CHANGES

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



CVS commit: src/sbin/gpt

2019-06-24 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue Jun 25 04:53:41 UTC 2019

Modified Files:
src/sbin/gpt: Makefile gpt.8 main.c
Added Files:
src/sbin/gpt: uuid.c

Log Message:
Add an "uuid" command to generate a new UUID for a portion.  The
primary intention is for use for after cloning disks to prevent
collisions.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sbin/gpt/Makefile
cvs rdiff -u -r1.68 -r1.69 src/sbin/gpt/gpt.8
cvs rdiff -u -r1.12 -r1.13 src/sbin/gpt/main.c
cvs rdiff -u -r0 -r1.1 src/sbin/gpt/uuid.c

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

Modified files:

Index: src/sbin/gpt/Makefile
diff -u src/sbin/gpt/Makefile:1.18 src/sbin/gpt/Makefile:1.19
--- src/sbin/gpt/Makefile:1.18	Thu Dec  3 02:02:43 2015
+++ src/sbin/gpt/Makefile	Tue Jun 25 04:53:40 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2015/12/03 02:02:43 christos Exp $
+# $NetBSD: Makefile,v 1.19 2019/06/25 04:53:40 jnemeth Exp $
 # $FreeBSD: src/sbin/gpt/Makefile,v 1.7 2005/09/01 02:49:20 marcel Exp $
 
 .include 
@@ -7,7 +7,7 @@ WARNS=6
 PROG=	gpt
 SRCS=	add.c biosboot.c create.c destroy.c gpt.c header.c label.c map.c \
 	main.c migrate.c recover.c remove.c resize.c resizedisk.c \
-	set.c show.c type.c unset.c gpt_uuid.c
+	set.c show.c type.c unset.c gpt_uuid.c uuid.c
 MAN=	gpt.8
 
 #LINKS=  ${BINDIR}/gpt ${BINDIR}/gptlabel

Index: src/sbin/gpt/gpt.8
diff -u src/sbin/gpt/gpt.8:1.68 src/sbin/gpt/gpt.8:1.69
--- src/sbin/gpt/gpt.8:1.68	Thu Apr  4 13:55:40 2019
+++ src/sbin/gpt/gpt.8	Tue Jun 25 04:53:40 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: gpt.8,v 1.68 2019/04/04 13:55:40 martin Exp $
+.\" $NetBSD: gpt.8,v 1.69 2019/06/25 04:53:40 jnemeth Exp $
 .\"
 .\" Copyright (c) 2002 Marcel Moolenaar
 .\" All rights reserved.
@@ -26,7 +26,7 @@
 .\"
 .\" $FreeBSD: src/sbin/gpt/gpt.8,v 1.17 2006/06/22 22:22:32 marcel Exp $
 .\"
-.Dd April 4, 2019
+.Dd June 22, 2019
 .Dt GPT 8
 .Os
 .Sh NAME
@@ -693,6 +693,25 @@ code.
 They may be used by
 .Nx
 code in the future.
+.\"  uuid 
+.It Nm Ic uuid Oo Fl a Oc
+.It Nm Ic uuid Oo Fl b Ar blocknr Oc Oo Fl i Ar index Oc \
+Oo Fl L Ar label Oc Oo Fl s Ar sectors Oc Oo Fl t Ar type Oc
+The
+.Ic uuid
+command allows the user to change the UUID of any and all partitions
+that match the selection.
+It uses the same selection options as the
+.Ic label
+command.
+See above for a description of these options.
+If
+.Fl a
+is used, then the header UUID is changed as well.
+.Pp
+The primary purpose of this command is for use after cloning a disk to
+prevent collisions when both disks are used in the same system.
+.\"  end of commands 
 .El
 .Sh EXIT STATUS
 The

Index: src/sbin/gpt/main.c
diff -u src/sbin/gpt/main.c:1.12 src/sbin/gpt/main.c:1.13
--- src/sbin/gpt/main.c:1.12	Mon Aug 27 15:50:39 2018
+++ src/sbin/gpt/main.c	Tue Jun 25 04:53:40 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: main.c,v 1.12 2018/08/27 15:50:39 sevan Exp $	*/
+/*	$NetBSD: main.c,v 1.13 2019/06/25 04:53:40 jnemeth Exp $	*/
 
 /*-
  * Copyright (c) 2002 Marcel Moolenaar
@@ -34,7 +34,7 @@
 
 #include 
 #ifdef __RCSID
-__RCSID("$NetBSD: main.c,v 1.12 2018/08/27 15:50:39 sevan Exp $");
+__RCSID("$NetBSD: main.c,v 1.13 2019/06/25 04:53:40 jnemeth Exp $");
 #endif
 
 #include 
@@ -73,7 +73,8 @@ extern const struct gpt_cmd
 	c_set,
 	c_show,
 	c_type,
-	c_unset;
+	c_unset,
+	c_uuid;
 
 static const struct gpt_cmd *cmdsw[] = {
 	_add,
@@ -97,6 +98,7 @@ static const struct gpt_cmd *cmdsw[] = {
 	_show,
 	_type,
 	_unset,
+	_uuid,
 	_null,
 };
 

Added files:

Index: src/sbin/gpt/uuid.c
diff -u /dev/null src/sbin/gpt/uuid.c:1.1
--- /dev/null	Tue Jun 25 04:53:41 2019
+++ src/sbin/gpt/uuid.c	Tue Jun 25 04:53:40 2019
@@ -0,0 +1,114 @@
+/*-
+ * Copyright (c) 2004 Marcel Moolenaar
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *notice, this list of conditions and the following disclaimer in the
+ *documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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 

CVS commit: src/sbin/gpt

2019-06-24 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue Jun 25 04:53:41 UTC 2019

Modified Files:
src/sbin/gpt: Makefile gpt.8 main.c
Added Files:
src/sbin/gpt: uuid.c

Log Message:
Add an "uuid" command to generate a new UUID for a portion.  The
primary intention is for use for after cloning disks to prevent
collisions.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sbin/gpt/Makefile
cvs rdiff -u -r1.68 -r1.69 src/sbin/gpt/gpt.8
cvs rdiff -u -r1.12 -r1.13 src/sbin/gpt/main.c
cvs rdiff -u -r0 -r1.1 src/sbin/gpt/uuid.c

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



CVS commit: src/sbin/gpt

2019-06-24 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue Jun 25 04:25:12 UTC 2019

Modified Files:
src/sbin/gpt: gpt_uuid.c

Log Message:
adjust gpt_uuid_generate() to accept gpt==NULL


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sbin/gpt/gpt_uuid.c

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

Modified files:

Index: src/sbin/gpt/gpt_uuid.c
diff -u src/sbin/gpt/gpt_uuid.c:1.17 src/sbin/gpt/gpt_uuid.c:1.18
--- src/sbin/gpt/gpt_uuid.c:1.17	Thu Dec 20 14:58:10 2018
+++ src/sbin/gpt/gpt_uuid.c	Tue Jun 25 04:25:11 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: gpt_uuid.c,v 1.17 2018/12/20 14:58:10 martin Exp $	*/
+/*	$NetBSD: gpt_uuid.c,v 1.18 2019/06/25 04:25:11 jnemeth Exp $	*/
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 
 #include 
 #ifdef __RCSID
-__RCSID("$NetBSD: gpt_uuid.c,v 1.17 2018/12/20 14:58:10 martin Exp $");
+__RCSID("$NetBSD: gpt_uuid.c,v 1.18 2019/06/25 04:25:11 jnemeth Exp $");
 #endif
 
 #include 
@@ -321,7 +321,7 @@ gpt_uuid_generate(gpt_t gpt, gpt_uuid_t 
 {
 	int rv;
 	struct dce_uuid u;
-	if (gpt->flags & GPT_TIMESTAMP)
+	if (gpt && (gpt->flags & GPT_TIMESTAMP))
 		rv = gpt_uuid_tstamp(gpt, , sizeof(u));
 	else
 		rv = gpt_uuid_random(gpt, , sizeof(u));



CVS commit: src/sbin/gpt

2019-06-24 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue Jun 25 04:25:12 UTC 2019

Modified Files:
src/sbin/gpt: gpt_uuid.c

Log Message:
adjust gpt_uuid_generate() to accept gpt==NULL


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sbin/gpt/gpt_uuid.c

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



Re: CVS commit: src/sbin/gpt

2019-06-24 Thread John Nemeth
On Jun 25,  3:42am, "John Nemeth" wrote:
} 
} Module Name:  src
} Committed By: jnemeth
} Date: Tue Jun 25 03:42:46 UTC 2019
} 
} Modified Files:
}   src/sbin/gpt: gpt.h
} 
} Log Message:
} gpt.c

 ARGH!  Message should have read:

Add gpt_change_hdr() similar to gpt_change_ent() for changing
arbitrary header fields.

Updated in repository.

}-- End of excerpt from "John Nemeth"


CVS commit: src/sbin/gpt

2019-06-24 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue Jun 25 03:50:18 UTC 2019

Modified Files:
src/sbin/gpt: gpt.c

Log Message:
Add gpt_change_hdr() similar to gpt_change_ent() for changing
arbitrary header fields.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sbin/gpt/gpt.c

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



CVS commit: src/sbin/gpt

2019-06-24 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue Jun 25 03:50:18 UTC 2019

Modified Files:
src/sbin/gpt: gpt.c

Log Message:
Add gpt_change_hdr() similar to gpt_change_ent() for changing
arbitrary header fields.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sbin/gpt/gpt.c

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

Modified files:

Index: src/sbin/gpt/gpt.c
diff -u src/sbin/gpt/gpt.c:1.79 src/sbin/gpt/gpt.c:1.80
--- src/sbin/gpt/gpt.c:1.79	Fri Jun 21 02:14:59 2019
+++ src/sbin/gpt/gpt.c	Tue Jun 25 03:50:18 2019
@@ -35,7 +35,7 @@
 __FBSDID("$FreeBSD: src/sbin/gpt/gpt.c,v 1.16 2006/07/07 02:44:23 marcel Exp $");
 #endif
 #ifdef __RCSID
-__RCSID("$NetBSD: gpt.c,v 1.79 2019/06/21 02:14:59 jnemeth Exp $");
+__RCSID("$NetBSD: gpt.c,v 1.80 2019/06/25 03:50:18 jnemeth Exp $");
 #endif
 
 #include 
@@ -1076,6 +1076,33 @@ gpt_change_ent(gpt_t gpt, const struct g
 }
 
 int
+gpt_change_hdr(gpt_t gpt, const struct gpt_find *find,
+void (*cfn)(struct gpt_hdr *, void *, int), void *v)
+{
+	struct gpt_hdr *hdr;
+
+	if ((hdr = gpt_hdr(gpt)) == NULL)
+		return -1;
+
+	/* Change the primary header. */
+	(*cfn)(hdr, v, 0);
+
+	if (gpt_write_primary(gpt) == -1)
+		return -1;
+
+	hdr = gpt->tpg->map_data;
+	/* Change the secondary header. */
+	(*cfn)(hdr, v, 1);
+
+	if (gpt_write_backup(gpt) == -1)
+		return -1;
+
+	gpt_msg(gpt, "Header %s", find->msg);
+
+	return 0;
+}
+
+int
 gpt_add_ais(gpt_t gpt, off_t *alignment, u_int *entry, off_t *size, int ch)
 {
 	switch (ch) {



CVS commit: src/sbin/gpt

2019-06-24 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue Jun 25 03:42:46 UTC 2019

Modified Files:
src/sbin/gpt: gpt.h

Log Message:
gpt.c


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sbin/gpt/gpt.h

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



CVS commit: src/sbin/gpt

2019-06-24 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue Jun 25 03:42:46 UTC 2019

Modified Files:
src/sbin/gpt: gpt.h

Log Message:
gpt.c


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sbin/gpt/gpt.h

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

Modified files:

Index: src/sbin/gpt/gpt.h
diff -u src/sbin/gpt/gpt.h:1.39 src/sbin/gpt/gpt.h:1.40
--- src/sbin/gpt/gpt.h:1.39	Fri Jun 21 02:14:59 2019
+++ src/sbin/gpt/gpt.h	Tue Jun 25 03:42:45 2019
@@ -116,6 +116,8 @@ struct gpt_find {
 };
 int	gpt_change_ent(gpt_t, const struct gpt_find *,
 void (*)(struct gpt_ent *, void *, int), void *);
+int	gpt_change_hdr(gpt_t, const struct gpt_find *,
+void (*)(struct gpt_hdr *, void *, int), void *);
 int	gpt_add_find(gpt_t, struct gpt_find *, int);
 
 #define GPT_AIS "a:i:s:"



Re: Stateful commits, "revert previous"

2019-06-23 Thread John Nemeth
On Jun 23,  6:57am, m...@netbsd.org wrote:
}
} > Log Message:
} > Revert previous
} > 
} > There is fallout in gdb that will be investigated before relanding this.
} > 
} > 
} > To generate a diff of this commit:
} > cvs rdiff -u -r1.363 -r1.364 src/sys/kern/kern_sig.c
} 
} Looking at this file on GitHub's history it looks like:
} 
} Revert previous
} 2 days ago
} 
} Enhance reliability of ptrace(2) in a debuggee with multiple LWPs
} 2 days ago
} 
} Eliminate PS_NOTIFYSTOP remnants from the kernel 
} 2 days ago
} 
} It's hard to tell whether you reverted both, or just the last one.
} 
} It would be nice if, in general, we avoided stateful commit messages
} like this, and included a snippet of the original commit message.
} 
} e.g. Revert previous "Enhance reliability of ptrace(2) in a ..."

 "revert previous" generally means the immediately preceeding
commit.  If github can't easily show you what that is, then that
is its problem.

}-- End of excerpt from m...@netbsd.org


CVS commit: src/sbin/gpt

2019-06-20 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Fri Jun 21 02:14:59 UTC 2019

Modified Files:
src/sbin/gpt: gpt.c gpt.h label.c remove.c type.c

Log Message:
Add a third argument to the "cfn" function that is an argument to
gpt_change_ent().  The purpose of the third argument is to specify
whether the entry to be changed is a primary GPT entry or a secondary
GPT entry.  It is assumed that a secondary GPT entry will always
follow a corresponding primary entry.

This is in preparation for an upcoming change that will require it.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/sbin/gpt/gpt.c
cvs rdiff -u -r1.38 -r1.39 src/sbin/gpt/gpt.h
cvs rdiff -u -r1.29 -r1.30 src/sbin/gpt/label.c
cvs rdiff -u -r1.22 -r1.23 src/sbin/gpt/remove.c
cvs rdiff -u -r1.15 -r1.16 src/sbin/gpt/type.c

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

Modified files:

Index: src/sbin/gpt/gpt.c
diff -u src/sbin/gpt/gpt.c:1.78 src/sbin/gpt/gpt.c:1.79
--- src/sbin/gpt/gpt.c:1.78	Thu Jun 20 10:41:58 2019
+++ src/sbin/gpt/gpt.c	Fri Jun 21 02:14:59 2019
@@ -35,7 +35,7 @@
 __FBSDID("$FreeBSD: src/sbin/gpt/gpt.c,v 1.16 2006/07/07 02:44:23 marcel Exp $");
 #endif
 #ifdef __RCSID
-__RCSID("$NetBSD: gpt.c,v 1.78 2019/06/20 10:41:58 martin Exp $");
+__RCSID("$NetBSD: gpt.c,v 1.79 2019/06/21 02:14:59 jnemeth Exp $");
 #endif
 
 #include 
@@ -1015,7 +1015,7 @@ gpt_add_find(gpt_t gpt, struct gpt_find 
 
 int
 gpt_change_ent(gpt_t gpt, const struct gpt_find *find,
-void (*cfn)(struct gpt_ent *, void *), void *v)
+void (*cfn)(struct gpt_ent *, void *, int), void *v)
 {
 	map_t m;
 	struct gpt_hdr *hdr;
@@ -1058,14 +1058,14 @@ gpt_change_ent(gpt_t gpt, const struct g
 			continue;
 
 		/* Change the primary entry. */
-		(*cfn)(ent, v);
+		(*cfn)(ent, v, 0);
 
 		if (gpt_write_primary(gpt) == -1)
 			return -1;
 
 		ent = gpt_ent_backup(gpt, i);
 		/* Change the secondary entry. */
-		(*cfn)(ent, v);
+		(*cfn)(ent, v, 1);
 
 		if (gpt_write_backup(gpt) == -1)
 			return -1;

Index: src/sbin/gpt/gpt.h
diff -u src/sbin/gpt/gpt.h:1.38 src/sbin/gpt/gpt.h:1.39
--- src/sbin/gpt/gpt.h:1.38	Tue Jul  3 03:41:23 2018
+++ src/sbin/gpt/gpt.h	Fri Jun 21 02:14:59 2019
@@ -115,7 +115,7 @@ struct gpt_find {
 	const char *msg;
 };
 int	gpt_change_ent(gpt_t, const struct gpt_find *,
-void (*)(struct gpt_ent *, void *), void *);
+void (*)(struct gpt_ent *, void *, int), void *);
 int	gpt_add_find(gpt_t, struct gpt_find *, int);
 
 #define GPT_AIS "a:i:s:"

Index: src/sbin/gpt/label.c
diff -u src/sbin/gpt/label.c:1.29 src/sbin/gpt/label.c:1.30
--- src/sbin/gpt/label.c:1.29	Tue Jul  3 03:41:24 2018
+++ src/sbin/gpt/label.c	Fri Jun 21 02:14:59 2019
@@ -33,7 +33,7 @@
 __FBSDID("$FreeBSD: src/sbin/gpt/label.c,v 1.3 2006/10/04 18:20:25 marcel Exp $");
 #endif
 #ifdef __RCSID
-__RCSID("$NetBSD: label.c,v 1.29 2018/07/03 03:41:24 jnemeth Exp $");
+__RCSID("$NetBSD: label.c,v 1.30 2019/06/21 02:14:59 jnemeth Exp $");
 #endif
 
 #include 
@@ -68,7 +68,7 @@ struct gpt_cmd c_label = {
 #define usage() gpt_usage(NULL, _label)
 
 static void
-change(struct gpt_ent *ent, void *v)
+change(struct gpt_ent *ent, void *v, int backup)
 {
 	uint8_t *name = v;
 	utf8_to_utf16(name, ent->ent_name, __arraycount(ent->ent_name));

Index: src/sbin/gpt/remove.c
diff -u src/sbin/gpt/remove.c:1.22 src/sbin/gpt/remove.c:1.23
--- src/sbin/gpt/remove.c:1.22	Tue Jul  3 03:41:24 2018
+++ src/sbin/gpt/remove.c	Fri Jun 21 02:14:59 2019
@@ -33,7 +33,7 @@
 __FBSDID("$FreeBSD: src/sbin/gpt/remove.c,v 1.10 2006/10/04 18:20:25 marcel Exp $");
 #endif
 #ifdef __RCSID
-__RCSID("$NetBSD: remove.c,v 1.22 2018/07/03 03:41:24 jnemeth Exp $");
+__RCSID("$NetBSD: remove.c,v 1.23 2019/06/21 02:14:59 jnemeth Exp $");
 #endif
 
 #include 
@@ -66,7 +66,7 @@ struct gpt_cmd c_remove = {
 #define usage() gpt_usage(NULL, _remove)
 
 static void
-change(struct gpt_ent *ent, void *v)
+change(struct gpt_ent *ent, void *v, int backup)
 {
 	/* Remove the primary entry by clearing the partition type. */
 	gpt_uuid_copy(ent->ent_type, gpt_uuid_nil);

Index: src/sbin/gpt/type.c
diff -u src/sbin/gpt/type.c:1.15 src/sbin/gpt/type.c:1.16
--- src/sbin/gpt/type.c:1.15	Tue Jul  3 03:41:24 2018
+++ src/sbin/gpt/type.c	Fri Jun 21 02:14:59 2019
@@ -33,7 +33,7 @@
 __FBSDID("$FreeBSD: src/sbin/gpt/remove.c,v 1.10 2006/10/04 18:20:25 marcel Exp $");
 #endif
 #ifdef __RCSID
-__RCSID("$NetBSD: type.c,v 1.15 2018/07/03 03:41:24 jnemeth Exp $");
+__RCSID("$NetBSD: type.c,v 1.16 2019/06/21 02:14:59 jnemeth Exp $");
 #endif
 
 #include 
@@ -67,7 +67,7 @@ struct gpt_cmd c_type = {
 #define usage() gpt_usage(NULL, _type)
 
 static void
-change(struct gpt_ent *ent, void *v)
+change(struct gpt_ent *ent, void *v, int backup)
 {
 	gpt_uuid_t *newtype = v;
 	gpt_uuid_copy(ent->ent_type, *newtype);



CVS commit: src/sbin/gpt

2019-06-20 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Fri Jun 21 02:14:59 UTC 2019

Modified Files:
src/sbin/gpt: gpt.c gpt.h label.c remove.c type.c

Log Message:
Add a third argument to the "cfn" function that is an argument to
gpt_change_ent().  The purpose of the third argument is to specify
whether the entry to be changed is a primary GPT entry or a secondary
GPT entry.  It is assumed that a secondary GPT entry will always
follow a corresponding primary entry.

This is in preparation for an upcoming change that will require it.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/sbin/gpt/gpt.c
cvs rdiff -u -r1.38 -r1.39 src/sbin/gpt/gpt.h
cvs rdiff -u -r1.29 -r1.30 src/sbin/gpt/label.c
cvs rdiff -u -r1.22 -r1.23 src/sbin/gpt/remove.c
cvs rdiff -u -r1.15 -r1.16 src/sbin/gpt/type.c

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



CVS commit: src/sbin/gpt

2019-03-02 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sun Mar  3 03:20:43 UTC 2019

Modified Files:
src/sbin/gpt: show.c

Log Message:
Make it clear when displaying data from the MBR.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sbin/gpt/show.c

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

Modified files:

Index: src/sbin/gpt/show.c
diff -u src/sbin/gpt/show.c:1.41 src/sbin/gpt/show.c:1.42
--- src/sbin/gpt/show.c:1.41	Thu Sep  7 10:23:33 2017
+++ src/sbin/gpt/show.c	Sun Mar  3 03:20:42 2019
@@ -33,7 +33,7 @@
 __FBSDID("$FreeBSD: src/sbin/gpt/show.c,v 1.14 2006/06/22 22:22:32 marcel Exp $");
 #endif
 #ifdef __RCSID
-__RCSID("$NetBSD: show.c,v 1.41 2017/09/07 10:23:33 christos Exp $");
+__RCSID("$NetBSD: show.c,v 1.42 2019/03/03 03:20:42 jnemeth Exp $");
 #endif
 
 #include 
@@ -344,6 +344,9 @@ cmd_show(gpt_t gpt, int argc, char *argv
 	if (argc != optind)
 		return usage();
 
+	if (map_find(gpt, MAP_TYPE_PRI_GPT_HDR) == NULL)
+		printf("GPT not found, displaying data from MBR.\n\n");
+
 	if (xshow & SHOW_ALL)
 		return show_all(gpt);
 



CVS commit: src/sbin/gpt

2019-03-02 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sun Mar  3 03:20:43 UTC 2019

Modified Files:
src/sbin/gpt: show.c

Log Message:
Make it clear when displaying data from the MBR.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sbin/gpt/show.c

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



CVS commit: src/sbin/gpt

2019-03-02 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sun Mar  3 02:28:14 UTC 2019

Modified Files:
src/sbin/gpt: migrate.c

Log Message:
add some more FAT file system types


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sbin/gpt/migrate.c

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

Modified files:

Index: src/sbin/gpt/migrate.c
diff -u src/sbin/gpt/migrate.c:1.34 src/sbin/gpt/migrate.c:1.35
--- src/sbin/gpt/migrate.c:1.34	Sun Feb 10 10:35:51 2019
+++ src/sbin/gpt/migrate.c	Sun Mar  3 02:28:14 2019
@@ -33,7 +33,7 @@
 __FBSDID("$FreeBSD: src/sbin/gpt/migrate.c,v 1.16 2005/09/01 02:42:52 marcel Exp $");
 #endif
 #ifdef __RCSID
-__RCSID("$NetBSD: migrate.c,v 1.34 2019/02/10 10:35:51 martin Exp $");
+__RCSID("$NetBSD: migrate.c,v 1.35 2019/03/03 02:28:14 jnemeth Exp $");
 #endif
 
 #include 
@@ -289,13 +289,20 @@ migrate(gpt_t gpt, u_int parts, int forc
 			type = GPT_TYPE_EFI;
 			break;
 
-		case MBR_PTYPE_NTFS:
 		case MBR_PTYPE_FAT12:
 		case MBR_PTYPE_FAT16S:
 		case MBR_PTYPE_FAT16B:
+		case MBR_PTYPE_NTFS:
 		case MBR_PTYPE_FAT32:
 		case MBR_PTYPE_FAT32L:
 		case MBR_PTYPE_FAT16L:
+		case MBR_PTYPE_OS2_DOS12:
+		case MBR_PTYPE_OS2_DOS16S:
+		case MBR_PTYPE_OS2_DOS16B:
+		case MBR_PTYPE_OS2_IFS:
+		case MBR_PTYPE_HID_FAT32:
+		case MBR_PTYPE_HID_FAT32_LBA:
+		case MBR_PTYPE_HID_FAT16_LBA:
 			type = GPT_TYPE_MS_BASIC_DATA;
 			break;
 



CVS commit: src/sbin/gpt

2019-03-02 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sun Mar  3 02:28:14 UTC 2019

Modified Files:
src/sbin/gpt: migrate.c

Log Message:
add some more FAT file system types


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sbin/gpt/migrate.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

2018-12-31 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue Jan  1 01:52:40 UTC 2019

Modified Files:
src/sys/conf: copyright

Log Message:
Welcome to 2019!


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/conf/copyright

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/copyright
diff -u src/sys/conf/copyright:1.16 src/sys/conf/copyright:1.17
--- src/sys/conf/copyright:1.16	Mon Jan  1 01:26:06 2018
+++ src/sys/conf/copyright	Tue Jan  1 01:52:40 2019
@@ -1,5 +1,5 @@
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
-2018 The NetBSD Foundation, Inc.  All rights reserved.
+2018, 2019 The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California.  All rights reserved.



CVS commit: src/sys/conf

2018-12-31 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue Jan  1 01:52:40 UTC 2019

Modified Files:
src/sys/conf: copyright

Log Message:
Welcome to 2019!


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/conf/copyright

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



Re: CVS commit: src/usr.bin/telnet

2018-12-15 Thread John Nemeth
On Dec 15, 10:56pm, "Maya Rashish" wrote:
}
} Module Name:  src
} Committed By: maya
} Date: Sat Dec 15 22:56:51 UTC 2018
} 
} Removed Files:
}   src/usr.bin/telnet: README
} 
} Log Message:
} Remove README relevant to 1995 telnet.

 What changes have been made to render the README obsolete? Is
it not still basically the same code.  I don't recall any major
overhauls of the code.  Of course, it is possible that my recollection
is faulty.  However, if my recollection isn't faulty, then the
README is still totally relevant.

}-- End of excerpt from "Maya Rashish"


Re: CVS commit: src/sys/sys

2018-11-06 Thread John Nemeth
On Nov 6,  4:26pm, "Maya Rashish" wrote:
} 
} Module Name:  src
} Committed By: maya
} Date: Tue Nov  6 16:26:44 UTC 2018
} 
} Modified Files:
}   src/sys/sys: stdint.h types.h
} 
} Log Message:
} Guard from type redefinition (needed by pre-C11 C) in a safer way.

 Why was this committed with only one day of discussion?  When
you post something for discussion, allowing only one day is extremely
inappropriate!  It is appropriate to state when you intend to make
the commit which be an ABSOLUTE MINIMUM of one week.  Please revert
and allow for proper discussion.

}-- End of excerpt from "Maya Rashish"


Re: CVS commit: src/sys/sys

2018-11-06 Thread John Nemeth
On Nov 6,  4:26pm, "Maya Rashish" wrote:
} 
} Module Name:  src
} Committed By: maya
} Date: Tue Nov  6 16:26:44 UTC 2018
} 
} Modified Files:
}   src/sys/sys: stdint.h types.h
} 
} Log Message:
} Guard from type redefinition (needed by pre-C11 C) in a safer way.

 Why was this committed with only one day of discussion?  When
you post something for discussion, allowing only one day is extremely
inappropriate!  It is appropriate to state when you intend to make
the commit which be an ABSOLUTE MINIMUM of one week.  Please revert
and allow for proper discussion.

}-- End of excerpt from "Maya Rashish"


CVS commit: src/share/man/man4

2018-07-08 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sun Jul  8 20:29:08 UTC 2018

Modified Files:
src/share/man/man4: puc.4

Log Message:
mention Oxford Semiconductor OXPCIe954 4-port PCIe serial card


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/share/man/man4/puc.4

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

Modified files:

Index: src/share/man/man4/puc.4
diff -u src/share/man/man4/puc.4:1.40 src/share/man/man4/puc.4:1.41
--- src/share/man/man4/puc.4:1.40	Mon May  4 21:29:38 2015
+++ src/share/man/man4/puc.4	Sun Jul  8 20:29:08 2018
@@ -1,4 +1,4 @@
-.\" $NetBSD: puc.4,v 1.40 2015/05/04 21:29:38 wiz Exp $
+.\" $NetBSD: puc.4,v 1.41 2018/07/08 20:29:08 jnemeth Exp $
 .\"
 .\" Copyright (c) 1998 Christopher G. Demetriou
 .\" All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\" <>
 .\"
-.Dd May 4, 2015
+.Dd July 8, 2018
 .Dt PUC 4
 .Os
 .Sh NAME
@@ -130,6 +130,7 @@ The driver currently supports the follow
 .It Tn "Oxford Semiconductor OX16PCI954 (4 port serial)"
 .It Tn "Oxford Semiconductor OX16PCI958 (8 port serial)"
 .It Tn "Oxford Semiconductor OXPCIe952 (2 port serial, legacy mode)"
+.It Tn "Oxford Semiconductor OXPCIe954 (4 port serial)"
 .It Tn "Oxford Semiconductor OXmPCI952 (2 port serial)"
 .It Tn "Perle Systems PCI-RAS 4 modem ports"
 .It Tn "Perle Systems PCI-RAS 8 modem ports"



CVS commit: src/share/man/man4

2018-07-08 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sun Jul  8 20:29:08 UTC 2018

Modified Files:
src/share/man/man4: puc.4

Log Message:
mention Oxford Semiconductor OXPCIe954 4-port PCIe serial card


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/share/man/man4/puc.4

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



CVS commit: src/sbin/gpt

2018-07-02 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue Jul  3 03:41:24 UTC 2018

Modified Files:
src/sbin/gpt: add.c gpt.c gpt.h label.c migrate.c recover.c remove.c
resize.c restore.c type.c

Log Message:
Not all things that write to the disk do something that dk(4) will
be interested in.  Let individual commands decide if ioctl(DIOCMWEDGES)
should be done.  I was conservative and set the flag on any command
that might create/modify/delete partitions in any way.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sbin/gpt/add.c
cvs rdiff -u -r1.74 -r1.75 src/sbin/gpt/gpt.c
cvs rdiff -u -r1.37 -r1.38 src/sbin/gpt/gpt.h
cvs rdiff -u -r1.28 -r1.29 src/sbin/gpt/label.c
cvs rdiff -u -r1.32 -r1.33 src/sbin/gpt/migrate.c
cvs rdiff -u -r1.17 -r1.18 src/sbin/gpt/recover.c src/sbin/gpt/restore.c
cvs rdiff -u -r1.21 -r1.22 src/sbin/gpt/remove.c
cvs rdiff -u -r1.22 -r1.23 src/sbin/gpt/resize.c
cvs rdiff -u -r1.14 -r1.15 src/sbin/gpt/type.c

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

Modified files:

Index: src/sbin/gpt/add.c
diff -u src/sbin/gpt/add.c:1.43 src/sbin/gpt/add.c:1.44
--- src/sbin/gpt/add.c:1.43	Tue Dec 29 16:45:04 2015
+++ src/sbin/gpt/add.c	Tue Jul  3 03:41:23 2018
@@ -33,7 +33,7 @@
 __FBSDID("$FreeBSD: src/sbin/gpt/add.c,v 1.14 2006/06/22 22:05:28 marcel Exp $");
 #endif
 #ifdef __RCSID
-__RCSID("$NetBSD: add.c,v 1.43 2015/12/29 16:45:04 christos Exp $");
+__RCSID("$NetBSD: add.c,v 1.44 2018/07/03 03:41:23 jnemeth Exp $");
 #endif
 
 #include 
@@ -62,7 +62,7 @@ struct gpt_cmd c_add = {
 	"add",
 	cmd_add,
 	addhelp, __arraycount(addhelp),
-	0,
+	GPT_SYNC,
 };
 
 #define usage() gpt_usage(NULL, _add)

Index: src/sbin/gpt/gpt.c
diff -u src/sbin/gpt/gpt.c:1.74 src/sbin/gpt/gpt.c:1.75
--- src/sbin/gpt/gpt.c:1.74	Tue Feb 13 00:34:11 2018
+++ src/sbin/gpt/gpt.c	Tue Jul  3 03:41:23 2018
@@ -35,7 +35,7 @@
 __FBSDID("$FreeBSD: src/sbin/gpt/gpt.c,v 1.16 2006/07/07 02:44:23 marcel Exp $");
 #endif
 #ifdef __RCSID
-__RCSID("$NetBSD: gpt.c,v 1.74 2018/02/13 00:34:11 sevan Exp $");
+__RCSID("$NetBSD: gpt.c,v 1.75 2018/07/03 03:41:23 jnemeth Exp $");
 #endif
 
 #include 
@@ -587,7 +587,7 @@ void
 gpt_close(gpt_t gpt)
 {
 
-	if (!(gpt->flags & GPT_MODIFIED))
+	if (!(gpt->flags & GPT_MODIFIED) || !(gpt->flags & GPT_SYNC))
 		goto out;
 
 	if (!(gpt->flags & GPT_NOSYNC)) {

Index: src/sbin/gpt/gpt.h
diff -u src/sbin/gpt/gpt.h:1.37 src/sbin/gpt/gpt.h:1.38
--- src/sbin/gpt/gpt.h:1.37	Mon Mar 19 09:06:20 2018
+++ src/sbin/gpt/gpt.h	Tue Jul  3 03:41:23 2018
@@ -81,6 +81,7 @@ gpt_t	gpt_open(const char *, int, int, o
 #define GPT_NOSYNC	0x08
 #define GPT_FILE	0x10
 #define GPT_TIMESTAMP	0x20
+#define GPT_SYNC	0x40
 #define GPT_OPTDEV  0x8000
 
 void*	gpt_read(gpt_t, off_t, size_t);

Index: src/sbin/gpt/label.c
diff -u src/sbin/gpt/label.c:1.28 src/sbin/gpt/label.c:1.29
--- src/sbin/gpt/label.c:1.28	Fri Dec  4 01:47:48 2015
+++ src/sbin/gpt/label.c	Tue Jul  3 03:41:24 2018
@@ -33,7 +33,7 @@
 __FBSDID("$FreeBSD: src/sbin/gpt/label.c,v 1.3 2006/10/04 18:20:25 marcel Exp $");
 #endif
 #ifdef __RCSID
-__RCSID("$NetBSD: label.c,v 1.28 2015/12/04 01:47:48 christos Exp $");
+__RCSID("$NetBSD: label.c,v 1.29 2018/07/03 03:41:24 jnemeth Exp $");
 #endif
 
 #include 
@@ -62,7 +62,7 @@ struct gpt_cmd c_label = {
 	"label",
 	cmd_label,
 	labelhelp, __arraycount(labelhelp),
-	0,
+	GPT_SYNC,
 };
 
 #define usage() gpt_usage(NULL, _label)

Index: src/sbin/gpt/migrate.c
diff -u src/sbin/gpt/migrate.c:1.32 src/sbin/gpt/migrate.c:1.33
--- src/sbin/gpt/migrate.c:1.32	Thu Jun  9 19:04:43 2016
+++ src/sbin/gpt/migrate.c	Tue Jul  3 03:41:24 2018
@@ -33,7 +33,7 @@
 __FBSDID("$FreeBSD: src/sbin/gpt/migrate.c,v 1.16 2005/09/01 02:42:52 marcel Exp $");
 #endif
 #ifdef __RCSID
-__RCSID("$NetBSD: migrate.c,v 1.32 2016/06/09 19:04:43 christos Exp $");
+__RCSID("$NetBSD: migrate.c,v 1.33 2018/07/03 03:41:24 jnemeth Exp $");
 #endif
 
 #include 
@@ -88,7 +88,7 @@ struct gpt_cmd c_migrate = {
 	"migrate",
 	cmd_migrate,
 	migratehelp, __arraycount(migratehelp),
-	0,
+	GPT_SYNC,
 };
 
 #define usage() gpt_usage(NULL, _migrate)

Index: src/sbin/gpt/recover.c
diff -u src/sbin/gpt/recover.c:1.17 src/sbin/gpt/recover.c:1.18
--- src/sbin/gpt/recover.c:1.17	Wed Mar 22 19:59:16 2017
+++ src/sbin/gpt/recover.c	Tue Jul  3 03:41:24 2018
@@ -33,7 +33,7 @@
 __FBSDID("$FreeBSD: src/sbin/gpt/recover.c,v 1.8 2005/08/31 01:47:19 marcel Exp $");
 #endif
 #ifdef __RCSID
-__RCSID("$NetBSD: recover.c,v 1.17 2017/03/22 19:59:16 martin Exp $");
+__RCSID("$NetBSD: recover.c,v 1.18 2018/07/03 03:41:24 jnemeth Exp $");
 #endif
 
 #include 
@@ -59,7 +59,7 @@ struct gpt_cmd c_recover = {
 	"recover",
 	cmd_recover,
 	recoverhelp, __arraycount(recoverhelp),
-	0,
+	GPT_SYNC,
 };
 
 #define usage() gpt_usage(NULL, _recover)
Index: src/sbin/gpt/restore.c
diff -u src/sbin/gpt/restore.c:1.17 src/sbin/gpt/restore.c:1.18
--- src/sbin/gpt/restore.c:1.17	Thu Sep  7 10:23:33 

CVS commit: src/sbin/gpt

2018-07-02 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue Jul  3 03:41:24 UTC 2018

Modified Files:
src/sbin/gpt: add.c gpt.c gpt.h label.c migrate.c recover.c remove.c
resize.c restore.c type.c

Log Message:
Not all things that write to the disk do something that dk(4) will
be interested in.  Let individual commands decide if ioctl(DIOCMWEDGES)
should be done.  I was conservative and set the flag on any command
that might create/modify/delete partitions in any way.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sbin/gpt/add.c
cvs rdiff -u -r1.74 -r1.75 src/sbin/gpt/gpt.c
cvs rdiff -u -r1.37 -r1.38 src/sbin/gpt/gpt.h
cvs rdiff -u -r1.28 -r1.29 src/sbin/gpt/label.c
cvs rdiff -u -r1.32 -r1.33 src/sbin/gpt/migrate.c
cvs rdiff -u -r1.17 -r1.18 src/sbin/gpt/recover.c src/sbin/gpt/restore.c
cvs rdiff -u -r1.21 -r1.22 src/sbin/gpt/remove.c
cvs rdiff -u -r1.22 -r1.23 src/sbin/gpt/resize.c
cvs rdiff -u -r1.14 -r1.15 src/sbin/gpt/type.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/calendar/calendars

2018-06-01 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sat Jun  2 05:55:47 UTC 2018

Modified Files:
src/usr.bin/calendar/calendars: calendar.christian calendar.holiday
calendar.judaic calendar.netbsd calendar.usholiday

Log Message:
Update calendar files for the upcoming NetBSD 8.0 release.  I'm
assuming that it will be released by August 1, which is two months
from now.  Thus I used 2018 dates for all holidays between Aug.
1st and Dec. 31st, and 2019 dates for all holidays between Jan.
1st and Jul. 31st.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/calendar/calendars/calendar.christian \
src/usr.bin/calendar/calendars/calendar.judaic
cvs rdiff -u -r1.28 -r1.29 src/usr.bin/calendar/calendars/calendar.holiday
cvs rdiff -u -r1.38 -r1.39 src/usr.bin/calendar/calendars/calendar.netbsd
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/calendar/calendars/calendar.usholiday

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



CVS commit: src/usr.bin/calendar/calendars

2018-06-01 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sat Jun  2 05:55:47 UTC 2018

Modified Files:
src/usr.bin/calendar/calendars: calendar.christian calendar.holiday
calendar.judaic calendar.netbsd calendar.usholiday

Log Message:
Update calendar files for the upcoming NetBSD 8.0 release.  I'm
assuming that it will be released by August 1, which is two months
from now.  Thus I used 2018 dates for all holidays between Aug.
1st and Dec. 31st, and 2019 dates for all holidays between Jan.
1st and Jul. 31st.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/calendar/calendars/calendar.christian \
src/usr.bin/calendar/calendars/calendar.judaic
cvs rdiff -u -r1.28 -r1.29 src/usr.bin/calendar/calendars/calendar.holiday
cvs rdiff -u -r1.38 -r1.39 src/usr.bin/calendar/calendars/calendar.netbsd
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/calendar/calendars/calendar.usholiday

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/calendar/calendars/calendar.christian
diff -u src/usr.bin/calendar/calendars/calendar.christian:1.6 src/usr.bin/calendar/calendars/calendar.christian:1.7
--- src/usr.bin/calendar/calendars/calendar.christian:1.6	Tue Dec  6 04:54:00 2016
+++ src/usr.bin/calendar/calendars/calendar.christian	Sat Jun  2 05:55:47 2018
@@ -1,17 +1,17 @@
 01/06*	Epiphany
-02/28*	Shrove Tuesday / Mardi Gras (day before Ash Wednesday)
-03/01*	Ash Wednesday (First day of Lent)
-04/09*	Palm Sunday (7 days before Easter)
-04/13*	Maundy Thursday (3 days before Easter)
-04/14*	Good Friday (2 days before Easter)
-04/16*	Easter Sunday
-05/21*	Rogation Sunday
-05/25*	Ascension Day (10 days before Pentecost)
-06/04*	Pentecost (Whitsunday)
-06/05*	Whitmonday
-06/11*	Trinity Sunday (7 days after Pentecost)
-06/15*	Corpus Christi (11 days after Pentecost)
+03/05*	Shrove Tuesday / Mardi Gras (day before Ash Wednesday)
+03/06*	Ash Wednesday (First day of Lent)
+04/14*	Palm Sunday (7 days before Easter)
+04/17*	Maundy Thursday (3 days before Easter)
+04/18*	Good Friday (2 days before Easter)
+04/20*	Easter Sunday
+05/26*	Rogation Sunday
+05/30*	Ascension Day (10 days before Pentecost)
+06/09*	Pentecost (Whitsunday)
+06/10*	Whitmonday
+06/16*	Trinity Sunday (7 days after Pentecost)
+06/20*	Corpus Christi (11 days after Pentecost)
 10/18	Feast Day of St. Luke
-12/03*	First Sunday of Advent (4th Sunday before Christmas)
+12/02*	First Sunday of Advent (4th Sunday before Christmas)
 12/06	St. Nicholas' Day
 12/25	Feast of the Nativity (Christmas)
Index: src/usr.bin/calendar/calendars/calendar.judaic
diff -u src/usr.bin/calendar/calendars/calendar.judaic:1.6 src/usr.bin/calendar/calendars/calendar.judaic:1.7
--- src/usr.bin/calendar/calendars/calendar.judaic:1.6	Tue Dec  6 04:54:00 2016
+++ src/usr.bin/calendar/calendars/calendar.judaic	Sat Jun  2 05:55:47 2018
@@ -1,27 +1,27 @@
-02/11*  Tu B'Shvat (Feast of Trees)
-03/10*	Fast of Esther (Battle of Purim; 1 day before Purim; fast day)
-03/11*	Purim (Feast of Lots; 30 days before Pesach)
-04/10*	Pesach (First Day of Passover; sabbatical)
-04/11*	Pesach (sabbatical)
-04/12*	Pesach (sabbatical)
-04/13*	Pesach (Last Day of Passover; 8th day of Pesach; sabbatical)
-05/02*	Yom HaAtzma'ut (Israel Independence Day)
-05/13*	Lag B'Omer (Commemoration of the Great Rebellion)
-05/24*	Yom Yerushalayim (Reunification of Jerusalem)
-05/30*	Shavuot (Festival of Weeks; 50 days after Pesach; sabbatical)
-07/11*	Fast of Shiv'a Asar B'Tammuz (Tzom Tammuz) (Romans breach Wall of Jerusalem;
+01/21*  Tu B'Shvat (Feast of Trees)
+03/19*	Fast of Esther (Battle of Purim; 1 day before Purim; fast day)
+03/20*	Purim (Feast of Lots; 30 days before Pesach)
+04/19*	Pesach (First Day of Passover; sabbatical)
+04/20*	Pesach (sabbatical)
+04/21*	Pesach (sabbatical)
+04/26*	Pesach (Last Day of Passover; 8th day of Pesach; sabbatical)
+05/09*	Yom HaAtzma'ut (Israel Independence Day)
+05/23*	Lag B'Omer (Commemoration of the Great Rebellion)
+06/01*	Yom Yerushalayim (Reunification of Jerusalem)
+06/08*	Shavuot (Festival of Weeks; 50 days after Pesach; sabbatical)
+07/20*	Fast of Shiv'a Asar B'Tammuz (Tzom Tammuz) (Romans breach Wall of Jerusalem;
 	fast day)
-08/01*	Fast of Tish'a B'Av (Babylon/Rome destroys Holy Temple; fast day)
-09/21*	First Day of Rosh Hashanah (Jewish Lunar New Year; 5778 == 2017;
+07/21*	Fast of Tish'a B'Av (Babylon/Rome destroys Holy Temple; fast day)
+09/09*	First Day of Rosh Hashanah (Jewish Lunar New Year; 5778 == 2017;
 	sabbatical)
-09/21*	Rosh Hashanah (sabbatical)
-09/22*	Fast of Gedalya (Murder of Gedalya and subsequent Exile; 1 day
+09/09*	Rosh Hashanah (sabbatical)
+09/10*	Fast of Gedalya (Murder of Gedalya and subsequent Exile; 1 day
 	after Rosh Hashanah; fast day)
-09/30*	Yom Kippur (Day of Atonement; 9 days after Rosh Hashanah;
+09/18*	Yom Kippur (Day of Atonement; 9 days after Rosh Hashanah;
 	sabbatical, fast day)
-10/05*	Succos (Festival of 

CVS commit: src/sys/dev/pci

2018-05-20 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Mon May 21 03:56:21 UTC 2018

Modified Files:
src/sys/dev/pci: pucdata.c

Log Message:
add Oxford Semiconductor OXPCIe954 PCIe 4-port serial card


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/dev/pci/pucdata.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/pci/pucdata.c
diff -u src/sys/dev/pci/pucdata.c:1.101 src/sys/dev/pci/pucdata.c:1.102
--- src/sys/dev/pci/pucdata.c:1.101	Fri Apr 13 07:57:04 2018
+++ src/sys/dev/pci/pucdata.c	Mon May 21 03:56:21 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: pucdata.c,v 1.101 2018/04/13 07:57:04 msaitoh Exp $	*/
+/*	$NetBSD: pucdata.c,v 1.102 2018/05/21 03:56:21 jnemeth Exp $	*/
 
 /*
  * Copyright (c) 1998, 1999 Christopher G. Demetriou.  All rights reserved.
@@ -36,7 +36,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.101 2018/04/13 07:57:04 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.102 2018/05/21 03:56:21 jnemeth Exp $");
 
 #include 
 #include 
@@ -1108,6 +1108,19 @@ const struct puc_device_description puc_
 	},
 	},
 
+	/* Oxford Semiconductor OXPCIe954 PCIe UARTs */
+	{   "Oxford Semiconductor OXPCIe954 UART",
+	{	PCI_VENDOR_OXFORDSEMI, PCI_PRODUCT_OXFORDSEMI_OXPCIE954,
+		0, 0 },
+	{	0x,	0x,	0,	0	},
+	{
+		{ PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, COM_FREQ * 0x22 },
+		{ PUC_PORT_TYPE_COM, PCI_BAR0, 0x1200, COM_FREQ * 0x22 },
+		{ PUC_PORT_TYPE_COM, PCI_BAR0, 0x1400, COM_FREQ * 0x22 },
+		{ PUC_PORT_TYPE_COM, PCI_BAR0, 0x1600, COM_FREQ * 0x22 },
+	},
+	},
+
 	/* Oxford Semiconductor OXmPCI952 PCI UARTs */
 	{   "Oxford Semiconductor OXmPCI952 UARTs",
 	{	PCI_VENDOR_OXFORDSEMI,	PCI_PRODUCT_OXFORDSEMI_EXSYS_EX41092,



CVS commit: src/sys/dev/pci

2018-05-20 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Mon May 21 03:56:21 UTC 2018

Modified Files:
src/sys/dev/pci: pucdata.c

Log Message:
add Oxford Semiconductor OXPCIe954 PCIe 4-port serial card


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/dev/pci/pucdata.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/pci

2018-05-20 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Mon May 21 03:54:06 UTC 2018

Modified Files:
src/sys/dev/pci: pcidevs.h pcidevs_data.h

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.1324 -r1.1325 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1323 -r1.1324 src/sys/dev/pci/pcidevs_data.h

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



CVS commit: src/sys/dev/pci

2018-05-20 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Mon May 21 03:45:50 UTC 2018

Modified Files:
src/sys/dev/pci: pcidevs

Log Message:
add Oxford Semiconductor OXPCIe954 PCIe 4-port serial card


To generate a diff of this commit:
cvs rdiff -u -r1.1333 -r1.1334 src/sys/dev/pci/pcidevs

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/pci/pcidevs
diff -u src/sys/dev/pci/pcidevs:1.1333 src/sys/dev/pci/pcidevs:1.1334
--- src/sys/dev/pci/pcidevs:1.1333	Thu May  3 04:21:10 2018
+++ src/sys/dev/pci/pcidevs	Mon May 21 03:45:50 2018
@@ -1,4 +1,4 @@
-$NetBSD: pcidevs,v 1.1333 2018/05/03 04:21:10 maya Exp $
+$NetBSD: pcidevs,v 1.1334 2018/05/21 03:45:50 jnemeth Exp $
 
 /*
  * Copyright (c) 1995, 1996 Christopher G. Demetriou
@@ -6280,6 +6280,7 @@ product OXFORDSEMI OXPCIE952_3	0xc140	OX
 product OXFORDSEMI OXPCIE952_4	0xc141	OXPCIe952
 product OXFORDSEMI OXPCIE952_5	0xc144	OXPCIe952
 product OXFORDSEMI OXPCIE952_6	0xc145	OXPCIe952
+product OXFORDSEMI OXPCIE954	0xc208	OXPCIe954
 
 /* Packet Engines products */
 product PACKETENGINES GNICII	0x0911	G-NIC II Ethernet



CVS commit: src/sys/dev/pci

2018-05-20 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Mon May 21 03:45:50 UTC 2018

Modified Files:
src/sys/dev/pci: pcidevs

Log Message:
add Oxford Semiconductor OXPCIe954 PCIe 4-port serial card


To generate a diff of this commit:
cvs rdiff -u -r1.1333 -r1.1334 src/sys/dev/pci/pcidevs

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



CVS commit: src/doc

2018-05-03 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Thu May  3 20:15:49 UTC 2018

Modified Files:
src/doc: 3RDPARTY

Log Message:
time marches on for lvm2tools


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

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

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1518 src/doc/3RDPARTY:1.1519
--- src/doc/3RDPARTY:1.1518	Wed May  2 22:11:49 2018
+++ src/doc/3RDPARTY	Thu May  3 20:15:49 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1518 2018/05/02 22:11:49 roy Exp $
+#	$NetBSD: 3RDPARTY,v 1.1519 2018/05/03 20:15:49 jnemeth Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -763,7 +763,7 @@ All changes should come via import from 
 
 Package:	lvm2tools
 Version:	2.02.56
-Current Vers:	2.02.114
+Current Vers:	2.02.177
 Maintainer:	lvm-de...@redhat.com
 Archive Site:	ftp://sources.redhat.com/pub/lvm2/
 Home Page:	http://sources.redhat.com/lvm2/



CVS commit: src/doc

2018-05-03 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Thu May  3 20:15:49 UTC 2018

Modified Files:
src/doc: 3RDPARTY

Log Message:
time marches on for lvm2tools


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

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



CVS commit: src/sys/dev/pci

2018-01-01 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Mon Jan  1 08:33:28 UTC 2018

Modified Files:
src/sys/dev/pci: if_wm.c

Log Message:
PR/52885 - Shinichi Doyashiki -- typo in comment


To generate a diff of this commit:
cvs rdiff -u -r1.550 -r1.551 src/sys/dev/pci/if_wm.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/pci/if_wm.c
diff -u src/sys/dev/pci/if_wm.c:1.550 src/sys/dev/pci/if_wm.c:1.551
--- src/sys/dev/pci/if_wm.c:1.550	Thu Dec 28 06:13:50 2017
+++ src/sys/dev/pci/if_wm.c	Mon Jan  1 08:33:28 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_wm.c,v 1.550 2017/12/28 06:13:50 msaitoh Exp $	*/
+/*	$NetBSD: if_wm.c,v 1.551 2018/01/01 08:33:28 jnemeth Exp $	*/
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -83,7 +83,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.550 2017/12/28 06:13:50 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.551 2018/01/01 08:33:28 jnemeth Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -7870,7 +7870,7 @@ wm_nq_send_common_locked(struct ifnet *i
 		lasttx = nexttx;
 		nexttx = WM_NEXTTX(txq, nexttx);
 		/*
-		 * fill in the next descriptors. legacy or adcanced format
+		 * fill in the next descriptors. legacy or advanced format
 		 * is the same here
 		 */
 		for (seg = 1; seg < dmamap->dm_nsegs;



CVS commit: src/sys/dev/pci

2018-01-01 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Mon Jan  1 08:33:28 UTC 2018

Modified Files:
src/sys/dev/pci: if_wm.c

Log Message:
PR/52885 - Shinichi Doyashiki -- typo in comment


To generate a diff of this commit:
cvs rdiff -u -r1.550 -r1.551 src/sys/dev/pci/if_wm.c

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



Re: CVS commit: src/games/fortune/datfiles

2017-11-19 Thread John Nemeth
On Nov 18,  8:48pm, "Maya Rashish" wrote:
} 
} Module Name:  src
} Committed By: maya
} Date: Sat Nov 18 20:48:50 UTC 2017
} 
} Modified Files:
}   src/games/fortune/datfiles: fortunes fortunes2 fortunes2-o.real
} 
} Log Message:
} Remove a few offensive quotes, put in as many new quotes.
} 
} PR bin/52735

 Why did you do this while the issue is still being discussed.
That is completely inappropriate.  Please revert.

} To generate a diff of this commit:
} cvs rdiff -u -r1.65 -r1.66 src/games/fortune/datfiles/fortunes
} cvs rdiff -u -r1.59 -r1.60 src/games/fortune/datfiles/fortunes2
} cvs rdiff -u -r1.15 -r1.16 src/games/fortune/datfiles/fortunes2-o.real
} 
}-- End of excerpt from "Maya Rashish"


Re: CVS commit: src/games/fortune/datfiles

2017-11-18 Thread John Nemeth
On Nov 18,  8:48pm, "Maya Rashish" wrote:
} 
} Module Name:  src
} Committed By: maya
} Date: Sat Nov 18 20:48:50 UTC 2017
} 
} Modified Files:
}   src/games/fortune/datfiles: fortunes fortunes2 fortunes2-o.real
} 
} Log Message:
} Remove a few offensive quotes, put in as many new quotes.
} 
} PR bin/52735

 Why did you do this while the issue is still being discussed.
That is completely inappropriate.  Please revert.

} To generate a diff of this commit:
} cvs rdiff -u -r1.65 -r1.66 src/games/fortune/datfiles/fortunes
} cvs rdiff -u -r1.59 -r1.60 src/games/fortune/datfiles/fortunes2
} cvs rdiff -u -r1.15 -r1.16 src/games/fortune/datfiles/fortunes2-o.real
} 
}-- End of excerpt from "Maya Rashish"


CVS commit: src/games/fortune/datfiles

2017-11-18 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sat Nov 18 19:51:46 UTC 2017

Modified Files:
src/games/fortune/datfiles: fortunes

Log Message:
add quote about libraries offending everyone


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/games/fortune/datfiles/fortunes

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

Modified files:

Index: src/games/fortune/datfiles/fortunes
diff -u src/games/fortune/datfiles/fortunes:1.64 src/games/fortune/datfiles/fortunes:1.65
--- src/games/fortune/datfiles/fortunes:1.64	Tue Jun 13 17:18:00 2017
+++ src/games/fortune/datfiles/fortunes	Sat Nov 18 19:51:46 2017
@@ -16207,3 +16207,6 @@ to do things in a sub-optimal manner.
 Q. What do you do if you find an abomination rooted in and need a
 druid in a hurry?
 A. Call the copse.
+%
+A truly great library contains something in it to offend everyone.
+-- Jo Godwin



CVS commit: src/games/fortune/datfiles

2017-11-18 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sat Nov 18 19:51:46 UTC 2017

Modified Files:
src/games/fortune/datfiles: fortunes

Log Message:
add quote about libraries offending everyone


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/games/fortune/datfiles/fortunes

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



CVS commit: src/bin/chio

2017-10-16 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Mon Oct 16 17:08:35 UTC 2017

Modified Files:
src/bin/chio: chio.c

Log Message:
typo: unvalid -> invalid


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/bin/chio/chio.c

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

Modified files:

Index: src/bin/chio/chio.c
diff -u src/bin/chio/chio.c:1.32 src/bin/chio/chio.c:1.33
--- src/bin/chio/chio.c:1.32	Tue Aug 23 21:07:40 2016
+++ src/bin/chio/chio.c	Mon Oct 16 17:08:35 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: chio.c,v 1.32 2016/08/23 21:07:40 sevan Exp $ */
+/* $NetBSD: chio.c,v 1.33 2017/10/16 17:08:35 jnemeth Exp $ */
 
 /*-
  * Copyright (c) 1996, 1998, 1999 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
 __COPYRIGHT(
 "@(#) Copyright (c) 1996, 1998, 1999\
  The NetBSD Foundation, Inc.  All rights reserved.");
-__RCSID("$NetBSD: chio.c,v 1.32 2016/08/23 21:07:40 sevan Exp $");
+__RCSID("$NetBSD: chio.c,v 1.33 2017/10/16 17:08:35 jnemeth Exp $");
 #endif
 
 #include 
@@ -620,7 +620,7 @@ do_status(const char *cname, int argc, c
 		}
 
 		if ((unit + ucount) > count)
-			errx(EXIT_FAILURE, "%s: unvalid unit/count %d/%d",
+			errx(EXIT_FAILURE, "%s: invalid unit/count %d/%d",
 			cname, unit, ucount);
 			/* NOTREACHED */
 



CVS commit: src/bin/chio

2017-10-16 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Mon Oct 16 17:08:35 UTC 2017

Modified Files:
src/bin/chio: chio.c

Log Message:
typo: unvalid -> invalid


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/bin/chio/chio.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/calendar/calendars

2017-07-02 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sun Jul  2 08:25:52 UTC 2017

Modified Files:
src/usr.bin/calendar/calendars: calendar.holiday

Log Message:
Only 35 years late.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.bin/calendar/calendars/calendar.holiday

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/calendar/calendars/calendar.holiday
diff -u src/usr.bin/calendar/calendars/calendar.holiday:1.27 src/usr.bin/calendar/calendars/calendar.holiday:1.28
--- src/usr.bin/calendar/calendars/calendar.holiday:1.27	Tue Dec  6 04:54:00 2016
+++ src/usr.bin/calendar/calendars/calendar.holiday	Sun Jul  2 08:25:52 2017
@@ -217,7 +217,7 @@
 06/29	Independence Day in Seychelles
 06/29	Last Day of Ramadan* in Algeria, Oman
 06/30	Day of the Army in Guatemala
-07/01	Dominion Day in Canada
+07/01	Canada Day in Canada
 07/01	Freedom Day in Suriname
 07/01	Independence Day in Burundi
 07/01	National Day in Rwanda



CVS commit: src/usr.bin/calendar/calendars

2017-07-02 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sun Jul  2 08:25:52 UTC 2017

Modified Files:
src/usr.bin/calendar/calendars: calendar.holiday

Log Message:
Only 35 years late.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.bin/calendar/calendars/calendar.holiday

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



CVS commit: src/share/man/man4

2017-05-30 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue May 30 20:32:08 UTC 2017

Modified Files:
src/share/man/man4: uftdi.4

Log Message:
mention RTSYS CT57A radio cable


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/share/man/man4/uftdi.4

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

Modified files:

Index: src/share/man/man4/uftdi.4
diff -u src/share/man/man4/uftdi.4:1.18 src/share/man/man4/uftdi.4:1.19
--- src/share/man/man4/uftdi.4:1.18	Sun Jan 20 14:03:28 2013
+++ src/share/man/man4/uftdi.4	Tue May 30 20:32:08 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: uftdi.4,v 1.18 2013/01/20 14:03:28 pgoyette Exp $
+.\" $NetBSD: uftdi.4,v 1.19 2017/05/30 20:32:08 jnemeth Exp $
 .\"
 .\" Copyright (c) 2000 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd October 18, 2012
+.Dd May 30, 2017
 .Dt UFTDI 4
 .Os
 .Sh NAME
@@ -84,6 +84,7 @@ driver supports the following adapters:
 .It Tn QVS USC-1000
 .It Tn RATOC Systems REX-USB60F
 .It Tn Robot Electronics USB to I2C Communications Module
+.It Tn RT Systems Inc. CT57A Radio Cable
 .It Tn Sealevel Systems USB-Serial adapter
 .It Tn SIIG US2308 Serial
 .It Tn Telldus Tellstick and Tellstick Duo



CVS commit: src/share/man/man4

2017-05-30 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue May 30 20:32:08 UTC 2017

Modified Files:
src/share/man/man4: uftdi.4

Log Message:
mention RTSYS CT57A radio cable


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/share/man/man4/uftdi.4

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

2017-05-30 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue May 30 20:26:26 UTC 2017

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

Log Message:
add RTSYS CT57A to list of FTDI based USB serial devices


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/dev/usb/uftdi.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/uftdi.c
diff -u src/sys/dev/usb/uftdi.c:1.64 src/sys/dev/usb/uftdi.c:1.65
--- src/sys/dev/usb/uftdi.c:1.64	Thu Dec 15 17:21:21 2016
+++ src/sys/dev/usb/uftdi.c	Tue May 30 20:26:26 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: uftdi.c,v 1.64 2016/12/15 17:21:21 maya Exp $	*/
+/*	$NetBSD: uftdi.c,v 1.65 2017/05/30 20:26:26 jnemeth Exp $	*/
 
 /*
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: uftdi.c,v 1.64 2016/12/15 17:21:21 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uftdi.c,v 1.65 2017/05/30 20:26:26 jnemeth Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -165,6 +165,7 @@ static const struct usb_devno uftdi_devs
 	{ USB_VENDOR_INTREPIDCS, USB_PRODUCT_INTREPIDCS_NEOVI },
 	{ USB_VENDOR_MELCO, USB_PRODUCT_MELCO_PCOPRS1 },
 	{ USB_VENDOR_RATOC, USB_PRODUCT_RATOC_REXUSB60F },
+	{ USB_VENDOR_RTSYS, USB_PRODUCT_RTSYS_CT57A },
 	{ USB_VENDOR_SEALEVEL, USB_PRODUCT_SEALEVEL_USBSERIAL },
 	{ USB_VENDOR_SEALEVEL, USB_PRODUCT_SEALEVEL_SEAPORT4P1 },
 	{ USB_VENDOR_SEALEVEL, USB_PRODUCT_SEALEVEL_SEAPORT4P2 },



CVS commit: src/sys/dev/usb

2017-05-30 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue May 30 20:26:26 UTC 2017

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

Log Message:
add RTSYS CT57A to list of FTDI based USB serial devices


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/dev/usb/uftdi.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

2017-05-30 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue May 30 20:16:08 UTC 2017

Modified Files:
src/sys/dev/usb: usbdevs.h usbdevs_data.h

Log Message:
regen for RTSYS CT57A


To generate a diff of this commit:
cvs rdiff -u -r1.726 -r1.727 src/sys/dev/usb/usbdevs.h
cvs rdiff -u -r1.727 -r1.728 src/sys/dev/usb/usbdevs_data.h

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

2017-05-30 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue May 30 20:13:35 UTC 2017

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
add RT Systems Inc. CT57A Radio Cable for programming Yaesu FT-60 radios
(and possibly others)


To generate a diff of this commit:
cvs rdiff -u -r1.735 -r1.736 src/sys/dev/usb/usbdevs

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/usbdevs
diff -u src/sys/dev/usb/usbdevs:1.735 src/sys/dev/usb/usbdevs:1.736
--- src/sys/dev/usb/usbdevs:1.735	Tue May 23 00:29:20 2017
+++ src/sys/dev/usb/usbdevs	Tue May 30 20:13:35 2017
@@ -1,4 +1,4 @@
-$NetBSD: usbdevs,v 1.735 2017/05/23 00:29:20 khorben Exp $
+$NetBSD: usbdevs,v 1.736 2017/05/30 20:13:35 jnemeth Exp $
 
 /*
  * Copyright (c) 1998-2004 The NetBSD Foundation, Inc.
@@ -554,6 +554,7 @@ vendor ENCORE		0x203d	Encore
 vendor HAUPPAUGE2	0x2040	Hauppauge Computer Works
 vendor PARA		0x20b8	PARA Industrial
 vendor TRENDNET		0x20f4	TRENDnet
+vendor RTSYS		0x2100	RT Systems
 vendor DLINK3		0x2101  D-Link
 vendor VIALABS		0x2109	VIA Labs
 vendor ERICSSON		0x2282	Ericsson
@@ -2824,6 +2825,9 @@ product ROLAND UA4FX 		0x00A3	EDIROL UA-
 product ROLAND SONICCELL	0x00C2	SonicCell
 product ROLAND UMONE		0x012a	UM-ONE MIDI I/F
 
+/* RT Systems products */
+product RTSYS CT57A		0x9e51	CT57A Radio Cable
+
 /* Sagem products */
 product SAGEM XG760A		0x004a	XG-760A
 product SAGEM XG76NA		0x0062	XG-76NA



CVS commit: src/sys/dev/usb

2017-05-30 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue May 30 20:13:35 UTC 2017

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
add RT Systems Inc. CT57A Radio Cable for programming Yaesu FT-60 radios
(and possibly others)


To generate a diff of this commit:
cvs rdiff -u -r1.735 -r1.736 src/sys/dev/usb/usbdevs

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

2017-05-03 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Wed May  3 15:34:05 UTC 2017

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

Log Message:
PR/52212 - Kai-Uwe Eckhardt -- add TP-Link TL-WN722N v2


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 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

2017-05-03 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Wed May  3 15:34:05 UTC 2017

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

Log Message:
PR/52212 - Kai-Uwe Eckhardt -- add TP-Link TL-WN722N v2


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 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.52 src/sys/dev/usb/if_urtwn.c:1.53
--- src/sys/dev/usb/if_urtwn.c:1.52	Sun Dec  4 10:12:35 2016
+++ src/sys/dev/usb/if_urtwn.c	Wed May  3 15:34:05 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_urtwn.c,v 1.52 2016/12/04 10:12:35 skrll Exp $	*/
+/*	$NetBSD: if_urtwn.c,v 1.53 2017/05/03 15:34:05 jnemeth 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.52 2016/12/04 10:12:35 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.53 2017/05/03 15:34:05 jnemeth Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -191,6 +191,7 @@ static const struct urtwn_dev {
 	URTWN_RTL8188E_DEV(REALTEK, RTL8188ETV),
 	URTWN_RTL8188E_DEV(REALTEK, RTL8188EU),
 	URTWN_RTL8188E_DEV(ABOCOM, RTL8188EU),
+	URTWN_RTL8188E_DEV(TPLINK, RTL8188EU),
 
 	/* URTWN_RTL8192EU */
 	URTWN_RTL8192EU_DEV(REALTEK,	RTL8192EU),



CVS commit: src/sys/dev/usb

2017-05-03 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Wed May  3 15:20:27 UTC 2017

Modified Files:
src/sys/dev/usb: usbdevs.h usbdevs_data.h

Log Message:
PR/52212 - Kai-Uwe Eckhardt -- add TP-Link TL-WN722N v2


To generate a diff of this commit:
cvs rdiff -u -r1.723 -r1.724 src/sys/dev/usb/usbdevs.h
cvs rdiff -u -r1.724 -r1.725 src/sys/dev/usb/usbdevs_data.h

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

2017-05-03 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Wed May  3 15:20:27 UTC 2017

Modified Files:
src/sys/dev/usb: usbdevs.h usbdevs_data.h

Log Message:
PR/52212 - Kai-Uwe Eckhardt -- add TP-Link TL-WN722N v2


To generate a diff of this commit:
cvs rdiff -u -r1.723 -r1.724 src/sys/dev/usb/usbdevs.h
cvs rdiff -u -r1.724 -r1.725 src/sys/dev/usb/usbdevs_data.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/dev/usb/usbdevs.h
diff -u src/sys/dev/usb/usbdevs.h:1.723 src/sys/dev/usb/usbdevs.h:1.724
--- src/sys/dev/usb/usbdevs.h:1.723	Tue Apr 18 19:10:58 2017
+++ src/sys/dev/usb/usbdevs.h	Wed May  3 15:20:27 2017
@@ -1,10 +1,10 @@
-/*	$NetBSD: usbdevs.h,v 1.723 2017/04/18 19:10:58 riastradh Exp $	*/
+/*	$NetBSD: usbdevs.h,v 1.724 2017/05/03 15:20:27 jnemeth Exp $	*/
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
  *
  * generated from:
- *	NetBSD: usbdevs,v 1.732 2017/04/18 19:09:12 riastradh Exp
+ *	NetBSD: usbdevs,v 1.733 2017/05/03 15:14:27 jnemeth Exp
  */
 
 /*
@@ -3267,6 +3267,7 @@
 
 /* TP-Link products */
 #define	USB_PRODUCT_TPLINK_RTL8192CU	0x0100		/* RTL8192CU */
+#define	USB_PRODUCT_TPLINK_RTL8188EU	0x010c		/* RTL8188EU */
 
 /* Trek Technology products */
 #define	USB_PRODUCT_TREK_THUMBDRIVE	0x		/* ThumbDrive */

Index: src/sys/dev/usb/usbdevs_data.h
diff -u src/sys/dev/usb/usbdevs_data.h:1.724 src/sys/dev/usb/usbdevs_data.h:1.725
--- src/sys/dev/usb/usbdevs_data.h:1.724	Tue Apr 18 19:10:58 2017
+++ src/sys/dev/usb/usbdevs_data.h	Wed May  3 15:20:27 2017
@@ -1,10 +1,10 @@
-/*	$NetBSD: usbdevs_data.h,v 1.724 2017/04/18 19:10:58 riastradh Exp $	*/
+/*	$NetBSD: usbdevs_data.h,v 1.725 2017/05/03 15:20:27 jnemeth Exp $	*/
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
  *
  * generated from:
- *	NetBSD: usbdevs,v 1.732 2017/04/18 19:09:12 riastradh Exp
+ *	NetBSD: usbdevs,v 1.733 2017/05/03 15:14:27 jnemeth Exp
  */
 
 /*
@@ -4448,6 +4448,8 @@ static const uint16_t usb_products[] = {
 	8474, 6344, 4869, 5661, 0,
 	USB_VENDOR_TPLINK, USB_PRODUCT_TPLINK_RTL8192CU, 
 	5081, 0,
+	USB_VENDOR_TPLINK, USB_PRODUCT_TPLINK_RTL8188EU, 
+	5091, 0,
 	USB_VENDOR_TREK, USB_PRODUCT_TREK_THUMBDRIVE, 
 	18679, 0,
 	USB_VENDOR_TREK, USB_PRODUCT_TREK_THUMBDRIVE_8MB, 
@@ -5447,7 +5449,7 @@ static const char usb_words[] = { "." 
 	"USB2.0\0" /* 6 refs @ 5069 */
 	"WL54\0" /* 1 refs @ 5076 */
 	"RTL8192CU\0" /* 24 refs @ 5081 */
-	"RTL8188EU\0" /* 2 refs @ 5091 */
+	"RTL8188EU\0" /* 3 refs @ 5091 */
 	"RTL8188CU\0" /* 21 refs @ 5101 */
 	"XX10\0" /* 1 refs @ 5111 */
 	"BWU613\0" /* 1 refs @ 5116 */



CVS commit: src/sys/dev/usb

2017-05-03 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Wed May  3 15:14:27 UTC 2017

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
PR/52212 - Kai-Uwe Eckhardt -- add TP-Link TL-WN722N v2


To generate a diff of this commit:
cvs rdiff -u -r1.732 -r1.733 src/sys/dev/usb/usbdevs

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/usbdevs
diff -u src/sys/dev/usb/usbdevs:1.732 src/sys/dev/usb/usbdevs:1.733
--- src/sys/dev/usb/usbdevs:1.732	Tue Apr 18 19:09:12 2017
+++ src/sys/dev/usb/usbdevs	Wed May  3 15:14:27 2017
@@ -1,4 +1,4 @@
-$NetBSD: usbdevs,v 1.732 2017/04/18 19:09:12 riastradh Exp $
+$NetBSD: usbdevs,v 1.733 2017/05/03 15:14:27 jnemeth Exp $
 
 /*
  * Copyright (c) 1998-2004 The NetBSD Foundation, Inc.
@@ -3260,6 +3260,7 @@ product TOSHIBA HSDPA_MODEM_EU870DT1	0x1
 
 /* TP-Link products */
 product TPLINK RTL8192CU	0x0100	RTL8192CU
+product TPLINK RTL8188EU	0x010c	RTL8188EU
 
 /* Trek Technology products */
 product TREK THUMBDRIVE		0x	ThumbDrive



CVS commit: src/sys/dev/usb

2017-05-03 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Wed May  3 15:14:27 UTC 2017

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
PR/52212 - Kai-Uwe Eckhardt -- add TP-Link TL-WN722N v2


To generate a diff of this commit:
cvs rdiff -u -r1.732 -r1.733 src/sys/dev/usb/usbdevs

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



CVS commit: src/usr.sbin/postinstall

2017-01-02 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue Jan  3 00:35:07 UTC 2017

Modified Files:
src/usr.sbin/postinstall: postinstall

Log Message:
add rtsold to rc_obsolete_files :-(


To generate a diff of this commit:
cvs rdiff -u -r1.206 -r1.207 src/usr.sbin/postinstall/postinstall

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

Modified files:

Index: src/usr.sbin/postinstall/postinstall
diff -u src/usr.sbin/postinstall/postinstall:1.206 src/usr.sbin/postinstall/postinstall:1.207
--- src/usr.sbin/postinstall/postinstall:1.206	Wed Oct 19 22:17:08 2016
+++ src/usr.sbin/postinstall/postinstall	Tue Jan  3 00:35:07 2017
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: postinstall,v 1.206 2016/10/19 22:17:08 christos Exp $
+# $NetBSD: postinstall,v 1.207 2017/01/03 00:35:07 jnemeth Exp $
 #
 # Copyright (c) 2002-2015 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1463,6 +1463,7 @@ login
 nfsiod
 poffd
 portmap
+rtsold
 sdpd
 servers
 sunndd



CVS commit: src/usr.sbin/postinstall

2017-01-02 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue Jan  3 00:35:07 UTC 2017

Modified Files:
src/usr.sbin/postinstall: postinstall

Log Message:
add rtsold to rc_obsolete_files :-(


To generate a diff of this commit:
cvs rdiff -u -r1.206 -r1.207 src/usr.sbin/postinstall/postinstall

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



CVS commit: src/usr.bin/calendar/calendars

2016-12-05 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue Dec  6 04:54:00 UTC 2016

Modified Files:
src/usr.bin/calendar/calendars: calendar.christian calendar.holiday
calendar.judaic calendar.netbsd calendar.usholiday

Log Message:
update floating holidays for 2017 in preparation for pullup for 7.1 release


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/calendar/calendars/calendar.christian \
src/usr.bin/calendar/calendars/calendar.judaic
cvs rdiff -u -r1.26 -r1.27 src/usr.bin/calendar/calendars/calendar.holiday
cvs rdiff -u -r1.36 -r1.37 src/usr.bin/calendar/calendars/calendar.netbsd
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/calendar/calendars/calendar.usholiday

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



CVS commit: src/usr.bin/calendar/calendars

2016-12-05 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Tue Dec  6 04:54:00 UTC 2016

Modified Files:
src/usr.bin/calendar/calendars: calendar.christian calendar.holiday
calendar.judaic calendar.netbsd calendar.usholiday

Log Message:
update floating holidays for 2017 in preparation for pullup for 7.1 release


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/calendar/calendars/calendar.christian \
src/usr.bin/calendar/calendars/calendar.judaic
cvs rdiff -u -r1.26 -r1.27 src/usr.bin/calendar/calendars/calendar.holiday
cvs rdiff -u -r1.36 -r1.37 src/usr.bin/calendar/calendars/calendar.netbsd
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/calendar/calendars/calendar.usholiday

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/calendar/calendars/calendar.christian
diff -u src/usr.bin/calendar/calendars/calendar.christian:1.5 src/usr.bin/calendar/calendars/calendar.christian:1.6
--- src/usr.bin/calendar/calendars/calendar.christian:1.5	Wed Sep 23 05:21:00 2015
+++ src/usr.bin/calendar/calendars/calendar.christian	Tue Dec  6 04:54:00 2016
@@ -1,17 +1,17 @@
 01/06*	Epiphany
-02/09*	Shrove Tuesday / Mardi Gras (day before Ash Wednesday)
-02/10*	Ash Wednesday (First day of Lent)
-03/20*	Palm Sunday (7 days before Easter)
-03/24*	Maundy Thursday (3 days before Easter)
-03/25*	Good Friday (2 days before Easter)
-03/27*	Easter Sunday
-05/01*	Rogation Sunday
-05/05*	Ascension Day (10 days before Pentecost)
-05/15*	Pentecost (Whitsunday)
-05/16*	Whitmonday
-05/22*	Trinity Sunday (7 days after Pentecost)
-05/26*	Corpus Christi (11 days after Pentecost)
+02/28*	Shrove Tuesday / Mardi Gras (day before Ash Wednesday)
+03/01*	Ash Wednesday (First day of Lent)
+04/09*	Palm Sunday (7 days before Easter)
+04/13*	Maundy Thursday (3 days before Easter)
+04/14*	Good Friday (2 days before Easter)
+04/16*	Easter Sunday
+05/21*	Rogation Sunday
+05/25*	Ascension Day (10 days before Pentecost)
+06/04*	Pentecost (Whitsunday)
+06/05*	Whitmonday
+06/11*	Trinity Sunday (7 days after Pentecost)
+06/15*	Corpus Christi (11 days after Pentecost)
 10/18	Feast Day of St. Luke
-11/29*	First Sunday of Advent (4th Sunday before Christmas)
+12/03*	First Sunday of Advent (4th Sunday before Christmas)
 12/06	St. Nicholas' Day
 12/25	Feast of the Nativity (Christmas)
Index: src/usr.bin/calendar/calendars/calendar.judaic
diff -u src/usr.bin/calendar/calendars/calendar.judaic:1.5 src/usr.bin/calendar/calendars/calendar.judaic:1.6
--- src/usr.bin/calendar/calendars/calendar.judaic:1.5	Wed Sep 23 05:21:00 2015
+++ src/usr.bin/calendar/calendars/calendar.judaic	Tue Dec  6 04:54:00 2016
@@ -1,27 +1,27 @@
-01/25*  Tu B'Shvat (Feast of Trees)
-03/23*	Fast of Esther (Battle of Purim; 1 day before Purim; fast day)
-03/24*	Purim (Feast of Lots; 30 days before Pesach)
-04/23*	Pesach (First Day of Passover; sabbatical)
-04/24*	Pesach (sabbatical)
-04/25*	Pesach (sabbatical)
-04/26*	Pesach (Last Day of Passover; 8th day of Pesach; sabbatical)
-05/12*	Yom HaAtzma'ut (Israel Independence Day)
-05/26*	Lag B'Omer (Commemoration of the Great Rebellion)
-06/04*	Yom Yerushalayim (Reunification of Jerusalem)
-06/12*	Shavuos (Festival of Weeks; 50 days after Pesach; sabbatical)
-07/24*	Fast of Shiv'a Asar B'Tammuz (Tzom Tammuz) (Romans breach Wall of Jerusalem;
+02/11*  Tu B'Shvat (Feast of Trees)
+03/10*	Fast of Esther (Battle of Purim; 1 day before Purim; fast day)
+03/11*	Purim (Feast of Lots; 30 days before Pesach)
+04/10*	Pesach (First Day of Passover; sabbatical)
+04/11*	Pesach (sabbatical)
+04/12*	Pesach (sabbatical)
+04/13*	Pesach (Last Day of Passover; 8th day of Pesach; sabbatical)
+05/02*	Yom HaAtzma'ut (Israel Independence Day)
+05/13*	Lag B'Omer (Commemoration of the Great Rebellion)
+05/24*	Yom Yerushalayim (Reunification of Jerusalem)
+05/30*	Shavuot (Festival of Weeks; 50 days after Pesach; sabbatical)
+07/11*	Fast of Shiv'a Asar B'Tammuz (Tzom Tammuz) (Romans breach Wall of Jerusalem;
 	fast day)
-08/14*	Fast of Tish'a B'Av (Babylon/Rome destroys Holy Temple; fast day)
-10/03*	First Day of Rosh Hashanah (Jewish Lunar New Year; 5767 == 2006;
+08/01*	Fast of Tish'a B'Av (Babylon/Rome destroys Holy Temple; fast day)
+09/21*	First Day of Rosh Hashanah (Jewish Lunar New Year; 5778 == 2017;
 	sabbatical)
-10/03*	Rosh Hashanah (sabbatical)
-10/04*	Fast of Gedalya (Murder of Gedalya and subsequent Exile; 1 day
+09/21*	Rosh Hashanah (sabbatical)
+09/22*	Fast of Gedalya (Murder of Gedalya and subsequent Exile; 1 day
 	after Rosh Hashanah; fast day)
-10/12*	Yom Kippur (Day of Atonement; 9 days after Rosh Hashanah;
+09/30*	Yom Kippur (Day of Atonement; 9 days after Rosh Hashanah;
 	sabbatical, fast day)
-10/17*	Succos (Festival of Tabernacles; 14 days after Rosh Hashanah;
+10/05*	Succos (Festival of Tabernacles; 14 days after Rosh Hashanah;
 	sabbatical)
-10/23*	Hoshanah Rabba (7th day of Succos)
-10/24*	Shmini Atzeres (8th Day of 

  1   2   3   4   5   6   >