The 1.6.1-rc1 ebuild installs the HTML docs as a tarball; not very useful. The following patch installs them sensibly. (to be attached)
Created attachment 10512 [details, diff] ebuild patch Unpack HTML docs, install with dohtml
thanks andy
I think think it's kind of silly to unpack syslog-ng.html.tar.gz in ${S}/doc/sgml and that it should be unpacked in ${S} and then simply dohtml syslog-ng.html/* The current method interjects two levels of otherwise empty directories, because everything else that was in doc/sgml is being installed in the top-level directory. That is, you get this: /usr/share/doc/syslog-ng-1.6.0_rc1-r1/: AUTHORS.gz NEWS.gz stresstest.sh.gz syslog-ng.ps.gz COPYING.gz PORTS.gz syslog-ng.conf.demo.gz syslog-ng.sgml.gz ChangeLog.gz README.gz syslog-ng.conf.sample.gz syslog-ng.txt.gz INSTALL.gz html/ syslog-ng.dvi.gz syslog2ng.gz /usr/share/doc/syslog-ng-1.6.0_rc1-r1/html: doc/ /usr/share/doc/syslog-ng-1.6.0_rc1-r1/html/doc: sgml/ /usr/share/doc/syslog-ng-1.6.0_rc1-r1/html/doc/sgml: syslog-ng.html/ /usr/share/doc/syslog-ng-1.6.0_rc1-r1/html/doc/sgml/syslog-ng.html: book1.html logpath.html tuning.html x567.html x743.html destinations.html msgroute.html x172.html x601.html x97.html intro.html reference.html x354.html x737.html ...whereas my patch gives you this: /usr/share/doc/syslog-ng-1.6.0_rc1-r2/: AUTHORS.gz INSTALL.gz stresstest.sh.gz syslog-ng.dvi.gz ChangeLog.gz NEWS.gz syslog2ng syslog-ng.ps.gz COPYING.gz PORTS.gz syslog-ng.conf.demo.gz syslog-ng.sgml.gz html/ README.gz syslog-ng.conf.sample.gz syslog-ng.txt.gz /usr/share/doc/syslog-ng-1.6.0_rc1-r2/html: book1.html logpath.html tuning.html x567.html x743.html destinations.html msgroute.html x172.html x601.html x97.html intro.html reference.html x354.html x737.html
Please revisit this issue.
revisiting
Created attachment 11364 [details, diff] Really fix HTML docs This installs the HTML docs properly. Patch is relative to the current portage tree syslog-ng-1.6.0_rc1-r2.ebuild. Oh and while we're at it, this updates to rc3. I would mark as testing because I've only superficially tested it.
fixed and also version bumped
ARGH! It's still wrong. doc/sgml/syslog-ng.html is a *directory*, you need: dohtml doc/sgml/syslog-ng.html/* which is what I had in the patch; you left off the /*. You could also have done dohtml -r, but that would have created an additional (useless) directory under html. At the moment, the HTML docs do not install at all.
fixed, sorry