prt-view

1. What is prt-view ?

prt-view is a simple utility, written in awk, to show the available ports in the CRUX ports system. It also shows which ports are installed and which are installed but have a different version.

Look at this screenshot to get an idea who prt-view works.

2. How to use prt-view ?

Do a
# prt-view > some_name.html
and point your browser to the generated file.

Additionally you can use the prt-view.sh script, which starts firefox to show the prt-view page, or open the page in a new tab if firefox is already running.

If you have a cgi enabled web server running, you can run prt-view as an cgi script.

If you are using apache add the following configuration options to your httpd.conf, in order to get the links to /usr/ports work

Alias /usr/ports/ "/usr/ports/"
<Directory "/usr/ports">
  Options Indexes
  Order deny,allow
  Deny from all
  Allow from localhost
</Directory>
Also change the default IndexIgnore line
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
to
IndexIgnore .htaccess *~ *# HEADER* README* RCS CVS *,v *,t

3. How to get the prt-view scripts ?

You can download an archive from here.
Last modified: Wed Jun 21 18:35:16 CEST 2006 Valid HTML 4.01!
Copyright © 2006 by Jürgen Daubert