Created attachment 153034 [details] Poudriere failed build log security/ipsec-tools does not build on 8.4-RELEASE-p23 ("Patch patch-src-racoon-isakmp_cfg.c failed to apply cleanly"). I am attaching the poudriere log.
Auto-assigned to maintainer vanhu@FreeBSD.org
Work done by patch-src-racoon-isakmp_cfg.c is (should be ?) already done by existing patch8-utmp.diff. Having a quick look at both patches, patch-src-racoon-isakmp_cfg.c tries to disable what has already been correctly patched by patch8-utmp.diff (well, at least, it used to work for a while, but I don't have an older enough install to test). Can a ports commiter just remove patch-src-racoon-isakmp_cfg.c ? It should fix the situation on all versions.
Created attachment 154403 [details] patch to remove erroneous patch build with poudriere
Created attachment 154404 [details] successfull build log after patch
(In reply to VANHULLEBUS Yvan from comment #2) patch-src-racoon-isakmp_cfg.c is needed for FreeBSD 9 and newer that uses the utmpx API. patch8-utmp.diff is for the older utmp API.
Created attachment 157241 [details] patch to unbreak ipsec-tools build on FreeBSD 8 This patch merges patch-src-racoon-isakmp_cfg.c and patch8-utmp.diff using the appropriate #if magic to use the proper utmp vs. utmpx API on FreeBSD 8 vs. FreeBSD 9 and newer. EXTRA_PATCHES has been removed from the Makefile because it is no longer necessary. Builds on FreeBSD 8.4-RELEASE, 9.3-RELEASE, and 10.1-RELEASE, both amd64 and i386. Unfortunately I do not have a test environment for runtime testing.
FreeBSD 8 is no longer supported.