summaryrefslogtreecommitdiffstats
path: root/rules/libnl3.in
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2013-01-22 11:26:57 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-01-23 12:01:03 +0100
commitadeac13183422dc7152ad5e0484601b074436af7 (patch)
tree9fafd8780ff7f907cc192cd65c5893812562d897 /rules/libnl3.in
parentafbf3edf7de31a09653afb7339bb2901247267ff (diff)
downloadptxdist-adeac13183422dc7152ad5e0484601b074436af7.tar.gz
ptxdist-adeac13183422dc7152ad5e0484601b074436af7.tar.xz
libnl3: new package
New package for libnl3 version 3.2.19. There is already a libnl package version 1.1. Some applications have a dependency to libnl3. Others applications like 'networkmanager' can uses libnl or libnl3. Eventually we should update packages like 'networkmanager' to use libnl3 instead of libnl. It is possible to install both libraries libnl and libnl3. Libnl3 has an another library name and another header file location. The configure part of applications like 'networkmanager' will determine which library will be used. The new libnl3 has a option to enable or disable install cli support. Others possible optional features, which are currently not available to configure, are: - Disable pthread support. - Python bindings(experimental). This package will install a default configuration of libnl3 to '/etc/libnl/...'. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/libnl3.in')
-rw-r--r--rules/libnl3.in38
1 files changed, 38 insertions, 0 deletions
diff --git a/rules/libnl3.in b/rules/libnl3.in
new file mode 100644
index 000000000..4cdd2acf4
--- /dev/null
+++ b/rules/libnl3.in
@@ -0,0 +1,38 @@
+## SECTION=system_libraries
+
+menuconfig LIBNL3
+ tristate
+ prompt "libnl3 "
+ select LIBC_M
+ select LIBC_PTHREAD
+ select GCCLIBS_GCC_S
+ select HOST_FLEX
+ help
+ libnl3 is a library for applications dealing with netlink
+ sockets. The library provides an interface for raw
+ netlink messaging and various netlink family specific
+ interfaces.
+
+if LIBNL3
+
+config LIBNL3_ENABLE_CLI
+ bool
+ default y
+ prompt "Enable command line tools"
+ help
+ Do build the following command line interface utils:
+ genl-ctrl-list
+ nl-class-add
+ nl-class-delete
+ nl-classid-lookup
+ nl-class-list
+ nl-cls-add
+ nl-cls-delete
+ nl-cls-list
+ nl-link-list
+ nl-pktloc-lookup
+ nl-qdisc-add
+ nl-qdisc-delete
+ nl-qdisc-list
+
+endif