openbsd-ports/net/nepenthes/patches/patch-conf_nepenthes_conf_dist
rui 9cd42354ad update nepenthes to a recent svn snapshot to fix prelude flavor.
ajacoutot@ was kind enough to host the distfile, thanks.

input and ok aanriot@
2007-09-02 22:42:54 +00:00

58 lines
1.9 KiB
Plaintext

$OpenBSD: patch-conf_nepenthes_conf_dist,v 1.3 2007/09/02 22:42:55 rui Exp $
--- conf/nepenthes.conf.dist.orig Sat May 26 01:50:10 2007
+++ conf/nepenthes.conf.dist Sat May 26 01:53:31 2007
@@ -3,8 +3,8 @@
nepenthes
{
- moduledir "lib/nepenthes"; // relative to workdir
- moduleconfigdir "etc/nepenthes"; // relative to workdir
+ moduledir "%%PREFIX%%/lib/nepenthes";
+ moduleconfigdir "%%SYSCONFDIR%%/nepenthes";
modules(
// module name (in moduledir) config file (in moduleconfigdir)
@@ -30,6 +30,8 @@ nepenthes
"downloadtftp.so", "download-tftp.conf", ""
"downloadrcp.so", "" ""
+// "sqlhandlerpostgres.so" "" "" // load sqlhandler
+
// submission handler
"submitfile.so", "submit-file.conf", "" // save to disk
// "submitnorman.so", "submit-norman.conf", ""
@@ -90,8 +92,8 @@ nepenthes
logmanager
{
- ring_logging_file "var/log/nepenthes.%d.log";
- file_logging_file "var/log/nepenthes.log";
+ ring_logging_file "/var/nepenthes/log/nepenthes.%d.log";
+ file_logging_file "/var/nepenthes/log/nepenthes.log";
};
modulemanager
@@ -103,7 +105,7 @@ nepenthes
{
strictfiletype "1";
// where does submit-file write to? set this to the same dir
- filesdir "var/binaries/";
+ filesdir "/var/nepenthes/binaries/";
};
downloadmanager
@@ -122,11 +124,11 @@ nepenthes
utilities
{
- hexdump_path "var/hexdumps/";
+ hexdump_path "/var/nepenthes/hexdumps/";
};
geolocationmanager
{
- cache_path "var/cache/nepenthes/geolocation/";
+ cache_path "/var/nepenthes/cache/nepenthes/geolocation/";
};
};