summaryrefslogtreecommitdiff
path: root/macros
Commit message (Collapse)AuthorAgeFilesLines
* * macros/neon-xml-parser.m4 (NE_XML_LIBXML2):joe2017-02-041-1/+1
| | | | | | | | | Locate the $CHOST prefixed version of xml2-config by default, patch from Mike Frysinger. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1991 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* Rewrite GnuTLS PKCS#11 support to work (exclusively) with the newjoe2015-09-021-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | GnuTLS 3.x API. * src/ne_privssl.h: Drop session-wide signing callback in favour of per-clicert signing callback API. * src/ne_socket.c (ne_sock_connect_ssl): Likewise. * src/ne_gnutls.c: Store a signing function in the ccert object. (dup_client_cert): Dupe the above. (provide_client_cert): Support new retrieve API and new signing callback. (ne__ssl_clicert_exkey_import): Take callback & userdata. * src/ne_pkcs11.c (pk11_sign_callback): Adjust for privkey-based signing API. (ne_ssl_set_pkcs11_provider): Drop session-global callback. * macros/neon.m4 (NEON_SSL): Check for new retrieve API, gnutls_privkey_import_ext. Enable PKCS#11 if latter present. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1964 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* Prep for 0.30.1.joe2014-09-201-1/+1
| | | | git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1946 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon-test.m4 (NEON_TEST): Check for signal.h.joe2013-09-301-1/+1
| | | | git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1935 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4, configure.in: Fix ABI versioning for backwards-compatjoe2013-07-311-8/+2
| | | | | | | with 0.27.x. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1930 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* Drop -dev.joe2013-07-311-1/+1
| | | | git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1924 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * src/ne_gnutls.c, macros/neon.m4: Support build with GnuTLS 3, patch byjoe2013-07-311-4/+5
| | | | | | | Bartosz Brachaczek. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1915 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/ld-version-script.m4: Update from gnulib.joe2013-07-311-5/+15
| | | | git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1914 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4 (NEON_I18N): Check for bindtextdomain with -liconv. (Brad ↵joe2013-07-261-1/+1
| | | | | | Smith) git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1907 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * src/ne_socket.c: Include sys/uio.h for writev(2) (Brad Smith).joe2013-07-261-1/+1
| | | | | | | * macros/neon.m4: Check for it. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1906 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * test/socket.c (addr_reverse) [HAVE_GETHOSTNAME]: Accept systemjoe2010-10-091-1/+1
| | | | | | | | | hostname as reverse of 127.0.0.1. * macros/neon-test.m4 (NEON_TEST): Check for gethostname(). git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1818 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4 (NE_CHECK_FUNCS): Fix AI_ADDRCONFIG detection.joe2010-09-041-1/+2
| | | | git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1802 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Require inet_pton forjoe2009-09-121-1/+1
| | | | | | | | | | | | getaddrinfo support. * src/ne_socket.c (ne_sock_accept_ssl): Add debug log output if session is resumed. * macros/neon.m4 (NEON_SSL): Check for SSL_SESSION_cmp. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1724 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4: Bump to 0.30.0-dev.joe2009-09-041-1/+1
| | | | git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1718 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Require inet_pton forjoe2009-09-021-1/+2
| | | | | | | getaddrinfo support. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1714 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4: Import from gnulib.joe2009-09-021-0/+43
| | | | git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1705 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4 (NEON_SSL): Define NTLM for OpenSSL builds.joe2009-09-011-1/+3
| | | | git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1698 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * src/ne_string.c (ne_buffer_qappend): New function.joe2009-08-111-8/+8
| | | | | | | | | * src/ne_string.h (ne_buffer_qappend): New prototype. * test/string-tests.c (qappend): New test case. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1679 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4 (NEON_LIBPROXY): Correctly handle --without-libproxy.joe2009-07-021-1/+1
| | | | git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1668 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Silence warnings with autoconfjoe2009-07-021-1/+3
| | | | | | | 2.6x; use AC_USE_SYSTEM_EXTENSIONS. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1666 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4 (NEON_LIBPROXY): Mark feature as disabled ifjoe2009-03-111-1/+3
| | | | | | | built with --without-libproxy. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1648 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4: Add the hash back into PKCS#11 in output messages.joe2009-01-291-2/+2
| | | | git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1626 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Check for joe2008-12-101-2/+4
| | | | | | | socket functions in -lnetwork, for Haiku. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1617 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4: Drop SOCKS tests.joe2008-11-201-19/+1
| | | | git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1611 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4 (NEON_SSL): Configure GnuTLS support via pkg-configjoe2008-10-311-8/+18
| | | | | | | data if possible. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1594 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* Introduce new ACL interface under separate header, function name, andjoe2008-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | restore API/ABI backwards-compat with old ACL interface: * src/ne_acl3744.c, src/ne_acl3744.h: Renamed from ne_acl.c, ne_acl.h. (ne_acl3744_set): Renamed from ne_acl_set. * src/ne_oldacl.c, src/ne_acl.h: Copied from old ne_acl.c, ne_acl.h on 0.28.x branch. * src/Makefile.in: Update deps. * test/acl3744.c: Renamed from acl.c. (test_acl): Call new function name. * test/oldacl.c: Copied from acl.c on 0.28.x branch. * test/Makefile.in: Update accordingly. * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Update for new source file names. * neon.mak: Update for new source file names. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1567 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* Add support for use of a system-provided default set of proxy servers;joe2008-10-091-5/+23
| | | | | | | | | | | | | | | implemented using libproxy: * macros/neon.m4 (NEON_LIBPROXY): New macro. (LIBNEON_SOURCE_CHECKS): Use it. (NE_PKG_CONFIG): Fix for non-alpha characters. * src/ne_session.c (ne_session_system_proxy): New function. * src/ne_session.h (ne_session_system_proxy): New prototype. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1560 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4 (NEON_SSL): Fix pakchois/GnuTLS support.joe2008-09-081-1/+1
| | | | git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1543 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* Support PKCS#11 in OpenSSL builds:joe2008-08-311-13/+12
| | | | | | | | | | | | | | | | * src/ne_openssl.c (ne__ssl_clicert_exkey_import): New function. * src/ne_privssl.h (ne__ssl_clicert_exkey_import): New prototype. * src/ne_pkcs11.c [HAVE_OPENSSL] (pk11_rsa_sign, pk11_rsa_init, pk11_rsa_finish, pk11_rsa_method): New functions. (pk11_find_pkey): Ignore DSA privkeys if using OpenSSL. (ne_ssl_set_pkcs11_provider): Omit GnuTLS code for OpenSSL. * macros/neon.m4 (NEON_SSL): Support pakchois with OpenSSL too. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1541 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* Update mailing list address throughout.joe2008-07-193-3/+3
| | | | | | | * doc/using-neon.txt: Remove stale doc. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1509 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* Rebuild the peer cert chain correctly, with suitable GnuTLS support:joe2008-03-281-1/+2
| | | | | | | | | | | | | | * macros/neon.m4 (NEON_SSL): Check for gnutls_certificate_get_x509_cas. * src/ne_gnutls.c [HAVE_GNUTLS_CERTIFICATE_GET_X509_CAS] (find_issuer): New function. (make_peers_chain): Take creds object. [HAVE_GNUTLS_CERTIFICATE_GET_X509_CAS]: Rebuild the cert chain from list of trusted CAs. (ne__negotiate_ssl): Pass creds object to make_peers_chain. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1427 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon-xml-parser.m4 (NEON_XML_PARSER): Define NE_FMT_XML_SIZEjoe2008-03-031-0/+1
| | | | | | | for Subversion-bundled-expat build. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1398 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4: Bump to 0.29.joe2008-02-111-1/+1
| | | | | | | Submitted by: Arfrever Frehtes Taifersar Arahesis git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1366 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4: Define NE_FMT_NE_OFF_T for external-neon joe2008-02-111-0/+7
| | | | | | | library builds. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1354 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4 (NEON_SSL): Add --without-pakchois.joe2008-02-111-7/+13
| | | | | | | Submitted by: Arfrever Frehtes Taifersar Arahesis git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1352 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* Initial support for PKCS#11, based on the pakchois PKCS#11 library:joe2008-02-061-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | * src/ne_pkcs11.c, src/ne_pkcs11: New files. * src/ne_gnutls.c (struct ne_ssl_client_cert_s): Add keyless flag. (dup_client_cert): Support keyless clicerts. (ne__ssl_clicert_exkey_import): New function. (provide_client_cert): Use proper GnuTLS error codes in failure cases. * src/ne_privssl.h (ne__ssl_clicert_exkey_import) [HAVE_GNUTLS]: Add prototype. * src/ne_private.h: Include ne_pkcs11.h. (struct ne_session_s): Add pin callback and userdata. * src/ne_session.c (ne_ssl_set_pkcs11_pin): New function. * src/Makefile.in, neon.mak: Build ne_pkcs11.c. * macros/neon.m4 (NEON_SSL): Check for pakchois. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1329 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4 (NEON_WITH_LIBS): Adjust PKG_CONFIG_PATH joe2008-02-061-1/+3
| | | | | | | appropriately. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1328 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* Restore parts of r1315:joe2008-02-061-1/+2
| | | | | | | | | | | | | | * macros/neon.m4 (NEON_SSL): Check for gnutls_sign_callback_set. * src/ne_privssl.h (struct ne_ssl_context_s): Add sign_func, sign_data fields. * src/ne_socket.c (ne_sock_connect_ssl): Set up the sign_func callback if non-NULL. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1326 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* Revert diff r1320:r1314.joe2008-02-061-16/+7
| | | | git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1323 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* Add libneon-gnutls support library to allow use of external signingjoe2008-01-311-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | callback with GnuTLS: * src/lib_gnutls.c, src/ne_gnutls.h, neon-gnutls.pc.in: New files. * src/ne_privssl.h (struct ne_ssl_context_s): Add sign_func, sign_data fields. * macros/neon.m4 (NEON_SSL): Define NE_SSL_LIBNAME; check for gnutls_sign_callback_set, add new exports NE_SSL_CFLAGS and NE_LIBSSL_LTFLAGS. Export NEON_LIBEXT in place of NEON_TARGET, NE_LIBNEON_LTFLAGS in place of NEON_LINK_FLAGS; * src/Makefile.in: Add and adjust targets to build libneon-gnutls iff configured with GnuTLS support. * Makefile.in (install-lib-ssl-no, install-lib-ssl-gnutls): New targets. * neon-config.in: Add --la-file=gnutls, --cflags=gnutls support. * src/ne_socket.c (ne_sock_connect_ssl): Set up the sign_func callback if non-NULL. * configure.in: Adjust for NEON_LINK_FLAGS rename. Define NE_LIBSSL_LTFLAGS. Generate neon-gnutls.pc. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1315 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * src/ne_dates.c (GMTOFF) [HAVE_TIMEZONE]: Add definition.joe2008-01-301-3/+3
| | | | | | | | | | | | (all callers of GMTOFF): Separate mktime from GMTOFF invocation to ensure a sequence point between the two. * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Update timezone warning. Submitted by: Alessandro Vesely <vesely tana.it> git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1303 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4: Fix comment.joe2007-10-311-1/+1
| | | | git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1271 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * src/ne_socket.h (ne_sock_peer, ne_sock_prebind): Add prototypes.joe2007-10-221-1/+4
| | | | | | | | | | | | | | | | | | * src/ne_socket.c (ne_sock_peer, ne_sock_prebind, do_bind): New functions. (ne_sock_connect): Use do_bind. (struct ne_socket_s): Add laddr, lport fields. * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Define socklen_t if not available. * config.hw.in: Define socklen_t. * test/socket.c (addr_peer, serve_ppeer, try_prebind, prebind): New tests. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1268 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * configure.in: Set NEON_LINK_FLAGS later; also use -release if ABI joe2007-09-021-3/+15
| | | | | | | | | | | variations are noted. * macros/neon.m4 (NE_ADD_ABITAG): New macro. (NE_LARGEFILE): Add LFS ABI tag if LFS is enabled. (NEON_COMMON_BUNDLED): Add NODAV ABI tag if DAV support is disabled. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1248 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon-xml-parser.m4 (NE_XML_BUNDLED_EXPAT): Define NE_FMT_XML_SIZE.joe2007-08-221-0/+2
| | | | git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1240 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4: Bump to 0.27.joe2007-08-211-1/+1
| | | | | | | * NEWS: Update. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1228 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * src/ne_socket.h (ne_iaddr_reverse),joe2007-08-101-1/+1
| | | | | | | | | | | src/ne_socket.c (ne_iaddr_reverse): New function. * test/socket.c (addr_reverse): New tests. * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Check for getnameinfo too. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1220 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* Fix compiler warnings with expat 2.x API:joe2007-08-092-2/+7
| | | | | | | | | | | | | | * macros/neon.m4 (NEON_FORMAT): Fix use of headers passed to AC_CHECK_SIZEOF. * macros/neon-xml-parser.m4 (NE_XML_EXPAT): Check how to print the XML_Size type, if defined. * src/ne_xml.c (ne_xml_parse): Use correct format string for return value of XML_GetCurrentLineNumber. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1218 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4 (NEON_SSL): Don't attempt to prevent incompatibilityjoe2007-07-161-3/+2
| | | | | | | with future releases of GnuTLS. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1208 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
* * macros/neon.m4 (NEON_SSL): Check for gnutls_x509_dn_get_rdn_ava andjoe2007-06-271-4/+9
| | | | | | | | | | | iconv. * src/ne_gnutls.c [HAVE_GNUTLS_X509_DN_GET_RDN_AVA] (convert_dirstring, append_dirstring, ne_ssl_readable_dname): Implement better RDN handling using GnuTLS 1.7.x interfaces. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1170 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845