-
-
Notifications
You must be signed in to change notification settings - Fork 75
/
captagent.spec.in
360 lines (254 loc) · 18.7 KB
/
captagent.spec.in
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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
Release: %{BUILD_NUMBER}
Summary: SIP capture server
Group: Applications/Communications
License: GPLv3
URL: http://www.sipcapture.org/
Source0: %name-%version.tar.gz
Buildrequires: json-c-devel expat-devel libpcap-devel flex-devel libuv-devel
Requires: json-c expat libpcap libuv
%description
HOMER5 a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
########### module packages ###########################
%package database-hash
Requires: %name = %version
Summary: database hash module for sipcapture HOMER5
%description database-hash
hash database module for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package database-redis
Requires: %name = %version
Summary: database redis module for sipcapture HOMER5
%description database-redis
redis database module for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package protocol-sip
Requires: %name = %version
Summary: protocol sip module for sipcapture HOMER5
%description protocol-sip
sip protocol module for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package protocol-tcp
Requires: %name = %version
Summary: protocol TCP module for sipcapture HOMER5
%description protocol-tcp
TCP protocol module for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package protocol-rtcp
Requires: %name = %version
Summary: protocol rtcp module for sipcapture HOMER5
%description protocol-rtcp
rtcp protocol module for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package protocol-ss7
Requires: %name = %version
Summary: protocol ss7 module for sipcapture HOMER5
%description protocol-ss7
ss7 protocol module for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package socket-pcap
Requires: %name = %version
Summary: socket pcap module for sipcapture HOMER5
%description socket-pcap
pcap socket module for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package socket-raw
Requires: %name = %version
Summary: socket raw module for sipcapture HOMER5
%description socket-raw
raw socket module for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package socket-rtcpxr
Requires: %name = %version
Summary: socket rtcpxr module for sipcapture HOMER5
%description socket-rtcpxr
rtcpxr socket module for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package socket-tzsp
Requires: %name = %version
Summary: socket tzsp module for sipcapture HOMER5
%description socket-tzsp
tzsp socket module for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package transport-hep
Requires: %name = %version
Summary: transport hep module for sipcapture HOMER5
%description transport-hep
hep transport module for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package transport-json
Requires: %name = %version
Summary: transport json module for sipcapture HOMER5
%description transport-json
json transport module for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package interface-http
Requires: %name = %version
Summary: interface http module for sipcapture HOMER5
%description interface-http
http interface module for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
########### module development packages ###########################
%package database-hash-devel
Requires: %name = %version
Requires: database-hash
Summary: database hash module development package for sipcapture HOMER5
%description database-hash-devel
hash database module development package for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package database-redis-devel
Requires: %name = %version
Requires: database-redis
Summary: database redis module development package for sipcapture HOMER5
%description database-redis-devel
redis database module development package for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package protocol-sip-devel
Requires: %name = %version
Requires: protocol-sip
Summary: protocol sip module development package for sipcapture HOMER5
%description protocol-sip-devel
sip protocol module development package for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package protocol-tcp-devel
Requires: %name = %version
Summary: protocol TCP module development package for sipcapture HOMER5
%description protocol-tcp-devel
TCP protocol module development package for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package protocol-rtcp-devel
Requires: %name = %version
Requires: protocol-rtcp
Summary: protocol rtcp module development package for sipcapture HOMER5
%description protocol-rtcp-devel
rtcp protocol module development package for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package protocol-ss7-devel
Requires: %name = %version
Requires: protocol-ss7
Summary: protocol ss7 module development package for sipcapture HOMER5
%description protocol-ss7-devel
ss7 protocol module development package for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package socket-pcap-devel
Requires: %name = %version
Requires: socket-pcap
Summary: socket pcap module development package for sipcapture HOMER5
%description socket-pcap-devel
pcap socket module development package for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package socket-raw-devel
Requires: %name = %version
Requires: socket-raw
Summary: socket raw module development package for sipcapture HOMER5
%description socket-raw-devel
raw socket module development package for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package socket-rtcpxr-devel
Requires: %name = %version
Requires: socket-rtcpxr
Summary: socket rtcpxr module development package for sipcapture HOMER5
%description socket-rtcpxr-devel
rtcpxr socket module development package for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package socket-tzsp-devel
Requires: %name = %version
Requires: socket-tzsp
Summary: socket tzsp module development package for sipcapture HOMER5
%description socket-tzsp-devel
tzsp socket module development package for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package transport-hep-devel
Requires: %name = %version
Requires: transport-hep
Summary: transport hep module development package for sipcapture HOMER5
%description transport-hep-devel
hep transport module development package for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package transport-json-devel
Requires: %name = %version
Requires: transport-json
Summary: transport json module development package for sipcapture HOMER5
%description transport-json-devel
json transport module development package for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%package interface-http-devel
Requires: %name = %version
Requires: interface-http
Summary: interface http module development package for sipcapture HOMER5
%description interface-http-devel
http interface module development package for a robust, carrier-grade, scalable SIP Capture system and Monitoring Application with HEP/HEP2, IP Proto4 (IPIP) encapsulation & port mirroring/monitoring support right out of the box, ready to process & store insane amounts of signaling with instant search, end-to-end analysis and drill-down capabilities for ITSPs, VoIP Providers and Trunk Suppliers using SIP signaling
%prep
%setup -b0 -q
%build
autoreconf -if
%configure -C \
--prefix=%{_prefix}
%{__make}
%install
%{__make} DESTDIR=%{buildroot} install
%files
%defattr(644,root,root,755)
%config(noreplace) %{_sysconfdir}/%name/%name.xml
%attr(755,root,root) %{_sbindir}/%name
%files database-hash
%config(noreplace) %{_sysconfdir}/%name/database_hash.xml
%{_libdir}/%name/modules/database_hash.so
%files database-redis
%{_libdir}/%name/modules/database_redis.so
%files database-redis
%config(noreplace) %{_sysconfdir}/%name/database_redis.xml
%{_libdir}/%name/modules/database_redis.so
%files protocol-sip
%config(noreplace) %{_sysconfdir}/%name/protocol_sip.xml
%config(noreplace) %{_sysconfdir}/%name/captureplans/sip_capture_plan.cfg
%{_libdir}/%name/modules/protocol_sip.so
%files protocol-tcp
%config(noreplace) %{_sysconfdir}/%name/protocol_tcp.xml
%{_libdir}/%name/modules/protocol_tcp.so
%files protocol-rtcp
%config(noreplace) %{_sysconfdir}/%name/protocol_rtcp.xml
%config(noreplace) %{_sysconfdir}/%name/captureplans/rtcp_capture_plan.cfg
%{_libdir}/%name/modules/protocol_rtcp.so
%files protocol-ss7
%config(noreplace) %{_sysconfdir}/%name/protocol_ss7.xml
%{_libdir}/%name/modules/protocol_ss7.so
%files socket-pcap
%config(noreplace) %{_sysconfdir}/%name/socket_pcap.xml
%{_libdir}/%name/modules/socket_pcap.so
%files socket-raw
%config(noreplace) %{_sysconfdir}/%name/socket_raw.xml
%{_libdir}/%name/modules/socket_raw.so
%files socket-rtcpxr
%config(noreplace) %{_sysconfdir}/%name/socket_rtcpxr.xml
%config(noreplace) %{_sysconfdir}/%name/captureplans/rtcpxr_capture_plan.cfg
%{_libdir}/%name/modules/socket_rtcpxr.so
%files socket-tzsp
%config(noreplace) %{_sysconfdir}/%name/socket_tzsp.xml
%config(noreplace) %{_sysconfdir}/%name/captureplans/tzsp_capture_plan.cfg
%{_libdir}/%name/modules/socket_tzsp.so
%files transport-hep
%config(noreplace) %{_sysconfdir}/%name/transport_hep.xml
%{_libdir}/%name/modules/transport_hep.so
%files transport-json
%config(noreplace) %{_sysconfdir}/%name/transport_json.xml
%{_libdir}/%name/modules/transport_json.so
%files interface-http
%{_libdir}/%name/modules/interface_http.so
####################################################
%files database-hash-devel
%{_libdir}/%name/modules/database_hash.la
%{_libdir}/%name/modules/database_hash.a
%files database-redis-devel
%{_libdir}/%name/modules/database_redis.la
%{_libdir}/%name/modules/database_redis.a
%files protocol-sip-devel
%{_libdir}/%name/modules/protocol_sip.la
%{_libdir}/%name/modules/protocol_sip.a
%files protocol-tcp-devel
%{_libdir}/%name/modules/protocol_tcp.la
%{_libdir}/%name/modules/protocol_tcp.a
%files protocol-rtcp-devel
%{_libdir}/%name/modules/protocol_rtcp.la
%{_libdir}/%name/modules/protocol_rtcp.a
%files protocol-ss7-devel
%{_libdir}/%name/modules/protocol_ss7.la
%{_libdir}/%name/modules/protocol_ss7.a
%files socket-pcap-devel
%{_libdir}/%name/modules/socket_pcap.la
%{_libdir}/%name/modules/socket_pcap.a
%files socket-raw-devel
%{_libdir}/%name/modules/socket_raw.la
%{_libdir}/%name/modules/socket_raw.a
%files socket-rtcpxr-devel
%{_libdir}/%name/modules/socket_rtcpxr.la
%{_libdir}/%name/modules/socket_rtcpxr.a
%files socket-tzsp-devel
%{_libdir}/%name/modules/socket_tzsp.la
%{_libdir}/%name/modules/socket_tzsp.a
%files transport-hep-devel
%{_libdir}/%name/modules/transport_hep.la
%{_libdir}/%name/modules/transport_hep.a
%files transport-json-devel
%{_libdir}/%name/modules/transport_json.la
%{_libdir}/%name/modules/transport_json.a
%files interface-http-devel
%{_libdir}/%name/modules/interface_http.la
%{_libdir}/%name/modules/interface_http.a
####################################################