Exploring the FreeBSD ports tree

Michel Talon talon at lpthe.jussieu.fr
Tue Sep 9 17:33:59 UTC 2008


Hello,

while playing with fastcgi stuff, i have updated my tool to explore the
FreeBSD ports tree. It is now a fastcgi responder which can answer
questions behind  a web server such as apache or lighttpd. It can be
found here:
http://www.lpthe.jussieu.fr/~talon/show_index.fcgi
The needed configuration for lighttpd is explained in the comments at
the beginning, this is basically the same as for Django. So one needs to
run the python script show_index.fcgi as root, it creates a socket in
/tmp, daemonizes, and changes its ownership to www. It then communicates
with the web server through this socket. To browse the ports tree, just
point the browser at /showindex/ on the given server. A reasonable
number of queries per second is achievable through this setup.


-- 

Michel TALON



More information about the freebsd-ports mailing list