sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
pflog/pfsync: Fix module build with VIMAGE=yespflog and pfsync's module Makefile fails to include opt_global.h to SRCSleading to build error for VIMAGE case.Reproduced with:cd /usr/src/sys/modu
pflog/pfsync: Fix module build with VIMAGE=yespflog and pfsync's module Makefile fails to include opt_global.h to SRCSleading to build error for VIMAGE case.Reproduced with:cd /usr/src/sys/modules/pflog && make VIMAGE=yesPR: 229404Submitted by: eugen@MFC after: 1 week
show more ...
sys/modules: normalize .CURDIR-relative paths to SRCTOPThis simplifies make output/logicTested with: `cd sys/modules; make ALL_MODULES=` on amd64MFC after: 1 monthSponsored by: Dell EMC Isilon
Remove the old depend (mkdep) code and make FAST_DEPEND the one true way.Reviewed by: emaste, hselasky (partial), brooks (brief)Discussed on: arch@Sponsored by: EMC / Isilon Storage DivisionDiff
Remove the old depend (mkdep) code and make FAST_DEPEND the one true way.Reviewed by: emaste, hselasky (partial), brooks (brief)Discussed on: arch@Sponsored by: EMC / Isilon Storage DivisionDifferential Revision: https://reviews.freebsd.org/D5742
Move most of the 15 variations on generating opt_inet.h andopt_inet6.h into kmod.mk by forcing almost everybody to eat the samedogfood. While at it, consolidate the opt_bpf.h and opt_mroute.htarge
Move most of the 15 variations on generating opt_inet.h andopt_inet6.h into kmod.mk by forcing almost everybody to eat the samedogfood. While at it, consolidate the opt_bpf.h and opt_mroute.htargets here too.
Use src.opts.mk in preference to bsd.own.mk except where we need stufffrom the latter.
o Create directory sys/netpfil, where all packet filters should reside, and move there ipfw(4) and pf(4).o Move most modified parts of pf out of contrib.Actual movements:sys/contrib/pf/net/*.
o Create directory sys/netpfil, where all packet filters should reside, and move there ipfw(4) and pf(4).o Move most modified parts of pf out of contrib.Actual movements:sys/contrib/pf/net/*.c -> sys/netpfil/pf/sys/contrib/pf/net/*.h -> sys/net/contrib/pf/pfctl/*.c -> sbin/pfctlcontrib/pf/pfctl/*.h -> sbin/pfctlcontrib/pf/pfctl/pfctl.8 -> sbin/pfctlcontrib/pf/pfctl/*.4 -> share/man/man4contrib/pf/pfctl/*.5 -> share/man/man5sys/netinet/ipfw -> sys/netpfil/ipfwThe arguable movement is pf/net/*.h -> sys/net. There arefuture plans to refactor pf includes, so I decided not tobreak things twice.Not modified bits of pf left in contrib: authpf, ftp-proxy,tftp-proxy, pflogd.The ipfw(4) movement is planned to be merged to stable/9,to make head and stable match.Discussed with: bz, luigi
Update packet filter (pf) code to OpenBSD 4.5.You need to update userland (world and ports) toolsto be in sync with the kernel.Submitted by: mlaierSubmitted by: eri
Per email to arch@ a little while ago (that was greeted with silence),prefer the more common > ${.TARGET} over > opt_foo.h in modulesmakefiles.
Reimplementation of world/kernel build options. For details, see:http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.htmlThe src.conf(5) manpage is to follow in a few days.Bro
Reimplementation of world/kernel build options. For details, see:http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.htmlThe src.conf(5) manpage is to follow in a few days.Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
The `pf' and `pflog' sources do not depend on DEV_PF or DEV_PFLOG,which is normal for own files of a device driver.DEV_FOO should be used if an unrelated kernel file needs to know ofthe `foo' dri
The `pf' and `pflog' sources do not depend on DEV_PF or DEV_PFLOG,which is normal for own files of a device driver.DEV_FOO should be used if an unrelated kernel file needs to know ofthe `foo' driver's static presence. Obviously, module source filesshould never use DEV_*.
Make pflog a seperate module. As a result pflog_packet() becomes a functionpointer that is declared in pf_ioctl.cRequested by: yar (as part of the module build reorg)MFC after: 1 weekX-MFC with
Make pflog a seperate module. As a result pflog_packet() becomes a functionpointer that is declared in pf_ioctl.cRequested by: yar (as part of the module build reorg)MFC after: 1 weekX-MFC with: yar's module reorg
Prepare for pf 3.5 import: - Remove pflog and pfsync modules. Things will change in such a fashion that there will be one module with pf+pflog that can be loaded into GENERIC without problems
Prepare for pf 3.5 import: - Remove pflog and pfsync modules. Things will change in such a fashion that there will be one module with pf+pflog that can be loaded into GENERIC without problems (which is what most people want). pfsync is no longer possible as a module. - Add multicast address for in-kernel multicast pfsync protocol. Protocol glue will follow once the import is done. - Add one more mbuf tag
Make pf* modules respect NOINET6 from make.conf(5) in order to build themfor INET6-less kernel.Requested by: manyApproved by: bms(mentor)
Tweak existing header and other build infrastructure to be able to buildpf/pflog/pfsync as modules. Do not list them in NOTES or modules/Makefile(i.e. do not connect it to any (automatic) builds -
Tweak existing header and other build infrastructure to be able to buildpf/pflog/pfsync as modules. Do not list them in NOTES or modules/Makefile(i.e. do not connect it to any (automatic) builds - yet).Approved by: bms(mentor)