Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214196 - net-misc/dhcdbd should install to /usr
Summary: net-misc/dhcdbd should install to /usr
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Steev Klimaszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-22 00:16 UTC by Scott M. Likens
Modified: 2011-07-31 20:20 UTC (History)
0 users

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


Attachments
one large diff to patch the ebuild/etc... (onelargediff.diff,4.93 KB, patch)
2008-03-22 00:17 UTC, Scott M. Likens
Details | Diff
dhcdbd-3.0-location.patch (dhcdbd-3.0-location.patch,574 bytes, patch)
2008-03-22 00:18 UTC, Scott M. Likens
Details | Diff
patch (dhcdcb.diff.init,572 bytes, patch)
2008-03-22 00:19 UTC, Scott M. Likens
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.