fixwarning
[oweals/gnunet.git] / src / transport / Makefile.am
1 INCLUDES = -I$(top_srcdir)/src/include
2
3 plugindir = $(libdir)/gnunet
4
5 if MINGW
6   WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
7   NATBIN = gnunet-nat-server gnunet-nat-client
8   NATSERVER = gnunet-nat-server-windows.c
9   NATCLIENT = gnunet-nat-client-windows.c
10 else
11   NATSERVER = gnunet-nat-server.c
12   NATCLIENT = gnunet-nat-client.c
13 endif
14
15 if HAVE_MHD
16  GN_LIBMHD = -lmicrohttpd
17  HTTP_PLUGIN_LA = libgnunet_plugin_transport_http.la
18  HTTP_PLUGIN_TEST = test_plugin_transport_http
19  HTTP_API_TEST = test_transport_api_http
20  HTTP_REL_TEST = test_transport_api_reliability_http
21  HTTP_QUOTA_TEST = test_quota_compliance_http \
22                    test_quota_compliance_http_asymmetric_recv_constant
23  HTTPS_PLUGIN_LA = libgnunet_plugin_transport_https.la
24  HTTPS_PLUGIN_TEST = test_plugin_transport_https
25  HTTPS_API_TEST = test_transport_api_https
26  HTTPS_REL_TEST = test_transport_api_reliability_https
27  HTTPS_QUOTA_TEST = test_quota_compliance_https \
28                 test_quota_compliance_https_asymmetric_recv_constant
29 endif
30
31 if USE_COVERAGE
32   AM_CFLAGS = --coverage -O0
33 endif
34
35 if HAVE_PCAP
36 if LINUX
37 if HAVE_EXPERIMENTAL
38  WANBIN = gnunet-transport-wlan-helper
39  WLAN_PLUGIN_LA = libgnunet_plugin_transport_wlan.la
40  WLAN_API_TEST = test_transport_api_wlan
41 endif
42 endif
43 endif
44
45 if LINUX
46 UNIX_PLUGIN_LA = libgnunet_plugin_transport_unix.la
47 UNIX_PLUGIN_TEST = test_transport_api_unix
48 UNIX_REL_TEST = test_transport_api_unreliability_unix
49 UNIX_QUOTA_TEST = test_quota_compliance_unix \
50      test_quota_compliance_unix_asymmetric_recv_constant
51 NATBIN = gnunet-nat-server gnunet-nat-client
52 install-exec-hook:
53         chown root $(bindir)/gnunet-nat-server $(bindir)/gnunet-nat-client $(bindir)/gnunet-wlan || true
54         chmod u+s $(bindir)/gnunet-nat-server $(bindir)/gnunet-nat-client $(bindir)/gnunet-wlan || true
55 else
56 install-exec-hook:
57 endif
58
59 #noinst_PROGRAMS = ${check_PROGRAMS}
60
61 lib_LTLIBRARIES = \
62   libgnunettransport.la
63
64 libgnunettransport_la_SOURCES = \
65   transport_api.c transport.h \
66   transport_api_blacklist.c \
67   transport_api_address_lookup.c 
68 libgnunettransport_la_LIBADD = \
69   $(top_builddir)/src/hello/libgnunethello.la \
70   $(top_builddir)/src/util/libgnunetutil.la \
71   $(GN_LIBINTL) 
72 libgnunettransport_la_LDFLAGS = \
73   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
74   -version-info 0:0:0
75
76
77 bin_PROGRAMS = \
78  gnunet-transport \
79  $(WANBIN) \
80  gnunet-service-transport $(NATBIN)
81
82 bin_SCRIPTS = \
83  gnunet-transport-certificate-creation
84
85 gnunet_nat_server_SOURCES = \
86  $(NATSERVER)
87
88     
89 gnunet_transport_wlan_helper_SOURCES = \
90  gnunet-transport-wlan-helper.c
91 gnunet_transport_wlan_helper_LDADD = \
92   $(top_builddir)/src/util/libgnunetutil.la \
93  -lpcap
94
95 gnunet_nat_client_SOURCES = \
96  $(NATCLIENT)         
97
98 gnunet_transport_SOURCES = \
99  gnunet-transport.c         
100 gnunet_transport_LDADD = \
101   $(top_builddir)/src/transport/libgnunettransport.la \
102   $(top_builddir)/src/util/libgnunetutil.la \
103   $(GN_LIBINTL)
104 gnunet_transport_DEPENDENCIES = \
105   libgnunettransport.la                         
106
107 gnunet_service_transport_SOURCES = \
108  gnunet-service-transport.c  
109 gnunet_service_transport_LDADD = \
110   $(top_builddir)/src/hello/libgnunethello.la \
111   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
112   $(top_builddir)/src/statistics/libgnunetstatistics.la \
113   $(top_builddir)/src/util/libgnunetutil.la \
114   $(GN_LIBINTL)
115 gnunet_service_transport_DEPENDENCIES = \
116   libgnunettransport.la                         
117
118
119 plugin_LTLIBRARIES = \
120   libgnunet_plugin_transport_tcp.la \
121   libgnunet_plugin_transport_udp.la \
122   $(UNIX_PLUGIN_LA) \
123   $(HTTP_PLUGIN_LA) \
124   $(HTTPS_PLUGIN_LA) \
125   $(WLAN_PLUGIN_LA) \
126   libgnunet_plugin_transport_template.la
127 # TODO: add nat, etc.
128
129 libgnunet_plugin_transport_tcp_la_SOURCES = \
130   plugin_transport_tcp.c
131 libgnunet_plugin_transport_tcp_la_LIBADD = \
132   $(top_builddir)/src/hello/libgnunethello.la \
133   $(top_builddir)/src/statistics/libgnunetstatistics.la \
134   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
135   $(top_builddir)/src/nat/libgnunetnat.la \
136   $(top_builddir)/src/util/libgnunetutil.la 
137 libgnunet_plugin_transport_tcp_la_LDFLAGS = \
138  $(GN_PLUGIN_LDFLAGS)
139
140 libgnunet_plugin_transport_template_la_SOURCES = \
141   plugin_transport_template.c
142 libgnunet_plugin_transport_template_la_LIBADD = \
143   $(top_builddir)/src/util/libgnunetutil.la 
144 libgnunet_plugin_transport_template_la_LDFLAGS = \
145  $(GN_PLUGIN_LDFLAGS)
146
147 libgnunet_plugin_transport_wlan_la_SOURCES = \
148         plugin_transport_wlan.c
149 libgnunet_plugin_transport_wlan_la_LIBADD = \
150         $(top_builddir)/src/hello/libgnunethello.la \
151         $(top_builddir)/src/statistics/libgnunetstatistics.la \
152         $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
153         $(top_builddir)/src/util/libgnunetutil.la 
154 libgnunet_plugin_transport_wlan_la_LDFLAGS = \
155         $(GN_PLUGIN_LDFLAGS)
156
157 libgnunet_plugin_transport_udp_la_SOURCES = \
158   plugin_transport_udp.c
159 libgnunet_plugin_transport_udp_la_LIBADD = \
160   $(top_builddir)/src/hello/libgnunethello.la \
161   $(top_builddir)/src/statistics/libgnunetstatistics.la \
162   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
163   $(top_builddir)/src/util/libgnunetutil.la 
164 libgnunet_plugin_transport_udp_la_LDFLAGS = \
165  $(GN_PLUGIN_LDFLAGS)
166  
167 libgnunet_plugin_transport_unix_la_SOURCES = \
168   plugin_transport_unix.c
169 libgnunet_plugin_transport_unix_la_LIBADD = \
170   $(top_builddir)/src/hello/libgnunethello.la \
171   $(top_builddir)/src/statistics/libgnunetstatistics.la \
172   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
173   $(top_builddir)/src/util/libgnunetutil.la 
174 libgnunet_plugin_transport_unix_la_LDFLAGS = \
175  $(GN_PLUGIN_LDFLAGS)
176
177 libgnunet_plugin_transport_http_la_SOURCES = \
178   plugin_transport_http.c
179 libgnunet_plugin_transport_http_la_LIBADD = \
180   $(top_builddir)/src/hello/libgnunethello.la \
181   $(top_builddir)/src/statistics/libgnunetstatistics.la \
182   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
183   @LIBCURL@ \
184   $(top_builddir)/src/util/libgnunetutil.la 
185 libgnunet_plugin_transport_http_la_LDFLAGS = \
186  $(GN_LIBMHD) \
187  $(GN_PLUGIN_LDFLAGS)
188
189 libgnunet_plugin_transport_https_la_SOURCES = \
190   plugin_transport_http.c
191 libgnunet_plugin_transport_https_la_LIBADD = \
192   $(top_builddir)/src/hello/libgnunethello.la \
193   $(top_builddir)/src/statistics/libgnunetstatistics.la \
194   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
195   @LIBCURL@ \
196   $(top_builddir)/src/util/libgnunetutil.la 
197 libgnunet_plugin_transport_https_la_LDFLAGS = \
198  $(GN_LIBMHD) \
199  $(GN_PLUGIN_LDFLAGS)
200 libgnunet_plugin_transport_https_la_CFLAGS = \
201  $(CFLAGS) -DBUILD_HTTPS  
202
203
204 check_PROGRAMS = \
205  test_transport_api_tcp \
206  test_transport_api_tcp_nat \
207  test_transport_api_udp \
208  $(UNIX_PLUGIN_TEST) \
209  test_transport_api_udp_nat \
210  $(HTTP_PLUGIN_TEST) \
211  $(HTTP_API_TEST) \
212  $(HTTPS_PLUGIN_TEST) \
213  $(HTTPS_API_TEST) \
214  $(WLAN_API_TEST) \
215  test_transport_api_multi \
216  test_transport_api_reliability_tcp \
217  test_transport_api_reliability_tcp_nat \
218  test_transport_api_unreliability_udp \
219  test_transport_api_unreliability_unix \
220  $(UNIX_REL_TEST) \
221  $(HTTP_REL_TEST) \
222  $(HTTPS_REL_TEST) \
223  test_quota_compliance_tcp \
224  test_quota_compliance_tcp_asymmetric_recv_constant \
225  test_quota_compliance_udp \
226  test_quota_compliance_udp_asymmetric_recv_constant \
227  $(UNIX_QUOTA_TEST) \
228  $(HTTP_QUOTA_TEST) \
229  $(HTTPS_QUOTA_TEST)
230 # TODO: add tests for nat, etc.
231
232 if !DISABLE_TEST_RUN
233 TESTS = \
234  test_transport_api_tcp \
235  test_transport_api_tcp_nat \
236  test_transport_api_udp \
237  $(UNIX_PLUGIN_TEST) \
238  test_transport_api_udp_nat \
239  $(HTTP_PLUGIN_TEST) \
240  $(HTTP_API_TEST) \
241  $(HTTPS_PLUGIN_TEST) \
242  $(HTTPS_API_TEST) \
243  $(WLAN_API_TEST) \
244  test_transport_api_multi \
245  test_transport_api_reliability_tcp \
246  test_transport_api_reliability_tcp_nat \
247  test_transport_api_unreliability_udp \
248  test_transport_api_unreliability_unix \
249  $(HTTP_REL_TEST) \
250  $(HTTPS_REL_TEST) \
251  test_quota_compliance_tcp \
252  test_quota_compliance_tcp_asymmetric_recv_constant \
253  test_quota_compliance_udp \
254  test_quota_compliance_udp_asymmetric_recv_constant \
255  $(UNIX_QUOTA_TEST) \
256  $(HTTP_QUOTA_TEST) \
257  $(HTTPS_QUOTA_TEST)
258 endif
259
260 test_transport_api_tcp_SOURCES = \
261  test_transport_api.c
262 test_transport_api_tcp_LDADD = \
263  $(top_builddir)/src/transport/libgnunettransport.la \
264  $(top_builddir)/src/hello/libgnunethello.la \
265  $(top_builddir)/src/util/libgnunetutil.la  
266
267 test_transport_api_tcp_nat_SOURCES = \
268  test_transport_api.c
269 test_transport_api_tcp_nat_LDADD = \
270  $(top_builddir)/src/transport/libgnunettransport.la \
271  $(top_builddir)/src/hello/libgnunethello.la \
272  $(top_builddir)/src/util/libgnunetutil.la  
273
274 test_transport_api_reliability_tcp_SOURCES = \
275  test_transport_api_reliability.c
276 test_transport_api_reliability_tcp_LDADD = \
277  $(top_builddir)/src/transport/libgnunettransport.la \
278  $(top_builddir)/src/hello/libgnunethello.la \
279  $(top_builddir)/src/util/libgnunetutil.la  
280
281 test_transport_api_reliability_tcp_nat_SOURCES = \
282  test_transport_api_reliability.c
283 test_transport_api_reliability_tcp_nat_LDADD = \
284  $(top_builddir)/src/transport/libgnunettransport.la \
285  $(top_builddir)/src/hello/libgnunethello.la \
286  $(top_builddir)/src/util/libgnunetutil.la 
287
288 test_transport_api_udp_SOURCES = \
289  test_transport_api.c
290 test_transport_api_udp_LDADD = \
291  $(top_builddir)/src/transport/libgnunettransport.la \
292  $(top_builddir)/src/hello/libgnunethello.la \
293  $(top_builddir)/src/util/libgnunetutil.la  
294
295 test_transport_api_udp_nat_SOURCES = \
296  test_transport_api.c
297 test_transport_api_udp_nat_LDADD = \
298  $(top_builddir)/src/transport/libgnunettransport.la \
299  $(top_builddir)/src/hello/libgnunethello.la \
300  $(top_builddir)/src/util/libgnunetutil.la   
301
302 test_transport_api_unix_SOURCES = \
303  test_transport_api.c
304 test_transport_api_unix_LDADD = \
305  $(top_builddir)/src/transport/libgnunettransport.la \
306  $(top_builddir)/src/hello/libgnunethello.la \
307  $(top_builddir)/src/util/libgnunetutil.la 
308
309 test_plugin_transport_http_SOURCES = \
310  test_plugin_transport_http.c
311 test_plugin_transport_http_LDADD = \
312  $(top_builddir)/src/transport/libgnunettransport.la \
313  $(top_builddir)/src/statistics/libgnunetstatistics.la \
314  @LIBCURL@ \
315  $(top_builddir)/src/hello/libgnunethello.la \
316  $(top_builddir)/src/util/libgnunetutil.la  
317
318 test_transport_api_http_SOURCES = \
319  test_transport_api.c
320 test_transport_api_http_LDADD = \
321  $(top_builddir)/src/transport/libgnunettransport.la \
322  $(top_builddir)/src/hello/libgnunethello.la \
323  $(top_builddir)/src/util/libgnunetutil.la  
324
325 test_transport_api_reliability_http_SOURCES = \
326  test_transport_api_reliability.c
327 test_transport_api_reliability_http_LDADD = \
328  $(top_builddir)/src/transport/libgnunettransport.la \
329  $(top_builddir)/src/hello/libgnunethello.la \
330  $(top_builddir)/src/util/libgnunetutil.la
331
332 test_plugin_transport_https_SOURCES = \
333  test_plugin_transport_https.c
334 test_plugin_transport_https_LDADD = \
335  $(top_builddir)/src/transport/libgnunettransport.la \
336  $(top_builddir)/src/statistics/libgnunetstatistics.la \
337  @LIBCURL@ \
338  $(top_builddir)/src/hello/libgnunethello.la \
339  $(top_builddir)/src/util/libgnunetutil.la  
340
341 test_transport_api_https_SOURCES = \
342  test_transport_api.c
343 test_transport_api_https_LDADD = \
344  $(top_builddir)/src/transport/libgnunettransport.la \
345  $(top_builddir)/src/hello/libgnunethello.la \
346  $(top_builddir)/src/util/libgnunetutil.la  
347
348 test_transport_api_reliability_https_SOURCES = \
349  test_transport_api_reliability.c
350 test_transport_api_reliability_https_LDADD = \
351  $(top_builddir)/src/transport/libgnunettransport.la \
352  $(top_builddir)/src/hello/libgnunethello.la \
353  $(top_builddir)/src/util/libgnunetutil.la
354
355 test_transport_api_unreliability_unix_SOURCES = \
356  test_transport_api_unreliability.c
357 test_transport_api_unreliability_unix_LDADD = \
358  $(top_builddir)/src/transport/libgnunettransport.la \
359  $(top_builddir)/src/hello/libgnunethello.la \
360  $(top_builddir)/src/util/libgnunetutil.la
361
362 test_transport_api_unreliability_udp_SOURCES = \
363  test_transport_api_unreliability.c
364 test_transport_api_unreliability_udp_LDADD = \
365  $(top_builddir)/src/transport/libgnunettransport.la \
366  $(top_builddir)/src/hello/libgnunethello.la \
367  $(top_builddir)/src/util/libgnunetutil.la
368
369 if HAVE_PCAP
370 if LINUX
371 test_transport_api_wlan_SOURCES = \
372  test_transport_api.c
373 test_transport_api_wlan_LDADD = \
374  $(top_builddir)/src/transport/libgnunettransport.la \
375  $(top_builddir)/src/hello/libgnunethello.la \
376  $(top_builddir)/src/util/libgnunetutil.la  
377 endif
378 endif
379
380 test_quota_compliance_tcp_SOURCES = \
381  test_quota_compliance.c
382 test_quota_compliance_tcp_LDADD = \
383  $(top_builddir)/src/transport/libgnunettransport.la \
384  $(top_builddir)/src/hello/libgnunethello.la \
385  $(top_builddir)/src/util/libgnunetutil.la
386
387 test_quota_compliance_tcp_asymmetric_recv_constant_SOURCES = \
388  test_quota_compliance.c
389 test_quota_compliance_tcp_asymmetric_recv_constant_LDADD = \
390  $(top_builddir)/src/transport/libgnunettransport.la \
391  $(top_builddir)/src/hello/libgnunethello.la \
392  $(top_builddir)/src/util/libgnunetutil.la
393
394 #test_quota_compliance_tcp_asymmetric_send_constant_SOURCES = \
395 # test_quota_compliance.c
396 #test_quota_compliance_tcp_asymmetric_send_constant_LDADD = \
397 # $(top_builddir)/src/transport/libgnunettransport.la \
398 # $(top_builddir)/src/util/libgnunetutil.la
399
400 test_quota_compliance_http_SOURCES = \
401  test_quota_compliance.c
402 test_quota_compliance_http_LDADD = \
403  $(top_builddir)/src/transport/libgnunettransport.la \
404  $(top_builddir)/src/hello/libgnunethello.la \
405  $(top_builddir)/src/util/libgnunetutil.la
406
407  test_quota_compliance_http_asymmetric_recv_constant_SOURCES = \
408  test_quota_compliance.c
409 test_quota_compliance_http_asymmetric_recv_constant_LDADD = \
410  $(top_builddir)/src/transport/libgnunettransport.la \
411  $(top_builddir)/src/hello/libgnunethello.la \
412  $(top_builddir)/src/util/libgnunetutil.la
413
414 #test_quota_compliance_http_asymmetric_send_constant_SOURCES = \
415 # test_quota_compliance.c
416 #test_quota_compliance_http_asymmetric_send_constant_LDADD = \
417 # $(top_builddir)/src/transport/libgnunettransport.la \
418 # $(top_builddir)/src/util/libgnunetutil.la
419
420 test_quota_compliance_https_SOURCES = \
421  test_quota_compliance.c
422 test_quota_compliance_https_LDADD = \
423  $(top_builddir)/src/transport/libgnunettransport.la \
424  $(top_builddir)/src/hello/libgnunethello.la \
425  $(top_builddir)/src/util/libgnunetutil.la
426
427  test_quota_compliance_https_asymmetric_recv_constant_SOURCES = \
428  test_quota_compliance.c
429 test_quota_compliance_https_asymmetric_recv_constant_LDADD = \
430  $(top_builddir)/src/transport/libgnunettransport.la \
431  $(top_builddir)/src/hello/libgnunethello.la \
432  $(top_builddir)/src/util/libgnunetutil.la
433
434 #test_quota_compliance_https_asymmetric_send_constant_SOURCES = \
435 # test_quota_compliance.c
436 #test_quota_compliance_https_asymmetric_send_constant_LDADD = \
437 # $(top_builddir)/src/transport/libgnunettransport.la \
438 # $(top_builddir)/src/util/libgnunetutil.la
439
440 test_quota_compliance_udp_SOURCES = \
441  test_quota_compliance.c
442 test_quota_compliance_udp_LDADD = \
443  $(top_builddir)/src/transport/libgnunettransport.la \
444  $(top_builddir)/src/hello/libgnunethello.la \
445  $(top_builddir)/src/util/libgnunetutil.la
446
447 test_quota_compliance_udp_asymmetric_recv_constant_SOURCES = \
448  test_quota_compliance.c
449 test_quota_compliance_udp_asymmetric_recv_constant_LDADD = \
450  $(top_builddir)/src/transport/libgnunettransport.la \
451  $(top_builddir)/src/hello/libgnunethello.la \
452  $(top_builddir)/src/util/libgnunetutil.la
453
454 #test_quota_compliance_udp_asymmetric_send_constant_SOURCES = \
455 # test_quota_compliance.c
456 #test_quota_compliance_udp_asymmetric_send_constant_LDADD = \
457 # $(top_builddir)/src/transport/libgnunettransport.la \
458 # $(top_builddir)/src/util/libgnunetutil.la 
459
460 test_quota_compliance_unix_SOURCES = \
461  test_quota_compliance.c
462 test_quota_compliance_unix_LDADD = \
463  $(top_builddir)/src/transport/libgnunettransport.la \
464  $(top_builddir)/src/hello/libgnunethello.la \
465  $(top_builddir)/src/util/libgnunetutil.la
466
467 test_quota_compliance_unix_asymmetric_recv_constant_SOURCES = \
468  test_quota_compliance.c
469 test_quota_compliance_unix_asymmetric_recv_constant_LDADD = \
470  $(top_builddir)/src/transport/libgnunettransport.la \
471  $(top_builddir)/src/hello/libgnunethello.la \
472  $(top_builddir)/src/util/libgnunetutil.la
473
474
475 test_transport_api_multi_SOURCES = \
476  test_transport_api.c
477 test_transport_api_multi_LDADD = \
478  $(top_builddir)/src/transport/libgnunettransport.la \
479  $(top_builddir)/src/hello/libgnunethello.la \
480  $(top_builddir)/src/util/libgnunetutil.la  
481 EXTRA_DIST = \
482   gnunet-transport-certificate-creation \
483   test_transport_api_data.conf \
484   test_transport_api_tcp_peer1.conf \
485   test_transport_api_tcp_peer2.conf \
486   test_transport_api_udp_peer1.conf \
487   test_transport_api_udp_peer2.conf \
488   test_transport_api_unix_peer1.conf \
489   test_transport_api_unix_peer2.conf \
490   test_transport_api_udp_nat_peer1.conf \
491   test_transport_api_udp_nat_peer2.conf \
492   test_transport_api_tcp_nat_peer1.conf \
493   test_transport_api_tcp_nat_peer2.conf \
494   test_plugin_transport_data.conf \
495   test_transport_api_http_peer1.conf \
496   test_transport_api_http_peer2.conf \
497   test_transport_api_https_peer1.conf \
498   test_transport_api_https_peer2.conf \
499   test_transport_api_wlan_peer1.conf \
500   test_transport_api_wlan_peer2.conf \
501   test_transport_api_multi_peer1.conf \
502   test_transport_api_multi_peer2.conf \
503   test_transport_api_rel_http_peer1.conf \
504   test_transport_api_rel_http_peer2.conf \
505   test_transport_api_rel_https_peer1.conf \
506   test_transport_api_rel_https_peer2.conf \
507   test_plugin_transport_data_http.conf \
508   test_plugin_transport_data.conf \
509   test_quota_compliance_data.conf \
510   test_quota_compliance_tcp_peer1.conf \
511   test_quota_compliance_tcp_peer2.conf \
512   test_quota_compliance_http_peer1.conf \
513   test_quota_compliance_http_peer2.conf \
514   test_quota_compliance_https_peer1.conf \
515   test_quota_compliance_https_peer2.conf \
516   test_quota_compliance_udp_peer1.conf \
517   test_quota_compliance_udp_peer2.conf \
518   test_quota_compliance_unix_peer1.conf \
519   test_quota_compliance_unix_peer2.conf