Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Rev 12 | Rev 71 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 12 Rev 23
Line 1... Line 1...
1
# $Cambridge: hermes/src/prayer/defaults/Config,v 1.5 2006/04/05 12:35:35 fanf2 Exp $
1
# $Cambridge: hermes/src/prayer/defaults/Config,v 1.12 2008/05/21 13:25:13 dpc22 Exp $
2
#
2
#
3
# Prayer - a Webmail Interface
3
# Prayer - a Webmail Interface
4
#
4
#
5
# Copyright (c) University of Cambridge 2000 - 2002
5
# Copyright (c) University of Cambridge 2000 - 2002
6
# See the file NOTICE for conditions of use and distribution.
6
# See the file NOTICE for conditions of use and distribution.
Line 10... Line 10...
10
SSL_ENABLE           = true   # SSL requires OpenSSL
10
SSL_ENABLE           = true   # SSL requires OpenSSL
11
SESSION_CACHE_ENABLE = true   # SSL session cache Requires Berkeley DB 3 or 4
11
SESSION_CACHE_ENABLE = true   # SSL session cache Requires Berkeley DB 3 or 4
12
GZIP_ENABLE          = true   # Enable on the fly compression of pages
12
GZIP_ENABLE          = true   # Enable on the fly compression of pages
13
LDAP_ENABLE          = true   # Add LDAP interface
13
LDAP_ENABLE          = true   # Add LDAP interface
14
FENCE_ENABLE         = false  # Use Electric Fence to catch malloc problems
14
FENCE_ENABLE         = false  # Use Electric Fence to catch malloc problems
15
DIRECT_ENABLE        = false  # Experimental. Leave this switched off... 
-
 
16
MUTEX_SEMAPHORE      = true   # Use SYSV mutexes rather than file locking
15
MUTEX_SEMAPHORE      = true   # Use SYSV mutexes rather than file locking
17
16
18
# Following depend on the way that you have configured c-client
17
# Following depend on the way that you have configured c-client
19
CCLIENT_SSL_ENABLE   = false  # C-client was built with SSL support
18
CCLIENT_SSL_ENABLE   = false  # C-client was built with SSL support
20
CCLIENT_PAM_ENABLE   = false  # C-client was built with PAM support
19
CCLIENT_PAM_ENABLE   = false  # C-client was built with PAM support
Line 32... Line 31...
32
# Location of make program (GNU make required)
31
# Location of make program (GNU make required)
33
MAKE         = make
32
MAKE         = make
34
# Location of install program (GNU install or compatible required)
33
# Location of install program (GNU install or compatible required)
35
INSTALL      = install
34
INSTALL      = install
36
35
37
# Base Compiler options for GCC.
36
# Base Compiler options for GCC (use CPPFLAGS and LDFLAGS if passed in)
-
 
37
ifdef CPPFLAGS
-
 
38
  BASECFLAGS   = $(CPPFLAGS)
-
 
39
else
38
#BASECFLAGS   = -Wall -g
40
  BASECFLAGS   = -Wall -g -O2
-
 
41
endif
-
 
42
ifdef INCLUDES
39
#BASELDFLAGS  = -g
43
  BASECFLAGS += $(INCLUDES)
-
 
44
endif
-
 
45
ifdef LDFLAGS
40
CFLAGS   = -Wall -g -O2
46
 BASELDFLAGS  = $(LDFLAGS)
-
 
47
else
41
LDFLAGS  = -g -O2
48
 BASELDFLAGS  = -g
-
 
49
endif
-
 
50
-
 
51
# Minimal libraries needed by Linux
42
BASE_LIBS    = -lcrypt
52
BASE_LIBS    = -lcrypt
-
 
53
# FreeBSD needs some extra libraries:
-
 
54
# BASE_LIBS   = -lcrypt -liconv -lutil
-
 
55
# Solaris needs even more libararies:
-
 
56
# BASE_LIBS   = -lcrypt -lxnet -lnsl -lsocket
43
57
44
# Base Compiler options for Sun SUNWspro compiler
58
# Base Compiler options for Sun SUNWspro compiler
45
#CC          = /opt/SUNWspro/bin/cc
59
#CC          = /opt/SUNWspro/bin/cc
46
#BASECFLAGS  = -fast
60
#BASECFLAGS  = -fast
47
#BASELDFLAGS = -s
61
#BASELDFLAGS = -s
48
#BASE_LIBS   = -lcrypt -lxnet
-
 
49
62
50
############################################################################
63
############################################################################
51
# Location of various include files and libraries.
64
# Location of various include files and libraries.
52
############################################################################
65
############################################################################
53
66
54
# Location of c-client library.
67
# Location of c-client library.
55
#
-
 
56
# Following works if we have a vanilla c-client installation at same level
-
 
57
# as the prayer installation. Relies on a symbolic link ./prayer/c-client
-
 
58
# which points to ../../imap/c-client. This just reduces the amount of
-
 
59
# noise output on each line when building the package.
-
 
60
#
-
 
61
CCLIENT_DIR=/usr/include/c-client
68
CCLIENT_DIR=/usr/include/c-client
62
CCLIENT_INCLUDE=-I$(CCLIENT_DIR)
69
CCLIENT_INCLUDE=-I$(CCLIENT_DIR)
63
CCLIENT_LIBS=-lc-client
70
CCLIENT_LIBS=-lc-client
64
71
65
#
-
 
66
# Following works with the mail/cclient port from FreeBSD
-
 
67
#
-
 
68
#CCLIENT_INCLUDE = -I/usr/local/include/c-client
-
 
69
#CCLIENT_LIBS    = -L/usr/local/lib -lc-client4
-
 
70
#
-
 
71
# Complication:
-
 
72
#   The FreeBSD port uses PAM and optionally SSL if built WITH_SSL=yes.
-
 
73
#
-
 
74
#CCLIENT_SSL_ENABLE  = true
-
 
75
#CCLIENT_KERB_ENABLE = true
-
 
76
-
 
77
############################################################################
-
 
78
-
 
79
# Electric fence (required if FENCE_ENABLE set)
72
# Electric fence (required if FENCE_ENABLE set)
80
FENCE_INCLUDE=
73
FENCE_INCLUDE=
81
FENCE_LIBS=-lmcheck
74
FENCE_LIBS=-lmcheck
82
75
83
# Zlib (required if GZIP_ENABLE set)
76
# Zlib (required if GZIP_ENABLE set)
Line 130... Line 123...
130
123
131
# Build root (used by Redhat RPM system)
124
# Build root (used by Redhat RPM system)
132
BROOT=$(CURDIR)/../debian/tmp
125
BROOT=$(CURDIR)/../debian/tmp
133
126
134
# Directory, User and group for read-write files: log files, sockets etc
127
# Directory, User and group for read-write files: log files, sockets etc
135
VAR_PREFIX = /var/lib/prayer
128
VAR_PREFIX = /var/run/prayer
136
RW_USER    = root
129
RW_USER    = root
137
RW_GROUP   = root
130
RW_GROUP   = root
138
131
139
# Root Directory, User and group for read-only configuration files.
132
# Root Directory, User and group for read-only configuration files.
140
# Default configuration and permissions does not allow prayer user to
133
# Default configuration and permissions does not allow prayer user to