1,4 → 1,4 |
# $Cambridge: hermes/src/prayer/defaults/Config,v 1.5 2006/04/05 12:35:35 fanf2 Exp $ |
# $Cambridge: hermes/src/prayer/defaults/Config,v 1.12 2008/05/21 13:25:13 dpc22 Exp $ |
# |
# Prayer - a Webmail Interface |
# |
12,7 → 12,6 |
GZIP_ENABLE = true # Enable on the fly compression of pages |
LDAP_ENABLE = true # Add LDAP interface |
FENCE_ENABLE = false # Use Electric Fence to catch malloc problems |
DIRECT_ENABLE = false # Experimental. Leave this switched off... |
MUTEX_SEMAPHORE = true # Use SYSV mutexes rather than file locking |
|
# Following depend on the way that you have configured c-client |
34,18 → 33,32 |
# Location of install program (GNU install or compatible required) |
INSTALL = install |
|
# Base Compiler options for GCC. |
#BASECFLAGS = -Wall -g |
#BASELDFLAGS = -g |
CFLAGS = -Wall -g -O2 |
LDFLAGS = -g -O2 |
# Base Compiler options for GCC (use CPPFLAGS and LDFLAGS if passed in) |
ifdef CPPFLAGS |
BASECFLAGS = $(CPPFLAGS) |
else |
BASECFLAGS = -Wall -g -O2 |
endif |
ifdef INCLUDES |
BASECFLAGS += $(INCLUDES) |
endif |
ifdef LDFLAGS |
BASELDFLAGS = $(LDFLAGS) |
else |
BASELDFLAGS = -g |
endif |
|
# Minimal libraries needed by Linux |
BASE_LIBS = -lcrypt |
# FreeBSD needs some extra libraries: |
# BASE_LIBS = -lcrypt -liconv -lutil |
# Solaris needs even more libararies: |
# BASE_LIBS = -lcrypt -lxnet -lnsl -lsocket |
|
# Base Compiler options for Sun SUNWspro compiler |
#CC = /opt/SUNWspro/bin/cc |
#BASECFLAGS = -fast |
#BASELDFLAGS = -s |
#BASE_LIBS = -lcrypt -lxnet |
|
############################################################################ |
# Location of various include files and libraries. |
52,30 → 65,10 |
############################################################################ |
|
# Location of c-client library. |
# |
# Following works if we have a vanilla c-client installation at same level |
# as the prayer installation. Relies on a symbolic link ./prayer/c-client |
# which points to ../../imap/c-client. This just reduces the amount of |
# noise output on each line when building the package. |
# |
CCLIENT_DIR=/usr/include/c-client |
CCLIENT_INCLUDE=-I$(CCLIENT_DIR) |
CCLIENT_LIBS=-lc-client |
|
# |
# Following works with the mail/cclient port from FreeBSD |
# |
#CCLIENT_INCLUDE = -I/usr/local/include/c-client |
#CCLIENT_LIBS = -L/usr/local/lib -lc-client4 |
# |
# Complication: |
# The FreeBSD port uses PAM and optionally SSL if built WITH_SSL=yes. |
# |
#CCLIENT_SSL_ENABLE = true |
#CCLIENT_KERB_ENABLE = true |
|
############################################################################ |
|
# Electric fence (required if FENCE_ENABLE set) |
FENCE_INCLUDE= |
FENCE_LIBS=-lmcheck |
132,7 → 125,7 |
BROOT=$(CURDIR)/../debian/tmp |
|
# Directory, User and group for read-write files: log files, sockets etc |
VAR_PREFIX = /var/lib/prayer |
VAR_PREFIX = /var/run/prayer |
RW_USER = root |
RW_GROUP = root |
|