Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246527 - net-misc/dhcpcd-4.* doesn't install compat hooks with USE="compat"
Summary: net-misc/dhcpcd-4.* doesn't install compat hooks with USE="compat"
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-12 19:43 UTC by Bernhard Hartleb
Modified: 2008-11-26 07:48 UTC (History)
1 user (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 Bernhard Hartleb 2008-11-12 19:43:49 UTC
The ebuild for dhcpcd-4.* does actually not install the '50-dhcpcd-compat' hook, when compat is used.
It creates files containing information about network interface configuration in /var/lib/dhcpcd/.

This patch fixes this and should not harm anyone:

--- /usr/portage/net-misc/dhcpcd/dhcpcd-4.0.4.ebuild
+++ net-misc/dhcpcd/dhcpcd-4.0.4.ebuild
@@ -59,6 +59,7 @@
 src_install() {
        local hooks="50-ntp.conf"
        use elibc_glibc && hooks="${hooks} 50-yp.conf"
+       use compat && hooks="${hooks} 50-dhcpcd-compat"
        emake ${MAKE_ARGS} HOOKSCRIPTS="${hooks}" DESTDIR="${D}" install || die
 }

Reproducible: Always
Comment 1 Peter Weller (RETIRED) gentoo-dev 2008-11-25 22:53:46 UTC
Fixed in the dhcpcd-4.0.6 ebuild, currently in-tree.
Comment 2 Bernhard Hartleb 2008-11-26 07:48:58 UTC
Ok, thanks.