From 970a76538938aeba73edd7b836700e461f51b161 Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Sat, 30 Apr 2011 17:58:28 +0000 Subject: [PATCH] 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 --- share/man/man5/src.conf.5 | 16 ++++++++++++++-- share/mk/bsd.own.mk | 2 ++ tools/build/options/WITHOUT_INET | 2 ++ tools/build/options/WITHOUT_INET_SUPPORT | 2 ++ 4 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 tools/build/options/WITHOUT_INET create mode 100644 tools/build/options/WITHOUT_INET_SUPPORT diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5 index 57948af2d55b..88133dbdcc40 100644 --- a/share/man/man5/src.conf.5 +++ b/share/man/man5/src.conf.5 @@ -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 many European countries. 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 options: .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 diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 62b43926c222..8b9dcf88f418 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -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 \ diff --git a/tools/build/options/WITHOUT_INET b/tools/build/options/WITHOUT_INET new file mode 100644 index 000000000000..98e1c560e0fc --- /dev/null +++ b/tools/build/options/WITHOUT_INET @@ -0,0 +1,2 @@ +.\" $FreeBSD$ +Set to not build programs and libraries related to IPv4 networking. diff --git a/tools/build/options/WITHOUT_INET_SUPPORT b/tools/build/options/WITHOUT_INET_SUPPORT new file mode 100644 index 000000000000..725744099adb --- /dev/null +++ b/tools/build/options/WITHOUT_INET_SUPPORT @@ -0,0 +1,2 @@ +.\" $FreeBSD$ +Set to build libraries, programs, and kernel modules without IPv4 support.