Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196276 - net-misc/vpnc-0.5.x depends on net-dns/resolvconf-gentoo
Summary: net-misc/vpnc-0.5.x depends on net-dns/resolvconf-gentoo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-18 13:05 UTC by pa4wdh
Modified: 2007-11-14 19:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pa4wdh 2007-10-18 13:05:43 UTC
In the ebuilds for net-misc/vpnc-0.5.x the package net-dns/resolvconf-gentoo is listed as RDEPEND. However, net-dns/resolvconf-gentoo is not a required but an optional item.

Reproducible: Always

Steps to Reproduce:
1. Install net-misc/vpnc-0.5.0 or higher
2. If net-dns/resolvconf-gentoo is not installed it will be installed due to the dependency
3. Unmerge net-dns/resolvconf-gentoo and it still works :-)





The dependency for resolvconf seems to be in /etc/vpnc/vpnc-script, but the script detects if it's available and when it's not it falls back to modifying /etc/resolv.conf by itself.

The only inconvenience this causes is that portage wants to install net-dns/resolvconf-gentoo every time i update.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-18 17:17:13 UTC
Stick it in package.provided if you don't want this. As said, it's used by the initscript.
Comment 2 pa4wdh 2007-10-22 09:51:54 UTC
I don't really agree with you. The initscript uses resolvconf, but does not depend on it (is has other methods in case resolvconf is not available).

I wouldn't expect a hard dependency like this, but maybe an optional dependency based on a USE flag for this resolvconf method (like net-dns/bind does).

However, it's your call :-) I've listed net-dns/resolvconf-gentoo in package.provided as a workaround, thanks for the tip.
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2007-11-10 14:52:33 UTC
Reopen for proper assignment
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2007-11-10 14:53:23 UTC
Maybe we will change it, I have to think about it.  Reassigning, so I don't forget it.
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2007-11-14 05:53:29 UTC
Added the USE flag.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-11-14 19:21:40 UTC
*** Bug 199153 has been marked as a duplicate of this bug. ***