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

Bug 214196

Summary: net-misc/dhcdbd should install to /usr
Product: Gentoo Linux Reporter: Scott M. Likens <damm>
Component: New packagesAssignee: Steev Klimaszewski (RETIRED) <steev>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: Lowest    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: one large diff to patch the ebuild/etc...
dhcdbd-3.0-location.patch
patch

Description Scott M. Likens 2008-03-22 00:16:01 UTC
Summary pretty much sums it up, the makefile sets $DESTDIR as / since it's undefined, so it always installs in / instead of /usr.

Since Portage and other PM's don't honor or use $DESTDIR, and this package does not use autotools in any way what so ever.  The only other solution is to provide a diff.

Diff's will be attached.
Comment 1 Scott M. Likens 2008-03-22 00:17:30 UTC
Created attachment 146813 [details, diff]
one large diff to patch the ebuild/etc...
Comment 2 Scott M. Likens 2008-03-22 00:18:52 UTC
Created attachment 146815 [details, diff]
dhcdbd-3.0-location.patch

Patch that patches the source, uses epatch to patch it.
Comment 3 Scott M. Likens 2008-03-22 00:19:54 UTC
Created attachment 146820 [details, diff]
patch

patch to modify the init.d defined in the portage repo, to notice the new location.
Comment 4 Scott M. Likens 2008-03-22 00:20:37 UTC
Note, I won't provide a patch for the ebuild since that is trivial.

Just add

epatch ${FILESDIR}/${PN}-3.0-location.patch
Comment 5 Steev Klimaszewski (RETIRED) gentoo-dev 2011-07-31 20:20:14 UTC
Hi Scott, my apologies for never getting around to this.  The package was masked last night for removal as it's been obsoleted by NetworkManager 0.7.0 so I'm going to mark this as won't fix.  I do appreciate that you took the time to write this up.