$NetBSD: patch-ac,v 1.1.1.1 2004/03/28 19:44:09 xtraeme Exp $

--- etc/sm.xml.in.orig	2003-10-08 02:32:20.000000000 +0200
+++ etc/sm.xml.in	2003-10-08 02:33:37.000000000 +0200
@@ -9,7 +9,7 @@
   <!-- The process ID file. comment this out if you don't need to know
        to know the process ID from outside the process (eg for control
        scripts) -->
-  <pidfile>@localstatedir@/jabberd/pid/sm.pid</pidfile>
+  <pidfile>@PIDDIR@/sm.pid</pidfile>
 
   <!-- Router connection configuration -->
   <router>
@@ -26,7 +26,7 @@
          commented out, or the file can't be read, no attempt will be
          made to establish an encrypted channel with the router. -->
     <!--
-    <pemfile>@sysconfdir@/server.pem</pemfile>
+    <pemfile>@SSLCERTS@/server.pem</pemfile>
     -->
 
     <!-- Router connection retry -->
@@ -55,7 +55,7 @@
 
     <!-- If logging to file, this is the filename of the logfile -->
     <!--
-    <file>@localstatedir@/jabberd/log/sm.log</file>
+    <file>@LOGDIR@/sm.log</file>
     -->
   </log>
 
@@ -116,7 +116,7 @@
     <!-- Berkeley DB driver configuration -->
     <db>
       <!-- Directory to store database files under -->
-      <path>@localstatedir@/jabberd/db</path>
+      <path>@DBDIR@</path>
 
       <!-- Synchronize the database to disk after each write. If you
            disable this, database accesses may be faster, but data may
@@ -371,7 +371,7 @@
          stored in the users data store when they are created. -->
     <template>
       <!--
-      <roster>@sysconfdir@/templates/roster.xml</roster>
+      <roster>@PKG_SYSCONFDIR@/roster.xml</roster>
       -->
     </template>
   </user>
