summaryrefslogtreecommitdiff
path: root/net/freeswitch/Config.in
blob: 21a61eabfbaf0caa3feecae413349cdab4da6db6 (plain)
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
menu "Configuration"
  depends on PACKAGE_freeswitch

  choice
    depends on DEVEL
    prompt "Git HEAD version to use"
    default FS_WITH_DEFAULT_HEAD
    help
	The existing git HEAD is probably outdated. This option allows
	OpenWRT to pull the latest git HEAD. Please ONLY enable this
	option if you know what you are doing. It may and/or may not
	be cleanly compiled and may require some intervension to create
	new patches. If you take this route and come up with some patches,
	please contemplate to contribute
	or send in your patches.

    config FS_WITH_DEFAULT_HEAD
      bool "Default"
      help
	Since developers @FreeSWITCH are actively working to improve
	FreeSWITCH, there is a chance the default git HEAD has long
	been oudated.

    config FS_WITH_LATEST_HEAD
      bool "Latest"
      help
	Please use this option with cautious. It may and/or may not compile
	out of the box and may and/or may not require some additional new
	patches.

  endchoice

  choice
    depends on FS_WITH_LATEST_HEAD
    prompt "FS TARRED archive to use"
    default FS_WITH_OPENWRT_SOURCE
    help
	Select which tarred to use: local or OpenWRT
	local: FS tarred from local archive
	OpenWRT: FS tarred download from source by OpenWRT

   config FS_WITH_LOCAL_SOURCE
      bool "local"
      help
	Use local tarred archive. This approach requires a manually checkout
	source from FS git repository using 'git clone', then package the
	source using tar with XZ compression. The tarred file should include
	$(PKG_VERSION) as follows:
	1. "git clone git://git.freeswitch.org/freeswitch.git <dir>"
	2. Change to <dir>.
	3. "git checkout $(FS_DEFAULT_HEAD) && git submodule update"
	4. Back to parent <dir>.
	5. "tar -Jcf freeswitch_git-$(PKG_VERSION).tar.xz <dir>"
	6. Move the tarred file to OpenWRT download directory.

   config FS_WITH_OPENWRT_SOURCE
      bool "OpenWRT"
      help
	Use (download) tarred archive from OpenWRT.

  endchoice

  choice 
    prompt "Select database"
    default FS_WITH_SQLITE3
    help
	Select which database library to use for libs/apr-util package.
	Default is SQLite.

    config FS_WITH_MYSQL
      bool "MySQL"
      help
	Compile libs/apr-util with MySQL support.

    config FS_WITH_POSTGRESQL
      bool "PostgreSQL"
      help
	Compile libs/apr-util with PostgreSQL support.

    config FS_WITH_SQLITE2
      bool "SQLITE2"
      help
	Compile libs/apr-util with SQLITE2 support.

    config FS_WITH_SQLITE3
      bool "SQLITE3"
      help
	Compile libs/apr-util with SQLITE3 support.

  endchoice

  config FS_WITH_ALSA
    bool "Enable ALSA for sound support"
    default y
    help
	Compile with ALSA support.

  config FS_WITH_VISIBILITY
    bool "Enable API visibility support"
    default y
    help
	Compile with API visibility support.

  config FS_WITH_APR_CONFIG_SWITCHES
    bool "Enable APR configuration switches"
    default y
    help
	Enable some configure switches in libs/apr.

  config FS_WITH_APR_IPV6
    depends on FS_WITH_APR_CONFIG_SWITCHES
    bool "Enable IPV6 support in APR"
    default y
    help
	Compile libs/apr package with IPV6 support.

  config FS_WITH_APR_SCTP
    depends on FS_WITH_APR_CONFIG_SWITCHES
    bool "Enable SCTP support in APR"
    default y
    help
	Compile with SCTP (Stream Control Transfer Protocol)
	support in lib APR.

  config FS_WITH_APR_THREADS
    depends on FS_WITH_APR_CONFIG_SWITCHES
    bool "Enable threading support in APR"
    default y
    help
	Compile with threads support in libs/apr.

  config FS_WITH_BUILTIN_ZRTP
    bool "Enable built-in ZRTP"
    default y
    help
	Compile with ZRTP support.

  config FS_WITH_OGG
    bool "Enable ogg support in mod_celt"
    default y
    help
	Enable this option to allow use of OGG in mod_celt.

  config FS_WITH_CORE_LIBEDIT_SUPPORT
    bool "Compile with libedit Support"
    default n
    help
	Compile with libedit Support. ATM, libedit isn't 
	supported by OpenWRT.

  config FS_WITH_FHS
    bool "Follow the FHS when placing files and directories"
    default y
    help
	Build FreeSWITCH to comply with FHS when placing 
	files and directories.

  config FS_WITH_LZMA
    bool "Enable liblzma usage in libtiff"
    default y
    help
	Compile libs/tiff package with liblzma support. This option
	requires LZMA2 compression package called liblzma.

  config FS_WITH_ODBC
    depends on PACKAGE_sqliteodbc
    depends on PACKAGE_unixodbc_svn
    bool "Compile with ODBC support (Requires unixodbc NOT YET AVAILABLE)"
    default n
    help
	Enable ODBC support. Since both sqliteodbc and unixodbc 
	packages are not yet available on OpenWRT, ODBC support 
	should not be enabled.

  config FS_WITH_OPENSSL
    bool "Enable SSL support"
    default y
    help
	Compile with SSL support.

  config FS_WITH_OPT
    bool "Enable optimization"
    default y
    help
	Compile with optimization flag enabled. This
	will add max optimising compiler flags

  config FS_WITH_SILENT_RULES
    bool "Enable with less verbose build output"
    default n
    help
	Enable this option to produce a less verbose build output
	(undo: "make V=1")

  config FS_WITH_SRTP
    bool "Enable SRTP"
    default y
    help
	Compile with SRTP support.

  config FS_WITH_SRTP_GENERIC_AESICM
    depends on FS_WITH_SRTP
    bool "Compile in changes for ISMAcryp"
    default y
    help
	Compile in changes for ISMAcryp.

  config FS_WITH_SRTP_KERNEL_LINUX
    depends on FS_WITH_SRTP
    bool "Build library to run in Linux kernel context"
    default n
    help
	Build library to run in Linux kernel context.

  config FS_WITH_SRTP_OPENSSL
    depends on FS_WITH_SRTP
    bool "Use OpenSSL crypto primitives to build SRTP"
    default y
    help
	Use OpenSSL crypto primitives.

  config FS_WITH_PYTHON
    depends on PACKAGE_freeswitch-mod-python
    bool "Enable to use system provided version of python"
    default n
    help
	Enable to use system provided version of python.

  config FS_WITH_STUN
    bool "Enable stun module"
    default y
    help
	Enable stun module.

  config FS_WITH_ERLANG
    depends on PACKAGE_freeswitch-mod-erlang-event
    string
    prompt "path to erlang installed directory"
    default "$$(STAGING_DIR_HOST)/lib/erlang"
    help
	Specify the path to erlang libraries.

#  config FS_WITH_OGG_INCLUDES
#    string
#    prompt "OGG include HEADER path"
#    default "$$(STAGING_DIR)/usr/include"
#    help
#	Specify the include header path for OGG library.

endmenu