git: fda7daf06301 - main - pfctl: Stop sharing pf_ruleset.c with the kernel

Florian Smeets flo at smeets.xyz
Wed Jan 6 19:35:10 UTC 2021


On 06.01.21 18:38, Kristof Provost wrote:
> I think clean_dep is intended for kernel use. This seems to work for me:
> 
>     diff --git a/tools/build/depend-cleanup.sh
> b/tools/build/depend-cleanup.sh
>     index 8b249ccf55fa..0b3ff9bcc635 100755
>     --- a/tools/build/depend-cleanup.sh
>     +++ b/tools/build/depend-cleanup.sh
>     @@ -56,3 +56,11 @@ if [ -e "$OBJTOP"/rescue/rescue/rescue.c ] && \
>             echo "Removing old rescue(8) tree"
>             rm -rf "$OBJTOP"/rescue/rescue
>      fi
>     +
>     +# 20210105  fda7daf06301   pfctl gained its own version of
> pf_ruleset.c
>     +if [ -e "$OBJTOP"/sbin/pfctl/.depend.pf_ruleset.o ] && \
>     +    egrep -qw "sys/netpfil/pf/pf_ruleset.c" \
>     +    "$OBJTOP"/sbin/pfctl/.depend.pf_ruleset.o; then
>     +       echo "Removing old pf_ruleset dependecy file"
>     +       rm -rf "$OBJTOP"/sbin/pfctl/.depend.pf_ruleset.o
>     +fi
> 

Yeah, that works for me, on a system where it failed with the previously
mentioned error message.

Thansk,
Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/dev-commits-src-all/attachments/20210106/3b1165ed/attachment.sig>


More information about the dev-commits-src-all mailing list