svn commit: r221266 - in head: share/man/man5 share/mk tools/build/options

Bjoern A. Zeeb bz at FreeBSD.org
Sat Apr 30 17:58:28 UTC 2011


Author: bz
Date: Sat Apr 30 17:58:28 2011
New Revision: 221266
URL: http://svn.freebsd.org/changeset/base/221266

Log:
  Introduce two new options MK_INET and MK_INET_SUPPORT analogically
  with INET6 equivalents. Patch reather than re-genenerating src.conf
  (given the current problem with the script that does the re-gen).
  
  Reviewed by:	gnn
  Sponsored by:	The FreeBSD Foundation
  Sponsored by:	iXsystems
  MFC after:	2 weeks

Added:
  head/tools/build/options/WITHOUT_INET   (contents, props changed)
  head/tools/build/options/WITHOUT_INET_SUPPORT   (contents, props changed)
Modified:
  head/share/man/man5/src.conf.5
  head/share/mk/bsd.own.mk

Modified: head/share/man/man5/src.conf.5
==============================================================================
--- head/share/man/man5/src.conf.5	Sat Apr 30 17:51:39 2011	(r221265)
+++ head/share/man/man5/src.conf.5	Sat Apr 30 17:58:28 2011	(r221266)
@@ -1,7 +1,7 @@
 .\" DO NOT EDIT-- this file is automatically generated.
-.\" from FreeBSD: head/tools/build/options/makeman 188848 2009-02-20 11:09:55Z mtm
+.\" from FreeBSD: head/tools/build/options/makeman 221161 2011-04-28 11:21:49Z des
 .\" $FreeBSD$
-.Dd April  6, 2011
+.Dd April 30, 2011
 .Dt SRC.CONF 5
 .Os
 .Sh NAME
@@ -397,6 +397,15 @@ This code is patented in the USA and man
 It is
 .Em "YOUR RESPONSIBILITY"
 to determine if you can legally use IDEA.
+.It Va WITHOUT_INET
+.\" $FreeBSD$
+Set to not build programs and libraries related to IPv4 networking.
+When set, it also enforces the following options:
+.Pp
+.Bl -item -compact
+.It
+.Va WITHOUT_INET_SUPPORT
+.El
 .It Va WITHOUT_INET6
 .\" from FreeBSD: head/tools/build/options/WITHOUT_INET6 156932 2006-03-21 07:50:50Z ru
 Set to not build
@@ -410,6 +419,9 @@ When set, it also enforces the following
 .It Va WITHOUT_INET6_SUPPORT
 .\" from FreeBSD: head/tools/build/options/WITHOUT_INET6_SUPPORT 156932 2006-03-21 07:50:50Z ru
 Set to build libraries, programs, and kernel modules without IPv6 support.
+.It Va WITHOUT_INET_SUPPORT
+.\" $FreeBSD$
+Set to build libraries, programs, and kernel modules without IPv4 support.
 .It Va WITHOUT_INFO
 .\" from FreeBSD: head/tools/build/options/WITHOUT_INFO 156932 2006-03-21 07:50:50Z ru
 Set to not make or install

Modified: head/share/mk/bsd.own.mk
==============================================================================
--- head/share/mk/bsd.own.mk	Sat Apr 30 17:51:39 2011	(r221265)
+++ head/share/mk/bsd.own.mk	Sat Apr 30 17:58:28 2011	(r221266)
@@ -326,6 +326,7 @@ __DEFAULT_YES_OPTIONS = \
     GPIO \
     GROFF \
     HTML \
+    INET \
     INET6 \
     INFO \
     INSTALLLIB \
@@ -546,6 +547,7 @@ MK_GDB:=	no
 .for var in \
     BZIP2 \
     GNU \
+    INET \
     INET6 \
     IPX \
     KERBEROS \

Added: head/tools/build/options/WITHOUT_INET
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/tools/build/options/WITHOUT_INET	Sat Apr 30 17:58:28 2011	(r221266)
@@ -0,0 +1,2 @@
+.\" $FreeBSD$
+Set to not build programs and libraries related to IPv4 networking.

Added: head/tools/build/options/WITHOUT_INET_SUPPORT
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/tools/build/options/WITHOUT_INET_SUPPORT	Sat Apr 30 17:58:28 2011	(r221266)
@@ -0,0 +1,2 @@
+.\" $FreeBSD$
+Set to build libraries, programs, and kernel modules without IPv4 support.


More information about the svn-src-head mailing list