summaryrefslogtreecommitdiffstats
path: root/archive/burp/DEPENDS
blob: 6fc62d253a621c9c7e0c5f338b7c9a6a0c522a4c (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
depends -sub CXX gcc &&
depends librsync &&
depends zlib &&

if [[ $BURP_BRANCH == scm ]]; then
  depends git
fi &&

# TODO: missing uthash spell in grimoire
# optional_depends uthash "" "" "to use system uthash library" &&

if spell_ok ncurses; then
  depends ncurses
else
  optional_depends ncurses "" "" "to support live monitor on the server"
fi &&

optional_depends SSL \
                 "--with-openssl" \
                 "--without-openssl" \
                 "for encrypted communication" &&

optional_depends openafs \
                 "--enable-afs" \
                 "--disable-afs" \
                 "for AFS support" &&

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

optional_depends attr \
                 "--enable-xattr" \
                 "--disable-xattr" \
                 "for xattr support" &&

# use gettext functions from libc built with gettext support for static binary
if list_find "$BURP_OPTS" "--enable-static"; then
  list_add BURP_OPTS "--disable-nls"
else
  optional_depends gettext \
                   "--enable-nls" \
                   "--disable-nls" \
                   "for Native Language Support"
fi &&

optional_depends tcp_wrappers \
                 "--with-tcp-wrappers" \
                 "--without-tcp-wrappers" \
                 "for tcpwrappers support" &&

suggest_depends SYSTEM-LOGGER "" "" "to use syslog for logging" &&
suggest_depends SENDMAIL "" "" "to send notifications via e-mail"