blob: 10613b5caa8a3dc176f8046789cfb00fe8ba0943 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/keepalived/keepalived-1.0.0.ebuild,v 1.1 2003/02/25 03:30:37 zwelch Exp $
DESCRIPTION="The main goal of the keepalived project is to add a strong & robust keepalive facility to the Linux Virtual Server project."
HOMEPAGE="http://keepalived.sourceforge.net"
LICENSE="GPL-2"
DEPEND="virtual/linux-sources
popt"
SRC_URI="http://keepalived.sourceforge.net/software/${P}.tar.gz"
IUSE=""
SLOT="0"
KEYWORDS="~x86"
S="${WORKDIR}/${P}"
src_compile() {
cd "${S}"
./configure --prefix=/
make || die
}
src_install() {
into /
dosbin bin/keepalived
into /
dobin bin/genhash
exeinto /etc/init.d
doexe keepalived/etc/init.d/keepalived.init
insinto /etc/keepalived
doins keepalived/etc/keepalived/keepalived.conf
insinto /etc/keepalived/samples
doins keepalived/samples/client.pem
doins keepalived/samples/dh1024.pem
doins keepalived/samples/keepalived.conf.HTTP_GET.port
doins keepalived/samples/keepalived.conf.SSL_GET
doins keepalived/samples/keepalived.conf.SYNOPSIS
doins keepalived/samples/keepalived.conf.ci-linux
doins keepalived/samples/keepalived.conf.fwmark
doins keepalived/samples/keepalived.conf.inhibit
doins keepalived/samples/keepalived.conf.misc_check
doins keepalived/samples/keepalived.conf.misc_check_arg
doins keepalived/samples/keepalived.conf.real_server_group
doins keepalived/samples/keepalived.conf.sample
doins keepalived/samples/keepalived.conf.status_code
doins keepalived/samples/keepalived.conf.virtualhost
doins keepalived/samples/keepalived.conf.vrrp
doins keepalived/samples/keepalived.conf.vrrp.lvs_syncd
doins keepalived/samples/keepalived.conf.vrrp.scripts
doins keepalived/samples/keepalived.conf.vrrp.sync
doins keepalived/samples/root.pem
doins keepalived/samples/sample.misccheck.smbcheck.sh
dodoc ChangeLog COPYING README keepalived.spec
einfo ""
einfo "If you want Linux Virtual Server support in keepalived"
einfo "then you must compile an LVS patched kernel, the ipvsadm"
einfo "userland tools, and reemerge keepalived."
einfo ""
}
|