Skip to contentSkip to conversation

libteam: Initial support

PATCH In review Marian Pritsak 3 participants 3 messages May 21, 2017 – May 22, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libteam: Initial support

libteam is a library for controlling team network device. Provides utils package for network device configuration.

---
 meta-oe/recipes-support/libteam/libteam_1.26.bb | 33 +++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 meta-oe/recipes-support/libteam/libteam_1.26.bb
meta-oe/recipes-support/libteam/libteam_1.26.bb new file +33 -0
new file mode 100644
index 0000000..db1e4a9
@@ -0,0 +1,33 @@
+SUMMARY = "Library for controlling team network device"
+HOMEPAGE = "http://www.libteam.org/"
+SECTION = "libs/network"
+
+PE = "1"
+
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+DEPENDS = "libnl libdaemon jansson"
+${PN}-utils_RDEPENDS = "bash"
+
+SRC_URI = "git://github.com/jpirko/libteam"
+SRCREV = "8c1cea00a21950089058e4e33ea1f7bf4deaddeb"
+
+SRC_URI[md5sum] = "565114d70c41bff6093d8e57be284e8a"
+SRC_URI[sha256sum] = "d65286379141db141bea33424ec0507bb0f827a0bf03d9c65004bb593e3d5545"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+FILES_${PN} = "${libdir}/libteam.so.*"
+
+PACKAGES += "${PN}dctl ${PN}-utils"
+FILES_${PN}dctl = "${libdir}/libteamdctl.so.* \
+"
+FILES_${PN}-utils = "${bindir}/bond2team \
+                     ${bindir}/teamd \
+                     ${bindir}/teamdctl \
+                     ${bindir}/teamnl \
+"
+
Signature · 1 line
2.7.4
#1 lore raw
Quoted 15 lines · Marian Pritsak

libteam is a library for controlling team network device. Provides utils package for network device configuration.

---
 meta-oe/recipes-support/libteam/libteam_1.26.bb | 33 +++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 meta-oe/recipes-support/libteam/libteam_1.26.bb
meta-oe/recipes-support/libteam/libteam_1.26.bb new file +0 -0
new file mode 100644
index 0000000..db1e4a9

meta-oe/recipes-support/libteam/libteam_1.26.bb line 5

Quoted 5 lines
meta-oe/recipes-support/libteam/libteam_1.26.bb new file +5 -0
@@ -0,0 +1,33 @@
+SUMMARY = "Library for controlling team network device"
+HOMEPAGE = "http://www.libteam.org/"
+SECTION = "libs/network"
+
+PE = "1"

Drop this if this package is new.

meta-oe/recipes-support/libteam/libteam_1.26.bb line 11

Quoted 6 lines
meta-oe/recipes-support/libteam/libteam_1.26.bb new file +6 -0
+
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+DEPENDS = "libnl libdaemon jansson"
+${PN}-utils_RDEPENDS = "bash"

this looks reversed may be you meant RDEPENDS_${PN}-utils

Quoted 4 lines
meta-oe/recipes-support/libteam/libteam_1.26.bb new file +4 -0
+
+SRC_URI = "git://github.com/jpirko/libteam"
+SRCREV = "8c1cea00a21950089058e4e33ea1f7bf4deaddeb"
+

meta-oe/recipes-support/libteam/libteam_1.26.bb line 25

Quoted 10 lines
meta-oe/recipes-support/libteam/libteam_1.26.bb new file +10 -0
+SRC_URI[md5sum] = "565114d70c41bff6093d8e57be284e8a"
+SRC_URI[sha256sum] = "d65286379141db141bea33424ec0507bb0f827a0bf03d9c65004bb593e3d5545"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+FILES_${PN} = "${libdir}/libteam.so.*"
+
+PACKAGES += "${PN}dctl ${PN}-utils"

calling it ${PN}-dctl will make it more readable,

Quoted 16 lines
meta-oe/recipes-support/libteam/libteam_1.26.bb new file +8 -1
+FILES_${PN}dctl = "${libdir}/libteamdctl.so.* \
+"
+FILES_${PN}-utils = "${bindir}/bond2team \
+                     ${bindir}/teamd \
+                     ${bindir}/teamdctl \
+                     ${bindir}/teamnl \
+"
+
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw

Op 22-05-17 om 03:48 schreef Khem Raj:

Quoted 19 lines
Quoted 8 lines · Marian Pritsak

libteam is a library for controlling team network device. Provides utils package for network device configuration.

meta-oe/recipes-support/libteam/libteam_1.26.bb | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 meta-oe/recipes-support/libteam/libteam_1.26.bb

Quoted 6 lines
(quoted diff) +0 -0

b/meta-oe/recipes-support/libteam/libteam_1.26.bb new file mode 100644 index 0000000..db1e4a9 --- /dev/null +++ b/meta-oe/recipes-support/libteam/libteam_1.26.bb @@ -0,0 +1,33 @@ +SUMMARY = "Library for controlling team network device" +HOMEPAGE = "http://www.libteam.org/" +SECTION = "libs/network" + +PE = "1"

Drop this if this package is new.

Quoted 5 lines
Quoted 3 lines

+ +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" + +DEPENDS = "libnl libdaemon jansson" +${PN}-utils_RDEPENDS = "bash"

this looks reversed may be you meant RDEPENDS_${PN}-utils

And R* variables need to go below do_install