12021-03-22 Werner Koch <wk@gnupg.org> 2 3 Release 2.5.5. 4 + commit f8cfb565ee461946901ae3bc573abc0023d821b5 5 6 72021-03-09 Werner Koch <wk@gnupg.org> 8 9 Support Unicode when starting servers on Windows. 10 + commit 9264c2710b64e565982d77410169a3253563a647 11 * src/assuan-socket.c (utf8_to_wchar): Rename to 12 (_assuan_utf8_to_wchar): this and give global scope. 13 * src/system-w32.c (__assuan_spawn): Use CreateProcessW. 14 152020-11-17 NIIBE Yutaka <gniibe@fsij.org> 16 17 m4: Update with newer autoconf constructs. 18 + commit 05535d9863cfc4656554fa5fd8df2f4fbe695178 19 * src/libassuan.m4: Replace AC_HELP_STRING to AS_HELP_STRING. 20 21 build: Update to newer autoconf constructs. 22 + commit 12fd96a61033a587482be150a0f955615083ad43 23 * configure.ac: Use AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER. 24 Use AC_USE_SYSTEM_EXTENSIONS instead of AC_GNU_SOURCE. 25 Use AS_HELP_STRING instead of AC_HELP_STRING. 26 (AC_TYPE_SIGNAL): Remove. 27 (AC_DECL_SYS_SIGLIST): Remove. 28 * m4/Makefile.am (EXTRA_DIST): Update. 29 * m4/gnupg-pth.m4: Remove. 30 * m4/onceonly.m4: Remove. 31 * m4/socklen.m4: Update from gnulib. 32 * m4/libtool.m4: Update from libgpg-error. 33 * m4/gpg-error.m4: Update from libgpg-error. 34 352020-11-12 Ben Kibbey <bjk@luxsci.net> 36 37 Fix crash when logging. 38 + commit 0dd8ffbd32fe62b8e4bf565cbd7a9272a2891d01 39 * src/assuan-logging.c (_assuan_log_control_channel): Use gpgrt_malloc. 40 412020-10-23 Werner Koch <wk@gnupg.org> 42 43 Post release updates. 44 + commit 103c1e7f86de3f40c4f49e67b14376aad58ef81b 45 46 47 Release 2.5.4. 48 + commit e368b400f276d5d9868832e7a652ab250dd57555 49 50 512020-10-20 Werner Koch <wk@gnupg.org> 52 53 Support Unicode socket file names under Windows. 54 + commit 397316e9d0fb7c6a0daf163bf252edb996ffba46 55 * src/assuan-socket.c [W32]: Always use CreateFileW. Drop support for 56 Windows-CE 57 (read_port_and_nonce): Use gpgrt_fopen. 58 592020-02-25 NIIBE Yutaka <gniibe@fsij.org> 60 61 build: Use Requires.private and Libs.private. 62 + commit 034e5450cdd5d886d9f333ef3872d4263b435dbb 63 * configure.ac (LIBASSUAN_CONFIG_LIBS): Remove NETLIBS. 64 * src/libassuan.pc.in: Distinguish static link. 65 * tests/Makefile.am: Don't need to link NETLIBS. 66 672019-11-27 Werner Koch <wk@gnupg.org> 68 69 w32: Fix bad-function-cast warning. 70 + commit 16d3ffa15906037863110f4157ab84e13f579752 71 * src/w32-fd-t.inc.h (assuan_fd_from_posix_fd): Avoid compiler warning. 72 732019-08-20 NIIBE Yutaka <gniibe@fsij.org> 74 75 libassuan.pc: Fix to have -I for Cflags and -L for Libs. 76 + commit 909133baad498ca395a01336f3b49d85322a1d12 77 * src/libassuan.pc.in (Cflags): Add -I flag. 78 (Libs): Add -L flag. 79 802019-07-18 Daniel Kahn Gillmor <dkg@fifthhorseman.net> 81 82 build: Use {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for helper programs. 83 + commit 98d7c7ea3f37cf359f7e90192dedee7b1a791172 84 * src/Makefile.am: pass distinct build flags to CC_FOR_BUILD. 85 862019-02-11 Werner Koch <wk@gnupg.org> 87 88 Release 2.5.3. 89 + commit 4de3154ea6e6e89e34760b7b9e0eed5123bb81f9 90 91 922019-01-25 Werner Koch <wk@gnupg.org> 93 94 socks5: Fix compiler warning on Windows. 95 + commit 75770b1131e11075c82031bdb220591154df9e64 96 * src/assuan-socket.c (socks5_connect): Use cast macro to get the 97 hightest socket number. 98 992019-01-25 NIIBE Yutaka <gniibe@fsij.org> 100 101 socks5: Implement timeout to detect bogus service. 102 + commit 5e48116051a476e1dcf5f66d9e21d8003b27ad20 103 * src/assuan-socket.c (TIMEOUT_NOT_WAITING_SOCKS5_FOREVER): New. 104 (socks5_connect): Call 'select' in order to not waiting response 105 forever. 106 1072019-01-16 NIIBE Yutaka <gniibe@fsij.org> 108 109 build: With LD_LIBRARY_PATH defined, use --disable-new-dtags. 110 + commit 23bf875954329458c0ac6c31e253cba44db8a648 111 * configure.ac (LDADD_FOR_TESTS_KLUDGE): New for --disable-new-dtags. 112 * tests/Makefile.am (LDADD): Use LDADD_FOR_TESTS_KLUDGE. 113 1142018-12-13 Werner Koch <wk@gnupg.org> 115 116 Release 2.5.2. 117 + commit 86e1d17de081081f9302ca58cc2e07ecde3172f6 118 * configure.ac: Bump LT version to C8/A8/R2. 119 1202018-11-14 NIIBE Yutaka <gniibe@fsij.org> 121 122 libassuan.vers: Remove duplicates. 123 + commit eac43aadd7c3a249f35c7cce25eac78f4aaa85db 124 125 126 server: Don't call _assuan_waitpid on server side. 127 + commit 8153608073b7859eed32b8963b4a052243b4858f 128 * src/server.c (_assuan_server_finish): Never call waitpid here. 129 * src/assuan-socket-server.c (accept_connection_bottom): Indentation. 130 1312018-11-13 NIIBE Yutaka <gniibe@fsij.org> 132 133 build: Update autogen.rc and autogen.sh. 134 + commit 5e7988d2da3cdc36ebed3b598c0582028f3715ab 135 * autogen.sh: Update from libgpg-error, version 2018-07-10. 136 * autogen.rc: Remove obsolete --with-gpg-error-prefix option. 137 1382018-11-08 NIIBE Yutaka <gniibe@fsij.org> 139 140 socket: Use union for sockaddr access. 141 + commit ea69c7126ff25d7d44950bf4a70467d577989a34 142 * src/assuan-socket.c (socks5_connect, use_socks): Use union 143 to access, instead of using cast to the pointer. 144 1452018-11-02 NIIBE Yutaka <gniibe@fsij.org> 146 147 build: Update gpg-error.m4 and libassuan.m4. 148 + commit 50ed4f7d5b68e94464df7c0646c3424cee2f47de 149 * m4/gpg-error.m4: Update to 2018-11-02. 150 * src/libassuan.m4: Add AC_MSG_NOTICE. 151 1522018-10-29 NIIBE Yutaka <gniibe@fsij.org> 153 154 build: Update gpg-error.m4 and libassuan.m4. 155 + commit e916b1ece87dee254ea7899b01cd5d2c2ff58021 156 * m4/gpg-error.m4: Update to 2018-10-26. 157 * src/libassuan.m4: Follow the change of gpgrt-config. 158 1592018-10-26 NIIBE Yutaka <gniibe@fsij.org> 160 161 libassuan.m4: Better backward compatibility support. 162 + commit 882cbafa9444060524ff132d403a76d61f4273a6 163 * m4/gpg-error.m4: Update. 164 * src/libassuan.m4: Don't assume libassuan-config is newer. 165 166 build: Fix libassuan.m4. 167 + commit 0a2a322cb470479cf1f9c8653ba0f943eb30ce0d 168 * src/libassuan.m4: Use AC_PATH_PROG to detect libassuan-config. 169 170 build: Fix previous commit. 171 + commit 24f80c49fde0fa4e9a7c2818c8a922cc5a4abacc 172 173 174 build: Improve libassuan.m4. 175 + commit bb9a89bf5defa793ae9c1939d9476f6dfd46d448 176 * src/libassuan.m4: Don't try gpgrt-config when LIBASSUAN_CONFIG set. 177 Fall back to detecting libassuan-config, when gpgrt-config doesn't 178 work well. 179 1802018-10-25 NIIBE Yutaka <gniibe@fsij.org> 181 182 build: Fix previous commit. 183 + commit 0a3192ae33f6b57312cb5bfec0e8fd491c923728 184 185 186 build: Relax requirements. 187 + commit b7922ea7ae2c3d385a7b3b3a5f33987705cfdd2b 188 * m4/gpg-error.m4: Update from libgpg-error 1.33. 189 * src/libassuan.m4: Don't require AM_PATH_GPG_ERROR. Only when 190 gpgrt-config is available and works well, use it. 191 * configure.ac (AM_PATH_GPG_ERROR): No requirement any more. 192 193 build: Use LIBASSUAN_CONFIG_LIBS (instead of LIB). 194 + commit 1dd2430d8877ffda43bc46f0d5f23fea4801ecf6 195 * configure.ac (LIBASSUAN_CONFIG_LIBS): Rename from *_LIB. 196 (LIBASSUAN_CONFIG_EXTRA_LIBS): Remove. 197 * src/libassuan-config.in: Follow the change. 198 * src/libassuan.pc.in: Likewise. 199 200 build: Require libgpg-error >= 1.33. 201 + commit 27f4671883e3241ac0fdee3935c8707c816686b6 202 * configure.ac (AM_PATH_GPG_ERROR): Require 1.33. 203 * m4/gpg-error.m4: Update from libgpg-error 1.33. 204 2052018-10-24 NIIBE Yutaka <gniibe@fsij.org> 206 207 build: Fix libassuan.pc. 208 + commit 25797256e1588db9f3171a050246008ac66c66b3 209 * src/libassuan.pc.in: Fix typo. 210 211 build: Fix previous commit. 212 + commit b9fb02a823f72f97d93344d16d49b73e39a7aaaf 213 214 215 build: Compatibility to pkg-config. 216 + commit 9b1666522f7b748cdbdd65cf7f91a76fdde6623b 217 * src/libassuan-config.in: Support --variable and --modversion. 218 219 build: Make libassuan.m4 use gpg-error-config. 220 + commit f69f4c893f29c1a359cc60f8a87a79d05d9a6c15 221 * src/libassuan.m4: Use gpg-error-config. 222 223 build: Provide libassuan.pc, generated by configure. 224 + commit 9c74661d6f8028c616932b02eb5360a2e3587e81 225 * configure.ac (PACKAGE, VERSION): Remove. 226 Generate src/libassuan.pc. 227 * src/Makefile.am (pkgconfigdir, pkgconfig_DATA): New. 228 (assuan.h): Use PACKAGE_VERSION and VERSION_NUMBER vars. 229 * src/libassuan-config.in: Use @PACKAGE_VERSION@. 230 * src/libassuan.pc.in: New. 231 232 build: Update gpg-error.m4 from libgpg-error. 233 + commit 34fd79ae2af25a2ac9a60a811229ec9d28926f9d 234 * m4/gpg-error.m4: Update from libgpg-error 1.33. 235 2362018-09-14 Ben Kibbey <bjk@luxsci.net> 237 238 Fix OpenBSD build. 239 + commit afeae6496f51d28958fd92b04cc933ee6ceb5b61 240 * configure.ac: Define HAVE_STRUCT_SOCKPEERCRED_PID when found. 241 2422018-03-27 NIIBE Yutaka <gniibe@fsij.org> 243 244 tests: Exclude tests for Windows build. 245 + commit b270f2ec21b67f5728edae4b2ddf6fe17a0fd25a 246 * tests/Makefile.am [HAVE_W32_SYSTEM] (TESTS, testtools): Fix. 247 2482018-02-26 NIIBE Yutaka <gniibe@fsij.org> 249 250 Silence two minor warning on Windows. 251 + commit 6c736325c028647dc3283bf723e2e28199e7f45b 252 * src/assuan-defs.h [HAVE_W64_SYSTEM] (SOCKET2HANDLE): Care for size 253 of integer. 254 * src/stpcpy.c: No K&R anymore. 255 2562018-02-23 NIIBE Yutaka <gniibe@fsij.org> 257 258 Fix previous commit. 259 + commit 35aad6b5d53b292e8e7c52c4eb90535be0580cd2 260 261 2622018-02-20 NIIBE Yutaka <gniibe@fsij.org> 263 264 Better credential support for other OSes. 265 + commit 0ad3aafe2c02cdff21e10a59de56b8a2f9532be3 266 * configure.ac (HAVE_UCRED_H, HAVE_SYS_UCRED_H): Check these headers 267 unconditionally. 268 (HAVE_SO_PEERCRED, HAVE_LOCAL_PEEREID): Remove. 269 (HAVE_STRUCT_SOCKPEERCRED_PID): New. 270 (HAVE_GETPEEREID): New. 271 * src/assuan-socket-server.c (accept_connection_bottom): Add 272 support for OpenBSD, macOS, and FreeBSD. 273 2742017-12-07 Werner Koch <wk@gnupg.org> 275 276 Release 2.5.1. 277 + commit 8fc922c45b66d4e4d1c6c55de617cfeef2c01357 278 279 280 Fix regression in ASSUAN_SYSTEM_NPTH_IMPL. 281 + commit d38817fd0e24acfd295bd7f81b77254afd0cc6d5 282 * src/assuan.h.in (ASSUAN_SYSTEM_NPTH_IMPL): A void fucntion can't 283 assign. 284 285 Release 2.5.0. 286 + commit ec92ef4ee3df1fdca7db19f691f64a2f96dcfc71 287 288 2892017-12-07 NIIBE Yutaka <gniibe@fsij.org> 290 wk@gnupg.org 291 292 Allow change of system hooks for assuan_sock_... 293 + commit 90dc81682b13a7cf716a8a26b891051cbd4b0caf 294 * src/assuan-socket.c (assuan_sock_set_system_hooks): New. 295 * src/assuan.h.in (assuan_sock_set_system_hooks): New prototype. 296 * src/libassuan.def: Add new function. 297 * src/libassuan.vers: Add new function. 298 2992017-12-06 NIIBE Yutaka <gniibe@fsij.org> 300 301 Use wrapped __assuan_usleep for _assuan_npth_usleep. 302 + commit a627350eed5dc32bac41195462f27dee1987b0f5 303 * src/assuan.h.in (_assuan_npth_usleep): Wrap __assuan_usleep. 304 3052017-12-01 Werner Koch <wk@gnupg.org> 306 307 Release 2.4.5. 308 + commit a70eaa8a3347660cf2f66ada0fa82cf991a1d7a0 309 310 3112017-11-30 NIIBE Yutaka <gniibe@fsij.org> 312 313 Wrap assuan_close for nPth. 314 + commit 0b551de6ca57790c511f32755880bbeaa1cacf85 315 * src/assuan.h.in (_assuan_npth_close): New. 316 (_assuan_system_npth): Use _assuan_npth_close. 317 3182017-11-20 Ben Kibbey <bjk@luxsci.net> 319 320 tests: Fix build. 321 + commit a63c4f33d5c10173dd54e2af32b127aa49498bfe 322 * tests/fdpassing.c: Include config.h to define GPGRT_ENABLE_ES_MACROS. 323 3242017-11-16 Werner Koch <wk@gnupg.org> 325 326 Release 2.4.4. 327 + commit 3611db285fda5514c25fe18322bc02a2d257ab9e 328 329 3302017-11-15 Werner Koch <wk@gnupg.org> 331 332 Add special check version request \001\001. 333 + commit 4f5596cf09c9e3e7845aa703f68e49168797fd2a 334 * src/assuan.c (assuan_check_version): Handle version "\001\001" 335 * tests/version.c (main): Print extended version info. 336 337 Let configure create the VERSION file. 338 + commit dfb8654f66f8ddeeb048e195a4f98c0aeed9ffb7 339 * autogen.sh: Update from Libgpg-error 340 * configure.ac: Create file VERSION. 341 * Makefile.am (dist-hook): Do not create VERSION. 342 (EXTRA_DIST): Add VERSION. 343 344 Fix last commit. 345 + commit 4d4c82ae2bbe7c0e08391ecf34e1aaadfdab435f 346 * src/system-posix.c (__assuan_usleep): Its ysec and usecs 347 348 Fix the nanosleep case of __assuan_usleep. 349 + commit 7b408d356094ab0ef0a07904a3ddf3832a8aa197 350 * src/system-posix.c (__assuan_usleep): Handle full seconds. 351 3522017-09-06 NIIBE Yutaka <gniibe@fsij.org> 353 354 We can't support fd passing, if the system doesn't support it. 355 + commit 87c2bb5708ff202651fca81d91d5f1e0c898cb07 356 * configure.ac (check_descriptor_passing): New. 357 (use_descriptor_passing): Use check_descriptor_passing. 358 359 Define INADDR_LOOPBACK if not defined. 360 + commit 87473cd29ca9d5e3fb1c3172126c1122472d8b90 361 * src/assuan-socket.c (INADDR_LOOPBACK): Define. 362 3632017-06-19 Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de> 364 365 configure: Add flag to disable documentation build. 366 + commit 859f9a9754708572a6289853d7d95b9ee3eae589 367 * configure.ac: Add new option --disable-doc. 368 (BUILD_DOC): New automake conditional. 369 * Makefile.am (SUBDIRS): Make doc optional based on BUILD_DOC. 370 (DISTCHECK_CONFIGURE_FLAGS): New variable. 371 372 Signed-Off-By: Marcus Brinkmann <mb@g10code.com> 373 3742017-05-31 NIIBE Yutaka <gniibe@fsij.org> 375 376 Use gpgrt_free to release memory allocated by gpgrt_asprintf. 377 + commit 62f3123d3877c8a84961e5f907bf959d4593fa5c 378 * src/assuan-logging.c (_assuan_log_control_channel): Use gpgrt_free. 379 * src/debug.c (_assuan_debug, _assuan_debug_add, _assuan_debug_end): 380 Likewise. 381 3822017-03-08 Justus Winter <justus@g10code.com> 383 384 build: Use macOS' compatibility macros to enable all features. 385 + commit b26b73d04bff10852382113ae361ea5726661510 386 * configure.ac: On macOS, use the compatibility macros to expose every 387 feature of the libc. This is the equivalent of _GNU_SOURCE on GNU 388 libc. 389 3902016-09-04 Ben Kibbey <bjk@luxsci.net> 391 392 EPROTO portability fix. 393 + commit 8ab3b9273524bd344bdb90dd5d3bc8e5f53ead6e 394 * src/assuan-socket.c(socks5_connect): Return EPROTONOSUPPORT rather 395 than EPROTO. 396 3972016-07-14 Werner Koch <wk@gnupg.org> 398 399 Release 2.4.3. 400 + commit 316a040452c0956ecab4ce6b5d99d5e75b36879b 401 * configure.ac: Set LT version to C7/A7/R3. 402 * Makefile.am (distcheck-hook): New. 403 4042016-07-13 Werner Koch <wk@gnupg.org> 405 406 build: Update config.{guess,sub} to {2016-05-15,2016-06-20}. 407 + commit cbf913c5d543163fa29703884bae3676a57a3261 408 * build-aux/config.guess: Update. 409 * build-aux/config.sub: Update. 410 411 Improve test for inet_pton on Solaris. 412 + commit c52829e32fe9108fc0e39d478eede24ac5e694ac 413 * configure.ac (HAVE_INET_PTON): Add a fallback test. 414 415 Allow socket redirection with assuan_socket_connect. 416 + commit 678f6063b53e4a2cc919f5a8b9d8bde743839c54 417 * src/assuan-socket-connect.c (assuan_socket_connect): Use 418 set_socketaddr function. 419 420 Speedup closing fds before an exec. 421 + commit e64f9a4af5a379f5a9fde59f0f944cd10ccfc6ea 422 * src/system-posix.c [__linux__]: Include dirent.h. 423 (get_max_fds) [__linux__]: Return the actual used highest fd. 424 4252016-07-05 Justus Winter <justus@g10code.com> 426 427 Fix distcheck. 428 + commit 70bb71e51462e9d81eff80ef8308cd8e15ea96ca 429 * tests/Makefile.am (EXTRA_DIST): Drop compiled test. 430 4312016-06-25 Werner Koch <wk@gnupg.org> 432 433 Fix minor memory leaks. 434 + commit d60ef7192ad95ec2ec1aef436742f56e6c750b89 435 * src/assuan-pipe-connect.c (socketpair_connect): Always free 436 CHILD_FDS. 437 * src/assuan-uds.c (uds_sendfd): Clear CONTROL_U to silence Valgrind. 438 * tests/fdpassing.c (main): Free FNAME. 439 440 * src/assuan-handler.c (dispatch_command): Remove dead assignment. 441 4422016-01-15 Werner Koch <wk@gnupg.org> 443 444 Improve getting of max. number of open fds. 445 + commit 7101fcbb662220326f2fc786219c1853f27a5298 446 * configure.ac (AC_CHECK_FUNCS): Add getrlimit. 447 * src/assuan-pipe-connect.c (MAX_OPEN_FDS): Remove non-used macro. 448 * src/system.c (MAX_OPEN_FDS): Remove non-used macro. 449 * src/system-posix.c: Include stdint.h, sys/time.h, sys/resource.h. 450 (MAX_OPEN_FDS): Remove non-used macro. 451 (get_max_fds): New. Taken from gnupg/common/exechelp-posix.c. 452 (__assuan_spawn): Use it here. 453 4542015-12-02 Werner Koch <wk@gnupg.org> 455 456 Release 2.4.2. 457 + commit e0516c5bbac23aa2d2a0b59caad67fca00b3183f 458 * configure.ac: Bump LT version to C7/A7/R2. 459 4602015-11-27 Werner Koch <wk@gnupg.org> 461 462 New feature to test for SOCKS5 proxy availability. 463 + commit 05ac2dc5c77fa4b87e98508c1b15fd254806b1ce 464 * src/assuan-socket.c (socks5_connect): Add special treatment for 465 empty hostnames. 466 (_assuan_sock_connect_byname): Add feature to test for proxy 467 availibility. 468 * tests/socks5.c (main): Add option --have-proxy. 469 4702015-11-26 Werner Koch <wk@gnupg.org> 471 472 Protect connect system hook against blocking (nPth). 473 + commit 18ca1593c62d62bb72b4e7e14347cd221c187138 474 * src/assuan.h.in (ASSUAN_SYSTEM_NPTH_IMPL): Add wrapper for connect. 475 476 Do not use size_t with _assuan_read. 477 + commit 9f24377f9f19983926233af8b475328bb7fe9e65 478 * src/assuan-socket.c (do_readn): Use ssize_t for N. 479 4802015-11-23 Werner Koch <wk@gnupg.org> 481 482 Release 2.4.1. 483 + commit add6953a916dafa93ae152bffc937a93ab5b55f8 484 * configure.ac: Bump LT version to C7/A7/R1. 485 486 Make socks5 test case a bit more robust. 487 + commit 429ff31fe72db8afedaad3f2d089c9c3b5dae41e 488 * tests/socks5.c (main): Call gpgrt_init. Check for write and read 489 errors. Allow building of some parts even w/o getaddrinfo. 490 4912015-11-21 Werner Koch <wk@gnupg.org> 492 493 Also try port 9150 in Tor mode. 494 + commit 5b927b3dcffa2918e6b503c4907923aadbad0865 495 * src/assuan-socket.c (TOR_PORT2): New. 496 (_assuan_sock_wsa2errno): Map WSAECONNREFUSED. 497 (socks5_connect): Fall back to TOR_PORT2. 498 4992015-11-21 Andre Heinecke <aheinecke@intevation.de> 500 501 Fix windows build with mingw-w64 2.0.x. 502 + commit cef28d96debcf94003f94f3ea2181e80aff0b665 503 * src/assuan-socket.c: Add errno values not defined by mingw-w64 2.0 504 5052015-11-03 Werner Koch <wk@gnupg.org> 506 507 Release 2.4.0. 508 + commit 0beb1784e7b72e31ecec441ee0a8ba4cef63d853 509 * configure.ac: Bump LT version to C7/A7/Ro. 510 511 w32: Use assuan_fd_t with the new socket functions. 512 + commit 6034cc02e38cb947800f904f678c4ef5ff9c2050 513 * src/assuan-socket.c (socks5_connect): Use assuan_fd_t instead of 514 int. 515 (_assuan_sock_connect): Ditto. 516 (_assuan_sock_connect_byname): Ditto. 517 518 Use asprintf function from libgpg-error. 519 + commit 7279c3ce9283723bd7f670051cd8a2087f62cd7f 520 * configure.ac: Require libgpg-error 1.17. 521 (vasprintf): Remove ac_replace. 522 * src/assuan-defs.h [!HAVE_VASPRINTF]: Remove replace wrapper. 523 * src/assuan-logging.c (_assuan_log_control_channel): 524 (_assuan_log_control_channel): s/asprintf/gpgrt_asprintf/. 525 * src/debug.c (_assuan_debug): s/vasprintf/gpgrt_vasprintf/. 526 (_assuan_debug_begin): Ditto. 527 (_assuan_debug_add): Ditto. s/asprintf/gpgrt_asprintf/. 528 5292015-10-26 Werner Koch <wk@gnupg.org> 530 531 Tests: Cope with broken HTTP servers. 532 + commit dda9c84bc67326a6d2bef1e5c45b5de8b67eeb40 533 * tests/socks5.c (main): Use GET instead of HEAD 534 535 Support hostname based SOCKS5 connection. 536 + commit 4061ac57ca84a1e0ed779096897a160d49b50c03 537 * src/assuan.h.in (ASSUAN_SOCK_SOCKS): New. 538 (ASSUAN_SOCK_TOR): New. 539 (assuan_sock_connect_byname): New. 540 * src/libassuan.def, src/libassuan.vers: Add that function. 541 542 * src/assuan-socket.c (socks5_connect): Add args socksport, 543 credentials, hostname, and hostport. Implement user/password 544 authentication and domainname address type. Change callers 545 accordingly. 546 (_assuan_sock_connect_byname): New. 547 (assuan_sock_connect_byname): New. 548 549 * tests/socks5.c (main): Add options --byname, --user, and --pass. 550 5512015-10-18 Werner Koch <wk@gnupg.org> 552 553 Support SOCKS5 for assuan_sock_connect. 554 + commit 85ece74a11718338dcd76d6e43ea8100183df02f 555 * src/assuan-socket.c: Include netinet/in.h and arpa/inet.h. 556 (SOCKS_PORT, TOR_PORT): New constants. 557 (tor_mode): New variable. 558 (_assuan_sock_set_flag): Add flags "tor-mode" and "socks". 559 (_assuan_sock_get_flag): Ditto. 560 (do_readn, do_writen): Always build. 561 (socks5_connect): New. 562 (use_socks): New. 563 (_assuan_sock_connect): Divert to socks5_connect if requested. 564 565 * tests/socks5.c: New. 566 * configure.ac (AH_TOP): Define GPGRT_ENABLE_ES_MACROS. 567 (AC_CHECK_FUNC): Check for getaddrinfo. 568 * tests/Makefile.am (testtools): New. Add socks5. 569 (AM_LDFLAGS): Add -no-install for easier debugging. 570 5712015-08-28 Werner Koch <wk@gnupg.org> 572 573 Post release updates. 574 + commit 3aec1981cfd0a7b29750965c065a45ad928e66dc 575 576 577 Release 2.3.0. 578 + commit cdb1e6484d6f094f8e795bfec5b314ec524a90f8 579 * configure.ac: Set LT version to C6/A6/R0. 580 581 Support Cygwin local sockets. 582 + commit 6d4a8ee2a6c749eec70bd3ae804f21456e375727 583 * src/assuan-socket.c (cygwin_fdtable, cygwin_fdtable_cs): New. 584 (is_cygwin_fd, insert_cygwin_fd, delete_cygwin_fd): New. 585 (assuan_sock_init) [W32]: Init the CS. 586 (assuan_sock_deinit) [W32]: Deinit the CS. 587 (read_port_and_nonce): Add arg cygwin and detect Cygwin socket files. 588 (_assuan_sock_set_flag): Add "cygwin" flag. 589 (_assuan_sock_get_flag): Ditto. 590 (do_readn, do_writen): New. 591 (_assuan_sock_bind): Create a Cygwin socket file depending on a socket 592 flag. 593 (_assuan_sock_connect): Handle the cygwin socket protocol. 594 (_assuan_sock_check_nonce): Ditto. 595 596 Read up remaining lines in assuan_inquire after reaching MAXLEN. 597 + commit 5a52404c704d0e99629a2db79dda17e3b95c9680 598 * src/assuan-inquire.c (assuan_inquire): Clear return args on error. 599 Read up remaining lines after MAXLEN has been hit. 600 6012015-08-25 Werner Koch <wk@gnupg.org> 602 603 Add configure option --enable-build-timestamp. 604 + commit d4bef26a49879761867ad6d57113341915db6acf 605 * configure.ac (BUILD_TIMESTAMP): Set to "<none>" by default. 606 6072015-08-07 Werner Koch <wk@gnupg.org> 608 609 Wipe the context before releasing as an extra safeguard. 610 + commit b5cbf11ccece653819a782a3e8adbb785fe36d7d 611 * src/assuan-defs.h (wipememory2, wipememory): New. Taken from GnuPG. 612 * src/assuan.c (assuan_release): Wipe the context. 613 6142015-06-30 Werner Koch <wk@gnupg.org> 615 616 Add assuan_sock_set_flag and assuan_sock_get_flag. 617 + commit 87def94c86d5272c23daf2b5ea446c5553aa1d90 618 * src/assuan-socket.c (_assuan_sock_set_flag): New. 619 (assuan_sock_set_flag): New. 620 (_assuan_sock_get_flag, assuan_sock_get_flag): New. 621 * src/assuan.h.in (assuan_sock_set_flag): New. 622 (assuan_sock_get_flag): New. 623 * src/libassuan.def: Add them. 624 * src/libassuan.vers: Add them. 625 6262015-06-26 Werner Koch <wk@gnupg.org> 627 628 Return GPG_ERR_SOURCE_ASSUAN on errors with no CTX. 629 + commit cd8face27cc96cb0092c920e6e5bdee81a61c420 630 * src/assuan-defs.h (_assuan_error): Use error source Assuan if no CTX 631 is given. 632 633 Do not segv if NULL is passed for CTX in sendfd and receivefd. 634 + commit 0da6afa864cfd68333941d6332d762c82928946c 635 * src/assuan-buffer.c (assuan_sendfd): Check that CTX is not NULL. 636 (assuan_receivefd): Ditto. 637 6382015-06-01 Neal H. Walfield <neal@gnu.org> 639 640 Fix documentation for assuan_inquire. 641 + commit c6b131949bb6c77392af2cbbbeb8ea1bed129b79 642 * doc/assuan.texi (assuan_inquire): Fix and improve description of 643 this function. 644 6452015-05-12 Werner Koch <wk@gnupg.org> 646 647 Release 2.2.1. 648 + commit 1f0896c86b0d6b02a71b90f122bf3fa90e75fb9d 649 650 6512015-05-07 Daniel Kahn Gillmor <dkg@fifthhorseman.net> 652 653 clean up assuan documentation. 654 + commit e6e51c067181a94d92353f5af2340e75a839c4e3 655 * doc/assuan.texi: fix documentation 656 6572015-05-07 Neal H. Walfield <neal@gnu.org> 658 659 Documentation cleanups. 660 + commit ccd1811479e9d30dcd207a5031eda07958459fe2 661 662 6632015-01-30 Werner Koch <wk@gnupg.org> 664 665 w32: Use -static-libgcc to avoid linking to libgcc_s_sjlj-1.dll. 666 + commit 5cdc9c457f4e549491fa3f0db75119abd078b070 667 * src/Makefile.am (extra_ltoptions): New. 668 (libassuan_la_LDFLAGS): Use it. 669 6702015-01-28 Werner Koch <wk@gnupg.org> 671 672 Require the use of automake 1.14. 673 + commit 77dfed442db065ce0c9e0afb8a0f6fd3ae169a64 674 * configure.ac (AM_INIT_AUTOMAKE): Add serial-tests. 675 * src/Makefile.am (INCLUDES): Rename to AM_CPPFLAGS and remove the 676 nonexistent ../include/. 677 678 w32: Fix assuan_connect_fd. 679 + commit 91a98e2c812dccd73c57badd02da7642e0421c8e 680 * src/assuan-socket-connect.c (assuan_socket_connect_fd): Map fd to 681 assuan_fd_t. 682 683 Fix gcc warning about unused values. 684 + commit 5e0a01fad54ca16a4cff2c0fc33bf16aac62f417 685 * src/debug.h: Remove traling ", 0" expression part where not useful. 686 6872015-01-27 Werner Koch <wk@gnupg.org> 688 689 Fix WSAEADDRINUSE EADDRINUSE mismatch. 690 + commit ab5264b20f75a4dcc8baf2e672394d3a84c60870 691 * src/w32-sock-nonce.inc.h (EADDRINUSE): Avoid redefining. 692 * src/assuan-socket.c (_assuan_sock_bind): Set error to EADDRINUSE. 693 6942014-12-11 Werner Koch <wk@gnupg.org> 695 696 Release 2.2.0. 697 + commit 261498de39a10a00d5035f2481d33319c983875f 698 * configure.ac: Set LT version to C5/A5/R0. 699 (AM_INIT_AUTOMAKE): Add options. 700 * Makefile.am (AUTOMAKE_OPTIONS): Remove. 701 7022014-11-28 Werner Koch <wk@gnupg.org> 703 704 Do not allow LFs in the redirected name. 705 + commit 0fce017100c5896cf9dc1fcbd4a39053651c3910 706 * src/assuan-socket.c (eval_redirection): Stop parsing at the first 707 LF. 708 709 Implement socket file redirection. 710 + commit 1f99031cb55e88840d98dd71381b2bc2618406fc 711 * configure.ac (AC_CHECK_FUNC): Check for stat. 712 * src/assuan-socket.c (SUN_LEN): Add. 713 (eval_redirection): New. 714 (_assuan_sock_connect) [!W32]: Implement socket file redirection. 715 (_assuan_sock_set_sockaddr_un): New. 716 (assuan_sock_set_sockaddr_un): New. 717 7182014-11-07 Werner Koch <wk@gnupg.org> 719 720 Release 2.1.3. 721 + commit 3003c5d70febc8d4b6be9c95ca6deda7b033cabc 722 * configure.ac: Set LT version to C4/A4/R3. 723 724 w32: Remove I/O delays due to our 100ms delay after an EAGAIN. 725 + commit 1023508f210cd136992661c01b55b428de86a182 726 * src/system-w32.c (__assuan_read): Retry using select. Map 727 WSAECONNRESET to EPIPE. 728 (__assuan_write): Retry using select. 729 * src/assuan-buffer.c (readline) [W32]: Return EOF instead of EPIPE. 730 7312014-08-17 Werner Koch <wk@gnupg.org> 732 733 Release 2.1.2. 734 + commit a5d7f4999f4aa844d9446bd4524cb6a47219826c 735 * configure.ac: Set LT version to C4/A4/R2. 736 737 Update build system. 738 + commit 49a930a613b280fdd55e6d558a2ae414bdbbf66e 739 * autogen.sh: Add --find-version stuff. Taken from GnuPG. 740 * configure.ac: Change accordingly 741 742 Fix possible segv in a call to _assuan_debug. 743 + commit b6da2da96780ec270439eba5569a618cabe4da02 744 * src/context.c (assuan_set_error): Do not pass NULL for %s in the 745 trace function. 746 7472014-06-30 Werner Koch <wk@gnupg.org> 748 749 Avoid a vasprintf call if tracing has not been enabled. 750 + commit 134c045c7d1f93ce61f62193d33af8a6e8825543 751 * src/debug.c (_assuan_debug): Check wether CAT want to be logged. 752 7532014-04-16 Werner Koch <wk@gnupg.org> 754 755 Fix NULL deref when tracing is enabled and malloc fails. 756 + commit 326a2918d645dd3d38dbc928e4452c66cb9757f1 757 * src/debug.h (TRACE_ERR): Check CTX before a deref. 758 * src/assuan-defs.h (_assuan_error): Turn into an inline function and 759 check CTX before a deref. 760 7612014-01-10 Werner Koch <wk@gnupg.org> 762 763 Use the generic autogen.sh script. 764 + commit a5a6aea1ef063b9c6801b5f5ff482b7599ec4b2e 765 * autogen.rc: New. 766 * Makefile.am (EXTRA_DIST): Add it. 767 * autogen.sh: Update from GnuPG. 768 769 Move helper scripts to build-aux. 770 + commit a9c9aaca70c770cf5f9d05ce2417343490e45627 771 * compile, config.guess, config.rpath, config.sub, depcomp, ltmain.sh 772 * doc/mdate-sh, doc/texinfo.tex, install-sh, missing: Move to 773 build-aux/. 774 * Makefile.am (EXTRA_DIST): Remove config.rpath - it is implicitly 775 distributed. 776 * configure.ac (AC_CONFIG_AUX_DIR): New. 777 (AM_SILENT_RULES): New. 778 7792013-12-03 Werner Koch <wk@gnupg.org> 780 781 Add build support for ppc64le. 782 + commit 46b6d97b4a396c16df53e82872c3cc772d427623 783 * config.guess, config.sub: Update to latest version (2013-11-29). 784 * m4/libtool.m4: Add patches for ppc64le. 785 7862013-06-24 Werner Koch <wk@gnupg.org> 787 788 Release 2.1.1. 789 + commit cf1e6f64c83194a42012cc786a0da2814be72883 790 * configure.ac: Set LT version to C4/A4/R1. 791 7922013-06-19 Werner Koch <wk@gnupg.org> 793 794 Changes to support W64. 795 + commit 6ba18ca32c8669fa76cc10de3382f78212ca51a8 796 * configure.ac (have_dosish_system): Set for W64. 797 * src/assuan-defs.h (SOCKET2HANDLE, HANDLE2SOCKET): Add versions for 798 W64. 799 * src/assuan-handler.c (assuan_command_parse_fd) [W64]: Use strtoull 800 to parse an FD. 801 8022013-06-17 Werner Koch <wk@gnupg.org> 803 804 Add hack to have different names for 64 bit Windows DLLs. 805 + commit f88eb9e98f491b503f46c7d995c9651f1e46b9e9 806 * ltmain.sh: Prefix the SO number for W64 with a "6". 807 808 Support building for w64. 809 + commit 61f5ca41e9d44bdd266cb4e91abe45fc5f2ddf3e 810 811 8122013-02-22 Werner Koch <wk@gnupg.org> 813 814 Release version 2.1.0. 815 + commit 7d227acff329a921f76cd4c391d7cbae40115672 816 * configure.ac: Bump LT version to C4/A4/R0. 817 818 Add assuan_check_version and ASSUAN_VERSION_NUMBER. 819 + commit ab2e01598446120dac09e49c63a5c8fc27a1bc32 820 * src/assuan.c (assuan_check_version): New. 821 (digitp, parse_version_number, parse_version_string) 822 (compare_versions): New. Taken from libksba. 823 * configure.ac (VERSION_NUMBER): New ac_subst. 824 * src/Makefile.am (assuan.h): Pass VERSION and VERSION_NUMBER to 825 mkheader. 826 * src/assuan.h.in (ASSUAN_VERSION, ASSUAN_VERSION_NUMBER): New macros. 827 (assuan_check_version): New prototype. 828 * src/libassuan.def, src/libassuan.vers: Add assuan_check_version. 829 * src/mkheader.c (write_special, main): Support version and 830 version_number. 831 * tests/version.c: New. 832 * tests/Makefile.am (TESTS): Add version. 833 834 w32: Fix header inclusion order for newer toolchain. 835 + commit a4d64a06f9b80ed58cd8f9ca4a68393733c36b1f 836 * src/system-w32.c: Do not include windows.h here. 837 838 Beautify the BUILD_TIMESTAMP and put it into the binary. 839 + commit c6c80414201a1c58e24220ff9ea214c7164ccc8d 840 * configure.ac (BUILD_TIMESTAMP): Use an ISO date string on all 841 platforms and ac_define it. 842 * src/sysutils.c (_assuan_sysutils_blurb): But revision and build date 843 into the binary. 844 845 w32ce: Adjust to changed API and make it build again. 846 + commit 3eec7a1f67dc1af2199d91ee017be26b24c389b6 847 * src/system-w32ce.c (__assuan_write, __assuan_recvmsg) 848 (__assuan_sendmsg, __assuan_waitpid): Make functions global. 849 * tests/ce-server.c: Fix syntax error (s/#else/#endif) 850 851 w32: Allow overriding a toolchain via ~/.gnupg-autogen.rc. 852 + commit e321c69006a12577e41408a2e1ea726a19b75c00 853 * autogen.sh (build-w32): Include {amd64,w32_toolprefixes). 854 855 Modernize release version management. 856 + commit 807d9cd2a27c62ab6c91b9ec1dd11675ec0382d6 857 * configure.ac: Update to modern git version checking. Remove svn 858 support. 859 * src/versioninfo.rc.in: Update copyright years. 860 861 Fix --with-{lib,}gpg-error-prefix. 862 + commit 97ce28a430129ce997783c6196ccfe737f5b3007 863 * m4/gpg-error.m4: Update from current gpg-error git. 864 865 Update helper scripts. 866 + commit 0884e91324232b4d7dfdc8fad0dea9948519845b 867 * compile, config.guess, config.rpath, config.sub, depcomp, 868 * install-sh, mkinstalldirs: Update to current versions from gnulib. 869 8702013-02-07 Werner Koch <wk@gnupg.org> 871 872 Make assuan_transact more robust against inquiry errors. 873 + commit f17039b1ece8a8b2c56766f86b002536c7599699 874 * src/client.c (assuan_transact): Send an CAN after an error return 875 from the inquiry callback. 876 8772012-11-26 Ben Kibbey <bjk@luxsci.net> 878 879 Check for getpeerucred(). 880 + commit cd96daf5a4ddb4a7e9e373220a7aaead0a97c8cf 881 * configure.ac: check for getpeerucred() which (Open)Solaris/SunOS 882 uses. 883 * src/assuan-socket-server.c (accept_connection_bottom): make use 884 of getpeerucred(). 885 8862012-11-21 Ben Kibbey <bjk@luxsci.net> 887 888 Support LOCAL_PEEREID (NetBSD) and getpeereid() (FreeBSD) 889 + commit 76ea68c2a77cafe2424fe6bc97403c9d9a6b1e95 890 * configure.ac: check for LOCAL_PEEREID and getpeereid(). 891 * src/assuan-socket-server.c (accept_connection_bottom): make use of 892 LOCAL_PEEREID and getpeereid(). 893 8942012-11-16 Werner Koch <wk@gnupg.org> 895 896 Improve parsing of the GIT revision number. 897 + commit 76ceeb3582bba138227bf76167b451ee017d38fc 898 * configure.ac (mmm4_revision): Use git rev-parse. Print version 899 information at the end of a configure run. 900 901 Fix non-portable use of chmod in autogen.sh. 902 + commit e6688eebc03fda7c8c81789c24ad13c06f648a9f 903 * autogen.sh: Remove option -c from chmod. 904 9052012-06-05 W. Trevor King <wking@tremily.us> 906 907 src/assuan-handler.c: add help strings for standard commands. 908 + commit ca3f8e4b5bbe5549bd7804cf3bff36be21db1b82 909 910 9112012-04-20 W. Trevor King <wking@tremily.us> 912 913 Update example code for pipe server. 914 + commit 7cf99d04d864fb308159fb928057f59eb4e5a110 915 * doc/assuan.texi: Fix server example code to use assuan_new. 916 917 Wrap reference to END with @code. 918 + commit f40f8033b21bad8801b43676b486dab80c532397 919 * doc/assuan.texi: Wrap reference to END with @code{}. 920 9212012-04-20 Werner Koch <wk@gnupg.org> 922 923 State new contribution rules. 924 + commit 861d19e028af70c7009640efc98eb485fff546d7 925 * doc/DCO: New. 926 * doc/HACKING: Doument new rules. Give examples for commit logs. 927 9282012-01-25 Werner Koch <wk@gnupg.org> 929 930 Make new functions also visible on non-W32. 931 + commit 5c00c7cc2901a879927a5756e1bb7ecf49439ebc 932 * src/system-posix.c (__assuan_read, __assuan_write, __assuan_recvmsg) 933 (__assuan_sendmsg, __assuan_waitpid): Make functions global. 934 * src/libassuan.vers: Add above functions. 935 * configure.ac: Set version to 2.1.0-git. 936 937 Require gitlog-to-changelog to be installed. 938 + commit dbfbc908121afd1cf3177249d9378fc787a9cff7 939 * Makefile.am (GITLOG_TO_CHANGELOG): New. 940 (gen-ChangeLog): Use installed version of gitlog-to-changelog. 941 * build-aux/gitlog-to-changelog: Remove from repo. 942 9432012-01-24 Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de> 944 945 Fix npth port file handle use. 946 + commit cef55142f2552538714f8296479f58a63d14a239 947 * assuan.h.in (ASSUAN_SYSTEM_NPTH_IMPL): Use npth_unprotect and 948 npth_protect with actual assuan functions instead of npth wrappers. 949 * libassuan.def: Add __assuan_read, __assuan_write, __assuan_sendmsg, 950 __assuan_recvmsg, __assuan_waitpid exports. 951 * system-w32.c (__assuan_read, __assuan_write, __assuan_sendmsg, 952 __assuan_recvmsg, __assuan_waitpid): Make non-static. 953 9542012-01-03 Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de> 955 956 Make assuan portable to NPTH. 957 + commit e23e6f2bd49f415f4fdca013e4f61e1b17995a51 958 959 9602011-12-20 Werner Koch <wk@gnupg.org> 961 962 Post release version number update. 963 + commit 6ff1083166366b9d627e5e909f245cfb119b27a7 964 965 966 Release version 2.0.3. 967 + commit 3ebe00d6854f110301a2742041d6d5c3e95d8e6b 968 * configure.ac: Bump LT version to C3/A3/R0. 969 970 Update gitlog-to-changelog to support --tear-off. 971 + commit 132c70fe697346a1c9f75d51572835f6d4951b3b 972 973 9742011-12-13 Werner Koch <wk@gnupg.org> 975 976 Fix assuan_get_pid for pipe servers. 977 + commit edbe8fdcea1a2c05999861f58d5f67d2e76610e0 978 At some point in the past we introduced a regression in that the 979 client of a pipe server received its own pid and not the pid of 980 the server. 981 982 * src/assuan-pipe-connect.c (struct at_pipe_fork) 983 (struct at_socketpair_fork): Add PARENT_PID. 984 (at_pipe_fork_cb, at_socketpair_fork): Use PARENT_PID instead of getpid. 985 (pipe_connect, socketpair_connect): Set PARENT_PID. 986 987 vasprintf.c: Improve test code. 988 + commit ff9a8c2e64ea2345f2ebe85a527b7c43033ba53e 989 * src/vasprintf.c (checkit): Set flag for a test failure. 990 (main): Return error on any failure. 991 9922011-12-01 Werner Koch <wk@gnupg.org> 993 994 Generate the ChangeLog from commit logs. 995 + commit 165a57d29d2ac84159aa48b171b6098c629bc798 996 * build-aux/gitlog-to-changelog: New script. Taken from gnulib. 997 * build-aux/git-log-fix: New file. 998 * build-aux/git-log-footer: New file. 999 * doc/HACKING: New file. 1000 * ChangeLog: New file. 1001 * Makefile.am (EXTRA_DIST): Add new files. 1002 (gen-ChangeLog): New. 1003 (dist-hook): Run gen-ChangeLog. 1004 * autogen.sh: Install commit-msg hook for git. 1005 1006 Rename all ChangeLog files to ChangeLog-2011. 1007 10082011-12-01 Werner Koch <wk@gnupg.org> 1009 1010 NB: Changes done before December 1st, 2011 are described in 1011 per directory files named ChangeLog-2011. See doc/HACKING for 1012 details. 1013 1014 ----- 1015 Copyright (C) 2011 Free Software Foundation, Inc. 1016 1017 Copying and distribution of this file and/or the original GIT 1018 commit log messages, with or without modification, are 1019 permitted provided the copyright notice and this notice are 1020 preserved. 1021