[patch] for adding -lnetwork support for Haiku

scott mc scottmc2 at gmail.com
Wed Mar 4 03:56:05 EST 2009


Neon 0.28.4 works on Haiku without having to patch.  Although the
included config.guess and config.sub are from a version just prior to
when Haiku was added.  Perhaps the next release these can be refreshed
from gnulib git?  Also I tried running make check and it errors out on
"test/common/tests.c" for missing sys/signal.h, I checked my handy
POSIX book and see that it should be <signal.h>. I then opened the
file and looked at it and it's doing a #include <sys/signal.h>
followed by and #if HAVE_SIGNAL_H check surroundings an
#include<signal.h>, so I think this can just be removed or do some
systems not detect it correctly?  Haiku likes to have it as <signal.h>
rather than <sys/signal.h>, so I just put a // in front of the
#include <sys/signal.h> and make check then built fine.  Here's the
output of make check on Haiku r29182:
-> running `uri-tests':
 0. simple................ pass
 1. simple_ssl............ pass
 2. no_path............... pass
 3. escapes............... pass
 4. parents............... pass
 5. compares.............. pass
 6. cmp................... pass
 7. children.............. pass
 8. slash................. pass
 9. default_port.......... pass
10. parse................. pass
11. failparse............. pass
12. unparse............... pass
13. resolve............... pass
14. copy.................. pass
<- summary for `uri-tests': of 15 tests run: 15 passed, 0 failed. 100.0%
-> running `util-tests':
 0. status_lines.......... pass
 1. md5................... pass
 2. md5_alignment......... pass
 3. parse_dates........... pass
 4. regress_dates......... pass
 5. versioning............ pass
 6. version_string........ pass
 7. support............... pass
<- summary for `util-tests': of 8 tests run: 8 passed, 0 failed. 100.0%
-> running `string-tests':
 0. simple................ pass
 1. buf_concat............ pass
 2. buf_concat2........... pass
 3. buf_concat3........... pass
 4. append................ pass
 5. grow.................. pass
 6. alter................. pass
 7. token1................ pass
 8. token2................ pass
 9. nulls................. pass
10. empty................. pass
11. quoted................ pass
12. badquotes............. pass
13. shave................. pass
14. shave_regress......... pass
15. combo................. pass
16. concat................ pass
17. str_errors............ pass
18. strnzcpy.............. pass
19. cleaner............... pass
20. base64................ pass
21. unbase64.............. pass
22. printing.............. pass
23. casecmp............... pass
24. casencmp.............. pass
25. buf_print............. pass
<- summary for `string-tests': of 26 tests run: 26 passed, 0 failed. 100.0%
-> running `socket':
 0. multi_init............ pass
 1. resolve............... pass
 2. resolve_numeric....... pass
 3. addr_make_v4.......... pass
 4. addr_make_v6.......... pass
 5. addr_compare.......... pass
 6. addr_reverse.......... pass
 7. just_connect.......... pass
 8. addr_connect.......... pass
 9. addr_peer............. pass
10. read_close............ pass
11. peek_close............ pass
12. single_read........... pass
13. single_peek........... pass
14. small_reads........... pass
15. read_and_peek......... pass
16. larger_read........... pass
17. ssl_session_id........ pass
18. cipher................ pass
19. line_simple........... pass
20. line_closure.......... pass
21. line_empty............ pass
22. line_toolong.......... pass
23. line_overflow......... pass
24. line_mingle........... pass
25. line_chunked.......... pass
26. line_long_chunked..... pass
27. small_writes.......... pass
28. large_writes.......... pass
29. echo_lines............ pass
30. blocking.............. pass
31. prebind............... pass
32. write_reset........... SKIPPED
33. read_reset............ SKIPPED
34. read_timeout.......... pass
35. peek_timeout.......... pass
36. readline_timeout...... pass
37. fullread_timeout...... pass
38. block_timeout......... pass
-> 2 tests were skipped.
<- summary for `socket': of 37 tests run: 37 passed, 0 failed. 100.0%
-> running `session':
 0. fill_uri.............. pass
 1. fill_proxy_uri........ pass
 2. hostports............. pass
 3. errors................ pass
 4. privates.............. pass
 5. get_scheme............ pass
 6. flags................. pass
<- summary for `session': of 7 tests run: 7 passed, 0 failed. 100.0%
-> running `request':
 0. lookup_localhost...... pass
 1. single_get_clength.... pass
 2. single_get_eof........ pass
 3. single_get_chunked.... pass
 4. no_body_204........... pass
 5. no_body_304........... pass
 6. no_body_HEAD.......... pass
 7. no_body_empty_clength. pass
 8. no_body_bad_clength... pass
 9. no_headers............ pass
10. chunks................ pass
11. te_header............. pass
12. te_identity........... pass
13. reason_phrase......... pass
14. chunk_numeric......... pass
15. chunk_extensions...... pass
16. chunk_trailers........ pass
17. chunk_oversize........ pass
18. te_over_clength....... pass
19. te_over_clength2...... pass
20. no_body_chunks........ pass
21. persist_http11........ pass
22. persist_chunked....... pass
23. persist_http10........ pass
24. persist_proxy_http10.. pass
25. persist_timeout....... pass
26. no_persist_http10..... pass
27. ptimeout_eof.......... pass
28. ptimeout_eof2......... pass
29. closed_connection..... pass
30. close_not_retried..... pass
31. send_progress......... pass
32. ignore_bad_headers.... pass
33. fold_headers.......... pass
34. fold_many_headers..... pass
35. multi_header.......... pass
36. multi_header2......... pass
37. empty_header.......... pass
38. trailing_header....... pass
39. ignore_header_case.... pass
40. ignore_header_ws...... pass
41. ignore_header_ws2..... pass
42. ignore_header_ws3..... pass
43. ignore_header_tabs.... pass
44. strip_http10_connhdr.. pass
45. strip_http10_connhdr2. pass
46. continued_header...... pass
47. reset_headers......... pass
48. iterate_none.......... pass
49. iterate_many.......... pass
50. skip_interim_1xx...... pass
51. skip_many_1xx......... pass
52. skip_1xx_hdrs......... pass
53. send_bodies........... pass
54. expect_100_once....... pass
55. expect_100_nobody..... pass
56. unbounded_headers..... pass
57. unbounded_folding..... pass
58. blank_response........ pass
59. not_http.............. pass
60. fail_eof_continued.... pass
61. fail_eof_headers...... pass
62. fail_eof_chunk........ pass
63. fail_eof_badclen...... pass
64. fail_long_header...... pass
65. fail_on_invalid....... pass
66. read_timeout.......... pass
67. fail_lookup........... pass
68. fail_double_lookup.... pass
69. fail_connect.......... pass
70. proxy_no_resolve...... pass
71. fail_chunksize........ pass
72. abort_respbody........ pass
73. retry_after_abort..... pass
74. fail_statusline....... pass
75. dup_method............ pass
76. versions.............. pass
77. hook_create_req....... pass
78. abort_reader.......... pass
79. send_bad_offset....... pass
80. hooks................. pass
81. hook_self_destroy..... pass
82. icy_protocol.......... pass
83. status................ pass
84. status_chunked........ pass
85. local_addr............ pass
86. dereg_progress........ pass
<- summary for `request': of 87 tests run: 87 passed, 0 failed. 100.0%
-> running `auth':
 0. lookup_localhost...... pass
 1. basic................. pass
 2. retries............... pass
 3. forget_regress........ pass
 4. tunnel_regress........ pass
 5. negotiate_regress..... pass
 6. digest................ pass
 7. digest_failures....... pass
 8. fail_challenge........ pass
 9. multi_handler......... pass
10. domains............... pass
11. defaults.............. pass
12. CVE_2008_3746......... pass
13. forget................ pass
<- summary for `auth': of 14 tests run: 14 passed, 0 failed. 100.0%
-> running `basic':
 0. lookup_localhost...... pass
 1. content_type.......... pass
 2. get_range............. pass
 3. get_eof_range......... pass
 4. fail_range_length..... pass
 5. fail_range_units...... pass
 6. fail_range_notrange... pass
 7. fail_range_unsatify... pass
 8. dav_capabilities...... pass
 9. get................... pass
<- summary for `basic': of 10 tests run: 10 passed, 0 failed. 100.0%
-> running `stubs':
 0. null_test............. pass
<- summary for `stubs': of 1 tests run: 1 passed, 0 failed. 100.0%
-> running `redirect':
 0. lookup_localhost...... pass
 1. simple................ pass
 2. non_absolute.......... pass
 3. relative_1............ pass
 4. relative_2............ pass
 5. no_redirect........... pass
<- summary for `redirect': of 6 tests run: 6 passed, 0 failed. 100.0%
-> running `socket-ssl':
 0. multi_init............ pass
 1. resolve............... pass
 2. resolve_numeric....... pass
 3. init_ssl.............. pass
 4. addr_make_v4.......... pass
 5. addr_make_v6.......... pass
 6. addr_compare.......... pass
 7. addr_reverse.......... pass
 8. just_connect.......... pass
 9. addr_connect.......... pass
10. addr_peer............. pass
11. read_close............ pass
12. peek_close............ pass
13. single_read........... pass
14. single_peek........... pass
15. small_reads........... pass
16. read_and_peek......... pass
17. larger_read........... pass
18. ssl_session_id........ SKIPPED (zero-length session ID, cannot test further)
19. cipher................ pass
20. line_simple........... pass
21. line_closure.......... pass
22. line_empty............ pass
23. line_toolong.......... pass
24. line_overflow......... pass
25. line_mingle........... pass
26. line_chunked.......... pass
27. line_long_chunked..... pass
28. small_writes.......... pass
29. large_writes.......... pass
30. echo_lines............ pass
31. blocking.............. pass
32. prebind............... pass
33. ssl_closure........... pass
34. ssl_truncate.......... pass
35. read_timeout.......... pass
36. peek_timeout.......... pass
37. readline_timeout...... pass
38. fullread_timeout...... pass
39. block_timeout......... pass
-> 1 test was skipped.
<- summary for `socket-ssl': of 39 tests run: 39 passed, 0 failed. 100.0%
-> running `ssl':
 0. init.................. pass
 1. load_server_certs..... pass
 2. trust_default_ca...... pass
 3. cert_fingerprint...... pass
 4. cert_identities....... pass
 5. cert_validity......... pass
 6. cert_compare.......... pass
 7. dname_compare......... pass
 8. dname_readable........ pass
 9. import_export......... pass
10. read_write............ pass
11. load_client_cert...... pass
12. simple................ pass
13. simple_sslv2.......... pass
14. simple_eof............ pass
15. empty_truncated_eof... pass
16. fail_not_ssl.......... pass
17. cache_cert............ pass
18. client_cert_pkcs12.... pass
19. ccert_unencrypted..... pass
20. client_cert_provided.. pass
21. cc_provided_dnames.... pass
22. no_client_cert........ pass
23. client_cert_ca........ pass
24. parse_cert............ pass
25. parse_chain........... pass
26. no_verify............. pass
27. cache_verify.......... pass
28. wildcard_match........ pass
29. caseless_match........ pass
30. subject_altname....... pass
31. two_subject_altname... pass
32. two_subject_altname2.. pass
33. notdns_altname........ pass
34. ipaddr_altname........ pass
35. uri_altname........... pass
36. multi_commonName...... pass
37. commonName_first...... pass
38. fail_wrongCN.......... pass
39. fail_expired.......... pass
40. fail_notvalid......... pass
41. fail_untrusted_ca..... pass
42. fail_self_signed...... pass
43. fail_missing_CN....... pass
44. fail_host_ipaltname... pass
45. fail_bad_ipaltname.... pass
46. fail_bad_urialtname... pass
47. session_cache......... pass
48. fail_tunnel........... pass
49. proxy_tunnel.......... pass
50. auth_proxy_tunnel..... pass
51. auth_tunnel_creds..... pass
52. auth_tunnel_fail...... pass
53. nonssl_trust.......... pass
54. pkcs11................ WARNING: NSS required for PKCS#11 testing
    ...................... SKIPPED
-> 1 test was skipped.
<- summary for `ssl': of 54 tests run: 54 passed, 0 failed. 100.0%
-> 1 warning was issued.
-> running `compress':
 0. init.................. pass
 1. not_compressed........ pass
 2. simple................ pass
 3. withname.............. pass
 4. fail_trailing......... pass
 5. fail_trailing_1b...... pass
 6. fail_bad_csum......... pass
 7. fail_truncate......... pass
 8. fail_corrupt1......... pass
 9. fail_corrupt2......... pass
10. fail_empty............ pass
11. notcomp_empty......... pass
12. chunked_1b............ pass
13. chunked_1b_wn......... pass
14. chunked_12b........... pass
15. chunked_20b........... pass
16. chunked_10b........... pass
17. chunked_10b_wn........ pass
18. retry_notcompress..... pass
19. retry_compress........ pass
20. compress_abort........ pass
<- summary for `compress': of 21 tests run: 21 passed, 0 failed. 100.0%
-> running `xml':
 0. matches............... pass
 1. mapping............... pass
 2. fail_parse............ pass
 3. attributes............ pass
 4. errors................ pass
<- summary for `xml': of 5 tests run: 5 passed, 0 failed. 100.0%
-> running `xmlreq':
 0. success............... pass
 1. failure............... pass
 2. types................. pass
<- summary for `xmlreq': of 3 tests run: 3 passed, 0 failed. 100.0%
-> running `acl':
 0. grant_all............. pass
 1. deny_all.............. pass
 2. deny_one.............. pass
 3. deny_byprop........... pass
<- summary for `acl': of 4 tests run: 4 passed, 0 failed. 100.0%
-> running `props':
 0. two_oh_seven.......... pass
 1. patch_simple.......... pass
 2. propfind.............. pass
 3. regress............... pass
 4. patch_regress......... pass
 5. unbounded_props....... pass
 6. unbounded_propstats... pass
<- summary for `props': of 7 tests run: 7 passed, 0 failed. 100.0%
-> running `lock':
 0. lookup_localhost...... pass
 1. store_single.......... pass
 2. store_several......... pass
 3. if_simple............. pass
 4. if_under_infinite..... pass
 5. if_infinite_over...... pass
 6. if_child.............. pass
 7. if_covered_child...... pass
 8. lock_timeout.......... pass
 9. lock_shared........... pass
10. discover.............. pass
11. fail_discover......... pass
12. fail_lockauth......... pass
13. fail_noheader......... pass
<- summary for `lock': of 14 tests run: 14 passed, 0 failed. 100.0%
make[1]: Leaving directory `/boot/home/neon-0.28.4/test'
~/neon-0.28.4>




More information about the neon mailing list