summaryrefslogtreecommitdiffstats
path: root/net/samba4/DEPENDS
blob: c3122620a1b82535d0b8869f41613b09710727f0 (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
depends  e2fsprogs &&
depends  gnutls    &&
depends  libcap    &&
depends  parse-yapp  &&
depends  popt      &&
depends  python3   &&
depends  tevent    &&
depends  talloc    &&
depends  ldb       &&
if [[  "$SAMBA4_BRANCH"  ==  "scm"  ]];  then
  depends  git
fi  &&

depends  -sub 'SSL'  ${HTTP_DL_HANDLER}  &&

if [[ "$SAMBA_ADDC" == "y" ]]; then
  list_remove SAMBA4 '--without-ad-dc'   &&
  list_remove SAMBA4 '--without-gpgme'   &&
  depends  acl     "--with-acl-support"  &&
  depends  gpgme  &&
  depends  lmdb
else
  list_add SAMBA4 '--without-ad-dc'  &&
  list_add SAMBA4 '--without-gpgme'  &&
  optional_depends acl                     \
                   "--with-acl-support"    \
                   "--without-acl-support" \
                   "for file system access control lists support" &&
  optional_depends krb5 \
                   "--with-system-mitkrb5 --without-ad-dc" \
                   "--without-ad-dc" \
                   "to use system krb5"
fi &&

if  [[  "$SAMBA_AD"  ==  "y"  ]];  then
  depends  openldap  "--with-ldap --with-ads"
else
  optional_depends  openldap            \
                    "--with-ldap"       \
                    "--without-ldap --without-ads"    \
                    "for LDAP support"
fi  &&

optional_depends  readline "" "" "for readline support"  &&

optional_depends  linux-pam                        \
                  "--with-pam"                     \
                  "--without-pam"                  \
                  "To enable PAM authentication"   &&

optional_depends  CUPS                         \
                  "--enable-cups"              \
                  "--disable-cups"             \
                  "for Samba support in CUPS"  &&

optional_depends  SYSTEM-LOGGER                             \
                  "--with-syslog"                           \
                  "--without-syslog"                        \
                  "enables logging though a syslog daemon"

optional_depends avahi \
                 "--enable-avahi" \
                 "--disable-avahi" \
                 "for avahi support" &&

optional_depends sendfile \
                 "--with-sendfile-support" \
                 "--without-sendfile-support" \
                 "for sendfile support" &&

optional_depends dmapi \
                 "--with-dmapi" \
                 "--without-dmapi" \
                 "for data management API for XFS Filesystem support" &&


optional_depends libxslt "" "" "to build man pages and documentation" &&
if is_depends_enabled $SPELL libxslt; then
  depends docbook-xsl
fi