--- /usr/portage/net-misc/ucarp/ucarp-1.5.ebuild 2009-04-05 11:08:24.000000000 +0300 +++ net-misc/ucarp/ucarp-1.5-r1.ebuild 2009-02-27 17:53:29.000000000 +0200 @@ -1,6 +1,5 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ucarp/ucarp-1.5.ebuild,v 1.1 2008/11/12 17:24:20 wschlich Exp $ inherit eutils @@ -24,4 +23,19 @@ dodoc README INSTALL NEWS ChangeLog || die dodoc examples/linux/vip-{up,down}.sh + + newconfd "${FILESDIR}/ucarp.conf" ucarp + newinitd "${FILESDIR}/ucarp.init" ucarp + + exeinto /etc/ucarp + doexe "${FILESDIR}/vip-up.sh" + doexe "${FILESDIR}/vip-down.sh" + +} + +pkg_postinst() { +elog "PLEASE NOTE:" +elog "" +elog "UCARP must be configured before it can be used. Make sure you edit the config file +located in /etc/conf.d/ucarp before starting the daemon." }