Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 208156 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/net-misc/ucarp/ucarp-1.5.2.ebuild (-7 / +28 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/net-misc/ucarp/ucarp-1.5.2.ebuild,v 1.2 2011/04/02 12:50:07 ssuominen Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-misc/ucarp/ucarp-1.5.2.ebuild,v 1.2 2011/04/02 12:50:07 ssuominen Exp $
4
4
5
EAPI="2"
5
EAPI="4"
6
6
7
inherit base
7
inherit base
8
8
Lines 15-27 Link Here
15
KEYWORDS="~amd64 ~ppc ~x86"
15
KEYWORDS="~amd64 ~ppc ~x86"
16
IUSE="nls"
16
IUSE="nls"
17
17
18
RDEPEND="net-libs/libpcap"
18
DEPEND="nls? ( sys-devel/gettext )"
19
DEPEND="${RDEPEND}
19
RDEPEND="${DEPEND}
20
	nls? ( sys-devel/gettext )"
20
	net-libs/libpcap
21
21
	sys-apps/iproute2"
22
DOCS=( "README" "NEWS" "AUTHORS" "ChangeLog"
23
	"examples/linux/vip-up.sh" "examples/linux/vip-down.sh" )
24
22
25
src_configure() {
23
src_configure() {
26
	econf $(use_enable nls)
24
	econf $(use_enable nls)
27
}
25
}
26
27
src_install() {
28
	emake DESTDIR=${D} install || die
29
30
	dodoc README INSTALL NEWS ChangeLog || die
31
	dodoc examples/linux/vip-up.sh examples/linux/vip-down.sh
32
33
	newconfd "${FILESDIR}/ucarp.conf" ucarp
34
	newinitd "${FILESDIR}/ucarp.init" ucarp
35
36
	exeinto /etc/ucarp
37
	doexe "${FILESDIR}/vip-up.sh"
38
	doexe "${FILESDIR}/vip-down.sh"
39
}
40
41
pkg_postinst() {
42
	elog "PLEASE NOTE:"
43
	elog ""
44
	elog "UCARP must be configured before it can be used. Make sure you"
45
	elog "edit the config file located in /etc/conf.d/ucarp before"
46
	elog "starting the daemon."
47
}
48

Return to bug 208156