summaryrefslogtreecommitdiff
path: root/net-misc/libteam
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/libteam
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/libteam')
-rw-r--r--net-misc/libteam/Manifest5
-rw-r--r--net-misc/libteam/libteam-1.22.ebuild54
-rw-r--r--net-misc/libteam/metadata.xml11
3 files changed, 70 insertions, 0 deletions
diff --git a/net-misc/libteam/Manifest b/net-misc/libteam/Manifest
new file mode 100644
index 000000000000..9b36dcbbdcca
--- /dev/null
+++ b/net-misc/libteam/Manifest
@@ -0,0 +1,5 @@
+DIST libteam-1.22.tar.gz 544302 SHA256 9a028bf4e77ef21f2812c6d32cbd57a640e409f848fe81b74ecb231d75647ee3 SHA512 7f54b7e87c1d3a5150e598052126e1c2f5396096450a68a923c9cfb7bcc48b724cddc61f55e34d1b5df103f5473367eb268877100f10c58d53fc3eaf24749d5b WHIRLPOOL d86535a74814ce2fc7c41d56e94574a230e265c350ee5678a81d746a1548b548c7f841af4d2122e10d0d514d99585747c9b6612059f795494a14af5ee90d18b9
+EBUILD libteam-1.22.ebuild 1284 SHA256 8691ae1a0239d4e6fd3b64751db4a1c8e45e4aaf0a657500fef8a8e991c21f5b SHA512 04aab77a8d8da1eddd3d25a3683e6b93820aebada9f34d80081e28fb7e3517c6a0adfe58e16584853431a7d55e66e103907638bb0118dba2caa71db48ff8e013 WHIRLPOOL 34a7a6149f4fc36ecb1fdb983528b0c40fa93cbb487b54f881e6c4220164d47e97cbc88e7e8028c04bd79cadf49132a9961fe9198630e931d95043c3926a65c6
+MISC ChangeLog 4235 SHA256 f20cff17310050dcc221c2c2b50c232c094c1ba95a947552a58b299a31e620f6 SHA512 45bb0707d3d6bb978e36d53c67c25fcf54992b1f7aa5e0086bfb8d222bdaf91f42fd1021a54660a4d853eaa0e628892f1eaaadba14279844fced3ac3ac0515d7 WHIRLPOOL 1feac94f2b5f829372fcd33a5526b61022e807f79ab5b74579ea3abf446fd101dcf4b7c8e7a6c1944d8e44f73a5b86e1e53597b1c083c4606ff87b25e7d82b14
+MISC ChangeLog-2015 1473 SHA256 b10bf35264de4199ea0c1e7a4d76476a4a73812305b190f204325cf8c89c747f SHA512 b5a166ccc9214a00a55f958c4ca91b900c40be3fd527bc36a1c2553e493545934b8c0f8a31efb897d276b58dbdd7a3728899169bc0e971a0eb33a80825798ea6 WHIRLPOOL 11e2d11f8513a3aa6a327f038cbc014e5671330dc7babc393b4e05ed5e1dbd189f2130d638132828aa2cbd5d3ad32c6f28339115d4354745fc19cb7815a3ceef
+MISC metadata.xml 334 SHA256 c66184085a724be3c5ccf908b6f661914076ae7b8556f66712957f8e79de1398 SHA512 0cdfae73365dfd53d676ae7ab8e9a0689f0a117542d5fb99e1c5987ae41388f8f8c54b37829915035f417b7e9ac30b6f2abccf95b8a3202c7a6731530201d2d4 WHIRLPOOL 087dc8cf889652b88daa9eda9ffbe7bf3df0a4571cafee87654e907b82354730a32c39f8774f103682c5230096441333621fc2e300bdba5f5c301f0870c62afe
diff --git a/net-misc/libteam/libteam-1.22.ebuild b/net-misc/libteam/libteam-1.22.ebuild
new file mode 100644
index 000000000000..b6c9a923d13b
--- /dev/null
+++ b/net-misc/libteam/libteam-1.22.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+inherit autotools-utils linux-info
+
+DESCRIPTION="Library and tools set for controlling team network device"
+HOMEPAGE="http://libteam.org"
+SRC_URI="http://libteam.org/files/${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
+IUSE="dbus debug examples static-libs +syslog zmq"
+
+DEPEND=">=dev-libs/jansson-2.4
+ dev-libs/libdaemon
+ >=dev-libs/libnl-3.2.19[utils]
+ dbus? ( sys-apps/dbus )
+ zmq? ( >=net-libs/zeromq-3.2.0 )
+ "
+
+RDEPEND="${DEPEND}
+ syslog? ( virtual/logger )"
+
+CONFIG_CHECK="~NET_TEAM ~NET_TEAM_MODE_ROUNDROBIN ~NET_TEAM_MODE_ACTIVEBACKUP ~NET_TEAM_MODE_BROADCAST ~NET_TEAM_MODE_RANDOM ~NET_TEAM_MODE_LOADBALANCE"
+ERROR_NET_TEAM="NET_TEAM is not enabled in this kernel!
+Only >=3.3.0 kernel version support in team mode"
+
+DOCS=( README )
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable debug)
+ $(use_enable syslog logging)
+ $(use_enable dbus)
+ $(use_enable zmq)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+
+ insinto /etc/dbus-1/system.d
+ doins teamd/dbus/teamd.conf
+
+ if use examples; then
+ docinto examples
+ dodoc teamd/example_configs/*
+ fi
+}
diff --git a/net-misc/libteam/metadata.xml b/net-misc/libteam/metadata.xml
new file mode 100644
index 000000000000..f2df868f0441
--- /dev/null
+++ b/net-misc/libteam/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-needed -->
+ <use>
+ <flag name="zmq">Build witch <pkg>net-libs/zeromq</pkg> support</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">jpirko/libteam</remote-id>
+ </upstream>
+</pkgmetadata>