[net-misc/libteam] port from tree, bump

This commit is contained in:
Fabio Erculiani
2014-04-27 21:40:21 +01:00
parent 45e786a5c5
commit cbb4fa8ea2
3 changed files with 74 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
DIST libteam-1.10.tar.gz 489875 SHA256 b225b85d18ccb06b1643204f9226f9eba632982ced90d3eb72dbc5c1dc953971 SHA512 572fad7fb5d77b21f7afb386db2ee1c81560bb3b466db5bbcd7ccfe752c43159fe51bfe987c3bff98abc50615f960c7ed553c4502d916de3216f412984ffc522 WHIRLPOOL bf0111f2ac2b25ad3792ea107ee7566af18949490bb4dc6862ba1bccc3ba4374baed28248ec456ce962279f31913a9e5d276d7f89ef674dcb7ca6db44e088a41
+58
View File
@@ -0,0 +1,58 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
AUTOTOOLS_AUTORECONF=1
inherit autotools-utils linux-info
DESCRIPTION="Library and tools set for controlling team network device"
HOMEPAGE="http://www.libteam.org"
SRC_URI="http://www.libteam.org/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug examples static-libs +syslog"
DEPEND="dev-libs/jansson
dev-libs/libdaemon
>=dev-libs/libnl-3.2.19[utils]
sys-apps/dbus
"
RDEPEND="${DEPEND}
syslog? ( virtual/logger )"
CONFIG_CHECK="~NET_TEAM ~NET_TEAM_MODE_ROUNDROBIN ~NET_TEAM_MODE_ACTIVEBACKUP"
ERROR_NET_TEAM="NET_TEAM is not enabled in this kernel!
Only >=3.3.0 kernel version support in team mode"
DOCS=( HOWTO.BASICS README )
src_prepare() {
# avoid using -Werror in CFLAGS
sed -i -e '/^CFLAGS/s/-Werror//' configure.ac || die 'sed on CFLAGS failed'
autotools-utils_src_prepare
}
src_configure() {
local myeconfargs=(
$(use_enable debug)
$(use_enable syslog logging)
)
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
}
+15
View File
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>proxy-maintainers</herd>
<maintainer>
<email>andreis.vinogradovs@gmail.com</email>
<name>Andreis Vinogradovs</name>
<description>Maintainer. Assign bugs to him</description>
</maintainer>
<maintainer>
<email>pinkbyte@gentoo.org</email>
<name>Sergey Popov</name>
<description>Proxy maintainer. CC him on bugs</description>
</maintainer>
</pkgmetadata>