It would be nice if the new OpenAFS ebuilds would honor the "doc" USE flag to optionally install OpenAFS documentation. Reproducible: Always Steps to Reproduce:
Preparing patch to install documentation together with openafs-1.4.0-rc2. I don't think 1.2.13 is worth the effort (especially if you look at how minimal the change wrt the ibm docs is, see app-doc/afsdoc)
Fixed in openafs-1.4.0_rc2-r1
That was fast, but unfortunately, it doesn't work: gondolin ~ # equery uses openafs [ Searching for packages matching openafs... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for net-fs/openafs-1.4.0_rc2-r1 ] U I - - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too + + kerberos : Adds kerberos support + + pam : <unknown> + + doc : Adds extra documentation (API, Javadoc, etc) gondolin ~ # ll /usr/share/doc/openafs-1.4.0_rc2-r1/ total 12 -rw-r--r-- 1 root root 1081 Sep 5 10:00 ChangeLog.gz -rw-r--r-- 1 root root 4566 Sep 5 10:00 README.gz
Sorry, I think this bug was exposed by the revision bump to -r1, and I only tested before the bump. Could you try this patch and report on that? Thanks, Stefaan --- openafs-1.4.0_rc3.ebuild.old 2005-09-05 09:50:10.000000000 +0200 +++ openafs-1.4.0_rc3.ebuild 2005-09-05 10:32:06.000000000 +0200 @@ -79,7 +79,7 @@ # documentation package if use doc; then - cp -pPR doc/* ${D}/usr/share/doc/${P} + cp -pPR doc/* ${D}/usr/share/doc/${PF} fi # Gentoo related scripts
Looks good now. One little thing to add: When ready, the ebuild prints out (amongst others) this message: * For browsing global Cells, please get CellServDB from * /usr/share/doc/openafs-1.4.0_rc2-r1 and put in /etc/openafs. Then start * using /etc/init.d/afs right away. But there is no CellServDB in /usr/share/doc/openafs-1.4.0_rc2-r1
True. That is currently being done for you under certain circumstances (i.e., when there is no CellServdb yet, or when it looks like it was one previously installed by gentoo). So the message is certainly outdated. The plan is to replace the whole einfo message by: please check out the gentoo openafs-documentation; after updating that documentation of course. I have been postponing this while openafs and the ebuilds were still a moving target, but they seem to be stabilizing now.
CellServDB is now installed again, plus patch for installation of official OpenAFS-docs updated. Fixed in openafs-1.4.0_rc8