openbsd-ports/mail/sympa/patches/patch-src_lib_confdef_pm
landry 4824533aee Update to Sympa 6.1.3.
- switch config dir to /var/sympa/etc as sympa daemon/fcgi might want to
  write templates there
- switch to use spawn-fcgi, this way sympa web admin works fine in
  chrooted httpd
- provide a httpd.conf fragment to ease sympa integration
- switch to rc scripts (with help from aja@)
- improve README

With help and feedback from J.G Pailloncy, ok ajacoutot@
2010-12-30 17:51:25 +00:00

31 lines
1.1 KiB
Plaintext

$OpenBSD: patch-src_lib_confdef_pm,v 1.2 2010/12/30 17:51:25 landry Exp $
--- src/lib/confdef.pm.orig Mon Nov 15 09:32:17 2010
+++ src/lib/confdef.pm Mon Dec 20 16:55:44 2010
@@ -47,7 +47,7 @@ our @params = (
},
{
name => 'etc',
- default => Sympa::Constants::SYSCONFDIR,
+ default => "${SYMPA_HOME}/".Sympa::Constants::SYSCONFDIR,
query => 'Directory for configuration files ; it also contains scenari/ and templates/ directories',
file => 'sympa.conf',
},
@@ -639,7 +639,7 @@ our @params = (
},
{
name => 'mhonarc',
- default => '/usr/bin/mhonarc',
+ default => '${LOCALBASE}/bin/mhonarc',
query => 'Path to MhOnarc mail2html pluggin',
file => 'wwsympa.conf',
edit => '1',
@@ -704,7 +704,7 @@ our @params = (
{ 'title' => 'S/MIME pluggin' },
{
name => 'openssl',
- sample => '/usr/bin/ssl',
+ sample => '/usr/sbin/openssl',
query => 'Path to OpenSSL',
file => 'sympa.conf',
edit => '1',