I wanted to give release 4.1.2 a try on FreeBSD 4.10, so I followed the instructions in INSTALL.FreeBSD to build ipfilter as a module. All seems well, until it tries to patch the kernel:
-su-2.05b# FreeBSD/minstall Patching ip_input.c, ip_output.c and in_proto.c Hmm... Looks like a new-style context diff to me... The text leading up to this was: -------------------------- |*** /sys/netinet/ip_input.c.orig Thu Oct 24 22:27:27 1996 |--- /sys/netinet/ip_input.c Tue Feb 18 21:18:19 1997 -------------------------- Patching file ip_input.c using Plan A... Hunk #1 failed at 93. Hunk #2 failed at 223. Hunk #3 succeeded at 399 with fuzz 2 (offset 129 lines). Hunk #4 failed at 662. Hunk #5 failed at 671. 4 out of 5 hunks failed--saving rejects to ip_input.c.rej Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |*** /sys/netinet/ip_output.c.orig Thu Oct 24 22:27:28 1996 |--- /sys/netinet/ip_output.c Tue Feb 18 21:38:23 1997 -------------------------- Patching file ip_output.c using Plan A... Hunk #1 failed at 65. Hunk #2 failed at 334. 2 out of 2 hunks failed--saving rejects to ip_output.c.rej Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |*** in_proto.c.orig Wed Sep 6 20:31:34 1995 |--- in_proto.c Mon Mar 11 22:40:03 1996 -------------------------- Patching file in_proto.c using Plan A... Hunk #1 failed at 81. 1 out of 1 hunks failed--saving rejects to in_proto.c.rej done Kernel configuration to update [CUSTOM] Re-config'ing CUSTOM... You will now need to run "config" and build a new kernel. If I attempt to build a kernel with ipfilter, step one already fails, as there is no Makefile target named 'freebsd'. Does anybody know what the correct procedure is to get this release up and running ? regards, Derkjan de Haan
