Bug 14311 - New port: www/gnuinfo
Summary: New port: www/gnuinfo
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-10-13 23:20 UTC by Juergen Lock
Modified: 1999-11-26 19:30 UTC (History)
0 users

See Also:


Attachments
file.shar (4.00 KB, text/plain)
1999-10-13 23:20 UTC, Juergen Lock
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Lock 1999-10-13 23:20:00 UTC
This is a cgi program that allows you to read the GNU .info files
installed on a machine with any web browser.  Needs a running web
server (like apache, in /usr/ports/www).  The quality of the html
isn't as good as that generated by the texi2html converter (in
/usr/ports/textproc) but the advantage of this one is that it
doesn't need access to the .texinfo files which are usually only
available in the original source archives of the installed programs
and not installed by default.

The port actually installs three cgis:  gnuinfo, with the search
path preset to /usr/share/info:/usr/local/info:/usr/X11R6/info,
and gnuinfo.local as well as gnuinfo.X11R6, with just /usr/local/info
and /usr/X11R6/info, respectively.  Use these to get at the toplevel
`dir' files for the other dirs, and to get at info pages for which
there are different versions with the same name in the different
directories, like the two gcc.info* you have when you installed
gcc 2.95.1 (/usr/ports/lang/egcs) in addition to the (less recent)
system compiler.

WWW: http://user.cs.tu-berlin.de/~kraxel/info2html/gnuinfo.html

How-To-Repeat: 
	n/a
Comment 1 Juergen Lock 1999-10-17 23:20:13 UTC
Here's a diff that adds back the other dirs to the gnuinfo.local
and gnuinfo.X11R6, this helps if a page there refers to one in one of
the other dirs.  (like gcc 2.95.1's gcc.info refers to gdb.info...)

Index: files/gnuinfo.X11R6
@@ -1,3 +1,3 @@
 #! /bin/sh
-export INFOPATH=/usr/X11R6/info
+export INFOPATH=/usr/X11R6/info:/usr/share/info:/usr/local/info
 exec ${SCRIPT_FILENAME%/*}/gnuinfo
Index: files/gnuinfo.local
@@ -1,3 +1,3 @@
 #! /bin/sh
-export INFOPATH=/usr/local/info
+export INFOPATH=/usr/local/info:/usr/share/info:/usr/X11R6/info
 exec ${SCRIPT_FILENAME%/*}/gnuinfo
-- 
Juergen Lock <nox.foo@jelal.kn-bremen.de>
(remove dot foo from address to reply)
Comment 2 Steve Price freebsd_committer freebsd_triage 1999-11-26 19:27:51 UTC
State Changed
From-To: open->closed

New port committed, thanks!