Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 2004 01:56:31 +0100
From:      Pawel Worach <pawel.worach@telia.com>
To:        "Bjoern A. Zeeb" <bz@freebsd.org>
Cc:        cvs-src@freebsd.org
Subject:   Re: cvs commit: src/lib Makefile src/lib/libc Makefilesrc/lib/libc/gen src/lib/libpam/modules/pam_unix Makefile src/lib/librpcsvc Makefile src/lib/libwrap Makefile ...
Message-ID:  <4196AD3F.3060908@telia.com>
In-Reply-To: <200411132040.iADKeWri018969@repoman.freebsd.org>
References:  <200411132040.iADKeWri018969@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Bjoern A. Zeeb wrote:
> bz          2004-11-13 20:40:32 UTC
>   Log:
>   Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
>   If turned on  no NIS support and related programs will be built.
>   

Here is a patch to document it and to somewhat sort the list of knobs
in the same order as make.conf. (a less intrusive version to only document
the new knob is at the far end)

Index: share/man/man5/make.conf.5
===================================================================
RCS file: /export/ctm/cvs/src/share/man/man5/make.conf.5,v
retrieving revision 1.100
diff -u -r1.100 make.conf.5
--- share/man/man5/make.conf.5  12 Nov 2004 00:01:07 -0000      1.100
+++ share/man/man5/make.conf.5  14 Nov 2004 00:51:04 -0000
@@ -367,58 +367,34 @@
  .Dq Li "${MAKE} depend"
  during
  .Dq Li "${MAKE} buildkernel" .
-.It Va NO_MODULES
-.Pq Vt bool
-Set to not build modules with the kernel.
  .El
  .Pp
  The following list provides a name and short description for variables
  that are used during the world build:
  .Bl -tag -width Ar
-.It Va MAKE_IDEA
-.Pq Vt bool
-Set to build the IDEA encryption code.
-This code is patented in the USA and many European countries.
-It is
-.Em "YOUR RESPONSIBILITY"
-to determine if you can legally use IDEA.
-.It Va NO_DYNAMICROOT
-.Pq Vt bool
-Set this if you do not want to link
-.Pa /bin
-and
-.Pa /sbin
-dynamically.
-.It Va NO_KERBEROS
-.Pq Vt bool
-Set this if you do not want to build Kerberos 5 (KTH Heimdal).
-.It Va ENABLE_SUID_K5SU
-.Pq Vt bool
-Set this if you wish to use the ksu utility.
-Otherwise, it will be
-installed without the set-user-ID bit set.
-.It Va ENABLE_SUID_NEWGRP
+.It Va NO_ACPI
  .Pq Vt bool
-Set this to install
-.Xr newgrp 1
-with the set-user-ID bit set.
-Otherwise,
-.Xr newgrp 1
-will not be able to change users' groups.
-.It Va ENABLE_SUID_SSH
+Set to not build
+.Xr acpiconf 8 ,
+.Xr acpidump 8
+and related programs.
+.It Va NOATM
  .Pq Vt bool
-Set this to install
-.Xr ssh 1
-with the set-user-ID bit turned on.
-.It Va MODULES_WITH_WORLD
+Set to not build
+programs and libraries related to ATM networking.
+.It Va NO_AUTHPF
  .Pq Vt bool
-Set to build modules with the system instead of the kernel.
+Set to not build
+.Xr authpf 8 .
  .It Va NO_BLUETOOTH
  .Pq Vt bool
  Set to not build Bluetooth related kernel modules, programs and libraries.
  .It Va NO_BOOT
  .Pq Vt bool
  Set to not build the boot blocks and loader.
+.It Va NOCRYPT
+.Pq Vt bool
+Set to not build any crypto code.
  .It Va NO_CVS
  .Pq Vt bool
  Set to not build CVS.
@@ -427,11 +403,21 @@
  Set to not build
  .Xr g++ 1
  and related libraries.
+.It Va NO_DYNAMICROOT
+.Pq Vt bool
+Set this if you do not want to link
+.Pa /bin
+and
+.Pa /sbin
+dynamically.
  .It Va NO_FORTRAN
  .Pq Vt bool
  Set to not build
  .Xr g77 1
  and related libraries.
+.It Va NOGAMES
+.Pq Vt bool
+Set to not build games.
  .It Va NO_GDB
  .Pq Vt bool
  Set to not build
@@ -439,45 +425,44 @@
  .It Va NO_I4B
  .Pq Vt bool
  Set to not build isdn4bsd package.
-.It Va NO_IPFILTER
+.It Va NOINET6
  .Pq Vt bool
-Set to not build IP Filter package.
-.It Va NO_PF
+Set to not build
+programs and libraries related to IPv6 networking.
+.It Va NOINFO
  .Pq Vt bool
-Set to not build PF firewall package.
-.It Va NO_AUTHPF
+Set to not make or install
+.Xr info 5
+files.
+.It Va NO_IPFILTER
  .Pq Vt bool
-Set to not build
-.Xr authpf 8 .
-.It Va NO_TOOLCHAIN
+Set to not build IP Filter package.
+.It Va NO_KERBEROS
  .Pq Vt bool
-Set to not build
-programs used for program development,
-compilers, debuggers etc.
-.It Va NOINET6
+Set this if you do not want to build Kerberos 5 (KTH Heimdal).
+.It Va NOLIBC_R
  .Pq Vt bool
  Set to not build
-programs and libraries related to IPv6 networking.
-.It Va NOATM
+.Nm libc_r
+(reentrant version of
+.Nm libc ) .
+.It Va NOLIBPTHREAD
  .Pq Vt bool
-Set to not build
-programs and libraries related to ATM networking.
-.It Va NO_USB
+Set to not build the
+.Nm libpthread
+(M:N threading)
+library.
+.It Va NOLIBTHR
  .Pq Vt bool
-Set to not build
-.Xr usbd 8
-and related programs.
+Set to not build the
+.Nm libthr
+(1:1 threading)
+library.
  .It Va NO_LPR
  .Pq Vt bool
  Set to not build
  .Xr lpr 1
  and related programs.
-.It Va NO_ACPI
-.Pq Vt bool
-Set to not build
-.Xr acpiconf 8 ,
-.Xr acpidump 8
-and related programs.
  .It Va NO_MAILWRAPPER
  .Pq Vt bool
  Set to not build the
@@ -486,6 +471,14 @@
  .It Va NOMAN
  .Pq Vt bool
  Set to not build manual pages.
+.It Va NO_MODULES
+.Pq Vt bool
+Set to not build modules with the kernel.
+.It Va NO_NIS
+.Pq Vt bool
+Set to not build
+.Xr nis 8
+support and related programs.
  .It Va NO_OBJC
  .Pq Vt bool
  Set to not build Objective C support.
@@ -498,11 +491,22 @@
  .Va NO_KERBEROS
  and
  .Va NO_OPENSSH ) .
+.It Va NO_PF
+.Pq Vt bool
+Set to not build PF firewall package.
+.It Va NOPROFILE
+.Pq Vt bool
+Set to avoid compiling profiled libraries.
  .It Va NO_SENDMAIL
  .Pq Vt bool
  Set to not build
  .Xr sendmail 8
  and related programs.
+.It Va NOSHARE
+.Pq Vt bool
+Set to not build in the
+.Pa share
+subdir.
  .It Va NO_SHAREDOCS
  .Pq Vt bool
  Set to not build the
@@ -514,57 +518,16 @@
  .Pa /bin/csh
  (which is
  .Xr tcsh 1 ) .
-.It Va NOCLEAN
-.Pq Vt bool
-Set this to disable cleaning during
-.Dq Li "make buildworld" .
-This should not be set unless you know what you are doing.
-.It Va NOCLEANDIR
-.Pq Vt bool
-Set this to run
-.Dq Li "${MAKE} clean"
-instead of
-.Dq Li "${MAKE} cleandir" .
-.It Va NOCRYPT
-.Pq Vt bool
-Set to not build any crypto code.
-.It Va NOGAMES
-.Pq Vt bool
-Set to not build games.
-.It Va NOINFO
-.Pq Vt bool
-Set to not make or install
-.Xr info 5
-files.
-.It Va NOLIBC_R
+.It Va NO_TOOLCHAIN
  .Pq Vt bool
  Set to not build
-.Nm libc_r
-(reentrant version of
-.Nm libc ) .
-.It Va NOLIBPTHREAD
-.Pq Vt bool
-Set to not build the
-.Nm libpthread
-(M:N threading)
-library.
-.It Va NOLIBTHR
-.Pq Vt bool
-Set to not build the
-.Nm libthr
-(1:1 threading)
-library.
-.It Va NOMANCOMPRESS
-.Pq Vt bool
-Set to install man pages uncompressed.
-.It Va NOPROFILE
-.Pq Vt bool
-Set to avoid compiling profiled libraries.
-.It Va NOSHARE
+programs used for program development,
+compilers, debuggers etc.
+.It Va NO_USB
  .Pq Vt bool
-Set to not build in the
-.Pa share
-subdir.
+Set to not build
+.Xr usbd 8
+and related programs.
  .It Va NO_BIND
  .Pq Vt bool
  Setting this variable will prevent any part of BIND from being built,
@@ -616,6 +579,48 @@
  .It Va WITH_BIND_LIBS
  .Pq Vt bool
  Set to install BIND libraries and include files.
+.It Va MODULES_WITH_WORLD
+.Pq Vt bool
+Set to build modules with the system instead of the kernel.
+.It Va MAKE_IDEA
+.Pq Vt bool
+Set to build the IDEA encryption code.
+This code is patented in the USA and many European countries.
+It is
+.Em "YOUR RESPONSIBILITY"
+to determine if you can legally use IDEA.
+.It Va NOCLEAN
+.Pq Vt bool
+Set this to disable cleaning during
+.Dq Li "make buildworld" .
+This should not be set unless you know what you are doing.
+.It Va NOCLEANDIR
+.Pq Vt bool
+Set this to run
+.Dq Li "${MAKE} clean"
+instead of
+.Dq Li "${MAKE} cleandir" .
+.It Va NOMANCOMPRESS
+.Pq Vt bool
+Set to install man pages uncompressed.
+.It Va ENABLE_SUID_K5SU
+.Pq Vt bool
+Set this if you wish to use the ksu utility.
+Otherwise, it will be
+installed without the set-user-ID bit set.
+.It Va ENABLE_SUID_NEWGRP
+.Pq Vt bool
+Set this to install
+.Xr newgrp 1
+with the set-user-ID bit set.
+Otherwise,
+.Xr newgrp 1
+will not be able to change users' groups.
+.It Va ENABLE_SUID_SSH
+.Pq Vt bool
+Set this to install
+.Xr ssh 1
+with the set-user-ID bit turned on.
  .It Va PPP_NOSUID
  .Pq Vt bool
  Set to disable the installation of

Index: share/man/man5/make.conf.5
===================================================================
RCS file: /export/ctm/cvs/src/share/man/man5/make.conf.5,v
retrieving revision 1.100
diff -u -r1.100 make.conf.5
--- share/man/man5/make.conf.5  12 Nov 2004 00:01:07 -0000      1.100
+++ share/man/man5/make.conf.5  14 Nov 2004 00:57:24 -0000
@@ -486,6 +486,11 @@
  .It Va NOMAN
  .Pq Vt bool
  Set to not build manual pages.
+.It Va NO_NIS
+.Pq Vt bool
+Set to not build
+.Xr nis 8
+support and related programs.
  .It Va NO_OBJC
  .Pq Vt bool
  Set to not build Objective C support.

-- 
Pawel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4196AD3F.3060908>