After emerging openswan-2.4.4 and then running the "ipsec setup start" command followed by the "ipsec verify" command I get the following error in the output: cat: /etc/ipsec.conf: No such file or directory I have found that there is an error in the /usr/libexec/ipsec/verify file on line 286. The incorrect line is: open("cat","/etc/ipsec.conf"); and this needs to be changed to the following to keep inline with the current gentoo style. open("cat","/etc/ipsec/ipsec.conf"); I hope this can be included in the next release.
oh, also found this on line 379: @configfiles[0] = "/etc/ipsec.conf"; should be: @configfiles[0] = "/etc/ipsec/ipsec.conf"; and on line 381: open(OE,"grep ^include /etc/ipsec.conf|"); should be: open(OE,"grep ^include /etc/ipsec/ipsec.conf|");
I've assumed the maintainer position.
This has been fixed by upstream in 2.4.7, which is now in the tree.