Add a new ebuild for UCARP v 1.4 but this one includes a very recent patch. The stock 1.4 version won't work unless the network interface card is set into promiscuous mode (works when you debug with tcpdump, doesn't when you don't) it's documented here "http://kerneltrap.org/mailarchive/ucarp/2008/1/30/648179" Also the ebuilds for ucarp are old in portage and this is the newest version. Reproducible: Always
Created attachment 142187 [details] ucarp-1.4-r1.ebuild The new ucarp v1.4 ebuild which includes the patch. It's pretty simple and I just modified one of the older ebuilds.
Created attachment 142189 [details, diff] ucarp-1.4-2008-01-29.patch The patch in question. See http://kerneltrap.org/mailarchive/ucarp/2008/1/30/648179 for more details
Created attachment 149101 [details] ucarp.initd a user sent me his ucarp init.d script. I POSIX'ified it but it still might need some work. I'm not using ucarp myself but it would be nice to ship a proper init.d script.
Created attachment 168520 [details] ucarp-1.5.ebuild Original 1.3 ebuild with modified SRC_URI.
1.5 is in the tree.
Created attachment 201601 [details, diff] ucarp-1.5.patch A bit of polishing wouldn't hurt, like in the attached patch (ucarp-1.5.patch). Cristi
Created attachment 254339 [details, diff] ucarp-1.5.2.ebuild.patch
Created attachment 254341 [details, diff] ucarp-1.5.2.ebuild.patch
Created attachment 254343 [details] new ucarp-init-file
Created attachment 254345 [details] down-script using iproute2
Created attachment 254347 [details] up-script using iproute2
Created attachment 254349 [details] ucarp config-file for /etc/conf.d
Here is my * conf-file for to configure all possible options (based on [1]) * a simple init-file * updated up/down-scripts which use iproute2 to add/delete failover ip address I'm also updated the ebuild based on Cristi's version adding iproute2 dependency. Maybe this would help someone outside to use ucarp on gentoo ;) [1] http://www.gentoo-wiki.info/HOWTO_Setup_IP_failover_with_UCARP
Created attachment 295733 [details, diff] ucarp-1.5.2.ebuild.patch fix dependency, install docs
Created attachment 295735 [details] ucarp config-file for /etc/conf.d remove < and > (QA-Errors)
Finally fixed in 1.5.2-r2: *ucarp-1.5.2-r2 (11 Mar 2013) 11 Mar 2013; Tiziano Müller <dev-zero@gentoo.org> +files/ucarp.confd, +files/ucarp.initd, +files/vip-down-default.sh, +files/vip-up-default.sh, +ucarp-1.5.2-r2.ebuild: Revision bump for new init.d/conf.d-scripts written from scratch by Christian Affolter for the FOSS-Cloud project, fixes bug #208156. The rewrite was necessary to adhere to recent best practices (declarative init.d script style).