diff options
author | abs <abs@pkgsrc.org> | 2002-12-27 12:52:07 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2002-12-27 12:52:07 +0000 |
commit | f5d1820a8f0be40d3aa03fad3e749f11dc9b2f7a (patch) | |
tree | 4131447cfde2c8d6880f71c285eaa954ac090a06 /mail/prayer/patches/patch-aa | |
parent | a30073360f0badc6d5fb7a27158fdbc110c477f4 (diff) | |
download | pkgsrc-f5d1820a8f0be40d3aa03fad3e749f11dc9b2f7a.tar.gz |
Import of prayer 1.0.5
Prayer is a small and fast HTTP to IMAP gateway written entirely in C.
* Uses persistent connections to IMAP server and support servers.
* Target folders remain SELECTed: not a simple-minded proxy.
* Full caching (including sort/thread cache) for each open folder.
* Up to five persistent IMAP connections (typically one or two in use):
o INBOX and one other folder
o Postponed message folder stream
o Preferences stream
o Folder transfer stream
o Various optimisations/sharing to minimise actual IMAP connections
* Directory cache: single round trip to IMAP server for directory listing.
* Works well with UW IMAP server (even using Unix format mail folders).
* Little discernible load on a Pentium III class system running Linux with
5,000 logins/day (400 logins/hour, 150 concurrent logins)
* Uses 10% to 20% of the CPU and 400 MBytes of RAM on a PIII class system
with 23,000 logins/day (1,700 logins/hour, 850 concurrent logins peak)
* Aggressive HTTP/1.0 and 1.1 connection caching to reduce SSL overhead.
* Optional gzip compression of pages tunable by IP address range.
Diffstat (limited to 'mail/prayer/patches/patch-aa')
-rw-r--r-- | mail/prayer/patches/patch-aa | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/mail/prayer/patches/patch-aa b/mail/prayer/patches/patch-aa new file mode 100644 index 00000000000..82737c8ef82 --- /dev/null +++ b/mail/prayer/patches/patch-aa @@ -0,0 +1,58 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/12/27 12:52:07 abs Exp $ + +--- Config.orig Thu Nov 7 08:50:44 2002 ++++ Config +@@ -17,9 +17,9 @@ ACCOUNTD_SSL_ENABLE = false # Enable S + DIRECT_ENABLE = false # Experimental. Leave this switched off... + + # Following depend on the way that you have configured c-client +-CCLIENT_SSL_ENABLE = false # C-client was built with SSL support ++CCLIENT_SSL_ENABLE = true # C-client was built with SSL support + CCLIENT_PAM_ENABLE = false # C-client was built with PAM support +-CCLIENT_KERB_ENABLE = false # C-client was built with Kerberos support ++CCLIENT_KERB_ENABLE = true # C-client was built with Kerberos support + + ############################################################################ + # Location of compiler +@@ -53,9 +53,9 @@ BASE_LIBS = -lcrypt + # which points to ../../imap/c-client. This just reduces the amount of + # noise output on each line when building the package. + # +-CCLIENT_DIR=./c-client +-CCLIENT_INCLUDE=-I $(CCLIENT_DIR) +-CCLIENT_LIB=./$(CCLIENT_DIR)/c-client.a ++CCLIENT_DIR=/usr/pkg ++CCLIENT_INCLUDE=-I $(CCLIENT_DIR)/include/c-client ++CCLIENT_LIB=$(CCLIENT_DIR)/lib/libc-client.a + CCLIENT_SSL_ENABLE = true + + # +@@ -99,7 +99,7 @@ PAM_LIBS = -lpam + + # Kerberos (required if CCLIENT_KERB_ENABLE set) + KERB_INCLUDE = +-KERB_LIBS = -L/usr/kerberos/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err ++KERB_LIBS = -L/usr/lib -lgssapi -lcom_err -lkrb5 -lasn1 -lroken -ldes + + # SSL definitions (required if SSL_ENABLE or CCLIENT_SSL_ENABLE set) + # +@@ -121,8 +121,8 @@ DB_INCLUDE= + DB_LIBS=-ldb + + # Following suitable for FreeBSD with DB 4 package installed +-#DB_INCLUDE=-I/usr/local/include/db4 +-#DB_LIBS=-L/usr/local/lib -ldb4 ++DB_INCLUDE=-I/usr/pkg/include/db4 ++DB_LIBS=-L/usr/pkg/lib -ldb4 + + ############################################################################ + +@@ -143,7 +143,7 @@ RW_GROUP = prayer + # Default configuration and permissions does not allow prayer user to + # update prayer configuration file. + +-PREFIX = /usr/local/prayer ++# PREFIX = /usr/local/prayer + RO_USER = root + RO_GROUP = prayer + |