openbsd-ports/net/ircd-hybrid/patches/patch-etc_example_conf
jasper 044fb677fb - update to 7.3.1
- cleanup port

from brad
tested by aja@ edd@
2011-10-19 13:46:17 +00:00

51 lines
1.8 KiB
Plaintext

$OpenBSD: patch-etc_example_conf,v 1.2 2011/10/19 13:46:17 jasper Exp $
--- etc/example.conf.orig Fri Oct 14 15:00:45 2011
+++ etc/example.conf Fri Oct 14 15:07:21 2011
@@ -102,7 +102,7 @@ serverinfo {
* chmod 0600 rsa.key
* chmod 0644 rsa.pub
*/
- #rsa_private_key_file = "/usr/local/ircd/etc/rsa.key";
+ #rsa_private_key_file = "${SYSCONFDIR}/ircd-hybrid/rsa.key";
/*
* ssl_certificate_file: the path to the file containing our
@@ -122,7 +122,7 @@ serverinfo {
* Common Name: irc.someirc.net
* E-mail: you@domain.com
*/
- #ssl_certificate_file = "/usr/local/ircd/etc/cert.pem";
+ #ssl_certificate_file = "${SYSCONFDIR}/ircd-hybrid/cert.pem";
/*
* ssl_server_protocol:
@@ -397,7 +397,7 @@ operator {
* 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";
+# rsa_public_key_file = "${SYSCONFDIR}/ircd-hybrid/oper.pub";
/* class: the class the oper joins when they successfully /oper */
class = "opers";
@@ -1205,7 +1205,7 @@ general {
*
* only define if servlink is not in same directory as ircd itself.
*/
- #servlink_path = "/usr/local/ircd/bin/servlink";
+ #servlink_path = "${TRUEPREFIX}/bin/servlink";
/*
* default_cipher_preference: default cipher to use for cryptlink when none is
@@ -1291,8 +1291,8 @@ modules {
* path: other paths to search for modules specified below
* and in /modload.
*/
- path = "/usr/local/ircd/lib/ircd-hybrid/modules";
- path = "/usr/local/ircd/lib/ircd-hybrid/modules/autoload";
+ path = "${TRUEPREFIX}/lib/ircd-hybrid/modules";
+ path = "${TRUEPREFIX}/lib/ircd-hybrid/modules/autoload";
/* module: the name of a module to load on startup/rehash */
#module = "some_module.la";