Source: usbguard Version: 0.7.6+ds-2 Severity: wishlist Tags: patch Hi,
it would be nice to have a libusbguard-dev package providing the development files for libusbguard0. Upstream already installs them, so it is matter of shipping them in a new libusbguard-dev package. This way 3rd party applications can be built using the shared libusbguard library. Attached there are the following patches to do so: - public-libusbguard.diff: do not move libusbguard to a private location, as exposing its devel stuff will make it public again; note that this patch requires removing the executable permissions from debian/libusbguard0.install (i.e. chmod -x), as this file is no more processed using dh-exec (not need for it) - libusbguard-dev.diff: add a new libusbguard-dev package containing the development files Thanks, -- Pino
--- a/debian/libusbguard0.install +++ b/debian/libusbguard0.install @@ -1,2 +1,2 @@ -#! /usr/bin/dh-exec -usr/lib/*/libusbguard.so.* usr/lib/${DEB_HOST_MULTIARCH}/usbguard/ +usr/lib/*/libusbguard.so.0 +usr/lib/*/libusbguard.so.0.*
--- a/debian/control +++ b/debian/control @@ -49,6 +49,17 @@ Description: USB device authorization po . This package contains the shared library +Package: libusbguard-dev +Section: libdevel +Architecture: linux-any +Depends: ${misc:Depends}, libusbguard0 (= ${binary:Version}), libqb-dev +Description: USB device authorization policy framework - development files + The USBGuard software framework helps to protect your computer against rogue + USB devices (a.k.a. BadUSB) by implementing basic allow- and blocklisting + capabilities based on device attributes. + . + This package contains the development files for the shared library. + Package: usbguard Architecture: linux-any Depends: ${misc:Depends}, ${shlibs:Depends}, dbus --- /dev/null +++ b/debian/libusbguard-dev.install @@ -0,0 +1,4 @@ +usr/include/usbguard/ +usr/lib/*/libusbguard.a +usr/lib/*/libusbguard.so +usr/lib/*/pkgconfig/libusbguard.pc