CVS commit: src/share/misc

2013-06-29 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Sat Jun 29 12:22:48 UTC 2013

Modified Files:
src/share/misc: acronyms.comp

Log Message:
Added entries:   BIOS, DP, DVI, HDMI
Changed entries: BIOS, CGA, DDWG, DP, DVI, EGA, HDCP, HDMI, MCGA, MDA, OQL,
 RAID, RDF, SMBIOS, SVGA, VESA, VGA, XGA

Patch supplied by Bug Hunting.


To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/share/misc/acronyms.comp

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

Modified files:

Index: src/share/misc/acronyms.comp
diff -u src/share/misc/acronyms.comp:1.137 src/share/misc/acronyms.comp:1.138
--- src/share/misc/acronyms.comp:1.137	Wed Jun  5 21:03:57 2013
+++ src/share/misc/acronyms.comp	Sat Jun 29 12:22:48 2013
@@ -1,4 +1,4 @@
-$NetBSD: acronyms.comp,v 1.137 2013/06/05 21:03:57 dholland Exp $
+$NetBSD: acronyms.comp,v 1.138 2013/06/29 12:22:48 jdf Exp $
 3WHS	three-way handshake
 8VSB	8-state vestigial side band modulation
 AA	anti-aliasing
@@ -108,7 +108,8 @@ BFT	binary file transfer
 BGA	ball grid array
 BGP	Border Gateway Protocol
 BIND	Berkeley Internet Name Daemon
-BIOS	basic input/output system
+BIOS	Basic Input/Output System
+BIOS	built-in operating system
 BIST	built-in self-test
 BIU	bus interface unit
 BKDG	BIOS and kernel developer's guide
@@ -181,7 +182,7 @@ CF	compact flash
 CFG	context-free grammar
 CFG	control-flow graph
 CG	control gate
-CGA	color graphics {adapter,array}
+CGA	Color Graphics Adapter
 CGI	common gateway interface
 CGN	Carrier-Grade NAT
 CHAP	Challenge-Handshake Authentication Protocol
@@ -284,7 +285,7 @@ DDK	device driver kit
 DDL	data description language
 DDR	double data rate
 DDS	direct digital sound
-DDWG	digital display working group
+DDWG	Digital Display Working Group
 DE	debugging extensions
 DE	desktop environment
 DEA	data encryption algorithm
@@ -320,6 +321,7 @@ DOF	data over fibre
 DOM	document object model
 DOS	denial of service
 DOS	disk operating system
+DP	DisplayPort
 DPC	deferred procedure call
 DPCM	differential pulse code modulation
 DPD	dead peer detection
@@ -351,7 +353,8 @@ DVB	digital video broadcasting
 DVCS	distributed version control system
 DVD	digital versatile disc
 DVFS	dynamic voltage and frequency scaling
-DVI	digital visual interface
+DVI	device independent
+DVI	Digital Visual Interface
 DVR	digital video recorder
 E-XER	extended XML encoding rules
 EABI	embedded-application binary interface
@@ -372,7 +375,7 @@ EEPROM	electrically erasable programmabl
 EFI	extensible firmware interface
 EFL	emitter follower logic
 EFM	eight to fourteen modulation
-EGA	enhanced graphics {adapter,array}
+EGA	Enhanced Graphics Adapter
 EGP	exterior gateway protocol
 EH	extension header
 EIDE	enchanced IDE
@@ -483,9 +486,10 @@ HCF	halt and catch fire
 HCI	host controller interface
 HCI	human-computer interaction
 HCL	hardware compatibility list
-HDCP	high-bandwidth digital content protection
+HDCP	High-bandwidth Digital Content Protection
 HDD	hard disk drive
 HDL	hardware description language
+HDMI	High-Definition Multimedia Interface
 HDTV	high-definition television
 HF	high frequency
 HFM	highest frequency mode
@@ -673,13 +677,13 @@ MC	memory controller
 MCA	machine check architecture
 MCC	multiversion concurrency control
 MCE	machine check exception
-MCGA	multicolor graphics adapter
+MCGA	Multi-Color Graphics Array
 MCH	memory controller hub
 MCM	multi-chip module
 MCQ	memory controlled queue
 MD	machine-dependent
 MDA	mail delivery agent
-MDA	monochrome display adapter
+MDA	Monochrome Display Adapter
 MDRAM	multibank dynamic random access memory
 MESI	modified, exclusive, shared, invalid
 MFC	merge from current
@@ -798,7 +802,7 @@ OOP	object oriented programming
 OOSE	object oriented software engineering
 OPM	operations per minute
 OPS	operations per second
-OQL	object query language
+OQL	Object Query Language
 ORM	object-relational mapping
 OS	operating system
 OSD	open source definition
@@ -941,7 +945,7 @@ RA	remote assistance
 RA	resource affinity
 RA	router advertisement
 RAD	rapid application development
-RAID	redundant array of inexpensive disks
+RAID	redundant array of {independent,inexpensive} disks
 RAM	random access memory
 RAS	remote access service
 RAS	restartable atomic sequence
@@ -953,7 +957,7 @@ RC	remote control
 RCS	Revision Control System
 RCS	revision control system
 RCU	read, copy, update
-RDF	resource description format
+RDF	Resource Description Framework
 RDM	relational data model
 RDMA	remote direct memory access
 RE	regular expression
@@ -1062,7 +1066,7 @@ SLRU	segmented LRU
 SMA	smart memory access
 SMAF	system management action field
 SMART	self-monitoring analysis and reporting technology
-SMBIOS	system management BIOS
+SMBIOS	System Management BIOS
 SMC	system management controller
 SMI	structure of management information
 SMI	system management interrupt
@@ -1113,7 +1117,7 @@ STP	shielded twisted pair
 SUS	Single Unix Specification
 

CVS commit: src/usr.bin/man

2013-06-27 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Thu Jun 27 21:55:10 UTC 2013

Modified Files:
src/usr.bin/man: man.conf.5

Log Message:
 * adjust indentation of list block
 * fix capitalization
 * remove superfluous word ('The')

Patch supplied by Bug Hunting.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/usr.bin/man/man.conf.5

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/man/man.conf.5
diff -u src/usr.bin/man/man.conf.5:1.22 src/usr.bin/man/man.conf.5:1.23
--- src/usr.bin/man/man.conf.5:1.22	Sun Apr 29 03:46:43 2012
+++ src/usr.bin/man/man.conf.5	Thu Jun 27 21:55:10 2013
@@ -1,4 +1,4 @@
-.\	$NetBSD: man.conf.5,v 1.22 2012/04/29 03:46:43 christos Exp $
+.\	$NetBSD: man.conf.5,v 1.23 2013/06/27 21:55:10 jdf Exp $
 .\
 .\ Copyright (c) 1989, 1991, 1993
 .\	The Regents of the University of California.  All rights reserved.
@@ -81,9 +81,9 @@ Control keywords must start with the
 .Dq _
 character.
 The following control keywords are currently defined:
-.Bl -tag -width _version
+.Bl -tag -width _\*[Lt]machine\*[Gt]
 .It _build
-identifies the set of suffixes used for manual pages that must be
+Identifies the set of suffixes used for manual pages that must be
 formatted for display and the command that should be used to format
 them.
 Manual file names, regardless of their format, are expected to end in a
@@ -103,7 +103,7 @@ There should be exactly one occurrence o
 in the shell command line, and it will
 be replaced by the name of the file which is being formatted.
 .It _crunch
-used by
+Used by
 .Xr catman 8
 to determine how to crunch formatted pages
 which originally were compressed man pages: The first field lists a suffix
@@ -115,9 +115,9 @@ There should be exactly one occurrence o
 in the shell command line, and it will
 be replaced by the name of the output file.
 .It _default
-contains the system-wide default man path used to search for man pages.
+Contains the system-wide default man path used to search for man pages.
 .It _subdir
-contains the list (in search order) of section subdirectories which will
+Contains the list (in search order) of section subdirectories which will
 be searched in any man path directory named with a trailing slash
 .Pq Dq /
 character.
@@ -141,9 +141,9 @@ Each suffix may contain the normal shell
 including curly braces
 .Pq Dq {} ) .
 .It _version
-contains the version of the configuration file.
+Contains the version of the configuration file.
 .It _whatdb
-defines the full pathname (not just a directory path) for a database to
+Defines the full pathname (not just a directory path) for a database to
 be used
 by the
 .Xr apropos 1
@@ -157,7 +157,7 @@ to escape a shell globbing character,
 precede it with a backslash
 .Pq Dq \e .
 .It _\*[Lt]machine\*[Gt]
-The defines additional paths to be searched for the particular
+Defines additional paths to be searched for the particular
 .Dv machine
 whose literal value is taken from
 .Xr uname 1



CVS commit: src/share/misc

2013-05-25 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Sat May 25 21:17:51 UTC 2013

Modified Files:
src/share/misc: acronyms.comp

Log Message:
Add more wireless networking acronyms:

 * BSAbasic service area
 * BSSbasic service set
 * BSSID  basic service set identifier
 * ESSextended service set
 * ESSID  extended service set identifier
 * IBSS   independent basic service set
 * SSID   service set identifier
 * TKIP   Temporal Key Integrity Protocol
 * WAPwireless access point
 * WPA2   Wi-Fi Protected Access II
 * WPSWi-Fi Protected Setup

Also properly capitalize the existing `WPA' entry.

Patch supplied by Bug Hunting.


To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 src/share/misc/acronyms.comp

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

Modified files:

Index: src/share/misc/acronyms.comp
diff -u src/share/misc/acronyms.comp:1.134 src/share/misc/acronyms.comp:1.135
--- src/share/misc/acronyms.comp:1.134	Fri May 17 17:43:04 2013
+++ src/share/misc/acronyms.comp	Sat May 25 21:17:51 2013
@@ -1,4 +1,4 @@
-$NetBSD: acronyms.comp,v 1.134 2013/05/17 17:43:04 dholland Exp $
+$NetBSD: acronyms.comp,v 1.135 2013/05/25 21:17:51 jdf Exp $
 3WHS	three-way handshake
 8VSB	8-state vestigial side band modulation
 AA	anti-aliasing
@@ -135,13 +135,16 @@ BPSK	binary phase shift keying
 BQS	Berkeley quality software
 BRE	basic regular expression
 BS	binary sequence
+BSA	basic service area
 BSD	Berkeley Software Distribution
 BSF	bit scan forward
 BSOD	blue screen of death
 BSP	binary space partition
 BSP	bootstrap processor
 BSR	bit scan reverse
+BSS	basic service set
 BSS	block started by symbol
+BSSID	basic service set identifier
 BT	BitTorrent
 BT	Bluetooth
 BT	bit test
@@ -391,6 +394,8 @@ ERD	emergency recovery disk
 ERE	extended regular expression
 ESDRAM	enhanced synchronous dynamic random access memory
 ESS	electronic switching system
+ESS	extended service set
+ESSID	extended service set identifier
 EST	enhanced speedstep
 ETL	extract, transform, load
 EU	execution unit
@@ -507,6 +512,7 @@ IANA	Internet Assigned Numbers Authority
 IBC	iterated block cipher
 IBM	International Business Machines
 IBS	instruction based sampling
+IBSS	independent basic service set
 IC	integrated circuit
 ICA	independent computer architecture
 ICB	Internet Citizen's Band
@@ -1096,6 +1102,7 @@ SSE	streaming SIMD extensions
 SSFDC	solid state floppy disc card
 SSH	secure shell
 SSI	server side includes
+SSID	service set identifier
 SSL	secure sockets layer
 SSP	stack smashing protection
 STC	software thermal control
@@ -1140,6 +1147,7 @@ TIAS	try it and see
 TIFF	tagged image file format
 TITS	try it to see
 TK	temporal key
+TKIP	Temporal Key Integrity Protocol
 TLA	top level aggregator
 TLB	transition lookaside buffer
 TLD	top level domain
@@ -1254,6 +1262,7 @@ W	watt
 W3C	World Wide Web Consortium
 WAN	wide area network
 WAP	Wireless Application Protocol
+WAP	wireless access point
 WDT	watchdog timer
 WEP	Wired Equivalent Privacy
 WFI	wait for interrupt
@@ -1270,7 +1279,9 @@ WORM	write once read many
 WP	WordPerfect
 WP	word processor
 WP	write protect
-WPA	wi-fi protected access
+WPA	Wi-Fi Protected Access
+WPA2	Wi-Fi Protected Access II
+WPS	Wi-Fi Protected Setup
 WRAM	window random access memory
 WS	web services
 WTC	write through caching



CVS commit: src/usr.bin/skeyinit

2013-05-06 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Mon May  6 11:00:16 UTC 2013

Modified Files:
src/usr.bin/skeyinit: skeyinit.1

Log Message:
 * Remove OPTIONS section (uncommon) and put options to the DESCRIPTION.
 * Fix capitalisation.

Patch supplied by Bug Hunting.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.bin/skeyinit/skeyinit.1

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/skeyinit/skeyinit.1
diff -u src/usr.bin/skeyinit/skeyinit.1:1.14 src/usr.bin/skeyinit/skeyinit.1:1.15
--- src/usr.bin/skeyinit/skeyinit.1:1.14	Mon Sep 19 15:12:09 2005
+++ src/usr.bin/skeyinit/skeyinit.1	Mon May  6 11:00:16 2013
@@ -1,4 +1,4 @@
-.\	$NetBSD: skeyinit.1,v 1.14 2005/09/19 15:12:09 elad Exp $
+.\	$NetBSD: skeyinit.1,v 1.15 2013/05/06 11:00:16 jdf Exp $
 .\	@(#)skeyinit.1	1.1 	10/28/93
 .\
 .Dd September 19, 2005
@@ -27,7 +27,8 @@ or using S/Key one-time passwords.
 .Nm
 requires you to type a secret password, so it should be used
 only on a secure terminal.
-.Sh OPTIONS
+.Pp
+The following options are available:
 .Bl -tag -width Ds
 .It Fl k Ar passphrase
 Use pass phrase
@@ -63,7 +64,7 @@ Available choices are md4 (the default),
 .It Fl x
 Displays one-time password in hexadecimal instead of ASCII.
 .It Fl z
-Allows the user to zero their S/Key entry.
+allows the user to zero their S/Key entry.
 .It Ar user
 The username to be changed/added.
 By default the current user is operated on, only root may



CVS commit: src/usr.bin/skeyinit

2013-05-06 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Mon May  6 13:44:17 UTC 2013

Modified Files:
src/usr.bin/skeyinit: skeyinit.1

Log Message:
Fix capitalisation (again, last time the wrong sentence).


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/skeyinit/skeyinit.1

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/skeyinit/skeyinit.1
diff -u src/usr.bin/skeyinit/skeyinit.1:1.15 src/usr.bin/skeyinit/skeyinit.1:1.16
--- src/usr.bin/skeyinit/skeyinit.1:1.15	Mon May  6 11:00:16 2013
+++ src/usr.bin/skeyinit/skeyinit.1	Mon May  6 13:44:17 2013
@@ -1,4 +1,4 @@
-.\	$NetBSD: skeyinit.1,v 1.15 2013/05/06 11:00:16 jdf Exp $
+.\	$NetBSD: skeyinit.1,v 1.16 2013/05/06 13:44:17 jdf Exp $
 .\	@(#)skeyinit.1	1.1 	10/28/93
 .\
 .Dd September 19, 2005
@@ -45,7 +45,7 @@ Use password
 .Ar password
 instead of asking for one to be entered.
 .It Fl s
-allows the user to set the seed and count for complete control
+Allows the user to set the seed and count for complete control
 of the parameters.
 To do this run
 .Nm
@@ -64,7 +64,7 @@ Available choices are md4 (the default),
 .It Fl x
 Displays one-time password in hexadecimal instead of ASCII.
 .It Fl z
-allows the user to zero their S/Key entry.
+Allows the user to zero their S/Key entry.
 .It Ar user
 The username to be changed/added.
 By default the current user is operated on, only root may



CVS commit: src/share/man/man7

2013-04-25 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Thu Apr 25 12:05:54 UTC 2013

Added Files:
src/share/man/man7: src.7

Log Message:
Commit the file src.7 describing the source layout of the NetBSD src tree.
Written by Elvira Khabirova and Mingzhe Wang (the sys/ part) in the scope of
Google Code-In 2012/2013.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/share/man/man7/src.7

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

Added files:

Index: src/share/man/man7/src.7
diff -u /dev/null src/share/man/man7/src.7:1.1
--- /dev/null	Thu Apr 25 12:05:54 2013
+++ src/share/man/man7/src.7	Thu Apr 25 12:05:54 2013
@@ -0,0 +1,357 @@
+.Dd November 30, 2012
+.Dt SRC 7
+.Os
+.Sh NAME
+.Nm src
+.Nd layout of NetBSD sources
+.Sh DESCRIPTION
+An outline of the
+.Nx
+source code hierarchy.
+.Bl -tag -width external/
+.It Pa bin/
+Critical utilities for the system and users.
+.It Pa sbin/
+Critical utilities for the system and the superuser.
+.It Pa usr.bin/
+Not-so critical utilities for the system and users.
+.It Pa usr.sbin/
+Not-so critical utilities for the system and the superuser.
+.It Pa common/
+Sources shared between kernel and userland.
+.Bl -tag -width include/ -compact
+.It Pa dist/
+Utilities.
+Every utility has its own subdirectory,
+where its source and Makefile are located.
+.It Pa include/
+Include headers.
+Every group of header files has its own
+subdirectory, where it and its
+Makefile are located.
+.It Pa lib/
+Libraries.
+Every library has its own subdirectory, 
+where it and its Makefile are located.
+.El
+.It Pa compat/
+A framework to (re)build the libraries
+shipped with
+.Nx
+for different ABI than the default for
+that platform.
+.Bl -tag -width compat/arch1/arch2/ -compact
+.It Pa compat/arch1/arch2/
+Every 
+.Pa compat/arch1/arch2/
+directory contains a Makefile and a makefile
+fragment for building an 
+.Pa arch2
+compat libraries for
+.Pa arch1 .
+E. g., 
+.Pa compat/amd64/i386/
+is where the 32-bit compat libraries for the
+amd64 port are being built.
+.It Pa compatsubdir.mk
+The list of subdirectories (the libraries and
+ld.elf_so) to build with this ABI.
+.It Pa archdirs.mk
+The list of subdirectories for each port.
+.It Pa Makefile.compat
+The basic framework to force the right paths for
+library and ld.elf_so linkage.
+.It Pa dirshack/Makefile
+A hack to get objdirs created timely.
+.El
+.It Pa crypto/
+Cryptographic source, which may have import or
+export restrictions.
+.Bl -tag -width external/ -compact
+.It Pa dist/
+Original sources.
+This is deprecated;
+.Pa crypto/external/
+should be used instead.
+.It Pa external/
+Original sources, grouped by license, and then
+package per license.
+.Pa crypto/external/license/package/dist/
+contain original sources for given package;
+other directories contain Makefiles and
+given package's config files.
+.El
+.It Pa dist/
+Unmodified sources from third parties.
+This is deprecated; 
+.Pa external/
+should be used instead.
+.It Pa distrib/
+Tools and data-files for making distributions.
+.Bl -tag -width distrib/notes/arch/ -compact
+.It Pa arch/
+Architecture-specific files, grouped by
+image type.
+E. g.,
+.Pa distrib/arch/floppies/
+contains Makefiles for making images for
+various types of floppies;
+.Pa arch/ramdisk/
+contains makefiles for making ramdisks etc.
+.It Pa cdrom/
+Was used to create bootable CD images.
+This is deprecated;
+.Pa build.sh
+\'s
+.Pa iso-image
+target should be used instead.
+.It Pa common/
+Common files for images generation.
+.It Pa miniroot/
+Files for miniroot.
+.It Pa notes/arch
+Architecture-specific parts of release notes.
+.It Pa sets/
+Scripts for making file sets.
+.It Pa utils/
+Utilities for installation ramdisk.
+.El
+.It Pa doc/
+Development documentation files: changelogs,
+build readmes etc.
+.Pa doc/roadmaps/
+contains roadmaps.
+.It Pa etc/
+Default configuration files to be put into
+.Pa /etc .
+.Bl -tag -width compat/arch1/arch2/ -compact
+.It Pa etc/etc.arch/
+Architecture-specific config files.
+.El
+.It Pa external/
+Unmodified sources from third parties,
+grouped by license.
+They are built with so-called reachover
+Makefiles which can be found in
+.Pa src/*bin/
+hierarchies. 
+Every
+.Pa external/license/package/
+may contain:
+.Bl -tag -width usr.sbin/ -compact
+.It Pa dist/
+Unmodified third party source for a given package
+.It Pa bin/
+.It Pa usr.bin/
+.It Pa usr.sbin/
+.It Pa etc.
+Such subdirectories contain reachover Makefiles,
+README's and various import helper scripts.
+E. g., 
+.Pa external/public-domain/
+contains
+sources licensed under Public Domain
+license;
+.Pa external/public-domain/sqlite/dist/
+contains original sources;
+.Pa external/public-domain/sqlite/bin/ ,
+.Pa external/public-domain/sqlite/lib/
+and
+.Pa external/public-domain/sqlite/
+itself contain reachover Makefiles.
+.El
+.It Pa extsrc/
+Optional developer-provided sources that are built if
+.Pa MKEXTSRC=yes ,

CVS commit: src/share/man/man7

2013-04-25 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Thu Apr 25 23:05:10 UTC 2013

Modified Files:
src/share/man/man7: src.7

Log Message:
Add licence.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man7/src.7

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/man7/src.7
diff -u src/share/man/man7/src.7:1.2 src/share/man/man7/src.7:1.3
--- src/share/man/man7/src.7:1.2	Thu Apr 25 21:52:48 2013
+++ src/share/man/man7/src.7	Thu Apr 25 23:05:09 2013
@@ -1,6 +1,28 @@
-.\ $NetBSD: src.7,v 1.2 2013/04/25 21:52:48 wiz Exp $
+.\ $NetBSD: src.7,v 1.3 2013/04/25 23:05:09 jdf Exp $
 .\
-.\ XXX: missing licence
+.\ Copyright (c) 1990, 1993, 1994 Mingzhe Wang and Elvira Khabirova.
+.\	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 REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\ ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\ SUCH DAMAGE.
 .\
 .Dd November 30, 2012
 .Dt SRC 7



CVS commit: src/share/man/man7

2013-04-25 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Thu Apr 25 23:15:14 UTC 2013

Modified Files:
src/share/man/man7: src.7

Log Message:
Fix timestamp in the licence.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man7/src.7

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/man7/src.7
diff -u src/share/man/man7/src.7:1.3 src/share/man/man7/src.7:1.4
--- src/share/man/man7/src.7:1.3	Thu Apr 25 23:05:09 2013
+++ src/share/man/man7/src.7	Thu Apr 25 23:15:14 2013
@@ -1,6 +1,6 @@
-.\ $NetBSD: src.7,v 1.3 2013/04/25 23:05:09 jdf Exp $
+.\ $NetBSD: src.7,v 1.4 2013/04/25 23:15:14 jdf Exp $
 .\
-.\ Copyright (c) 1990, 1993, 1994 Mingzhe Wang and Elvira Khabirova.
+.\ Copyright (c) 2012, 2013 Mingzhe Wang and Elvira Khabirova.
 .\	All rights reserved.
 .\
 .\ Redistribution and use in source and binary forms, with or without



CVS commit: src/share/man/man5

2013-04-15 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Mon Apr 15 22:46:52 UTC 2013

Modified Files:
src/share/man/man5: boot.cfg.5

Log Message:
Remove superfluous '.Pp' macro (fixes mandoc(1) warning).
Patch supplied by Bug Hunting.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/share/man/man5/boot.cfg.5

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/man5/boot.cfg.5
diff -u src/share/man/man5/boot.cfg.5:1.25 src/share/man/man5/boot.cfg.5:1.26
--- src/share/man/man5/boot.cfg.5:1.25	Sat Mar  3 15:14:03 2012
+++ src/share/man/man5/boot.cfg.5	Mon Apr 15 22:46:52 2013
@@ -1,4 +1,4 @@
-.\	$NetBSD: boot.cfg.5,v 1.25 2012/03/03 15:14:03 nonaka Exp $
+.\	$NetBSD: boot.cfg.5,v 1.26 2013/04/15 22:46:52 jdf Exp $
 .\
 .\ Copyright (c) 2007 Stephen Borrill
 .\ All rights reserved.
@@ -54,7 +54,6 @@ are comments and will be ignored.
 Some keywords can be present multiple times in the file to define additional
 items.
 Such keywords are noted below.
-.Pp
 .Bl -tag -width timeout
 .It Sy banner
 (may be present multiple times)



CVS commit: src/usr.bin/seq

2013-04-07 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Sun Apr  7 17:37:45 UTC 2013

Modified Files:
src/usr.bin/seq: seq.1

Log Message:
 * Punctuation
 * Create separate section with macro for EXIT STATUS
Patch supplied by Bug Hunting.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/seq/seq.1

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/seq/seq.1
diff -u src/usr.bin/seq/seq.1:1.7 src/usr.bin/seq/seq.1:1.8
--- src/usr.bin/seq/seq.1:1.7	Thu May 27 08:30:35 2010
+++ src/usr.bin/seq/seq.1	Sun Apr  7 17:37:45 2013
@@ -1,4 +1,4 @@
-.\	$NetBSD: seq.1,v 1.7 2010/05/27 08:30:35 dholland Exp $
+.\	$NetBSD: seq.1,v 1.8 2013/04/07 17:37:45 jdf Exp $
 .\
 .\ Copyright (c) 2005 The NetBSD Foundation, Inc.
 .\ All rights reserved.
@@ -58,7 +58,7 @@ as possible, in increments of
 When
 .Ar first
 is larger than
-.Ar last
+.Ar last ,
 the default
 .Ar incr
 is -1.
@@ -129,10 +129,8 @@ If any sequence numbers will be printed 
 the default conversion is changed to
 .Cm %e .
 .El
-.Pp
-The
-.Nm
-utility exits 0 on success and non-zero if an error occurs.
+.Sh EXIT STATUS
+.Ex -std
 .Sh EXAMPLES
 .Bd -literal -offset indent
 # seq 1 3



CVS commit: src/usr.bin/paste

2013-04-07 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Sun Apr  7 17:40:16 UTC 2013

Modified Files:
src/usr.bin/paste: paste.1

Log Message:
 * Create separate section with macro for EXIT STATUS
 * Additionally reference join(1)
Patch supplied by Bug Hunting.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/paste/paste.1

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/paste/paste.1
diff -u src/usr.bin/paste/paste.1:1.7 src/usr.bin/paste/paste.1:1.8
--- src/usr.bin/paste/paste.1:1.7	Thu Aug  7 11:15:28 2003
+++ src/usr.bin/paste/paste.1	Sun Apr  7 17:40:16 2013
@@ -1,4 +1,4 @@
-.\	$NetBSD: paste.1,v 1.7 2003/08/07 11:15:28 agc Exp $
+.\	$NetBSD: paste.1,v 1.8 2013/04/07 17:40:16 jdf Exp $
 .\
 .\ Copyright (c) 1989, 1990, 1993
 .\	The Regents of the University of California.  All rights reserved.
@@ -32,7 +32,7 @@
 .\ SUCH DAMAGE.
 .\
 .\	from: @(#)paste.1	8.1 (Berkeley) 6/6/93
-.\	$NetBSD: paste.1,v 1.7 2003/08/07 11:15:28 agc Exp $
+.\	$NetBSD: paste.1,v 1.8 2013/04/07 17:40:16 jdf Exp $
 .\
 .Dd June 6, 1993
 .Dt PASTE 1
@@ -104,12 +104,11 @@ is specified for one or more of the inpu
 input is used; standard input is read one line at a time, circularly,
 for each instance of
 .Ql Fl .
-.Pp
-The
-.Nm
-utility exits 0 on success, and \*[Gt]0 if an error occurs.
+.Sh EXIT STATUS
+.Ex -std
 .Sh SEE ALSO
-.Xr cut 1
+.Xr cut 1 ,
+.Xr join 1
 .Sh STANDARDS
 The
 .Nm



CVS commit: src/share/man/man4

2012-11-28 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Thu Nov 29 00:12:21 UTC 2012

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

Log Message:
Fix wrong proposal of ifconfig(8) usage:
ifconfig -m device
(which shows information) instead of
ifconfig device media
(which sets information). Fixes PR misc/47197.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/ale.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/ale.4
diff -u src/share/man/man4/ale.4:1.4 src/share/man/man4/ale.4:1.5
--- src/share/man/man4/ale.4:1.4	Sun Nov 22 16:50:13 2009
+++ src/share/man/man4/ale.4	Thu Nov 29 00:12:21 2012
@@ -1,4 +1,4 @@
-.\	$NetBSD: ale.4,v 1.4 2009/11/22 16:50:13 snj Exp $
+.\	$NetBSD: ale.4,v 1.5 2012/11/29 00:12:21 jdf Exp $
 .\	$OpenBSD: ale.4,v 1.2 2009/02/25 03:15:50 deraadt Exp $
 .\
 .\ Copyright (c) 2009 Kevin Lo ke...@openbsd.org
@@ -54,9 +54,9 @@ Set 1000Mbps (Gigabit Ethernet) operatio
 For more information on configuring this device, see
 .Xr ifconfig 8 .
 To view a list of media types and options supported by the card, try
-.Ic ifconfig Ao Ic device Ac Ic media .
+.Ic ifconfig Fl m Ao Ic device Ac .
 For example,
-.Ic ifconfig ale0 media .
+.Ic ifconfig Fl m Ic ale0 .
 .Sh SEE ALSO
 .Xr arp 4 ,
 .Xr atphy 4 ,



CVS commit: src/doc

2012-11-12 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Tue Nov 13 00:57:56 UTC 2012

Modified Files:
src/doc: 3RDPARTY

Log Message:
Change home page of 'expat' package (see xmlwf(1) or
http://sourceforge.net/projects/expat/ for reference).
On behalf of Bug Hunting.


To generate a diff of this commit:
cvs rdiff -u -r1.980 -r1.981 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.980 src/doc/3RDPARTY:1.981
--- src/doc/3RDPARTY:1.980	Sun Nov  4 22:55:07 2012
+++ src/doc/3RDPARTY	Tue Nov 13 00:57:55 2012
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.980 2012/11/04 22:55:07 alnsn Exp $
+#	$NetBSD: 3RDPARTY,v 1.981 2012/11/13 00:57:55 jdf Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -331,7 +331,7 @@ Version:	2.1.0
 Current Vers:	2.1.0
 Maintainer:	mrg
 Archive Site:	http://sourceforge.net/projects/expat/files/expat/
-Home Page:	http://expat.sourceforge.net/
+Home Page:	http://www.libexpat.org/
 Mailing List:	expat-disc...@libexpat.org
 Responsible:
 License:	MIT



CVS commit: src/distrib/utils/sysinst

2012-09-23 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Sun Sep 23 17:37:51 UTC 2012

Modified Files:
src/distrib/utils/sysinst: net.c

Log Message:
Prevent sysinst from setting an fqdn in rc.conf when the user entered no domain
(i.e., sets only the hostname).  Fix for PR install/46946.


To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.133 src/distrib/utils/sysinst/net.c

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

Modified files:

Index: src/distrib/utils/sysinst/net.c
diff -u src/distrib/utils/sysinst/net.c:1.132 src/distrib/utils/sysinst/net.c:1.133
--- src/distrib/utils/sysinst/net.c:1.132	Tue May  1 18:28:47 2012
+++ src/distrib/utils/sysinst/net.c	Sun Sep 23 17:37:51 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: net.c,v 1.132 2012/05/01 18:28:47 riz Exp $	*/
+/*	$NetBSD: net.c,v 1.133 2012/09/23 17:37:51 jdf Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -435,9 +435,9 @@ recombine_host_domain(void)
 
 	strlcpy(recombined, net_host, sizeof(recombined));
 
-	if (l = 0 ||
+	if (strlen(net_domain) != 0  (l = 0 ||
 	net_host[l - 1] != '.' ||
-	strcasecmp(net_domain, net_host + l) != 0) {
+	strcasecmp(net_domain, net_host + l) != 0)) {
 		/* net_host isn't an FQDN. */
 		strlcat(recombined, ., sizeof(recombined));
 		strlcat(recombined, net_domain, sizeof(recombined));



CVS commit: src/doc

2012-09-20 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Thu Sep 20 21:16:49 UTC 2012

Modified Files:
src/doc: 3RDPARTY

Log Message:
Correct name of the less version.
Patch provided by Snader_LB (Freenode).


To generate a diff of this commit:
cvs rdiff -u -r1.967 -r1.968 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.967 src/doc/3RDPARTY:1.968
--- src/doc/3RDPARTY:1.967	Wed Sep 19 06:54:04 2012
+++ src/doc/3RDPARTY	Thu Sep 20 21:16:48 2012
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.967 2012/09/19 06:54:04 wiz Exp $
+#	$NetBSD: 3RDPARTY,v 1.968 2012/09/20 21:16:48 jdf Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -577,7 +577,7 @@ Archive Site:	http://www.greenwoodsoftwa
 Home Page:	http://www.greenwoodsoftware.com/less/
 Mailing List:	less-announce-requ...@greenwoodsoftware.com
 Responsible:	mrg
-License:	Less License (BSD 2-clause) or GPLv3 (v2 prior to less418)
+License:	Less License (BSD 2-clause) or GPLv3 (v2 prior to less-418)
 Location:	external/bsd/less/dist
 Notes:
 Many changes to make less act as more when invoked as more.  Beware.



CVS commit: src/distrib/utils/sysinst

2012-09-15 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Sat Sep 15 17:56:28 UTC 2012

Modified Files:
src/distrib/utils/sysinst: msg.mi.es

Log Message:
Add Spanish translations for sysinst's new configuration menu, plus adding a few
that were left previously.
Translation provided by jmmv.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/distrib/utils/sysinst/msg.mi.es

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

Modified files:

Index: src/distrib/utils/sysinst/msg.mi.es
diff -u src/distrib/utils/sysinst/msg.mi.es:1.46 src/distrib/utils/sysinst/msg.mi.es:1.47
--- src/distrib/utils/sysinst/msg.mi.es:1.46	Fri Jul  6 21:10:56 2012
+++ src/distrib/utils/sysinst/msg.mi.es	Sat Sep 15 17:56:28 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mi.es,v 1.46 2012/07/06 21:10:56 jdf Exp $	*/
+/*	$NetBSD: msg.mi.es,v 1.47 2012/09/15 17:56:28 jdf Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -125,7 +125,7 @@ sus discos.)
 }
 
 message mount_failed
-{Mounting %s failed. Continue?
+{No se ha podido montar %s.  ¿Desea continuar?
 }
 
 message nodisk
@@ -703,8 +703,9 @@ message makedev
 }
 
 message badfs
-{Parece que /dev/%s%c no es un sistema de archivos BSD o el fsck no ha sido
-correcto.  ¿Continuar?  (Error número %d.)
+{Parece ser que /dev/%s%c no es un sistema de archivos BSD o bien el
+fsck ha fallado.  ¿Desea montarlo de todos modos?  (Código de error:
+%d.)
 }
 
 message rootmissing
@@ -920,8 +921,7 @@ message Upgrade_NetBSD_on_a_hard_disk {A
 message Re_install_sets_or_install_additional_sets {Reinstalar conjuntos o instalar conjuntos adicionales}
 message Reboot_the_computer {Reiniciar la computadora}
 message Utility_menu {Menú de utilidades}
-/* XXX */
-message Config_menu {Menú de configuracion}
+message Config_menu {Menu de configuración}
 message exit_utility_menu {Exit}
 message NetBSD_VERSION_Utilities {Utilidades de NetBSD-@@VERSION@@}
 message Run_bin_sh {Ejecutar /bin/sh}
@@ -1013,63 +1013,74 @@ actualizar /etc/mailer.conf usted mismo 
 de correo electrónico se envíen correctamente.}
 
 message license
-{To use the network interface %s, you must agree to the license in
-file %s.
-To view this file now, you can type ^Z, look at the contents of
-the file and then type fg to resume.}
+{Para usar la interfaz de red %s, debe de aceptar la licencia en el archivo %s.
+Para ver este archivo ahora, pulse ^Z, mire el contendido del archivo, y luego
+teclee fg para continuar la instalación.}
 
 message binpkg
-{To configure the binary package system, please choose the network location
-to fetch packages from.  Once your system comes up, you can use 'pkgin'
-to install additional packages, or remove packages.}
-
+{Para configurar el sistema de paquetes binários, por favor escoja el
+sitio de red desde el cual descargar los paquetes.  Una vez el sistema
+arranque, puede usar 'pkgin' para instalar paquetes adicionales, o
+eliminar paquetes ya instalados.}
+	
 message pkgpath
-{The following are the protocol, host, directory, user, and password that
-will be used.  If user is ftp, then the password is not needed.
+{Las siguientes entradas representan el protocolo, la máquina, el
+directorio, el usuario y la contraseña que se usarán.  Si el usuario
+es ftp, entonces la contraseña es opcional.
 
 }
-message rcconf_backup_failed {Making backup of rc.conf failed. Continue?}
-message rcconf_backup_succeeded {rc.conf backup saved to %s.}
-message rcconf_restore_failed {Restoring backup rc.conf failed.}
-message rcconf_delete_failed {Deleting old %s entry failed.}
-message Pkg_dir {Package directory}
+message rcconf_backup_failed
+{Error al intentar hacer una cópia de seguridad de rc.conf.  ¿Desea continuar?}
+message rcconf_backup_succeeded
+{La cópia de seguridad de rc.conf se ha guardado en %s.}
+message rcconf_restore_failed
+{La recuperación de rc.conf desde su cópia de seguridad ha fallado.}
+message rcconf_delete_failed {La eliminación del viejo %s ha fallado.}
+message Pkg_dir {Directorio del paquete}
 message configure_prior {configure a prior installation of}
-message configure {configure}
-message change {change}
-message password_set {password set}
-message YES {YES}
+message configure {Configurar}
+message change {Cambiar}
+message password_set {Contraseña configurada}
+message YES {SI}
 message NO {NO}
-message DONE {DONE}
-message abandoned {Abandoned}
-message empty {***EMPTY***}
-message timezone {Timezone}
-message change_rootpw {Change root password}
-message enable_binpkg {Enable installation of binary packages}
-message enable_sshd {Enable sshd}
-message enable_ntpd {Enable ntpd}
-message run_ntpdate {Run ntpdate at boot}
-message enable_mdnsd {Enable mdnsd}
-message configmenu {Configure the additional items as needed.}
-message doneconfig {Finished configuring}
-message Install_pkgin {Install pkgin and update package summary}
+message DONE {HECHO}
+message abandoned {Abandonado}
+message 

CVS commit: src/games/fortune

2012-08-04 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Sat Aug  4 22:29:59 UTC 2012

Modified Files:
src/games/fortune/datfiles: fortunes2
src/games/fortune/fortune: fortune.6
src/games/fortune/strfile: strfile.8

Log Message:
src/games/fortune/fortune/fortune.6:
 * reference strfile(8) in `SEE ALSO' section.

src/games/fortune/strfile/strfile.8:
 * remove redundant argument to (successive) `.Nm' macros.

src/games/fortune/datfiles/fortunes2:
 * remove (the least complete variant of a) double fortune.

Patch submitted by Bug Hunting.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/games/fortune/datfiles/fortunes2
cvs rdiff -u -r1.12 -r1.13 src/games/fortune/fortune/fortune.6
cvs rdiff -u -r1.13 -r1.14 src/games/fortune/strfile/strfile.8

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/fortunes2
diff -u src/games/fortune/datfiles/fortunes2:1.43 src/games/fortune/datfiles/fortunes2:1.44
--- src/games/fortune/datfiles/fortunes2:1.43	Mon Jan 24 15:30:55 2011
+++ src/games/fortune/datfiles/fortunes2	Sat Aug  4 22:29:58 2012
@@ -47575,10 +47575,6 @@ Thou hast seen nothing yet.
 %
 Thou shalt not omit adultery.
 %
-Though a program be but three lines long, someday it will have to
-be maintained.
-		-- The Tao of Programming
-%
 Though I respect that a lot
 I'd be fired if that were my job
 After killing Jason off and

Index: src/games/fortune/fortune/fortune.6
diff -u src/games/fortune/fortune/fortune.6:1.12 src/games/fortune/fortune/fortune.6:1.13
--- src/games/fortune/fortune/fortune.6:1.12	Sun Apr 12 16:58:57 2009
+++ src/games/fortune/fortune/fortune.6	Sat Aug  4 22:29:59 2012
@@ -1,4 +1,4 @@
-.\	$NetBSD: fortune.6,v 1.12 2009/04/12 16:58:57 joerg Exp $
+.\	$NetBSD: fortune.6,v 1.13 2012/08/04 22:29:59 jdf Exp $
 .\
 .\ Copyright (c) 1985, 1991, 1993
 .\	The Regents of the University of California.  All rights reserved.
@@ -179,4 +179,5 @@ Fortune files.
 .Sh SEE ALSO
 .Xr regex 3 ,
 .Xr random 6 ,
-.Xr rot13 6
+.Xr rot13 6 ,
+.Xr strfile 8

Index: src/games/fortune/strfile/strfile.8
diff -u src/games/fortune/strfile/strfile.8:1.13 src/games/fortune/strfile/strfile.8:1.14
--- src/games/fortune/strfile/strfile.8:1.13	Sun Jan 17 13:35:00 2010
+++ src/games/fortune/strfile/strfile.8	Sat Aug  4 22:29:59 2012
@@ -1,4 +1,4 @@
-.\	$NetBSD: strfile.8,v 1.13 2010/01/17 13:35:00 mbalmer Exp $
+.\	$NetBSD: strfile.8,v 1.14 2012/08/04 22:29:59 jdf Exp $
 .\
 .\ Copyright (c) 1989, 1991, 1993
 .\	The Regents of the University of California.  All rights reserved.
@@ -40,7 +40,7 @@
 .Nm unstr
 .Nd create a random access file for storing strings
 .Sh SYNOPSIS
-.Nm strfile
+.Nm
 .Op Fl iorsx
 .Op Fl c Ar char
 .Ar source_file
@@ -115,7 +115,7 @@ All fields are written in big-endian byt
 The purpose of
 .Nm unstr
 is to undo the work of
-.Nm strfile .
+.Nm .
 It prints out the strings contained in the file
 .Ar source_file
 in the order that they are listed in the header file
@@ -124,7 +124,7 @@ to standard output.
 It is possible to create sorted versions of input files by using
 .Fl o
 when
-.Nm strfile
+.Nm
 is run and then using
 .Nm unstr
 to dump them out in the table order.
@@ -138,6 +138,6 @@ default output file.
 .Xr fortune 6
 .Sh HISTORY
 The
-.Nm strfile
+.Nm
 utility first appeared in
 .Bx 4.4 .



CVS commit: src/etc

2012-07-31 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Tue Jul 31 12:11:50 UTC 2012

Modified Files:
src/etc: weekly

Log Message:
Call `makemandb -f -q` instead of `makemandb -f`, as Edgar Fu� proposed for 
daily.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/etc/weekly

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

Modified files:

Index: src/etc/weekly
diff -u src/etc/weekly:1.27 src/etc/weekly:1.28
--- src/etc/weekly:1.27	Sat Jun  2 15:52:24 2012
+++ src/etc/weekly	Tue Jul 31 12:11:50 2012
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#	$NetBSD: weekly,v 1.27 2012/06/02 15:52:24 christos Exp $
+#	$NetBSD: weekly,v 1.28 2012/07/31 12:11:50 jdf Exp $
 #	from: @(#)weekly	8.2 (Berkeley) 1/2/94
 #
 
@@ -94,7 +94,7 @@ if checkyesno rebuild_mandb; then
 	echo 
 	if [ -f /etc/man.conf -a -x /usr/sbin/makemandb ]; then
 		echo Rebuilding man page index:
-		(umask 022; nice -n 5 /usr/sbin/makemandb -f)
+		(umask 022; nice -n 5 /usr/sbin/makemandb -f -q)
 	else
 		echo Not rebuilding man page index
 	fi



CVS commit: src/etc

2012-07-30 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Mon Jul 30 22:13:38 UTC 2012

Modified Files:
src/etc: daily

Log Message:
Call `makemandb -q` instead of `makemandb`, as proposed by Edgar Fuss on
tech-userlevel on 20th of July 2012, 12:38.


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 src/etc/daily

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

Modified files:

Index: src/etc/daily
diff -u src/etc/daily:1.83 src/etc/daily:1.84
--- src/etc/daily:1.83	Mon Jul 30 17:09:33 2012
+++ src/etc/daily	Mon Jul 30 22:13:38 2012
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#	$NetBSD: daily,v 1.83 2012/07/30 17:09:33 christos Exp $
+#	$NetBSD: daily,v 1.84 2012/07/30 22:13:38 jdf Exp $
 #	@(#)daily	8.2 (Berkeley) 1/25/94
 #
 
@@ -304,7 +304,7 @@ if checkyesno run_makemandb; then
 	if [ -f /etc/man.conf -a -x /usr/sbin/makemandb ]; then
 		echo 
 		echo Updating man page index:
-		(umask 022; nice -n 5 /usr/sbin/makemandb)
+		(umask 022; nice -n 5 /usr/sbin/makemandb -q)
 	fi
 fi
 



CVS commit: src/share/man/man9

2012-07-19 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Thu Jul 19 17:48:55 UTC 2012

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

Log Message:
Added missing newline, as proposed by Petri Laakso in PR kern/46721.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/share/man/man9/bus_space.9

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

Modified files:

Index: src/share/man/man9/bus_space.9
diff -u src/share/man/man9/bus_space.9:1.45 src/share/man/man9/bus_space.9:1.46
--- src/share/man/man9/bus_space.9:1.45	Fri Jul  8 19:40:24 2011
+++ src/share/man/man9/bus_space.9	Thu Jul 19 17:48:55 2012
@@ -1,4 +1,4 @@
-.\ $NetBSD: bus_space.9,v 1.45 2011/07/08 19:40:24 wiz Exp $
+.\ $NetBSD: bus_space.9,v 1.46 2012/07/19 17:48:55 jdf Exp $
 .\
 .\ Copyright (c) 1997 The NetBSD Foundation, Inc.
 .\ All rights reserved.
@@ -585,6 +585,7 @@ type is used to describe a mapping of a 
 Its contents are machine-dependent and should be considered opaque by
 machine-independent code.
 This type is used when performing bus space access operations.
+.Pp
 .It Fa bus_space_reservation_t
 .Pp
 The



CVS commit: src/lib/libc/sys

2012-07-09 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Mon Jul  9 21:22:21 UTC 2012

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

Log Message:
Add ENOTCONN to returned error codes, bump date.
Tip of asau.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/lib/libc/sys/getsockname.2

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

Modified files:

Index: src/lib/libc/sys/getsockname.2
diff -u src/lib/libc/sys/getsockname.2:1.23 src/lib/libc/sys/getsockname.2:1.24
--- src/lib/libc/sys/getsockname.2:1.23	Thu Aug  7 16:43:59 2003
+++ src/lib/libc/sys/getsockname.2	Mon Jul  9 21:22:21 2012
@@ -1,4 +1,4 @@
-.\	$NetBSD: getsockname.2,v 1.23 2003/08/07 16:43:59 agc Exp $
+.\	$NetBSD: getsockname.2,v 1.24 2012/07/09 21:22:21 jdf Exp $
 .\
 .\ Copyright (c) 1983, 1991, 1993
 .\	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\
 .\ @(#)getsockname.2	8.1 (Berkeley) 6/4/93
 .\
-.Dd August 11, 2002
+.Dd July 9, 2012
 .Dt GETSOCKNAME 2
 .Os
 .Sh NAME
@@ -134,6 +134,8 @@ is a file, not a socket.
 The socket has been shut down.
 .It Bq Er ENOBUFS
 Insufficient resources were available in the system to perform the operation.
+.It Bq Er ENOTCONN
+The socket is not connected.
 .It Bq Er EFAULT
 The
 .Fa name



CVS commit: src/distrib/utils/sysinst

2012-07-06 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Fri Jul  6 21:10:57 UTC 2012

Modified Files:
src/distrib/utils/sysinst: menus.mi msg.mi.de msg.mi.en msg.mi.es
msg.mi.fr msg.mi.pl

Log Message:
Add translations for Config menu (was hardcoded before), best guesses for
French and Spanish.
Add translations for Polish config menu entries (provided by Marcin Piotr
Pawlowski).


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/distrib/utils/sysinst/menus.mi
cvs rdiff -u -r1.69 -r1.70 src/distrib/utils/sysinst/msg.mi.de
cvs rdiff -u -r1.174 -r1.175 src/distrib/utils/sysinst/msg.mi.en
cvs rdiff -u -r1.45 -r1.46 src/distrib/utils/sysinst/msg.mi.es
cvs rdiff -u -r1.128 -r1.129 src/distrib/utils/sysinst/msg.mi.fr
cvs rdiff -u -r1.85 -r1.86 src/distrib/utils/sysinst/msg.mi.pl

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

Modified files:

Index: src/distrib/utils/sysinst/menus.mi
diff -u src/distrib/utils/sysinst/menus.mi:1.46 src/distrib/utils/sysinst/menus.mi:1.47
--- src/distrib/utils/sysinst/menus.mi:1.46	Sat Apr  7 19:02:57 2012
+++ src/distrib/utils/sysinst/menus.mi	Fri Jul  6 21:10:56 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: menus.mi,v 1.46 2012/04/07 19:02:57 jdf Exp $	*/
+/*	$NetBSD: menus.mi,v 1.47 2012/07/06 21:10:56 jdf Exp $	*/
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -162,7 +162,7 @@ menu netbsd, title MSG_NetBSD_VERSION_In
 	option MSG_Reboot_the_computer, exit,
 		action (endwin) { system(/sbin/reboot -q); };
 	option MSG_Utility_menu, sub menu utility;
-	option Config menu, action { do_configmenu(); };
+	option MSG_Config_menu, action { do_configmenu(); };
 
 menu utility, title MSG_NetBSD_VERSION_Utilities, exit,
 		exitstring MSG_exit_utility_menu;

Index: src/distrib/utils/sysinst/msg.mi.de
diff -u src/distrib/utils/sysinst/msg.mi.de:1.69 src/distrib/utils/sysinst/msg.mi.de:1.70
--- src/distrib/utils/sysinst/msg.mi.de:1.69	Fri Jul  6 09:12:16 2012
+++ src/distrib/utils/sysinst/msg.mi.de	Fri Jul  6 21:10:56 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mi.de,v 1.69 2012/07/06 09:12:16 wiz Exp $	*/
+/*	$NetBSD: msg.mi.de,v 1.70 2012/07/06 21:10:56 jdf Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -955,6 +955,7 @@ message Upgrade_NetBSD_on_a_hard_disk {A
 message Re_install_sets_or_install_additional_sets {Erneute Installation oder zusätzliche Pakete installieren}
 message Reboot_the_computer {Computer neu starten}
 message Utility_menu {Extras}
+message Config_menu {Konfigurationsmenü}
 message exit_utility_menu {Zurück zum Hauptmenü}
 message NetBSD_VERSION_Utilities {NetBSD-@@VERSION@@ Extras}
 message Run_bin_sh {Ausführen von /bin/sh}

Index: src/distrib/utils/sysinst/msg.mi.en
diff -u src/distrib/utils/sysinst/msg.mi.en:1.174 src/distrib/utils/sysinst/msg.mi.en:1.175
--- src/distrib/utils/sysinst/msg.mi.en:1.174	Fri Jul  6 09:12:16 2012
+++ src/distrib/utils/sysinst/msg.mi.en	Fri Jul  6 21:10:56 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mi.en,v 1.174 2012/07/06 09:12:16 wiz Exp $	*/
+/*	$NetBSD: msg.mi.en,v 1.175 2012/07/06 21:10:56 jdf Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -895,6 +895,7 @@ message Upgrade_NetBSD_on_a_hard_disk {U
 message Re_install_sets_or_install_additional_sets {Re-install sets or install additional sets}
 message Reboot_the_computer {Reboot the computer}
 message Utility_menu {Utility menu}
+message Config_menu {Config menu}
 message exit_utility_menu {Back to main menu}
 message NetBSD_VERSION_Utilities {NetBSD-@@VERSION@@ Utilities}
 message Run_bin_sh {Run /bin/sh}

Index: src/distrib/utils/sysinst/msg.mi.es
diff -u src/distrib/utils/sysinst/msg.mi.es:1.45 src/distrib/utils/sysinst/msg.mi.es:1.46
--- src/distrib/utils/sysinst/msg.mi.es:1.45	Fri Jul  6 09:12:17 2012
+++ src/distrib/utils/sysinst/msg.mi.es	Fri Jul  6 21:10:56 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mi.es,v 1.45 2012/07/06 09:12:17 wiz Exp $	*/
+/*	$NetBSD: msg.mi.es,v 1.46 2012/07/06 21:10:56 jdf Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -920,6 +920,8 @@ message Upgrade_NetBSD_on_a_hard_disk {A
 message Re_install_sets_or_install_additional_sets {Reinstalar conjuntos o instalar conjuntos adicionales}
 message Reboot_the_computer {Reiniciar la computadora}
 message Utility_menu {Menú de utilidades}
+/* XXX */
+message Config_menu {Menú de configuracion}
 message exit_utility_menu {Exit}
 message NetBSD_VERSION_Utilities {Utilidades de NetBSD-@@VERSION@@}
 message Run_bin_sh {Ejecutar /bin/sh}

Index: src/distrib/utils/sysinst/msg.mi.fr
diff -u src/distrib/utils/sysinst/msg.mi.fr:1.128 src/distrib/utils/sysinst/msg.mi.fr:1.129
--- src/distrib/utils/sysinst/msg.mi.fr:1.128	Fri Jul  6 09:12:17 2012
+++ src/distrib/utils/sysinst/msg.mi.fr	Fri Jul  6 21:10:56 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mi.fr,v 1.128 2012/07/06 09:12:17 wiz Exp $	*/
+/*	$NetBSD: msg.mi.fr,v 1.129 2012/07/06 21:10:56 jdf Exp $	*/
 
 /*
  * 

CVS commit: src/crypto/external/bsd/heimdal/dist/lib/com_err

2012-07-04 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Wed Jul  4 20:46:14 UTC 2012

Modified Files:
src/crypto/external/bsd/heimdal/dist/lib/com_err: com_err.3

Log Message:
Change little wording error (s/associate/associated/) and formatting error.
Patch proposal was sent upstream to Heimdal as well.
Patch by jklowden in PR lib/46651.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
src/crypto/external/bsd/heimdal/dist/lib/com_err/com_err.3

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

Modified files:

Index: src/crypto/external/bsd/heimdal/dist/lib/com_err/com_err.3
diff -u src/crypto/external/bsd/heimdal/dist/lib/com_err/com_err.3:1.1.1.2 src/crypto/external/bsd/heimdal/dist/lib/com_err/com_err.3:1.2
--- src/crypto/external/bsd/heimdal/dist/lib/com_err/com_err.3:1.1.1.2	Thu Apr 14 14:08:23 2011
+++ src/crypto/external/bsd/heimdal/dist/lib/com_err/com_err.3	Wed Jul  4 20:46:14 2012
@@ -1,4 +1,4 @@
-.\	$NetBSD: com_err.3,v 1.1.1.2 2011/04/14 14:08:23 elric Exp $
+.\	$NetBSD: com_err.3,v 1.2 2012/07/04 20:46:14 jdf Exp $
 .\
 .\ Copyright (c) 2005 Kungliga Tekniska Högskolan
 .\ (Royal Institute of Technology, Stockholm, Sweden).
@@ -136,10 +136,11 @@ This routine provides an interface, equi
 which may be used by higher-level variadic functions (functions which
 accept variable numbers of arguments).
 .It Fn error_message code
-Returns the character string error message associate with
+Returns the character string error message associated with
 .Fa code .
 If
-.Fa code is associated with an unknown error table, or if
+.Fa code
+is associated with an unknown error table, or if
 .Fa code
 is associated with a known error table but is not in the table, a
 string of the form `Unknown code  NN' is returned, where  is



CVS commit: src/share/man/man5

2012-07-04 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Wed Jul  4 20:53:30 UTC 2012

Modified Files:
src/share/man/man5: rc.conf.5

Log Message:
 * add entry for lvm(8)
 * add subsection for block device subsystem setup
 * s/OPTIONAL:/OPTIONAL: to make mdoclint happier
 * add missing type specifications of variables


To generate a diff of this commit:
cvs rdiff -u -r1.152 -r1.153 src/share/man/man5/rc.conf.5

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/man5/rc.conf.5
diff -u src/share/man/man5/rc.conf.5:1.152 src/share/man/man5/rc.conf.5:1.153
--- src/share/man/man5/rc.conf.5:1.152	Sun Jun  3 21:42:47 2012
+++ src/share/man/man5/rc.conf.5	Wed Jul  4 20:53:30 2012
@@ -1,4 +1,4 @@
-.\	$NetBSD: rc.conf.5,v 1.152 2012/06/03 21:42:47 joerg Exp $
+.\	$NetBSD: rc.conf.5,v 1.153 2012/07/04 20:53:30 jdf Exp $
 .\
 .\ Copyright (c) 1996 Matthew R. Green
 .\ All rights reserved.
@@ -55,7 +55,7 @@
 .\ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\ SUCH DAMAGE.
 .\
-.Dd June 1, 2012
+.Dd July 4, 2012
 .Dt RC.CONF 5
 .Os
 .Sh NAME
@@ -282,7 +282,7 @@ which may be required to get the network
 The default is
 .Dq OPTIONAL:/var ,
 where the
-.Dq OPTIONAL:
+.Dq OPTIONAL:
 prefix means that it's not an error if the file system is not
 present in
 .Xr fstab 5 .
@@ -295,7 +295,7 @@ that must be available early in the syst
 The default is
 .Dq OPTIONAL:/usr ,
 where the
-.Dq OPTIONAL:
+.Dq OPTIONAL:
 prefix means that it is not an error if the file system is not
 present in
 .Xr fstab 5 .
@@ -325,15 +325,8 @@ Boolean value.
 Remove block-type swap devices at shutdown time.
 Useful if swapping onto RAIDframe devices.
 .El
-.Ss One-time actions to perform or programs to run on boot-up
+.Ss Block device subsystems
 .Bl -tag -width net_interfaces
-.It Sy accounting
-Boolean value.
-Enables process accounting with
-.Xr accton 8 .
-Requires
-.Pa /var/account/acct
-to exist.
 .It Sy ccd
 Boolean value.
 Configures concatenated disk devices according to
@@ -346,6 +339,30 @@ Requires
 See
 .Xr cgdconfig 8
 for additional details.
+.It Sy lvm
+Boolean value.
+Configures the logical volume manager.
+See
+.Xr lvm 8
+for additional details.
+.It Sy raidframe
+Boolean value.
+Configures
+.Xr raid 4 ,
+RAIDframe disk devices.
+See
+.Xr raidctl 8
+for additional details.
+.El
+.Ss One-time actions to perform or programs to run on boot-up
+.Bl -tag -width net_interfaces
+.It Sy accounting
+Boolean value.
+Enables process accounting with
+.Xr accton 8 .
+Requires
+.Pa /var/account/acct
+to exist.
 .It Sy clear_tmp
 Boolean value.
 Clear
@@ -415,14 +432,6 @@ Checks and enables quotas by running
 .Xr quotacheck 8
 and
 .Xr quotaon 8 .
-.It Sy raidframe
-Boolean value.
-Configures
-.Xr raid 4 ,
-RAIDframe disk devices.
-See
-.Xr raidctl 8
-for additional details.
 .It Sy rndctl
 Boolean value.
 Runs the
@@ -515,12 +524,6 @@ version string in the
 file to reflect the version of the running kernel.
 See
 .Xr motd 5 .
-.It Sy veriexec
-Boolean value.
-Load Veriexec fingerprints during startup.
-Read
-.Xr veriexecctl 8
-for more information.
 .It Sy virecover
 Boolean value.
 Send notification mail to users if any recoverable files exist in
@@ -537,7 +540,7 @@ Refer to
 .Xr wdogctl 8
 for information on how to configure a timer.
 .El
-.Ss System security setting
+.Ss System security settings
 .Bl -tag -width net_interfaces
 .It Sy securelevel
 A number.
@@ -559,8 +562,15 @@ will raise the level when
 .Xr rc 8
 completes.
 .It Sy permit_nonalpha
+Boolean value.
 Allow passwords to include non-alpha characters, usually to allow
 NIS/YP netgroups.
+.It Sy veriexec
+Boolean value.
+Load Veriexec fingerprints during startup.
+Read
+.Xr veriexecctl 8
+for more information.
 .It Sy veriexec_strict
 A number.
 Controls the strict level of Veriexec.
@@ -643,6 +653,7 @@ file in the
 .Sy dhclient_flags
 variable - for example, -lf /tmp/dhclient.leases.
 .It Sy dhcpcd_flags
+A string.
 Additional arguments to pass to
 .Xr dhcpcd 8
 when requesting configuration via
@@ -953,6 +964,7 @@ Boolean value.
 Run
 .Xr cron 8 .
 .It Sy ftpd
+Boolean value.
 Runs the
 .Xr ftpd 8
 daemon and passes



CVS commit: src/lib/libmenu

2012-06-30 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Sat Jun 30 09:25:55 UTC 2012

Modified Files:
src/lib/libmenu: menu_items.3 menu_new.3

Log Message:
Replace wrong variable type (s/ITEMS/ITEM).


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libmenu/menu_items.3 \
src/lib/libmenu/menu_new.3

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

Modified files:

Index: src/lib/libmenu/menu_items.3
diff -u src/lib/libmenu/menu_items.3:1.9 src/lib/libmenu/menu_items.3:1.10
--- src/lib/libmenu/menu_items.3:1.9	Wed Apr 16 13:35:11 2003
+++ src/lib/libmenu/menu_items.3	Sat Jun 30 09:25:55 2012
@@ -1,4 +1,4 @@
-.\	$NetBSD: menu_items.3,v 1.9 2003/04/16 13:35:11 wiz Exp $
+.\	$NetBSD: menu_items.3,v 1.10 2012/06/30 09:25:55 jdf Exp $
 .\
 .\ Copyright (c) 1999
 .\	Brett Lymn - bl...@baea.com.au, brett_l...@yahoo.com.au
@@ -43,7 +43,7 @@
 .In menu.h
 .Ft int
 .Fn item_count MENU *menu
-.Ft ITEMS **
+.Ft ITEM **
 .Fn menu_items MENU *menu
 .Ft int
 .Fn set_menu_items MENU *menu ITEM **items
Index: src/lib/libmenu/menu_new.3
diff -u src/lib/libmenu/menu_new.3:1.9 src/lib/libmenu/menu_new.3:1.10
--- src/lib/libmenu/menu_new.3:1.9	Wed Apr 16 13:35:11 2003
+++ src/lib/libmenu/menu_new.3	Sat Jun 30 09:25:55 2012
@@ -1,4 +1,4 @@
-.\	$NetBSD: menu_new.3,v 1.9 2003/04/16 13:35:11 wiz Exp $
+.\	$NetBSD: menu_new.3,v 1.10 2012/06/30 09:25:55 jdf Exp $
 .\
 .\ Copyright (c) 1999
 .\	Brett Lymn - bl...@baea.com.au, brett_l...@yahoo.com.au
@@ -43,7 +43,7 @@
 .Ft int
 .Fn free_menu MENU *menu
 .Ft MENU *
-.Fn new_menu ITEMS **items
+.Fn new_menu ITEM **items
 .Sh DESCRIPTION
 The
 .Fn free_menu



CVS commit: src

2012-06-27 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Wed Jun 27 22:18:07 UTC 2012

Modified Files:
src/distrib/sets/lists/comp: mi
src/lib/libmenu: Makefile

Log Message:
Add manpage link entries for libmenu, reformat MAN entry.
On the way, sort the mi list for comp alphabetically.


To generate a diff of this commit:
cvs rdiff -u -r1.1766 -r1.1767 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.8 -r1.9 src/lib/libmenu/Makefile

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

Modified files:

Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.1766 src/distrib/sets/lists/comp/mi:1.1767
--- src/distrib/sets/lists/comp/mi:1.1766	Mon Jun 25 15:30:16 2012
+++ src/distrib/sets/lists/comp/mi	Wed Jun 27 22:18:06 2012
@@ -1,4 +1,4 @@
-#	$NetBSD: mi,v 1.1766 2012/06/25 15:30:16 christos Exp $
+#	$NetBSD: mi,v 1.1767 2012/06/27 22:18:06 jdf Exp $
 #
 # Note: don't delete entries from here - mark them as obsolete instead.
 #
@@ -1606,8 +1606,8 @@
 ./usr/include/g++/values.h			comp-obsolete		obsolete
 ./usr/include/g++/vector			comp-cxx-include	cxx
 ./usr/include/g++/vector.h			comp-obsolete		obsolete
-./usr/include/gcc-4.5/omp.h			comp-gcc-include	gcc=45
 ./usr/include/gcc-4.5/mf-runtime.h		comp-gcc-include	gcc=45
+./usr/include/gcc-4.5/omp.h			comp-gcc-include	gcc=45
 ./usr/include/gelf.hcomp-c-include
 ./usr/include/getopt.hcomp-c-include
 ./usr/include/glob.hcomp-c-include
@@ -2961,15 +2961,15 @@
 ./usr/lib/libmpfr.a-unknown-		obsolete
 ./usr/lib/libmpfr.acomp-c-lib		obsolete
 ./usr/lib/libmpfr_p.acomp-c-proflib		obsolete
-./usr/lib/libnetpgp.acomp-c-lib		crypto
-./usr/lib/libnetpgp_g.a-unknown-		debuglib
-./usr/lib/libnetpgp_p.acomp-c-proflib		profile,crypto
 ./usr/lib/libmudflap.acomp-c-lib		gcc=45
 ./usr/lib/libmudflap_g.a			-unknown-		gcc=45,debuglib
 ./usr/lib/libmudflap_p.a			comp-c-proflib		gcc=45,profile
 ./usr/lib/libmudflapth.a			comp-c-lib		gcc=45
 ./usr/lib/libmudflapth_g.a			-unknown-		gcc=45,debuglib
 ./usr/lib/libmudflapth_p.a			comp-c-proflib		gcc=45,profile
+./usr/lib/libnetpgp.acomp-c-lib		crypto
+./usr/lib/libnetpgp_g.a-unknown-		debuglib
+./usr/lib/libnetpgp_p.acomp-c-proflib		profile,crypto
 ./usr/lib/libnpf.acomp-npf-lib		npf
 ./usr/lib/libnpf_g.a-unknown-		debuglib
 ./usr/lib/libnpf_p.acomp-npf-proflib	profile,npf
@@ -3916,8 +3916,8 @@
 ./usr/libdata/debug/usr/bin/write.debug		comp-util-debug		debug
 ./usr/libdata/debug/usr/bin/xargs.debug		comp-util-debug		debug
 ./usr/libdata/debug/usr/bin/xgettext.debug	comp-c-debug		debug
-./usr/libdata/debug/usr/bin/xstr.debug		comp-c-debug		debug
 ./usr/libdata/debug/usr/bin/xmlwf.debug		comp-util-debug		debug
+./usr/libdata/debug/usr/bin/xstr.debug		comp-c-debug		debug
 ./usr/libdata/debug/usr/bin/xz.debug		comp-util-debug		debug
 ./usr/libdata/debug/usr/bin/yacc.debug		comp-c-debug		debug
 ./usr/libdata/debug/usr/bin/yes.debug		comp-util-debug		debug
@@ -5789,12 +5789,12 @@
 ./usr/share/man/cat3/authsys_create_default.0	comp-c-catman		.cat
 ./usr/share/man/cat3/authunix_create.0		comp-c-catman		.cat
 ./usr/share/man/cat3/authunix_create_default.0	comp-c-catman		.cat
-./usr/share/man/cat3/basename.0			comp-c-catman		.cat
 ./usr/share/man/cat3/backtrace.0		comp-c-catman		.cat
 ./usr/share/man/cat3/backtrace_symbols.0	comp-c-catman		.cat
-./usr/share/man/cat3/backtrace_symbols_fmt.0	comp-c-catman		.cat
 ./usr/share/man/cat3/backtrace_symbols_fd.0	comp-c-catman		.cat
 ./usr/share/man/cat3/backtrace_symbols_fd_fmt.0	comp-c-catman		.cat
+./usr/share/man/cat3/backtrace_symbols_fmt.0	comp-c-catman		.cat
+./usr/share/man/cat3/basename.0			comp-c-catman		.cat
 ./usr/share/man/cat3/bcmp.0			comp-c-catman		.cat
 ./usr/share/man/cat3/bcopy.0			comp-c-catman		.cat
 ./usr/share/man/cat3/beep.0			comp-c-catman		.cat
@@ -6115,6 +6115,7 @@
 ./usr/share/man/cat3/ctime_rz.0			comp-c-catman		.cat
 ./usr/share/man/cat3/ctype.0			comp-c-catman		.cat
 ./usr/share/man/cat3/current_field.0		comp-c-catman		.cat
+./usr/share/man/cat3/current_item.0		comp-c-catman		.cat
 ./usr/share/man/cat3/curs_set.0			comp-c-catman		.cat
 ./usr/share/man/cat3/curses.0			comp-c-catman		.cat
 ./usr/share/man/cat3/curses_addch.0		comp-c-catman		.cat
@@ -6594,6 +6595,8 @@
 ./usr/share/man/cat3/free_field.0		comp-c-catman		.cat
 ./usr/share/man/cat3/free_fieldtype.0		comp-c-catman		.cat
 ./usr/share/man/cat3/free_form.0		comp-c-catman		.cat
+./usr/share/man/cat3/free_item.0		comp-c-catman		.cat
+./usr/share/man/cat3/free_menu.0		comp-c-catman		.cat
 ./usr/share/man/cat3/freeaddrinfo.0		comp-c-catman		.cat
 ./usr/share/man/cat3/freeifaddrs.0		comp-c-catman		.cat
 ./usr/share/man/cat3/freopen.0			comp-c-catman		.cat
@@ -6762,8 +6765,8 @@
 ./usr/share/man/cat3/getpary.0			comp-c-catman		.cat
 ./usr/share/man/cat3/getparyx.0			comp-c-catman		.cat
 ./usr/share/man/cat3/getpass.0			comp-c-catman		.cat

CVS commit: src/usr.bin/find

2012-06-27 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Wed Jun 27 22:31:27 UTC 2012

Modified Files:
src/usr.bin/find: find.1

Log Message:
Various formatting changes:
 * Remove superfluous Pp macro (fixes mandoc(1) warning)
 * use Xr macro instead of Nm where appropriate
 * escape punctuation (so Ic actually 'sees' it) (fixed mandoc(1) warning)
 * remove redundant argument to successive Nm macros
 * remove double spaces

Patch supplied by Bug Hunting.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/usr.bin/find/find.1

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/find/find.1
diff -u src/usr.bin/find/find.1:1.73 src/usr.bin/find/find.1:1.74
--- src/usr.bin/find/find.1:1.73	Wed Jun 20 17:55:06 2012
+++ src/usr.bin/find/find.1	Wed Jun 27 22:31:26 2012
@@ -1,4 +1,4 @@
-.\	$NetBSD: find.1,v 1.73 2012/06/20 17:55:06 wiz Exp $
+.\	$NetBSD: find.1,v 1.74 2012/06/27 22:31:26 jdf Exp $
 .\
 .\ Copyright (c) 1990, 1993
 .\	The Regents of the University of California.  All rights reserved.
@@ -65,7 +65,6 @@ listed below) in terms
 of each file in the tree.
 .Pp
 The options are as follows:
-.Pp
 .Bl -tag -width Ds
 .It Fl H
 The
@@ -154,7 +153,7 @@ option is a modification to permit
 to be safely used in conjunction with
 .Xr xargs 1 .
 If a file name contains any of the delimiting characters used by
-.Nm xargs ,
+.Xr xargs 1 ,
 a diagnostic message is displayed on standard error, and the file
 is skipped.
 The delimiting characters include single
@@ -169,7 +168,7 @@ Alternatively, the
 or
 .Ic -printx
 primaries can be used to format the output in a way that
-.Nm xargs
+.Xr xargs 1
 can accept.
 .It Fl x
 The
@@ -490,7 +489,7 @@ was started, rounded up to the next full
 .Ar n
 24-hour periods.
 .Pp
-.It Ic -ok Ar utility Oo argument ... Oc Ic ;
+.It Ic -ok Ar utility Oo argument ... Oc Ic \;
 The
 .Ic -ok
 primary is similar to the semicolon-terminated
@@ -618,9 +617,9 @@ This primary always evaluates to true.
 It prints the pathname of the current file to standard output,
 with each space, tab, newline, backslash, dollar sign, and single,
 double, or back quotation mark prefixed by a backslash, so the output of
-.Nm find
+.Nm
 can safely be used as input to
-.Nm xargs .
+.Xr xargs 1 .
 .Pp
 .It Ic -prune
 This primary always evaluates to true.
@@ -731,10 +730,10 @@ The second expression is not evaluated i
 .El
 .Pp
 All operands and primaries must be separate arguments to
-.Nm  .
+.Nm .
 Primaries which themselves take arguments expect each argument
 to be a separate argument to
-.Nm  .
+.Nm .
 .Sh EXIT STATUS
 The
 .Nm
@@ -897,7 +896,7 @@ primary does not interact well with othe
 tree traversal options to be changed.
 .Sh HISTORY
 A much simpler
-.Nm find
+.Nm .
 command appeared in First Edition AT\*[Am]T Unix.
 The syntax had become similar to the present version by
 the time of the Fifth Edition.



CVS commit: src/usr.bin/find

2012-06-27 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Wed Jun 27 22:57:27 UTC 2012

Modified Files:
src/usr.bin/find: find.1

Log Message:
Small fix: Changed 'Nm .' to 'Nm' (introduced by me before).


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/usr.bin/find/find.1

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/find/find.1
diff -u src/usr.bin/find/find.1:1.74 src/usr.bin/find/find.1:1.75
--- src/usr.bin/find/find.1:1.74	Wed Jun 27 22:31:26 2012
+++ src/usr.bin/find/find.1	Wed Jun 27 22:57:27 2012
@@ -1,4 +1,4 @@
-.\	$NetBSD: find.1,v 1.74 2012/06/27 22:31:26 jdf Exp $
+.\	$NetBSD: find.1,v 1.75 2012/06/27 22:57:27 jdf Exp $
 .\
 .\ Copyright (c) 1990, 1993
 .\	The Regents of the University of California.  All rights reserved.
@@ -896,7 +896,7 @@ primary does not interact well with othe
 tree traversal options to be changed.
 .Sh HISTORY
 A much simpler
-.Nm .
+.Nm
 command appeared in First Edition AT\*[Am]T Unix.
 The syntax had become similar to the present version by
 the time of the Fifth Edition.



CVS commit: src/usr.sbin/hdaudioctl

2012-06-23 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Sat Jun 23 20:49:14 UTC 2012

Modified Files:
src/usr.sbin/hdaudioctl: hdaudioctl.8

Log Message:
 * Remove spurious period in name section
 * remove spurious argument to Nm macro
Patch supplied by Bug Hunting.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/hdaudioctl/hdaudioctl.8

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/hdaudioctl/hdaudioctl.8
diff -u src/usr.sbin/hdaudioctl/hdaudioctl.8:1.3 src/usr.sbin/hdaudioctl/hdaudioctl.8:1.4
--- src/usr.sbin/hdaudioctl/hdaudioctl.8:1.3	Sat Mar 17 11:13:03 2012
+++ src/usr.sbin/hdaudioctl/hdaudioctl.8	Sat Jun 23 20:49:14 2012
@@ -1,4 +1,4 @@
-.\	$NetBSD: hdaudioctl.8,v 1.3 2012/03/17 11:13:03 wiz Exp $
+.\	$NetBSD: hdaudioctl.8,v 1.4 2012/06/23 20:49:14 jdf Exp $
 .\
 .\ Copyright (c) 2009 Precedence Technologies Ltd supp...@precedence.co.uk
 .\ All rights reserved.
@@ -34,9 +34,9 @@
 .Nm hdaudioctl
 .Nd program to manipulate
 .Xr hdaudio 4
-devices.
+devices
 .Sh SYNOPSIS
-.Nm hdaudioctl
+.Nm
 .Op Ar -f device
 .Ar command
 .Op Ar arguments



CVS commit: src/sbin/mount

2012-06-23 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Sat Jun 23 23:17:46 UTC 2012

Modified Files:
src/sbin/mount: mount.8

Log Message:
Clarify use of the union option for mount, as proposed in PR 45919.
Text proposed by apb.


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sbin/mount/mount.8

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

Modified files:

Index: src/sbin/mount/mount.8
diff -u src/sbin/mount/mount.8:1.74 src/sbin/mount/mount.8:1.75
--- src/sbin/mount/mount.8:1.74	Fri Jul 22 15:53:21 2011
+++ src/sbin/mount/mount.8	Sat Jun 23 23:17:46 2012
@@ -1,4 +1,4 @@
-.\	$NetBSD: mount.8,v 1.74 2011/07/22 15:53:21 dholland Exp $
+.\	$NetBSD: mount.8,v 1.75 2012/06/23 23:17:46 jdf Exp $
 .\
 .\ Copyright (c) 1980, 1989, 1991, 1993
 .\	The Regents of the University of California.  All rights reserved.
@@ -303,12 +303,32 @@ Clear
 mode.
 .It Cm union
 Causes the namespace at the mount point to appear as the union
-of the mounted file system root and the existing directory.
-Lookups will be done in the mounted file system first.
-If those operations fail due to a non-existent file the underlying
-directory is then accessed.
-All creates are done in the mounted file system, except for the fdesc
-file system.
+of the mounted file system root
+(referred to as the
+.Em upper
+layer), and the existing directory
+(referred to as the
+.Em lower
+layer).
+Name lookups will be done in the upper layer first.
+If a name does not exist in the upper layer, then the name
+will be looked up in the lower layer.
+If a name exists in both the upper and lower layers, then only
+the upper instance is accessible.
+Creation of new files is done in the upper layer,
+except in the case of the fdesc file system (see
+.Xr mount_fdesc 8 ) .
+.Pp
+Note that the
+.Cm union
+option can be applied to any type of file system,
+and is fundamentally different from
+.Xr mount_union 8 ,
+which is a particular type of file system.
+Also note that the
+.Cm union
+option affects the file system name space only at the mount point
+itself; it does not apply recursively to subdirectories.
 .It Cm update
 The same as
 .Fl u ;



CVS commit: src/external/gpl2/gawk

2012-06-12 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Tue Jun 12 21:01:10 UTC 2012

Modified Files:
src/external/gpl2/gawk: README

Log Message:
Capitalize sentences.

Patch provided by Bug Hunting.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl2/gawk/README

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

Modified files:

Index: src/external/gpl2/gawk/README
diff -u src/external/gpl2/gawk/README:1.1 src/external/gpl2/gawk/README:1.2
--- src/external/gpl2/gawk/README:1.1	Mon Dec 13 06:21:53 2010
+++ src/external/gpl2/gawk/README	Tue Jun 12 21:01:10 2012
@@ -1,5 +1,5 @@
-$NetBSD: README,v 1.1 2010/12/13 06:21:53 mrg Exp $
+$NetBSD: README,v 1.2 2012/06/12 21:01:10 jdf Exp $
 
-the awk.texi in this directory comes from GNU awk 3.1.3 but we build
-it as part of NetBSD with nawk.  we keep it here so that it is in
+The awk.texi in this directory comes from GNU awk 3.1.3 but we build
+it as part of NetBSD with nawk.  We keep it here so that it is in
 the right license subdirectory.



CVS commit: src/share/man/man9

2012-06-12 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Tue Jun 12 21:06:43 UTC 2012

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

Log Message:
 * decapitalize NAME section's line
 * improve wording
 * make RETURN VALUES section consistent with other man pages' (e.g. exit(3) and
   abort(3)

Patch provided by Bug Hunting.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/share/man/man9/panic.9

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

Modified files:

Index: src/share/man/man9/panic.9
diff -u src/share/man/man9/panic.9:1.20 src/share/man/man9/panic.9:1.21
--- src/share/man/man9/panic.9:1.20	Thu Sep 29 20:55:49 2011
+++ src/share/man/man9/panic.9	Tue Jun 12 21:06:43 2012
@@ -1,4 +1,4 @@
-.\ $NetBSD: panic.9,v 1.20 2011/09/29 20:55:49 christos Exp $
+.\ $NetBSD: panic.9,v 1.21 2012/06/12 21:06:43 jdf Exp $
 .\
 .\ Copyright (c) 1996 The NetBSD Foundation, Inc.
 .\ All rights reserved.
@@ -32,7 +32,7 @@
 .Os
 .Sh NAME
 .Nm panic
-.Nd Bring down system on fatal error
+.Nd bring down system on fatal error
 .Sh SYNOPSIS
 .In sys/types.h
 .In sys/systm.h
@@ -91,8 +91,8 @@ the system is rebooted immediately witho
 .Fn panic
 is meant to be used in situations where something unexpected has happened
 and it is difficult to recover the system to a stable state, or in
-situations where proceeding might make the things worse, leading to
-data corruption/loss.
+situations where proceeding might make things worse, leading to data
+corruption and/or loss.
 It is not meant to be used in scenarios where the system could easily
 ignore and/or isolate the condition/subsystem and proceed.
 .Pp
@@ -102,7 +102,7 @@ calls in the kernel to improve stability
 .Sh RETURN VALUES
 The
 .Fn panic
-function does not return.
+function never returns.
 .Sh SEE ALSO
 .Xr sysctl 3 ,
 .Xr ddb 4 ,



CVS commit: src/lib/libc/stdlib

2012-06-12 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Tue Jun 12 21:16:17 UTC 2012

Modified Files:
src/lib/libc/stdlib: abort.3

Log Message:
Use correct macro (.Nm is only used within the NAME section, for section 3
manpages).

Patch provided by Bug Hunting.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/stdlib/abort.3

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

Modified files:

Index: src/lib/libc/stdlib/abort.3
diff -u src/lib/libc/stdlib/abort.3:1.12 src/lib/libc/stdlib/abort.3:1.13
--- src/lib/libc/stdlib/abort.3:1.12	Thu Aug  7 16:43:37 2003
+++ src/lib/libc/stdlib/abort.3	Tue Jun 12 21:16:17 2012
@@ -1,4 +1,4 @@
-.\	$NetBSD: abort.3,v 1.12 2003/08/07 16:43:37 agc Exp $
+.\	$NetBSD: abort.3,v 1.13 2012/06/12 21:16:17 jdf Exp $
 .\
 .\ Copyright (c) 1990, 1991, 1993
 .\	The Regents of the University of California.  All rights reserved.
@@ -59,7 +59,7 @@ function results in temporary files bein
 Any open streams are flushed and closed.
 .Sh RETURN VALUES
 The
-.Nm abort
+.Fn abort
 function
 never returns.
 .Sh SEE ALSO



CVS commit: src/distrib/utils/more

2012-06-08 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Fri Jun  8 12:39:43 UTC 2012

Modified Files:
src/distrib/utils/more: more.1

Log Message:
Change name of author from Nudleman to Nudelman.
See less(1) or http://en.wikipedia.org/wiki/Less_(Unix) for reference.
Patch provided by Bug Hunting


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/distrib/utils/more/more.1

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

Modified files:

Index: src/distrib/utils/more/more.1
diff -u src/distrib/utils/more/more.1:1.9 src/distrib/utils/more/more.1:1.10
--- src/distrib/utils/more/more.1:1.9	Thu Mar 22 07:58:17 2012
+++ src/distrib/utils/more/more.1	Fri Jun  8 12:39:42 2012
@@ -1,4 +1,4 @@
-.\	$NetBSD: more.1,v 1.9 2012/03/22 07:58:17 wiz Exp $
+.\	$NetBSD: more.1,v 1.10 2012/06/08 12:39:42 jdf Exp $
 .\
 .\ Copyright (c) 1988, 1990, 1993
 .\	The Regents of the University of California.  All rights reserved.
@@ -298,4 +298,4 @@ command appeared in
 .Bx 3.0 .
 .Sh AUTHORS
 This software is derived from software contributed to Berkeley
-by Mark Nudleman.
+by Mark Nudelman.



CVS commit: src/distrib/utils/sysinst

2012-05-21 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Mon May 21 22:38:26 UTC 2012

Modified Files:
src/distrib/utils/sysinst: disks.c msg.mi.de msg.mi.en msg.mi.es
msg.mi.fr msg.mi.pl

Log Message:
Changed returncodes to -1 of mount_disks in case of error (before, they were
inverted).
Add message mount_failed to be displayed when a mount fails, offering the
opportunity to go on anyway (fix for PR install/12020).


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 src/distrib/utils/sysinst/disks.c
cvs rdiff -u -r1.67 -r1.68 src/distrib/utils/sysinst/msg.mi.de
cvs rdiff -u -r1.172 -r1.173 src/distrib/utils/sysinst/msg.mi.en
cvs rdiff -u -r1.43 -r1.44 src/distrib/utils/sysinst/msg.mi.es
cvs rdiff -u -r1.126 -r1.127 src/distrib/utils/sysinst/msg.mi.fr
cvs rdiff -u -r1.83 -r1.84 src/distrib/utils/sysinst/msg.mi.pl

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

Modified files:

Index: src/distrib/utils/sysinst/disks.c
diff -u src/distrib/utils/sysinst/disks.c:1.123 src/distrib/utils/sysinst/disks.c:1.124
--- src/distrib/utils/sysinst/disks.c:1.123	Mon Jan  9 01:51:47 2012
+++ src/distrib/utils/sysinst/disks.c	Mon May 21 22:38:26 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: disks.c,v 1.123 2012/01/09 01:51:47 riz Exp $ */
+/*	$NetBSD: disks.c,v 1.124 2012/05/21 22:38:26 jdf Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -805,8 +805,12 @@ foundffs(struct data *list, size_t num)
 		return error;
 
 	error = target_mount(, list[0].u.s_val, ' '-'a', list[1].u.s_val);
-	if (error != 0)
-		return error;
+	if (error != 0) {
+		msg_display(MSG_mount_failed, list[0].u.s_val);
+		process_menu(MENU_noyes, NULL);
+		if (!yesno)
+			return error;
+	}
 	return 0;
 }
 
@@ -854,7 +858,9 @@ fsck_preen(const char *disk, int ptn, co
 	free(prog);
 	if (error != 0) {
 		msg_display(MSG_badfs, disk, ptn, error);
-		process_menu(MENU_ok, NULL);
+		process_menu(MENU_noyes, NULL);
+		if (yesno)
+			error = 0;
 		/* XXX at this point maybe we should run a full fsck? */
 	}
 	return error;
@@ -966,7 +972,7 @@ mount_disks(void)
 	else {
 		error = mount_root();
 		if (error != 0  error != EBUSY)
-			return 0;
+			return -1;
 	}
 
 	/* Check the target /etc/fstab exists before trying to parse it. */
@@ -974,7 +980,7 @@ mount_disks(void)
 	target_file_exists_p(/etc/fstab) == 0) {
 		msg_display(MSG_noetcfstab, diskdev);
 		process_menu(MENU_ok, NULL);
-		return 0;
+		return -1;
 	}
 
 
@@ -984,7 +990,7 @@ mount_disks(void)
 		/* error ! */
 		msg_display(MSG_badetcfstab, diskdev);
 		process_menu(MENU_ok, NULL);
-		return 0;
+		return -1;
 	}
 	error = walk(fstab, (size_t)fstabsize, fstabbuf, numfstabbuf);
 	free(fstab);

Index: src/distrib/utils/sysinst/msg.mi.de
diff -u src/distrib/utils/sysinst/msg.mi.de:1.67 src/distrib/utils/sysinst/msg.mi.de:1.68
--- src/distrib/utils/sysinst/msg.mi.de:1.67	Mon Apr 30 19:49:26 2012
+++ src/distrib/utils/sysinst/msg.mi.de	Mon May 21 22:38:25 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mi.de,v 1.67 2012/04/30 19:49:26 martin Exp $	*/
+/*	$NetBSD: msg.mi.de,v 1.68 2012/05/21 22:38:25 jdf Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -124,6 +124,9 @@ Wollen Sie die NetBSD Distributionssets 
 überschrieben werden!)
 }
 
+message mount_failed
+{Versuch, %s zu mounten ist fehlgeschlagen. Fortfahren?
+}
 
 message nodisk
 {Ich kann keine für NetBSD nutzbaren Festplatten finden.
@@ -711,9 +714,9 @@ message makedev
 
 message badfs
 {Das Dateisystem auf /dev/%s%c scheint kein BSD-Dateisystem zu sein,
-die Prüfung des Dateisystems (fsck) ist fehlgeschlagen.
+die Prüfung des Dateisystems (fsck) ist fehlgeschlagen (Fehler %d).
 
-Die Aktualisierung wird abgebrochen. (Fehlernummer %d.)
+Die Aktualisierung trotzdem fortsetzen?
 }
 
 message rootmissing

Index: src/distrib/utils/sysinst/msg.mi.en
diff -u src/distrib/utils/sysinst/msg.mi.en:1.172 src/distrib/utils/sysinst/msg.mi.en:1.173
--- src/distrib/utils/sysinst/msg.mi.en:1.172	Fri Apr  6 23:48:53 2012
+++ src/distrib/utils/sysinst/msg.mi.en	Mon May 21 22:38:25 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mi.en,v 1.172 2012/04/06 23:48:53 riz Exp $	*/
+/*	$NetBSD: msg.mi.en,v 1.173 2012/05/21 22:38:25 jdf Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -117,6 +117,9 @@ Do you really want to reinstall NetBSD d
 disks.)
 }
 
+message mount_failed
+{Mounting %s failed. Continue?
+}
 
 message nodisk
 {I can not find any hard disks for use by NetBSD.  You will be
@@ -680,7 +683,7 @@ message makedev
 
 message badfs
 {It appears that /dev/%s%c is not a BSD file system or the fsck was
-not successful.  The upgrade has been aborted.  (Error number %d.)
+not successful.  Try mounting it anyway?  (Error number %d.)
 }
 
 message rootmissing

Index: src/distrib/utils/sysinst/msg.mi.es
diff -u src/distrib/utils/sysinst/msg.mi.es:1.43 src/distrib/utils/sysinst/msg.mi.es:1.44
--- src/distrib/utils/sysinst/msg.mi.es:1.43	Fri 

CVS commit: src/distrib/utils/sysinst

2012-05-15 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Tue May 15 15:50:58 UTC 2012

Modified Files:
src/distrib/utils/sysinst: checkrc.c configmenu.c

Log Message:
Adds a check to determine the root filesystem for determining the path of the
rc.conf. Without, the menu would fail as it tried to `chroot ` (target_root
returns  for / as root).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/distrib/utils/sysinst/checkrc.c
cvs rdiff -u -r1.4 -r1.5 src/distrib/utils/sysinst/configmenu.c

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

Modified files:

Index: src/distrib/utils/sysinst/checkrc.c
diff -u src/distrib/utils/sysinst/checkrc.c:1.1 src/distrib/utils/sysinst/checkrc.c:1.2
--- src/distrib/utils/sysinst/checkrc.c:1.1	Fri Apr  6 23:48:53 2012
+++ src/distrib/utils/sysinst/checkrc.c	Tue May 15 15:50:58 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: checkrc.c,v 1.1 2012/04/06 23:48:53 riz Exp $ */
+/* $NetBSD: checkrc.c,v 1.2 2012/05/15 15:50:58 jdf Exp $ */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -84,8 +84,12 @@ check(const char *varname, int filetoche
 
 	create_script(varname, filetocheck);
 
-	collect(T_OUTPUT, buf, chroot %s /bin/sh %s 21, target_prefix(),
-	RC_CHECK_SCRIPT);
+	if (target_already_root())
+		collect(T_OUTPUT, buf, /bin/sh %s 21, RC_CHECK_SCRIPT);
+	else
+		collect(T_OUTPUT, buf, chroot %s /bin/sh %s 21,
+target_prefix(), RC_CHECK_SCRIPT);
+
 
 	unlink(target_expand(RC_CHECK_SCRIPT));
 

Index: src/distrib/utils/sysinst/configmenu.c
diff -u src/distrib/utils/sysinst/configmenu.c:1.4 src/distrib/utils/sysinst/configmenu.c:1.5
--- src/distrib/utils/sysinst/configmenu.c:1.4	Mon Apr 30 19:57:52 2012
+++ src/distrib/utils/sysinst/configmenu.c	Tue May 15 15:50:58 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: configmenu.c,v 1.4 2012/04/30 19:57:52 riz Exp $ */
+/* $NetBSD: configmenu.c,v 1.5 2012/05/15 15:50:58 jdf Exp $ */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -133,9 +133,14 @@ get_rootsh(void)
 	if (buf != NULL)
 		free(buf);
 
-	collect(T_OUTPUT, buf,
-	chroot %s /usr/bin/awk -F: '$1==\root\ { print $NF; exit }'
-	 /etc/passwd,target_prefix());
+	if (target_already_root())
+		collect(T_OUTPUT, buf,
+		/usr/bin/awk -F: '$1==\root\ { print $NF; exit }'
+		 /etc/passwd);
+	else
+		collect(T_OUTPUT, buf,
+		chroot %s /usr/bin/awk -F: '$1==\root\ { print $NF; exit }'
+		 /etc/passwd,target_prefix());
 
 	config_list[CONFIGOPT_ROOTSH].setting = (const char *)buf;
 }
@@ -213,8 +218,12 @@ check_root_password(void)
 	char *buf;
 	int rval;
 
-	collect(T_OUTPUT, buf, chroot %s getent passwd root | chroot %s cut -d: -f2,
-	target_prefix(), target_prefix());
+	if (target_already_root())
+		collect(T_OUTPUT, buf, getent passwd root | cut -d: -f2);
+	else
+		collect(T_OUTPUT, buf, chroot %s getent passwd root | 
+		chroot %s cut -d: -f2,
+		target_prefix(), target_prefix());
 
 	if (logfp)
 		fprintf(logfp,buf %s strlen(buf) %zu\n, buf, strlen(buf));



CVS commit: src/bin/expr

2012-05-09 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Wed May  9 22:29:06 UTC 2012

Modified Files:
src/bin/expr: expr.1

Log Message:
Remove an unnecessary space in the manpage.  Patch provided by Bug Hunting.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/bin/expr/expr.1

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

Modified files:

Index: src/bin/expr/expr.1
diff -u src/bin/expr/expr.1:1.31 src/bin/expr/expr.1:1.32
--- src/bin/expr/expr.1:1.31	Wed Mar 23 18:10:25 2011
+++ src/bin/expr/expr.1	Wed May  9 22:29:06 2012
@@ -1,4 +1,4 @@
-.\	$NetBSD: expr.1,v 1.31 2011/03/23 18:10:25 dholland Exp $
+.\	$NetBSD: expr.1,v 1.32 2012/05/09 22:29:06 jdf Exp $
 .\
 .\ Copyright (c) 2000,2003 The NetBSD Foundation, Inc.
 .\ All rights reserved.
@@ -81,7 +81,7 @@ against
 .Ar expr2 ,
 which must be a regular expression.
 The regular expression is anchored
-to the beginning of  the string with an implicit
+to the beginning of the string with an implicit
 .Dq ^ .
 .Pp
 If the match succeeds and the pattern contains at least one regular



CVS commit: src/distrib/utils/sysinst

2012-04-09 Thread Julian Fagir
Module Name:src
Committed By:   jdf
Date:   Mon Apr  9 23:18:31 UTC 2012

Modified Files:
src/distrib/utils/sysinst: util.c

Log Message:
Make sysinst not store the keyboard or network configuration used while
upgrading, as issued by PR install/35538.


To generate a diff of this commit:
cvs rdiff -u -r1.176 -r1.177 src/distrib/utils/sysinst/util.c

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

Modified files:

Index: src/distrib/utils/sysinst/util.c
diff -u src/distrib/utils/sysinst/util.c:1.176 src/distrib/utils/sysinst/util.c:1.177
--- src/distrib/utils/sysinst/util.c:1.176	Sat Apr  7 19:02:57 2012
+++ src/distrib/utils/sysinst/util.c	Mon Apr  9 23:18:31 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: util.c,v 1.176 2012/04/07 19:02:57 jdf Exp $	*/
+/*	$NetBSD: util.c,v 1.177 2012/04/09 23:18:31 jdf Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -1083,11 +1083,13 @@ get_and_unpack_sets(int update, msg setu
 	if (set_status[SET_BASE]  SET_INSTALLED)
 		run_makedev();
 
-	/* Save keybard type */
-	save_kb_encoding();
+	if (!update) {
+		/* Save keybard type */
+		save_kb_encoding();
 
-	/* Other configuration. */
-	mnt_net_config();
+		/* Other configuration. */
+		mnt_net_config();
+	}
 
 	/* Mounted dist dir? */
 	umount_mnt2();