diff options
Diffstat (limited to 'irc/ircd-ratbox/files/patch-doc_example.efnet.conf')
-rw-r--r-- | irc/ircd-ratbox/files/patch-doc_example.efnet.conf | 55 |
1 files changed, 36 insertions, 19 deletions
diff --git a/irc/ircd-ratbox/files/patch-doc_example.efnet.conf b/irc/ircd-ratbox/files/patch-doc_example.efnet.conf index d9e521b3c1a3..9200b6d79d4a 100644 --- a/irc/ircd-ratbox/files/patch-doc_example.efnet.conf +++ b/irc/ircd-ratbox/files/patch-doc_example.efnet.conf @@ -1,6 +1,32 @@ ---- doc/example.efnet.conf.orig Tue Aug 21 00:37:55 2007 -+++ doc/example.efnet.conf Tue Aug 21 00:37:55 2007 -@@ -119,16 +119,16 @@ +--- ./doc/example.efnet.conf.orig 2012-04-13 14:59:57.000000000 +0100 ++++ ./doc/example.efnet.conf 2012-04-13 15:02:33.000000000 +0100 +@@ -101,13 +101,13 @@ + default_max_clients = 10000; + + /* ssl_private_key: our ssl private key */ +- ssl_private_key = "etc/test.key"; ++ ssl_private_key = "%%PREFIX%%/etc/ssl/test.key"; + + /* ssl_cert: certificate for our ssl server */ +- ssl_cert = "etc/test.cert"; ++ ssl_cert = "%%PREFIX%%/etc/ssl/test.cert"; + + /* ssl_dh_params: DH parameters, generate with openssl dhparam -out dh.pem 1024 */ +- ssl_dh_params = "etc/dh.pem"; ++ ssl_dh_params = "%%PREFIX%%/etc/ssl/dh.pem"; + + /* ssld_count: number of ssld processes you want to start, if you + * have a really busy server, using N-1 where N is the number of +@@ -118,7 +118,7 @@ + ssld_count = 1; + + /* bandb: path to the ban database - default is PREFIX/etc/ban.db */ +- bandb = "etc/ban.db"; ++ bandb = "%%DBDIR%%/ban.db"; + }; + + /* admin {}: contains admin information about the server. (OLD A:) */ +@@ -145,16 +145,16 @@ * - operspylog: operspy usage * - ioerrorlog: IO errors */ @@ -27,8 +53,8 @@ }; /* class {}: contain information about classes for users (OLD Y:) */ -@@ -317,7 +317,7 @@ - * A password should not be defined when this is used, see +@@ -357,7 +357,7 @@ + * A password should not be defined when this is used, see * doc/challenge.txt for more information. */ - #rsa_public_key_file = "/usr/local/ircd/etc/oper.pub"; @@ -36,24 +62,15 @@ /* umodes: the specific umodes this oper gets when they oper. * If this is specified an oper will not be given oper_umodes -@@ -908,7 +908,7 @@ - * - * only define if servlink is not in same directory as ircd itself. - */ -- #servlink_path = "/usr/local/ircd/bin/servlink"; -+ #servlink_path = "%%PREFIX%%/bin/servlink"; - - /* use egd: if your system does not have *random devices yet you - * want to use OpenSSL and encrypted links, enable this. Beware - -@@ -958,8 +958,9 @@ - /* module path: paths to search for modules specified below and +@@ -1038,8 +1038,9 @@ + /* module path: paths to search for modules specified below and * in /modload. */ - path = "/usr/local/ircd/modules"; - path = "/usr/local/ircd/modules/autoload"; -+ path = "%%PREFIX%%/lib/ircd-ratbox/modules/"; -+ path = "%%PREFIX%%/lib/ircd-ratbox/modules/autoload/"; -+ path = "%%PREFIX%%/lib/ircd-ratbox/modules/contrib/"; ++ path = "%%PREFIX%%/lib/ircd-ratbox/modules"; ++ path = "%%PREFIX%%/lib/ircd-ratbox/modules/autoload"; ++ path = "%%PREFIX%%/lib/ircd-ratbox/modules/contrib"; /* module: the name of a module to load on startup/rehash */ #module = "some_module.so"; |