-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I attached patch to make configure fix paths on clamd.conf.5 and
freshclam.conf.5 man pages but found out that configure has some
problems because sysconfdir is set to '${prefix}/etc' by default, not
"${prefix}/etc".
Does anybody have idea how to fix that prefix thing in configure so that
man pages wouldn't have ${prefix}/etc/freshclam.conf on man page.
Patch works great on my own system because I set sysconfdir.
./configure --sysconfdir=/etc/clamav
- --
Tuomo Soini <[EMAIL PROTECTED]>
Linux and network services
+358 40 5240030
Foobar Oy <http://foobar.fi/>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBUegRTlrZKzwul1ERAjGtAJ4mHAJzuDjc0mHOJ7Fg8dst/EXt3wCfaZa3
3W0XQ0voDLiHnocUQTlsnNA=
=e8tw
-END PGP SIGNATURE-
diff -ruN clamav-0.80rc2.orig/configure.in clamav-0.80rc2/configure.in
--- clamav-0.80rc2.orig/configure.in2004-09-21 20:14:25.0 +0300
+++ clamav-0.80rc2/configure.in 2004-09-22 23:12:35.0 +0300
@@ -709,4 +709,6 @@
Makefile
clamav-config
libclamav.pc
+docs/man/clamd.conf.5
+docs/man/freshclam.conf.5
])
diff -ruN clamav-0.80rc2.orig/docs/man/clamd.conf.5
clamav-0.80rc2/docs/man/clamd.conf.5
--- clamav-0.80rc2.orig/docs/man/clamd.conf.5 2004-09-19 02:57:36.0 +0300
+++ clamav-0.80rc2/docs/man/clamd.conf.51970-01-01 02:00:00.0 +0200
@@ -1,285 +0,0 @@
-.\" Manual page created by Tomasz Kojm, 20021001.
-.TH "clamd.conf" "5" "September 2, 2004" "Tomasz Kojm" "Clam AntiVirus"
-.SH "NAME"
-.LP
-\fBclamd.conf\fR \- a configuration file for Clam AntiVirus Daemon
-.SH "DESCRIPTION"
-.LP
-clamd.conf configures the Clam AntiVirus daemon, clamd(8).
-.SH "FILE FORMAT"
-The file consists of comments and options with arguments. Each line that starts with
a hash (\fB#\fR) symbol is a comment. Options are are case sensitive and of the form
\fBOption Argument\fR. The (possibly optional) arguments are are of the following
types:
-.TP
-\fBSTRING\fR
-String without blank characters.
-.TP
-\fBSIZE\fR
-Size in bytes. You can use a 'M' or 'm' modifiers for megabytes and a 'K' or 'k' for
kilobytes.
-.TP
-\fBNUMBER\fR
-Unsigned integer.
-.SH "DIRECTIVES"
-.LP
-When an option is not used (hashed or doesn't exist in the configuration file)
freshclam takes a default action.
-.TP
-\fBExample\fR
-If this option is set clamd will not run.
-.TP
-\fBLogFile STRING\fR
-Enable logging to selected file.
-.br
-Default: disabled.
-.TP
-\fBLogFileUnlock\fR
-Disable a system lock that protects against running clamd with a same configuration
file multiple times.
-.br
-Default: disabled.
-.TP
-\fBLogFileMaxSize SIZE\fR
-Limit a size of a log file. The logger will be automatically disabled if the file is
greater than SIZE. Value of 0 disables the limit.
-.br
-Default: 1M
-.TP
-\fBLogTime\fR
-Log time with each message.
-.br
-Default: disabled.
-.TP
-\fBLogClean\fR
-Log clean files.
-.br
-Default: disabled.
-.TP
-\fBLogSyslog\fR
-Use system logger (can work together with LogFile).
-.br
-Default: disabled.
-.TP
-\fBLogVerbose\fR
-Enable verbose logging.
-.br
-Default: disabled.
-.TP
-\fBPidFile STRING\fR
-Save a process identifier of a listening daemon (main thread) to a specified file.
-.br
-Default: disabled.
-.TP
-\fBDatabaseDirectory STRING\fR
-Path to a directory containing database files.
-.br
-Default: hardcoded directory.
-.TP
-\fBLocalSocket STRING\fR
-Path to a local (Unix) socket the daemon will listen on.
-.br
-Default: disabled.
-.TP
-\fBFixStaleSocket\fR
-Remove stale socket after unclean shutdown.
-.br
-Default: disabled.
-.TP
-\fBTCPSocket NUMBER\fR
-TCP port number the daemon will listen on.
-.br
-Default: disabled.
-.TP
-\fBTCPAddr STRING\fR
-TCP address to bind to. By default clamd binds to INADDR_ANY.
-.br
-Default: disabled.
-.TP
-\fBMaxConnectionQueueLength NUMBER\fR
-Maximum length the queue of pending connections may grow to.
-.br
-Default: 15
-.TP
-\fBMaxThreads NUMBER\fR
-Maximal number of threads running at the same time.
-.br
-Default: 5.
-.TP
-\fBThreadTimeout NUMBER\fR
-Stop thread\-scanner after specified time (in seconds). Value of 0 disables the
timeout.
-.br
-Default: 180
-.TP
-\fBMaxDirectoryRecursion NUMBER\fR
-Maximal depth a directories are scanned at.
-.br
-Default: disabled.
-.TP
-\fBFollowDirectorySymlinks\fR
-Follow a directory symlinks. You should have enabled directory recursion limit to
avoid a potential problems.
-.br
-Default: disabled.
-.TP
-\fBFollowFileSymlinks\fR
-Follow regular file symlinks.
-.br
-Default: disabled.
-.TP
-\fBSelfCheck NUMBER\fR
-Do internal checks every NUMBER seconds.
-.br
-Default: 3600
-.TP
-\fBVirusEvent COMMAND\fR
-Execute the COMMAND when virus i