Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241294 - net-dns/dnrd: documentation installed outside /usr/share/doc/${PF}
Summary: net-dns/dnrd: documentation installed outside /usr/share/doc/${PF}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Natanael Copa
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-11 10:52 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2008-10-15 10:19 UTC (History)
1 user (show)

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


Attachments
files/dnrd-2.20.3-docdir.patch (dnrd-2.20.3-docdir.patch,711 bytes, patch)
2008-10-13 06:33 UTC, Natanael Copa
Details | Diff
dnrd-2.20.3.ebuild.patch (dnrd-2.20.3.ebuild.patch,872 bytes, patch)
2008-10-13 06:35 UTC, Natanael Copa
Details | Diff
dnrd-2.20.3.ebuild.patch (dnrd-2.20.3.ebuild.patch,872 bytes, patch)
2008-10-13 11:13 UTC, Natanael Copa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-11 10:52:33 UTC
./usr/share/doc/dnrd/
./usr/share/doc/dnrd/README-cache
./usr/share/doc/dnrd/README-master
./usr/share/doc/dnrd/README-cygwin
./usr/share/doc/dnrd/master.sample
./usr/share/doc/dnrd/AUTHORS
./usr/share/doc/dnrd/COPYING
./usr/share/doc/dnrd/ChangeLog
./usr/share/doc/dnrd/README
./usr/share/doc/dnrd/NEWS
net-dns/dnrd-2.20.3.tbz2


You're getting this bug because the package in summary installs its documentation (or at least part of it) outside the usual /usr/share/doc/${PF} directory.

First, please keep in mind that this bug might not be noticeable for -r0 ebuilds, but it might be for -r1 and later, since if the ebuild has same name and version of the package, for -r0 it might correspond properly.

To fix this, if the package uses autotools, recent version (autoconf 2.61+) have two ./configure switches: --docdir and --htmldir to decide where to put the documentation. Older versions might require you override docdir/htmldir or other custom variables during make install.

For non-autotooled build systems, good luck, since I cannot tell you how to achieve the proper results, the same holds true with totally broken buildsystems even when based on autotools.

Thanks,
Diego
Comment 1 Natanael Copa 2008-10-13 06:33:37 UTC
Created attachment 168250 [details, diff]
files/dnrd-2.20.3-docdir.patch

honor the --docdir configure option.

patch is commited upstream.
Comment 2 Natanael Copa 2008-10-13 06:35:14 UTC
Created attachment 168252 [details, diff]
dnrd-2.20.3.ebuild.patch

patch for ebuild.

Thanks!
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-13 10:43:56 UTC
I would use --docdir= for consistency (with how econf calls configure) but for the rest it looks okay. Thanks for taking care!
Comment 4 Natanael Copa 2008-10-13 11:13:16 UTC
Created attachment 168282 [details, diff]
dnrd-2.20.3.ebuild.patch

use --docdir= for consistency
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2008-10-15 10:19:54 UTC
Fixed in -r1, thanks.