Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 372861

Summary: net-misc/vpnc: sys-apps/iproute2 should be included with !minimal
Product: Gentoo Linux Reporter: Frank Steinmetzger <Warp_7>
Component: Current packagesAssignee: Lori <lori>
Status: RESOLVED FIXED    
Severity: normal CC: fauli, mmokrejs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Frank Steinmetzger 2011-06-24 16:24:51 UTC
I am building a minimal live system. When I tested its vpnc for the first time, it failed because it didn't find the ip tool.

It turned out that iproute2 only includes this program if built without the minimal use flag.

Hence vpnc's dependency on iproute2 should be amended to include [!minimal].

Reproducible: Always

Steps to Reproduce:
Install sys-apps/iproute2 with USE=minimal (it will only install one file: /sbin/tc), then try to use vpnc.
Actual Results:  
Calling vpnc when iproute2 is installed with minimal use flag yields:
# vpnc <some config file>
which: no ip in (/sbin:/usr/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin/:/usr/local/sbin/)


Tested only with vpnc-0.5.3, but should be valid for other versions as well.
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2011-07-03 17:31:36 UTC
0.5.3_p457-r2 has the updated dependency, thank you for the hint.