package: suckless-tools
severity: normal
version: 44-1
tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd

Hi,

suckless-tools is currently (44-2) not installable on kfreebsd, as
libcap2-bin is not available for that port.  Please mark libcap2-bin as
'Recommends' for kfreebsd, as this would solve the problem; the
debian/postinst script is already capable of not-failing due to a
missing 'setcap' binary.

The attached patch works for me.

Thanks and kind regards,
Nicolas


From 1a023beef44619f32c2c78eb6e4115d257ea96b9 Mon Sep 17 00:00:00 2001
From: Nicolas Schier <n.sch...@avm.de>
Date: Mon, 18 Feb 2019 11:01:59 +0100
Subject: [PATCH] Change dependency for libcap2-bin to 'Recommends' for
 kFreeBSD

Signed-off-by: Nicolas Schier <n.sch...@avm.de>
---
 debian/changelog | 1 +
 debian/control   | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 146e859..07a26f8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 suckless-tools (44-2) UNRELEASED; urgency=medium
 
   * d/changelog: Remove trailing whitespaces
+  * Change dependency for libcap2-bin to 'Recommends' for kFreeBSD
 
  -- Ondřej Nový <on...@debian.org>  Mon, 01 Oct 2018 09:50:03 +0200
 
diff --git a/debian/control b/debian/control
index 8aa3395..6b52e16 100644
--- a/debian/control
+++ b/debian/control
@@ -20,7 +20,8 @@ Vcs-Browser: https://salsa.debian.org/debian/suckless-tools
 
 Package: suckless-tools
 Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, libcap2-bin
+Depends: ${misc:Depends}, ${shlibs:Depends}, libcap2-bin [linux-any]
+Recommends: libcap2-bin [!linux-any]
 Suggests: dwm, stterm, surf
 Provides: dmenu, lsw, slock, sprop, sselp, ssid, swarp, tabbed, wmname, xssstate
 Description: simple commands for minimalistic window managers
-- 
2.5.1

Attachment: signature.asc
Description: PGP signature

Reply via email to