Package: iproute2
Version: 4.3.0-1ubuntu3.16.04.2
Severity: wishlist
Tags: patch

ip link tool has an ability to use external shared libraries for 
defining custom device kinds which will be managed by the tool.
To build such libraries three header files are needed. It would 
be great to provide this headers in a dev package.

---
>From d4cf6d45849aedf7fc469bc5739bf4cde3afbd25 Mon Sep 17 00:00:00 2001
From: Evgenii Smirnov <evgenii.smir...@profitbricks.com>
Date: Mon, 11 Dec 2017 19:01:44 +0100
Subject: [PATCH] Add iproute2-dev package

The package provides necessary header files for building
extention static libraries for ip link tool. Libraries allow
user to define his own device kinds that will be managed by ip link.

Signed-off-by: Evgenii Smirnov <evgenii.smir...@profitbricks.com>
---
 debian/control              | 11 +++++++++++
 debian/iproute2-dev.install |  3 +++
 2 files changed, 14 insertions(+)
 create mode 100644 debian/iproute2-dev.install

diff --git a/debian/control b/debian/control
index b98fbe8..2a13005 100644
--- a/debian/control
+++ b/debian/control
@@ -43,6 +43,17 @@ Description: networking and traffic control tools
  interface, providing advanced features not available through the
  legacy net-tools commands 'ifconfig' and 'route'.
 
+Package: iproute2-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}
+Description: networking and traffic control tools - development files
+ The iproute suite, also known as iproute2, is a collection of
+ utilities for networking and traffic control.
+ .
+ This package contains the header files for
+ compiling iproute link kind extensions, and is needed only for
development.
+
 Package: iproute2-doc
 Section: doc
 Architecture: all
diff --git a/debian/iproute2-dev.install b/debian/iproute2-dev.install
new file mode 100644
index 0000000..00ba756
--- /dev/null
+++ b/debian/iproute2-dev.install
@@ -0,0 +1,3 @@
+include/libnetlink.h /usr/include
+include/utils.h /usr/include
+ip/ip_common.h /usr/include
-- 
2.7.4

Reply via email to