Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354259 - Installing net-firewall/ipsec-tools on g/fbsd
Summary: Installing net-firewall/ipsec-tools on g/fbsd
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High enhancement (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-09 16:04 UTC by Dmitri Bogomolov
Modified: 2019-10-11 17:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ipsec-tools-0.7.3-r2.ebuild (ipsec-tools-0.7.3-r2.ebuild,5.45 KB, text/plain)
2011-04-03 21:59 UTC, Dmitri Bogomolov
Details
difference from ipsec-tools-0.7.3-r1.ebuild (ipsec-tools-0.7.3-r1.ebuild.diff,1.34 KB, patch)
2011-04-03 22:02 UTC, Dmitri Bogomolov
Details | Diff
ipsec-tools-0.7.3-r1.ebuild.diff (ipsec-tools-0.7.3-r1.ebuild.diff,867 bytes, patch)
2012-02-14 19:39 UTC, Dmitri Bogomolov
Details | Diff
freebsd-lib-8.2-r1.ebuild.diff (freebsd-lib-8.2-r1.ebuild.diff,993 bytes, patch)
2012-02-14 19:49 UTC, Dmitri Bogomolov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Bogomolov 2011-02-09 16:04:16 UTC
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.
Comment 1 Dmitri Bogomolov 2011-04-03 21:59:34 UTC
Created attachment 268429 [details]
ipsec-tools-0.7.3-r2.ebuild

Ebuild I used to install ipsec-tools on g/fbsd-8.0
Comment 2 Dmitri Bogomolov 2011-04-03 22:02:25 UTC
Created attachment 268431 [details, diff]
difference from ipsec-tools-0.7.3-r1.ebuild
Comment 3 Dmitri Bogomolov 2012-02-14 19:39:34 UTC
Created attachment 301957 [details, diff]
ipsec-tools-0.7.3-r1.ebuild.diff
Comment 4 Dmitri Bogomolov 2012-02-14 19:49:50 UTC
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.
Comment 5 Dmitri Bogomolov 2012-02-14 20:10:03 UTC
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.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-10-11 17:37:23 UTC
*-fbsd is gone.