Package: dlint
Version: 1.4.0-8
Severity: grave
Tags: patch
Justification: renders package unusable

On my Debian Buster system, dig fails to work with

;; This program requires DiG version 2.1 or newer, which I cannot find.

Checking on this, I saw that the "ver" call in line 109 doesn't output a
version number anymore. So I changed that to dig -v.

Next, sed was unable to extract a meaningful version number from what dig -v
provided, so I changed the sed statement in the same line accordingly.

The following replacement for line 109 works for me.

ver=`dig -v 2>&1 | grep DiG | head -1 | sed -e 's/^DiG \([0-9.]\+\).*$/\1/'`

My changes might introduce non-backwards compatible changes, though.

-- System Information:
Debian Release: 10.10
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-17-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages dlint depends on:
ii  dnsutils  1:9.11.5.P4+dfsg-5.1+deb10u5
ii  perl      5.28.1-6+deb10u1

dlint recommends no packages.

dlint suggests no packages.

-- no debconf information

Reply via email to