I'm trying to install net-firewall/ipsec-tools-0.7.3-r1 on g/fbsd-8. Ithink it make sense because http://ipsec-tools.sourceforge.net/ says: "It supports NetBSD and FreeBSD as well." Reproducible: Always After I made DEPEND=">=sys-kernel/linux-headers-2.6.30" conditional it built successfully. But on during install I got collision error: * Detected file collision(s): * * /usr/lib/libipsec.a * /usr/share/man/man3/ipsec_set_policy.3.bz2 * /usr/share/man/man3/ipsec_strerror.3.bz2 * /usr/share/man/man8/setkey.8.bz2 * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * sys-freebsd/freebsd-lib-8.0 * /usr/lib/libipsec.a * /usr/share/man/man3/ipsec_set_policy.3.bz2 * /usr/share/man/man3/ipsec_strerror.3.bz2 * * sys-freebsd/freebsd-sbin-8.0 * /usr/share/man/man8/setkey.8.bz2 * * Package 'net-firewall/ipsec-tools-0.7.3-r2' NOT merged due to file * collisions. If necessary, refer to your elog messages for the whole * content of the above message. Next I will try to use COLLISION_IGNORE. Not sure about replacing /usr/lib/libipsec.a.
Created attachment 268429 [details] ipsec-tools-0.7.3-r2.ebuild Ebuild I used to install ipsec-tools on g/fbsd-8.0
Created attachment 268431 [details, diff] difference from ipsec-tools-0.7.3-r1.ebuild
Created attachment 301957 [details, diff] ipsec-tools-0.7.3-r1.ebuild.diff
Created attachment 301961 [details, diff] freebsd-lib-8.2-r1.ebuild.diff I added IUSE="ipsec" which determines whether sys-freebsd/freebsd-lib installs ipsec libraries.
Remaining problems: 1. attachment 301957 [details, diff] doesn't deal with kernel config check 2. Those ipsec libraries used by sys-freebsd/freebsd-usbin for traceroute and by sys-freebsd/freebsd-sbin for ping and setkey. I guess it should be alternative dependancy: || ( net-firewall/ipsec-tools sys-freebsd/freebsd-lib[ipsec] ). But both packages already have sys-freebsd/freebsd-lib in DEPEND. setkey probably should be removed because net-firewall/ipsec-tools installs own setkey.
*-fbsd is gone.