[Announce] libassuan 2.0.0 released

Marcus Brinkmann marcus.brinkmann at ruhr-uni-bochum.de
Fri Jan 8 02:44:50 CET 2010


Hi,

libassuan 2.0.0 is a new branch of libassuan development.  It provides a
shared library which is a dependency of of the upcoming versions of GPGME,
GnupG 2.1.x and others.  Note that this version of libassuan is incompatible
with previous versions of libassuan, and can not be installed side-by-side
with libassuan 1.0.x.

  ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-2.0.0.tar.bz2
  ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-2.0.0.tar.bz2.sig

The sha1sums of these files are:

b03c586a4eefdfc0bb1ec65ecf958b9890d429f7  libassuan-2.0.0.tar.bz2
6880f16b5e3af442b457a86637caa6411b73b677  libassuan-2.0.0.tar.bz2.sig

Because this is the first version of libassuan providing a shared library, a
lot of effort was spent into making the API/ABI of libassuan extensible and
future-proof.  Please see below, the file NEWS and the file
doc/README.apichanges for details.


Noteworthy changes in version 2.0.0 (2009-01-08)
------------------------------------------------

 * Now using libtool and builds a DSO.

 * Lots of interface cleanups.  See below for details of the most
   important changes.  Here is a quick note on how to upgrade:

   For each invocation of the connect or server functions, allocate a
   context with assuan_new and use that.  Instead of assuan_disconnect
   or assuan_deinit_server, call assuan_release.  Use
   assuan_set_gpg_err_source instead of assuan_set_assuan_err_source.
   If you use assuan_pipe_connect with NAME of NULL, you have to
   provide a non-NULL ARGV argument and check that against "server" or
   "client" to determine which end you got after fork().  If you use
   the assuan sock interface, you must call assuan_sock_init after
   setting global context defaults.  Add a NULL as the last arg to
   assuan_register_command.

 * Pth support has changed.  This now follows the same style as
   libgcrypt by setting system hook callbacks.

 * Interface changes relative to the 1.0.5 release:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_ASSUAN_ONLY_GPG_ERRORS        REMOVED
assuan_set_assuan_err_source   REMOVED: Use assuan_set_gpg_err_source.
assuan_set_gpg_err_source      NEW
assuan_get_gpg_err_source      NEW
assuan_strerror                REMOVED
ASSUAN_*                       Error values removed.
assuan_error_t                 REMOVED
AssuanError                    REMOVED
assuan_init_connected_socket_server REMOVED
assuan_pipe_connect2           REMOVED
AssuanCommand                  REMOVED
assuan_flag_t                  CHANGED: From enum to unsigned int.
ASSUAN_CONTENT                 REMOVED
assuan_disconnect              REMOVED: Use assuan_release.
assuan_deinit_server           REMOVED: Use assuan_release.
assuan_get_malloc_hooks        NEW
assuan_set_log_cb              NEW
assuan_get_log_cb              NEW
assuan_new_ext                 NEW
assuan_new                     NEW
assuan_release                 NEW
assuan_init_socket_server      CHANGED: Take ctx arg instead of pointer to ctx.
                               CHANGED: As assuan_init_socket_server_ext was.
assuan_init_socket_server_ext  REMOVED
assuan_socket_connect          CHANGED: Take ctx arg instead of pointer to ctx.
                               CHANGED: Is what assuan_socket_connect_ext was.
assuan_socket_connect_ext      REMOVED
assuan_pipe_connect            CHANGED: Take ctx arg instead of pointer to ctx.
                               If NAME is NULL, ARGV will contain fork result.
                               CHANGED: Is now what assuan_pipe_connect_ext was.
                               CHANGED: Child fds are now assuan_fd_t.
assuan_pipe_connect_ext        REMOVED
assuan_init_pipe_server        CHANGED: Take ctx arg instead of pointer to ctx.
                               CHANGED: Swallows fds (are closed at end).
                               CHANGED: Take assuan_fd_t.
assuan_fdopen                  NEW
assuan_set_io_hooks            REMOVED: Use assuan_system_hooks interface.
assuan_io_hooks_t              REMOVED: Use assuan_system_hooks interface.
assuan_io_monitor_t            CHANGED: Add a hook data argument.
assuan_get_command_name        NEW
assuan_msghdr_t                NEW
ASSUAN_INVALID_PID             NEW
ASSUAN_NO_FIXSIGNALS           NEW
ASSUAN_SYSTEM_HOOKS_VERSION    NEW
assuan_system_hooks_t          NEW
assuan_set_system_hooks        NEW
assuan_ctx_set_system_hooks    NEW
ASSUAN_SYSTEM_PTH_IMPL         NEW
ASSUAN_SYSTEM_PTH_DECL         NEW
ASSUAN_SYSTEM_PTH              NEW
assuan_sock_init               NEW
assuan_sock_deinit             NEW
assuan_handler_t               NEW
assuan_register_command        CHANGED: Add arg HELP_STRING.
assuan_register_bye_notify     CHANGED: Handler gets line and returns err now.
assuan_register_reset_notify   CHANGED: Handler gets line and returns err now.
assuan_register_cancel_notify  CHANGED: Handler gets line and returns err now.
assuan_register_input_notify   CHANGED: Handler returns error now.
assuan_register_output_notify  CHANGED: Handler returns error now.
assuan_process_next            CHANGED: New DONE argument instead EOF return.
ASSUAN_PIPE_CONNECT_FDPASSING  NEW
ASSUAN_PIPE_CONNECT_DETACHED   NEW
ASSUAN_SOCKET_SERVER_FDPASSING NEW
ASSUAN_SOCKET_SERVER_ACCEPTED  NEW
ASSUAN_SOCKET_CONNECT_FDPASSING NEW
assuan_peercred_t              NEW
assuan_get_peercred            CHANGED: Return assuan_peercred_t.
assuan_client_read_response    NEW
assuan_client_parse_response   NEW
assuan_fd_from_posix_fd        NEW
ASSUAN_SPAWN_DETACHED          NEW
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
g10 Code GmbH       http://g10code.com      AmtsGer. Wuppertal HRB 14459
Hüttenstr. 61                               Geschäftsführung Werner Koch
D-40699 Erkrath  -=- The GnuPG Experts -=-  USt-Id DE215605608


_______________________________________________
Gnupg-announce mailing list
Gnupg-announce at gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-announce




More information about the Gnupg-users mailing list