Commit Graph

20 Commits

Author SHA1 Message Date
Ruslan Ermilov
e1fe3dba5c Reimplementation of world/kernel build options. For details, see:
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
2006-03-17 18:54:44 +00:00
Yaroslav Tykhiy
822923447e Let modules use the kernel's opt_*.h files if built along with
the kernel by wrapping all targets for fake opt_*.h files in
.if defined(KERNBUILDDIR).  Thus, such fake files won't be
created at all if modules are built with the kernel.

Some modules undergo cleanup like removing unused or unneeded
options or .h files, without which they wouldn't build this way
or the other.

Reviewed by:	ru
Tested by:	no binary changes in modules built alone
Tested on:	i386 sparc64 amd64
2005-10-14 23:30:17 +00:00
Ruslan Ermilov
cff6281847 Fix standalone module build.
Reported by:	Boris Samorodov <bsam@ipt.ru>
2005-06-03 15:31:10 +00:00
Darren Reed
1033f3c55b new files and compile defines to build new ipfilter 2005-04-25 18:46:00 +00:00
Scott Long
4a8ad3dabd Don't define PFIL_HOOKS. It's no longer required in RELENG_5 or HEAD. 2004-12-25 00:23:36 +00:00
Ruslan Ermilov
731db6a428 NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
Darren Reed
578a650271 Recognise NOINET6 as an indication to not build IPv6 enabled source even
if FreeBSD header files, etc, support it.

Submitted by:	Sergey Mokryshev <mokr@mokr.net>
2004-06-08 23:52:22 +00:00
Darren Reed
e885d52740 IPv6 is on by default in GENERIC so enable IPv6 in IPFilter too by default.
PR:		kern/57730
Submitted by:	FUKAUMI Naoki <fukaumi@soum.co.jp>
2004-04-20 14:06:42 +00:00
Sam Leffler
3fe1b4f5df update to reflect PFIL_HOOKS api changes
Supported by:	FreeBSD Foundation
2003-09-23 17:55:04 +00:00
Ruslan Ermilov
17d6c63672 Drop <bsd.man.mk> support from <bsd.kmod.mk>.
Not objected to by:	-current
2002-01-11 15:49:02 +00:00
Jonathan Lemon
88d74af548 Relocate IPFilter from sys/netinet to sys/contrib/ipfilter. 2001-06-07 04:06:21 +00:00
David E. O'Brien
c68159a6d8 Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
Gregory Neil Shapiro
0b488822b7 Fix typo 2000-09-04 03:59:41 +00:00
Andrey A. Chernov
2e8c7ccd99 Back out opt_ipfilter.h creation I add recently and add -DIPFILTER=1
to CFLAGS instead
According to other sources, opt_ipfilter.h not supposed to be included for
modules
2000-08-01 00:44:42 +00:00
Andrey A. Chernov
a7d5eaeb8f Fix prev. commit: NIPFILTER -> IPFILTER 2000-08-01 00:10:08 +00:00
Andrey A. Chernov
71e631c2bd Generate opt_ipfilter.h to fix 'make depend' 2000-07-31 23:58:38 +00:00
Peter Wemm
64db83a8ab Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead of
encoding the relative path.
2000-05-27 01:14:33 +00:00
Peter Wemm
56ca39961b Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.
This means that the kernel can be totally self contained now and is not
dependent on the last buildworld to update /usr/share/mk.  This might
also make it easier to build 5.x kernels on 4.0 boxes etc, assuming
gensetdefs and config(8) are updated.
2000-05-04 12:08:52 +00:00
Guido van Rooij
e63d26e235 Add forgotten ip_fil.c and fil.c to kld version
Remove mlfk_ipl.c from here: no sources allowed in these directories!
1999-12-06 20:33:38 +00:00
Guido van Rooij
5cb2cd9453 Add ipfilter kld and wire it in. 1999-11-23 22:18:17 +00:00