blob: cfc58b9d79926b3bd96dc321715f20956102981e (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/feedbackd-agent/feedbackd-agent-0.3.1.ebuild,v 1.4 2004/07/15 02:53:37 agriffis Exp $
inherit eutils
DESCRIPTION="Feedbackd is a client/server system that provides dynamic feedback of server
load in a Linux Virtual Server (LVS)-based cluster. Monitor plugins are used to
measure the health of each server, allowing a flexible way to report load back
to the load balancer. It also facilitates the addition and removal of servers
from the cluster.
This is the agent process for feedbackd, which is run on the real server."
HOMEPAGE="http://www.redfishsoftware.com.au/projects/feedbackd/"
LICENSE="GPL-2"
DEPEND="virtual/libc
>=dev-libs/libxml2
>=dev-lang/perl"
SRC_URI="http://aleron.dl.sourceforge.net/sourceforge/feedbackd/${P}.tar.gz"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
src_compile() {
epatch ${FILESDIR}/compile-gnu-source.patch
CFLAGS="${CFLAGS/-O?/} -O2" \
econf \
--sysconfdir=/etc \
--localstatedir=/var \
--with-xml-config=/usr/bin/xml2-config \
--with-perl=/usr/bin/perl \
|| die "bad ./configure"
cd "${S}"
make || die
}
src_install() {
einstall || die
dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README || die
}
|