Debian WN Packaging Notes

The is the Debian package for the WN, a server for the Hypertext Transfer Protocol (HTTP/1.1). This document describes how the Debian package modification and configurations that I made to the upstream source.

Index

Debian modifications to upstream WN

I've added the following programs to the WN upstream source:

I've dropped the prototype digest authentication module. It uses the RSAREF code which could cause copyright problems.

Debian run-time configuration of WN

WN is configurable at both compile-time and run-time. To build this package, I made choices that might not suit your needs. Some of these choices can be overridden by using the proper set of options in the configuration files I provided in the WN configuration directory /etc/wn. The file /etc/wn/wn.rc is a wrapper script that reads in configuration information from the file /etc/wn/wn.conf. Both files are sh shell scripts. The /etc/wn/wn.rc should not require any modification. The configuration file includes the variables:

wn_www_root_virtual mandatory

The WN virtual hosts file that defines alternate root of www data hierarchy. The Debian standard location is /etc/wn/wn.hosts. This can be set to empty which will force WN to use only a single root directory defined by wn_www_root.

wn_www_root mandatory

The root of www data hierarchy. The Debian standard location is /var/www.

Alternately, if you desire to use a virtual hosts list file, provide an entry for wn_www_root_virtual with the full path to the virtual hosts file.

wn_daemon mandatory

Full path to program to execute. This will either the inetd based server wnd or the stand-alone server wnsd. If you change this value, you must update your Debian inetd and rc.d configuration. Alternatively, you can use the program wnconfig which will update both consistently.

wn_log_format optional

Command line option that control the log format used by the server.

wn_log_format_debug optional

Command line option that controls if debugging information is written to log files.

wn_log_format_syslog optional

Command line option that controls if logging uses UNIX syslogd.

wn_log_file_access [ " " | "<directory>" ] optional

Command line options that sets which file to use for logging normal access information. If syslog is defined to y, you should update your syslog configuration to use this value since the WN package will not update it. If the empty string "" is used as the value of this option then no access logging will be done. If not defined, uses the compiled in default which is /var/log/wn/wn_access.log.

wn_log_file_error [ " " | "<directory>" ] optional

Command line options that sets which file to use for logging error messages. If the empty string "" is used as the value then the WN access log file is used. If syslog is defined to y, you should update your syslog configuration to use this value since the WN package will not update it.

wn_user

Command line options that control access, authentication and execution of CGI programs.

Debian compile-time configuration of WN

Here are the choices I made to build the binary package and which server options or index file attributes to use to override.

Debian to-do list for WN package

Here are list of tasks that I'm at least contemplating for WN. They are roughly in order of when I plan to start them. My main guide is to increase robustness before adding new functionality. Feel free to email me if you have additional suggestions or would like to help.

Get reliable link checking.

The WN documentation has many links, some of which are broken. I need to a reliable way of checking them.

Corrected inclusion error in /usr/doc/wn/examples/counter.html.

Including the perl code directly is incorrect since there are certain characters that are interpreted as HTML tags or attributes. I need to investigate the wnhtmlify program.

Added man pages for configuration files.

The information is in this file but I should provide man pages for them as well.

Convert few remaining documentation files to HTML.

I believe that cacheformat is the only remaining file that should be converted.

Generate the User's Guide's index from wnindexmaker.

Currently I'm relying on the upstream author's index file which I know is out of date. This should be part of the documentation Makefile.

Use WN wrapping to standardize headers and footers.

Current all the pages have their own header and footers. This makes it difficult to maintain consistency.

Restructure manual sections on utilities and CGI programs.

Currently its confusing to locate all this information as it is spread across the manual. Further, not all the utilities and CGI programs are documented. I'd like to organize the manual similar to what I've done for the WN man pages.

Better support for dhelp.

The main missing piece is support for the link "other documents". I suppose that I can generate a directory listing for those packages that aren't registered with dhelp. Need to interface with the dhelp's maintainer.

Switch from wnconfig to debconf.

Debconf is an implementation of the Debian Configuration management Proposal.

Better configuration file format.

The one I have is terrible. Need to work with upstream author on this one.

Package Digest Authentication module.

I currently don't have this included. Need to work out how to use standard Debian RSA package with this.

Package SSL daemon.

An SSL version is available and is essential. The trouble is finding a non-US collaborator.


WN version 2.2.9-3
Copyright © 1999 Jean Pierre LeJacq <jplejacq@quoininc.com>
licensed under the OpenContent Public License
last-modified: Tue, 11 Nov 2003 11:29:44 +0000