Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241976 - net-misc/openswan: documentation installed outside /usr/share/doc/${PF}
Summary: net-misc/openswan: 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 (vote)
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-14 13:11 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2008-12-03 23:31 UTC (History)
0 users

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 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-14 13:11:00 UTC
[snip]
./usr/share/doc/openswan-2.4.13/ipsec_trap_count.5.html
./usr/share/doc/openswan-2.4.13/ipsec_trap_sendcount.5.html
./usr/share/doc/openswan-2.4.13/ipsec_ttoaddr.3.html
./usr/share/doc/openswan-2.4.13/ipsec_ttodata.3.html
./usr/share/doc/openswan-2.4.13/ipsec_ttosa.3.html
./usr/share/doc/openswan-2.4.13/ipsec_ttosubnet.3.html
./usr/share/doc/openswan-2.4.13/ipsec_ttoul.3.html
./usr/share/doc/openswan-2.4.13/ipsec_ultoa.3.html
./usr/share/doc/openswan-2.4.13/ipsec_ultot.3.html
./usr/share/doc/openswan-2.4.13/ipsec_unspecaddr.3.html
./usr/share/doc/openswan-2.4.13/ipsec_verify.8.html
./usr/share/doc/openswan-2.4.13/ipsec_version.3.html
./usr/share/doc/openswan-2.4.13/ipsec_version.5.html
./usr/share/doc/openswan-2.4.13/ipsec_version_code.3.html
./usr/share/doc/openswan-2.4.13/ipsec_version_string.3.html
./usr/share/doc/openswan-2.4.13/ipsec.conf-sample
./net-misc/openswan-2.4.13-r1.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 Alin Năstac (RETIRED) gentoo-dev 2008-12-03 23:31:16 UTC
Fixed in cvs.