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 (-4 / +28 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2010 Gentoo Foundation
1
# Copyright 1999-2010 Gentoo Foundation
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.1 2010/06/26 19:29:16 xarthisius Exp $
4
3
5
EAPI="2"
4
EAPI="2"
6
5
Lines 15-23 Link Here
15
KEYWORDS="~amd64 ~ppc ~x86"
14
KEYWORDS="~amd64 ~ppc ~x86"
16
IUSE="nls"
15
IUSE="nls"
17
16
18
RDEPEND="virtual/libpcap"
17
DEPEND="nls? ( sys-devel/gettext )"
19
DEPEND="${RDEPEND}
18
RDEPEND="${DEPEND}
20
	nls? ( sys-devel/gettext )"
19
	virtual/libpcap
20
	sys-apps/iproute2"
21
21
22
22
DOCS=( "README" "NEWS" "AUTHORS" "ChangeLog"
23
DOCS=( "README" "NEWS" "AUTHORS" "ChangeLog"
23
	"examples/linux/vip-up.sh" "examples/linux/vip-down.sh" )
24
	"examples/linux/vip-up.sh" "examples/linux/vip-down.sh" )
Lines 25-27 Link Here
25
src_configure() {
26
src_configure() {
26
	econf $(use_enable nls)
27
	econf $(use_enable nls)
27
}
28
}
29
30
src_install() {
31
	emake DESTDIR=${D} install || die
32
33
#	dodoc README INSTALL NEWS ChangeLog || die
34
#	dodoc examples/linux/vip-up.sh examples/linux/vip-down.sh
35
	
36
	newconfd "${FILESDIR}/ucarp.conf" ucarp
37
	newinitd "${FILESDIR}/ucarp.init" ucarp
38
39
	exeinto /etc/ucarp
40
	doexe "${FILESDIR}/vip-up.sh"
41
	doexe "${FILESDIR}/vip-down.sh"
42
}
43
44
pkg_postinst() {
45
	elog "PLEASE NOTE:"
46
	elog ""
47
	elog "UCARP must be configured before it can be used. Make sure you"
48
	elog "edit the config file located in /etc/conf.d/ucarp before"
49
	elog "starting the daemon."
50
}
51

Return to bug 208156