Package: vpnc-scripts
Version: 0.1~git20140806-1
Severity: normal

Dear Maintainer,

While the obsolete net-tools still has many reverse dependencies it
seems like the last thing on my system pulling in net-tools is
vpnc-scripts, so I investigated what needed changes to work without
net-tools.

After looking at the vpnc-scripts it looks to me like this is simply
caused by incorrectly specified dependencies in the vpnc-scripts
package.

The upstream scripts already seems to always prefer iproute2 over
net-tools. For basic functionality it can fall back on net-tools when
lacking iproute2.

Please consider applying the attached patch.


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

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages vpnc-scripts depends on:
ii  net-tools  1.60-26+b1

Versions of packages vpnc-scripts recommends:
ii  iproute2  3.16.0-2

Versions of packages vpnc-scripts suggests:
pn  dnsmasq         <none>
ii  openssh-server  1:6.7p1-5
pn  resolvconf      <none>

-- no debconf information
>From 0dcca204d41bd08c1676a6259720fe8824642351 Mon Sep 17 00:00:00 2001
From: Andreas Henriksson <andr...@fatal.se>
Date: Wed, 15 Jul 2015 11:44:49 +0200
Subject: [PATCH] Depend on iproute2 | net-tools

Promote the iproute2 from recommends to preferred alternative
dependency to net-tools since the upstream scripts uses
iproute2 when available and only provides basic functionality
via net-tools when not.
---
 debian/control | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 4a5cfba..629c4df 100644
--- a/debian/control
+++ b/debian/control
@@ -10,8 +10,7 @@ Homepage: http://www.infradead.org/openconnect/vpnc-script.html
 
 Package: vpnc-scripts
 Architecture: all
-Depends: ${misc:Depends}, net-tools
-Recommends: iproute2
+Depends: ${misc:Depends}, iproute2 | net-tools
 Suggests: dnsmasq, resolvconf, openssh-server
 Description: Network configuration scripts for VPNC and OpenConnect
  This package contains scripts required to configure routing and name
-- 
2.1.4

Reply via email to