[Midnightbsd-cvs] src [11711] U trunk/share/man/man5: update more pages
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Jul 9 09:10:27 EDT 2018
Revision: 11711
http://svnweb.midnightbsd.org/src/?rev=11711
Author: laffer1
Date: 2018-07-09 09:10:26 -0400 (Mon, 09 Jul 2018)
Log Message:
-----------
update more pages
Modified Paths:
--------------
trunk/share/man/man5/make.conf.5
trunk/share/man/man5/moduli.5
trunk/share/man/man5/msdosfs.5
Property Changed:
----------------
trunk/share/man/man5/make.conf.5
trunk/share/man/man5/moduli.5
trunk/share/man/man5/msdosfs.5
Modified: trunk/share/man/man5/make.conf.5
===================================================================
--- trunk/share/man/man5/make.conf.5 2018-07-09 13:09:20 UTC (rev 11710)
+++ trunk/share/man/man5/make.conf.5 2018-07-09 13:10:26 UTC (rev 11711)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 2000
.\" Mike W. Meyer
.\"
@@ -22,9 +23,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man5/make.conf.5 296288 2016-03-02 01:24:41Z bdrewery $
.\"
-.Dd April 26, 2013
+.Dd February 24, 2016
.Dt MAKE.CONF 5
.Os
.Sh NAME
@@ -141,16 +142,6 @@
and
.Fl O2
are not supported.
-.Va BDECFLAGS
-is provided as a set of
-.Xr gcc 1
-settings suggested by
-.An "Bruce Evans" Aq bde at FreeBSD.org
-for developing and testing changes.
-They can be used, if set, by:
-.Bd -literal -offset indent
-CFLAGS+=${BDECFLAGS}
-.Ed
.It Va CPUTYPE
.Pq Vt str
Controls which processor should be targeted for generated
@@ -162,7 +153,7 @@
and
.Va COPTFLAGS
to contain the appropriate optimization directive to
-.Xr gcc 1 .
+.Xr cc 1 .
The automatic setting of
.Va CFLAGS
and
@@ -177,16 +168,6 @@
for a list of recognized
.Va CPUTYPE
options.
-.It Va CVS_UPDATE
-.Pq Vt bool
-Set this to use
-.Xr cvs 1
-to update your
-.Pa src , ports
-and
-.Pa doc
-trees with
-.Dq Li "make update" .
.It Va CXXFLAGS
.Pq Vt str
Controls the compiler settings when compiling C++ code.
@@ -255,73 +236,6 @@
.Pq Vt bool
Set this to not update the ports tree during
.Dq Li "make update" .
-.It Va NO_WWWUPDATE
-.Pq Vt bool
-Set this to not update the www tree during
-.Dq Li "make update" .
-.It Va PORTSSUPFILE
-.Pq Vt str
-The ports
-.Ar supfile
-to use when doing a
-.Dq Li "make update" .
-For example,
-.Pa /usr/share/examples/cvsup/ports-supfile .
-.It Va SUP
-.Pq Vt str
-The location of the
-.Xr csup 1
-or
-.Xr cvsup 1
-command for
-.Dq Li "make update" .
-.It Va SUPFILE
-.Pq Vt str
-The first
-.Ar supfile
-to use when doing a
-.Dq Li "make update" .
-For example,
-.Pa /usr/share/examples/cvsup/standard-supfile .
-.It Va SUPFILE1
-.Pq Vt str
-The second
-.Ar supfile
-to use when doing a
-.Dq Li "make update" .
-.It Va SUPFILE2
-.Pq Vt str
-The third
-.Ar supfile
-to use when doing a
-.Dq Li "make update" .
-.It Va SUPFLAGS
-.Pq Vt str
-The flag for the
-.Xr sup 1
-command when doing
-.Dq Li "make update" .
-This defaults to
-.Op Fl g L Ar 2 .
-.It Va SUPHOST
-.Pq Vt str
-The hostname of the sup server to use when doing
-.Dq Li "make update" .
-.It Va SUP_UPDATE
-.Pq Vt bool
-Set this to use
-.Xr csup 1
-to update your
-.Pa src ,
-and
-.Pa ports
-trees with
-.Dq Li "make update" .
-This option is deprecated.
-Please use
-.Va SVN_UPDATE
-or
-.Xr freebsd-update 8 .
.It Va SVN_UPDATE
.Pq Vt bool
Set this to use
@@ -701,7 +615,7 @@
.Pq Vt int
Causes the system compiler to be built such that it forces high optimization
levels to a lower one.
-.Xr gcc 1
+.Xr cc 1
.Fl O2
and above is known to trigger known optimizer bugs at various
times.
@@ -732,6 +646,14 @@
for postscript or graphics printers with a ghostscript
filter, or both.
.El
+.Ss "BUILDING PORTS"
+Several make variables can be set that affect the building of ports.
+These variables and their effects are documented in
+.Xr ports 7 ,
+.Pa ${PORTSDIR}/Mk/*
+and the
+.Fx
+Porter's Handbook.
.Sh FILES
.Bl -tag -width ".Pa /usr/share/examples/etc/make.conf" -compact
.It Pa /etc/make.conf
@@ -743,7 +665,7 @@
.It Pa /usr/src/Makefile.inc1
.El
.Sh SEE ALSO
-.Xr gcc 1 ,
+.Xr cc 1 ,
.Xr install 1 ,
.Xr make 1 ,
.Xr src.conf 5 ,
@@ -766,6 +688,8 @@
.Ev MAKEOBJDIR
are environment variables and should not be set in
.Nm
+or as command line arguments to
+.Xr make 1 ,
but in make's environment.
.Sh BUGS
This manual page may occasionally be out of date with respect to
Property changes on: trunk/share/man/man5/make.conf.5
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/share/man/man5/moduli.5
===================================================================
--- trunk/share/man/man5/moduli.5 2018-07-09 13:09:20 UTC (rev 11710)
+++ trunk/share/man/man5/moduli.5 2018-07-09 13:10:26 UTC (rev 11711)
@@ -1,159 +1,126 @@
-.\" $OpenBSD: moduli.5,v 1.3 2001/06/24 18:50:52 provos Exp $
+.\" $MidnightBSD$
+.\" $OpenBSD: moduli.5,v 1.16 2011/11/28 08:46:27 eric Exp $
.\"
-.\" Copyright 1997, 2000 William Allen Simpson <wsimpson at greendragon.com>
-.\" All rights reserved.
+.\" Copyright (c) 2008 Damien Miller <djm at mindrot.org>
.\"
-.\" 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.
-.\" 3. All advertising materials mentioning features or use of this software
-.\" must display the following acknowledgement:
-.\" This product includes software designed by William Allen Simpson.
-.\" 4. The name of the author may not be used to endorse or promote products
-.\" derived from this software without specific prior written permission.
+.\" Permission to use, copy, modify, and distribute this software for any
+.\" purpose with or without fee is hereby granted, provided that the above
+.\" copyright notice and this permission notice appear in all copies.
.\"
-.\" 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 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man5/moduli.5 238631 2012-07-20 01:11:53Z delphij $
.\"
-.Dd July 28, 1997
+.Dd July 19, 2012
.Dt MODULI 5
.Os
.Sh NAME
.Nm moduli
-.Nd system moduli file
+.Nd Diffie-Hellman moduli
.Sh DESCRIPTION
The
-.Nm
-file contains the system-wide Diffie-Hellman prime moduli for the
-.Xr photurisd 8
-and
+.Pa /etc/ssh/moduli
+file contains prime numbers and generators for use by
.Xr sshd 8
-programs.
+in the Diffie-Hellman Group Exchange key exchange method.
.Pp
-Each line in this file contains the following fields:
-.Va Time , Type , Tests , Tries , Size , Generator ,
-and
-.Va Modulus .
-The fields are separated by white space (tab or blank).
-.Bl -tag -width indent
-.It Va Time Pq Vt yyyymmddhhmmss
-Specifies the system time that the line was appended to the file.
-The value 00000000000000 means unknown (historic).
-.\"The file is sorted in ascending order.
-.It Va Type Pq Vt decimal
-Specifies the internal structure of the prime modulus.
+New moduli may be generated with
+.Xr ssh-keygen 1
+using a two-step process.
+An initial
+.Em candidate generation
+pass, using
+.Ic ssh-keygen -G ,
+calculates numbers that are likely to be useful.
+A second
+.Em primality testing
+pass, using
+.Ic ssh-keygen -T ,
+provides a high degree of assurance that the numbers are prime and are
+safe for use in Diffie-Hellman operations by
+.Xr sshd 8 .
+This
+.Nm
+format is used as the output from each pass.
.Pp
-.Bl -tag -width indent -compact
+The file consists of newline-separated records, one per modulus,
+containing seven space-separated fields.
+These fields are as follows:
+.Bl -tag -width Description -offset indent
+.It timestamp
+The time that the modulus was last processed as YYYYMMDDHHMMSS.
+.It type
+Decimal number specifying the internal structure of the prime modulus.
+Supported types are:
+.Pp
+.Bl -tag -width 0x00 -compact
.It 0
-unknown;
-often learned from peer during protocol operation,
-and saved for later analysis.
-.It 1
-unstructured;
-a common large number.
+Unknown, not tested.
.It 2
-safe (p = 2q + 1);
-meets basic structural requirements.
-.It 3
-Schnorr.
+"Safe" prime; (p-1)/2 is also prime.
.It 4
-Sophie-Germaine (q = (p-1)/2);
-usually generated in the process of testing safe or strong primes.
-.It 5
-strong;
-useful for RSA public key generation.
+Sophie Germain; 2p+1 is also prime.
.El
-.It Xo
-.Va Tests Pq Vt decimal
-(bit field)
-.Xc
-Specifies the methods used in checking for primality.
-Usually, more than one test is used.
.Pp
-.Bl -tag -width indent -compact
-.It 0
-not tested;
-often learned from peer during protocol operation,
-and saved for later analysis.
-.It 1
-composite;
-failed one or more tests.
-In this case, the highest bit specifies the test that failed.
-.It 2
-sieve;
-checked for division by a range of smaller primes.
-.It 4
-Miller-Rabin.
-.It 8
-Jacobi.
-.It 16
-Elliptic Curve.
+Moduli candidates initially produced by
+.Xr ssh-keygen 1
+are Sophie Germain primes (type 4).
+Further primality testing with
+.Xr ssh-keygen 1
+produces safe prime moduli (type 2) that are ready for use in
+.Xr sshd 8 .
+Other types are not used by OpenSSH.
+.It tests
+Decimal number indicating the type of primality tests that the number
+has been subjected to represented as a bitmask of the following values:
+.Pp
+.Bl -tag -width 0x00 -compact
+.It 0x00
+Not tested.
+.It 0x01
+Composite number \(en not prime.
+.It 0x02
+Sieve of Eratosthenes.
+.It 0x04
+Probabilistic Miller-Rabin primality tests.
.El
-.It Va Tries Pq Vt decimal
-Depends on the value of the highest valid Test bit,
-where the method specified is:
.Pp
-.Bl -tag -width indent -compact
-.It 0
-not tested
-(always zero).
-.It 1
-composite
-(irrelevant).
-.It 2
-sieve;
-number of primes sieved.
-Commonly on the order of 32,000,000.
-.It 4
-Miller-Rabin;
-number of M-R iterations.
-Commonly on the order of 32 to 64.
-.It 8
-Jacobi;
-unknown
-(always zero).
-.It 16
-Elliptic Curve;
-unused
-(always zero).
+The
+.Xr ssh-keygen 1
+moduli candidate generation uses the Sieve of Eratosthenes (flag 0x02).
+Subsequent
+.Xr ssh-keygen 1
+primality tests are Miller-Rabin tests (flag 0x04).
+.It trials
+Decimal number indicating the number of primality trials
+that have been performed on the modulus.
+.It size
+Decimal number indicating the size of the prime in bits.
+.It generator
+The recommended generator for use with this modulus (hexadecimal).
+.It modulus
+The modulus itself in hexadecimal.
.El
-.It Va Size Pq Vt decimal
-Specifies the number of significant bits.
-.It Va Generator Pq Vt "hex string"
-Specifies the best generator for a Diffie-Hellman exchange.
-0 = unknown or variable,
-2, 3, 5, etc.
-.It Va Modulus Pq Vt "hex string"
-The prime modulus.
-.El
.Pp
-The file is searched for moduli that meet the appropriate
-.Va Time , Size
-and
-.Va Generator
-criteria.
-When more than one meet the criteria,
-the selection should be weighted toward newer moduli,
-without completely disqualifying older moduli.
-.Sh FILES
-.Bl -tag -width ".Pa /etc/ssh/moduli" -compact
-.It Pa /etc/ssh/moduli
-.El
+When performing Diffie-Hellman Group Exchange,
+.Xr sshd 8
+first estimates the size of the modulus required to produce enough
+Diffie-Hellman output to sufficiently key the selected symmetric cipher.
+.Xr sshd 8
+then randomly selects a modulus from
+.Fa /etc/ssh/moduli
+that best meets the size requirement.
.Sh SEE ALSO
-.Xr photurisd 8 ,
+.Xr ssh-keygen 1 ,
.Xr sshd 8
+.Rs
+.%R RFC 4419
+.%T "Diffie-Hellman Group Exchange for the Secure Shell (SSH) Transport Layer Protocol"
+.%D 2006
+.Re
Property changes on: trunk/share/man/man5/moduli.5
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/share/man/man5/msdosfs.5
===================================================================
--- trunk/share/man/man5/msdosfs.5 2018-07-09 13:09:20 UTC (rev 11710)
+++ trunk/share/man/man5/msdosfs.5 2018-07-09 13:10:26 UTC (rev 11711)
@@ -1,8 +1,9 @@
.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man5/msdosfs.5 255977 2013-10-01 18:41:53Z pluknet $
.\" Written by Tom Rhodes
.\" This file is in the public domain.
.\"
-.Dd August 22, 2007
+.Dd October 1, 2013
.Dt MSDOSFS 5
.Os
.Sh NAME
@@ -21,7 +22,7 @@
.Pp
The most common usage follows:
.Pp
-.Dl "mount -t msdosfs /dev/ad0sN /mnt"
+.Dl "mount -t msdosfs /dev/ada0sN /mnt"
.Pp
where
.Ar N
@@ -40,7 +41,7 @@
.Pa /etc/fstab
that looks similar to:
.Bd -literal
-/dev/ad0sN /dos msdosfs rw 0 0
+/dev/ada0sN /dos msdosfs rw 0 0
.Ed
.Pp
This will mount an
Property changes on: trunk/share/man/man5/msdosfs.5
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list