openbsd-ports/mail/sympa/patches/patch-configure
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

42 lines
1.2 KiB
Plaintext

$OpenBSD: patch-configure,v 1.2 2010/12/30 17:51:25 landry Exp $
--- configure.orig Mon Nov 15 11:22:18 2010
+++ configure Thu Dec 30 18:42:48 2010
@@ -2732,19 +2732,19 @@ else
# define custom variables
initdir=/etc/rc.d/init.d
- piddir=$prefix
- lockdir=$localstatedir/lock/subsys
+ piddir=$localstatedir/run/sympa
+ lockdir=$localstatedir/spool/lock
modulesdir=$prefix/bin
scriptdir=$prefix/bin
defaultdir=$prefix/default
- mailtemplatedir=$defaultdir/mail_tt2
- webtemplatedir=$defaultdir/web_tt2
+ mailtemplatedir=$prefix/share/sympa/mail_tt2
+ webtemplatedir=$prefix/share/sympa/web_tt2
execcgidir=$prefix/bin
- expldir=$prefix/list_data
- spooldir=$prefix/spool
- staticdir=$prefix/static_content
- arcdir=$prefix/arc
- bouncedir=$prefix/bounce
+ spooldir=$localstatedir/spool/sympa
+ expldir=$localstatedir/sympa/list_data
+ staticdir=/var/www/sympa
+ arcdir=$localstatedir/sympa/archives
+ bouncedir=$localstatedir/sympa/bounces
confdir=/etc
fi
@@ -4512,7 +4512,7 @@ $as_echo "$as_me: error: invalid value $POSTMAP for po
$as_echo "$POSTMAP" >&6; }
else
# default value
- POSTMAP=/usr/sbin/postmap
+ POSTMAP=${LOCALBASE}/sbin/postmap
fi