Package: stunnel4
Version: 3:5.56+dfsg-4
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu groovy ubuntu-patch

Hi Peter,

In bug #963260, you switched stunnel4 to build-depend on ncat, the nmap
implementation of netcat.

This is only used for testing, and I see no indication that the tests for
stunnel4 give better coverage when using ncat instead of netcat.

And on the other hand, this increases bootstrapping complexity by
introducing a build-dependency on nmap, vs the quite simple - and sufficient
- netcat-traditional implementation.  (FWIW, in Ubuntu we have switched to
netcat-openbsd by default instead of netcat-traditional, and I think the
same argument applies.)

For Ubuntu in particular, we have a 'netcat' package in the reduced set of
packages built for i386, but not nmap/ncat.

I've uploaded the attached patch to Ubuntu, to allow stunnel4 to continue to
be buildable on all architectures in Ubuntu.  I'm happy to discuss what the
best way forward might be that works for both Debian and Ubuntu.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru stunnel4-5.56+dfsg/debian/control stunnel4-5.56+dfsg/debian/control
--- stunnel4-5.56+dfsg/debian/control   2020-07-29 00:27:47.000000000 -0700
+++ stunnel4-5.56+dfsg/debian/control   2020-09-04 13:50:43.000000000 -0700
@@ -11,7 +11,7 @@
  libsystemd-dev [linux-any],
  libunicode-utf8-perl,
  libwrap0-dev,
- ncat,
+ netcat,
  net-tools,
  openssl,
  procps
diff -Nru stunnel4-5.56+dfsg/debian/tests/control 
stunnel4-5.56+dfsg/debian/tests/control
--- stunnel4-5.56+dfsg/debian/tests/control     2020-07-29 00:27:47.000000000 
-0700
+++ stunnel4-5.56+dfsg/debian/tests/control     2020-09-04 13:49:25.000000000 
-0700
@@ -4,5 +4,5 @@
 Features: test-name=debian-perl
 
 Test-Command: debian/tests/upstream
-Depends: @, ncat, net-tools
+Depends: @, netcat, net-tools
 Features: test-name=upstream

Reply via email to