mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 16:40:47 +00:00
rescue: add ipfw, pfctl
Rationale for this change: - ipf is already there - if the kernel is configured with a packet filter which drops packets by default, pfctl or ipfw will be required in the rescue environment to make the network functional. - rescue's stated purpose is to be useful for small/embedded systems (and is also quite useful for small jails); a rescue-based router would want these binaries. On amd64, this increases the size of rescue from 17346200 to 17907248, or 561048 bytes (3.2%). Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1169
This commit is contained in:
parent
0bdcfb08f2
commit
42acb16bb8
|
@ -119,6 +119,15 @@ CRUNCH_PROGS_sbin+= ipf
|
||||||
CRUNCH_LIBS_ipf+= ${LIBIPF}
|
CRUNCH_LIBS_ipf+= ${LIBIPF}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if ${MK_IPFW} != "no"
|
||||||
|
CRUNCH_PROGS_sbin+= ipfw
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if ${MK_PF} != "no"
|
||||||
|
CRUNCH_PROGS_sbin+= pfctl
|
||||||
|
CRUNCH_LIBS_pfctl+= ${LIBPFCTL} ${LIBNV}
|
||||||
|
.endif
|
||||||
|
|
||||||
.if ${MK_ROUTED} != "no"
|
.if ${MK_ROUTED} != "no"
|
||||||
CRUNCH_PROGS_sbin+= routed rtquery
|
CRUNCH_PROGS_sbin+= routed rtquery
|
||||||
.endif
|
.endif
|
||||||
|
|
Loading…
Reference in a new issue