summaryrefslogtreecommitdiffstats
path: root/mail/courier/DEPENDS
blob: e25688c32a308235dbaec8b418fb5c97644feb14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
depends courier-authlib &&
depends pcre &&
depends perl &&
depends mime-support &&
depends courier-unicode &&

case  "${COURIER_DBLIB}"  in
  "gdbm")  depends gdbm "--with-db=gdbm"
     ;;
  "db")  depends db "--with-db=db"
     ;;
esac &&

optional_depends "fam"   \
                 ""      \
                 ""      \
                 "for enhanced IMAP idle implementation" &&

optional_depends "SSL" \
                 "" \
                 "" \
                 "for SSL/TLS encrypted mail delivery support" &&

optional_depends "openldap" \
                 ""        \
                 ""        \
                 "for LDAP directory services" &&

if [ "${COURIER_WEBMAIL}" == "y" ]; then
  depends WEBSERVER &&

  if [ "${COURIER_SSLWEBMAIL}" != "no" ]; then
    depends SSL
  fi &&

  if [ "${COURIER_SPELLCHECKER}" != "" ]; then
    depends ${COURIER_SPELLCHECKER} "--with-ispell=${COURIER_SPELLCHECKER}"
  fi
fi &&

if [ "${COURIER_FAXES}" == "y" ]; then
  depends mgetty &&
  depends groff &&

  optional_depends "POSTSCRIPT-INTERPRETER" \
                   ""                       \
                   ""                       \
                   "to send e-mail via fax - Postscript and PDF support" &&

  optional_depends "netpbm" \
                   ""       \
                   ""       \
                   "to send e-mail via fax - GIF, JPEG and PNG support"
fi &&

optional_depends "uucp" \
                 ""     \
                 ""     \
                 "for using Courier as a gateway to or from another UUCP server"