$NetBSD: patch-aa,v 1.2 2007/05/20 15:56:45 taca Exp $

--- config.php.orig	2006-12-31 02:43:18.000000000 +0900
+++ config.php
@@ -65,13 +65,13 @@ $_DB_table_prefix = 'gl_';         // e.
 // the backslash '\' in paths. Make sure each path starts with a drive letter!
 
 // This should point to the directory where your config.php file resides.
-$_CONF['path']            = '/path/to/geeklog/'; // should end in a slash
+$_CONF['path']            = '@GEEKLOG_DIR@/'; // should end in a slash
 
 // You only need to change this if you moved or renamed the public_html
 // directory. In that case, you should specify the complete path to the
 // directory (i.e. without the $_CONF['path']) like this:
 // $_CONF['path_html']      = '/path/to/your/public_html/';
-$_CONF['path_html']         = $_CONF['path'] . 'public_html/';
+$_CONF['path_html']         = '@GEEKLOG_PUBDIR@/';
 
 
 // +---------------------------------------------------------------------------+
@@ -80,7 +80,7 @@ $_CONF['path_html']         = $_CONF['pa
 
 // Make sure this is the correct URL to your site, i.e. to where Geeklog's
 // index.php file resides (no trailing slash).
-$_CONF['site_url']          = 'http://www.example.com';
+$_CONF['site_url']          = 'http://localhost@GEEKLOG_SITESUBDIR@';
 
 // Some hosting services have a preconfigured admin directory. In that case,
 // you need to rename Geeklog's admin directory to something like "myadmin"
@@ -154,14 +154,14 @@ $_CONF['path_pear'] = $_CONF['path_syste
 // The default is 'mail' and will work in most environments.
 
 $_CONF['mail_settings'] = array (
-    'backend' => 'mail', // can be one of 'mail', 'sendmail', 'smtp'
+    'backend' => 'smtp', // can be one of 'mail', 'sendmail', 'smtp'
 
     // sendmail parameters (only needed for 'backend' => 'sendmail')
     'sendmail_path' => '/usr/bin/sendmail',
     'sendmail_args' => '',
 
     // SMTP parameters (only needed for 'backend' => 'smtp')
-    'host'     => 'smtp.example.com',
+    'host'     => 'localhost',
     'port'     => '25',
     'auth'     => false,
     'username' => 'smtp-username',
@@ -183,7 +183,7 @@ $_DB_dbms = 'mysql'; // can be either 'm
 $_CONF['allow_mysqldump']   = 1;      // 1 = on, 0 = off
 
 // full path of the mysqldump executable (Windows users: add ".exe"!)
-$_DB_mysqldump_path = '/usr/bin/mysqldump';
+$_DB_mysqldump_path = '@PREFIX@/bin/mysqldump';
 
 // additional options for mysqldump
 // If you're using InnoDB tables, include '--single-transaction' or you
@@ -677,7 +677,7 @@ $_CONF['image_lib'] = ''; // can be one 
 // If you set image_lib to 'imagemagick' give the complete path to mogrify
 // here (i.e. including the name of the executable), otherwise comment it out
 // NOTE: requires ImageMagick version 5.4.9 (or newer)
-//$_CONF['path_to_mogrify']       = '/path/to/mogrify';
+//$_CONF['path_to_mogrify']       = '@PREFIX@/bin/mogrify';
 
 // If you set image_lib to 'netpbm' give the path to the netpbm directory, you
 // need the trailing slash here.
@@ -688,7 +688,7 @@ $_CONF['image_lib'] = ''; // can be one 
 // only use netpbm with Geeklog, put that entire folder in /path/to/geeklog and
 // adjust the path below.  The only programs you need from netpbm are giftopnm,
 // jpegtopnm, pngtopnm, ppmtogif, pnmtojpeg, pnmtopng and pnmscale
-//$_CONF['path_to_netpbm']        = '/path/to/netpbm/';
+//$_CONF['path_to_netpbm']        = '@PREFIX@/bin/';
 
 // Uncomment the following line if you experience problems with the image
 // upload. Debug messages will be added to the error.log file.
