diff options
Diffstat (limited to 'sys-cluster/feedbackd-agent')
-rw-r--r-- | sys-cluster/feedbackd-agent/Manifest | 6 | ||||
-rw-r--r-- | sys-cluster/feedbackd-agent/feedbackd-agent-0.4.ebuild | 39 | ||||
-rw-r--r-- | sys-cluster/feedbackd-agent/files/feedbackd-agent-0.4-asneeded.patch | 40 | ||||
-rw-r--r-- | sys-cluster/feedbackd-agent/metadata.xml | 11 |
4 files changed, 96 insertions, 0 deletions
diff --git a/sys-cluster/feedbackd-agent/Manifest b/sys-cluster/feedbackd-agent/Manifest new file mode 100644 index 000000000000..d3af72c52675 --- /dev/null +++ b/sys-cluster/feedbackd-agent/Manifest @@ -0,0 +1,6 @@ +AUX feedbackd-agent-0.4-asneeded.patch 1079 SHA256 bdca5fc14ea24b15d152ca5a63cf35ee4cc51ef009f6b0e2e11159af9a7afc99 SHA512 957a197678eb6ac99e16d655987e1f5c18a28604c5252f3ff248548f7025aded50891e90cd126b4786d81a79ef6a1de915e2e7f28df2c98e9340cc718241b302 WHIRLPOOL 654121033d14661ea8bfca5659714ec6895e173e04b98aa799529e89b278c6abc5eba5c4e70f4ca6581016f71360ddad85ae379286b3769700314df94570c06c +DIST feedbackd-agent-0.4.tar.gz 69078 SHA256 0e1cf74d26387e5ce2591f29b92a19dfcd29b005585d363baa717c03705e49c8 SHA512 e7bdb3f547d59d63fff8c55b4bfd6229dd60c9183694d9f68ac899fcf3a3de47fc05473b514f8c13ea921bf619bf09f242c337245a78eb1a9de03e938069e380 WHIRLPOOL 50c0e401a01ad677f3bca278bed6e9542c4b257cd380981c547fc57cf90f96fce441b3d074202dd4fc60f49eae08137ac225125d42d618b2bc068fd9f63941fc +EBUILD feedbackd-agent-0.4.ebuild 812 SHA256 85506c7326e3494f935613b1d6316dd159ed3aa3f10406c2e95e1898c25fafc1 SHA512 d93766d568e3d774bcc0ddd9e32de6f5c0979817898f3818a7bea56738b7643f1a0460d7bfcbaa8fe411eb87b260c57bf030fc5846ba41633570057a6e5143e8 WHIRLPOOL cd370ab1842eeb2054e7c24e6c1bd14fabd66a684a22beaaed1e92a6ce0688f29dcc893ea841f509cac430c21816c49f9e5afa6bd1ba906d2d9b00ccaf5b9a3c +MISC ChangeLog 2495 SHA256 d52f83c9e9a37f965340cc434bfb99db3b493e1c271a75a2b8cabd4044cbe19c SHA512 6c02a9405151929d7005ee27be561fdb3073504e8aa6f2b972feff9a55ec365460df4385281133b3133b21a3511a3902d37230bed714a1dadd35fab46844c69f WHIRLPOOL 3fd5d723f883ce0de2feae84cedc6b5c41a77f4afd5ec65d8db5e6b323e5fbaf6a283e0914be5c61322797ed981db7a5c3f7c7e68cf4000fd6a86c544281a3d1 +MISC ChangeLog-2015 1716 SHA256 c80266783478ff31837013c849bda573c2e50d78dca8f8c74c4e0b098f559531 SHA512 20f553996402974f7917b63bfbf0e21cb00f1c5c19619b156d03f34a6381b0d61e3090889544af03839abce41700a90ba43918910c68217673be88fd3170e3cc WHIRLPOOL 8664e35edbb617d874ebda2282c57edbcae830240cf7f3358b10e164a676cc55c9dc9568acaf13afcac8f11dd7ad4767e46206666de5dc100fdffd842d2e6464 +MISC metadata.xml 336 SHA256 918cabc266a7426fafc1b05c2c63a4bac0a3485184cf2e80f55b46aeaba927a7 SHA512 bb519790cc800117748b4968cecd1a99e395a23731b3bc20c481b84f8ed8b46a293a50b1724c68cd6573345db097a919b348c685e74d0da3bed80c7b72c4a76f WHIRLPOOL c8e51b4615f7189fa5567e483782bcfb70d7c57a5fa3b81942fd23a3b071234e63c3e143a3e67ac64117521dc68d0774dfa4e655484133eab3405af7360c4d57 diff --git a/sys-cluster/feedbackd-agent/feedbackd-agent-0.4.ebuild b/sys-cluster/feedbackd-agent/feedbackd-agent-0.4.ebuild new file mode 100644 index 000000000000..d5947540f5bd --- /dev/null +++ b/sys-cluster/feedbackd-agent/feedbackd-agent-0.4.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils flag-o-matic + +DESCRIPTION="system for dynamic feedback of server loads in a Linux Virtual Server (LVS)-based cluster" +HOMEPAGE="http://ozlabs.org/~jk/projects/feedbackd/" +SRC_URI="mirror://sourceforge/feedbackd/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +DEPEND="dev-libs/libxml2 + dev-lang/perl" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-asneeded.patch +} + +src_compile() { + econf \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-xml-config=/usr/bin/xml2-config \ + --with-perl=/usr/bin/perl \ + || die "bad ./configure" + + emake || die +} + +src_install() { + #make DESTDIR=${D} install || die + einstall || die + dodoc ChangeLog NEWS README +} diff --git a/sys-cluster/feedbackd-agent/files/feedbackd-agent-0.4-asneeded.patch b/sys-cluster/feedbackd-agent/files/feedbackd-agent-0.4-asneeded.patch new file mode 100644 index 000000000000..9a29a3fa59eb --- /dev/null +++ b/sys-cluster/feedbackd-agent/files/feedbackd-agent-0.4-asneeded.patch @@ -0,0 +1,40 @@ +--- Makefile.in ++++ Makefile.in +@@ -34,13 +34,16 @@ + # build flags + CFLAGS = @CFLAGS@ + CPPFLAGS = @CPPFLAGS@ @DEFS@ -I. +-LDFLAGS = @LDFLAGS@ @LIBS@ ++LDFLAGS = @LDFLAGS@ ++LIBS = @LIBS@ + + XML_CFLAGS = @XML_CFLAGS@ +-XML_LDFLAGS = @XML_LDFLAGS@ @XML_LIBS@ ++XML_LDFLAGS = @XML_LDFLAGS@ ++LIBS += @XML_LIBS@ + + PERL_CFLAGS = @PERL_CFLAGS@ +-PERL_LDFLAGS = @PERL_LDFLAGS@ @PERL_LIBS@ ++PERL_LDFLAGS = @PERL_LDFLAGS@ ++LIBS += @PERL_LIBS@ + + # build targets + PLUGINS = @PLUGINS@ +@@ -63,7 +66,7 @@ + # feedbackd-agent main program + $(AGENT): src/feedbackd-agent + +-src/feedbackd-agent: $(foreach f, $($(AGENT)_objs), src/$(f).o) ++src/feedbackd-agent: $(foreach f, $($(AGENT)_objs), src/$(f).o) $(LIBS) + + src/feedbackd-agent: CFLAGS += $(XML_CFLAGS) + src/feedbackd-agent: LDFLAGS += $(XML_LDFLAGS) +@@ -75,7 +78,7 @@ + $(PLUGINS) : % : src/plugins/%.so + + src/plugins/%.so: src/plugins/%.o +- $(CC) -shared -nostartfiles $(LDFLAGS) -o $@ $^ ++ $(CC) -shared -nostartfiles $(LDFLAGS) -o $@ $^ $(LIBS) + + src/plugins/%.so: CFLAGS+=-fPIC $(XML_CFLAGS) + src/plugins/%.so: LDFLAGS+=$(XML_LDFLAGS) diff --git a/sys-cluster/feedbackd-agent/metadata.xml b/sys-cluster/feedbackd-agent/metadata.xml new file mode 100644 index 000000000000..311ccb6812d8 --- /dev/null +++ b/sys-cluster/feedbackd-agent/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>cluster@gentoo.org</email> + <name>Gentoo Cluster Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">feedbackd</remote-id> + </upstream> +</pkgmetadata> |