aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-05-12Release 2.2.1libassuan-2.2.1Werner Koch1-1/+1
2015-01-28Require the use of automake 1.14Werner Koch1-3/+4
* configure.ac (AM_INIT_AUTOMAKE): Add serial-tests. * src/Makefile.am (INCLUDES): Rename to AM_CPPFLAGS and remove the nonexistent ../include/.
2014-12-11Post release updatesWerner Koch1-1/+1
--
2014-12-11Release 2.2.0libassuan-2.2.0Werner Koch1-6/+6
* configure.ac: Set LT version to C5/A5/R0. (AM_INIT_AUTOMAKE): Add options. * Makefile.am (AUTOMAKE_OPTIONS): Remove.
2014-11-28Implement socket file redirection.Werner Koch1-1/+1
* configure.ac (AC_CHECK_FUNC): Check for stat. * src/assuan-socket.c (SUN_LEN): Add. (eval_redirection): New. (_assuan_sock_connect) [!W32]: Implement socket file redirection. (_assuan_sock_set_sockaddr_un): New. (assuan_sock_set_sockaddr_un): New. -- This feature is useful to allow sockets with standard names even on file system which do not supports socket and to help with shared home directories. For example to use GnuPG 2.1 with shared home directories one will be abale to do: rm ~/.gnupg/S.gpg-agent || true printf "%%Assuan%%\nsocket=${HOME}/.gnupg/S.gpg-agent_${HOSTNAME}\n" \ > ~/.gnupg/S.gpg-agent Signed-off-by: Werner Koch <[email protected]>
2014-11-07Post release updates.Werner Koch1-1/+1
--
2014-11-07Release 2.1.3.libassuan-2.1.3Werner Koch1-1/+1
* configure.ac: Set LT version to C4/A4/R3.
2014-08-17Post release updatesWerner Koch1-1/+1
--
2014-08-17Release 2.1.2.libassuan-2.1.2Werner Koch1-1/+1
* configure.ac: Set LT version to C4/A4/R2.
2014-08-17Update build systemWerner Koch1-23/+26
* autogen.sh: Add --find-version stuff. Taken from GnuPG. * configure.ac: Change accordingly
2014-01-10Move helper scripts to build-aux.Werner Koch1-0/+2
* compile, config.guess, config.rpath, config.sub, depcomp, ltmain.sh * doc/mdate-sh, doc/texinfo.tex, install-sh, missing: Move to build-aux/. * Makefile.am (EXTRA_DIST): Remove config.rpath - it is implicitly distributed. * configure.ac (AC_CONFIG_AUX_DIR): New. (AM_SILENT_RULES): New.
2013-06-24Post release version bump.Werner Koch1-1/+1
--
2013-06-24Release 2.1.1.libassuan-2.1.1Werner Koch1-1/+1
* configure.ac: Set LT version to C4/A4/R1.
2013-06-19Changes to support W64.Werner Koch1-0/+1
* configure.ac (have_dosish_system): Set for W64. * src/assuan-defs.h (SOCKET2HANDLE, HANDLE2SOCKET): Add versions for W64. * src/assuan-handler.c (assuan_command_parse_fd) [W64]: Use strtoull to parse an FD. -- Note that these changes are not complete but merely sufficient to allow building of GpgEX.
2013-02-22Post release version bump.Werner Koch1-1/+1
--
2013-02-22Release version 2.1.0.libassuan-2.1.0Werner Koch1-2/+2
* configure.ac: Bump LT version to C4/A4/R0.
2013-02-22Add assuan_check_version and ASSUAN_VERSION_NUMBER.Werner Koch1-1/+8
* src/assuan.c (assuan_check_version): New. (digitp, parse_version_number, parse_version_string) (compare_versions): New. Taken from libksba. * configure.ac (VERSION_NUMBER): New ac_subst. * src/Makefile.am (assuan.h): Pass VERSION and VERSION_NUMBER to mkheader. * src/assuan.h.in (ASSUAN_VERSION, ASSUAN_VERSION_NUMBER): New macros. (assuan_check_version): New prototype. * src/libassuan.def, src/libassuan.vers: Add assuan_check_version. * src/mkheader.c (write_special, main): Support version and version_number. * tests/version.c: New. * tests/Makefile.am (TESTS): Add version. -- All our other libs have a version number check, thus we should have one in Libassuan as well.
2013-02-22Beautify the BUILD_TIMESTAMP and put it into the binary.Werner Koch1-6/+3
* configure.ac (BUILD_TIMESTAMP): Use an ISO date string on all platforms and ac_define it. * src/sysutils.c (_assuan_sysutils_blurb): But revision and build date into the binary. -- An ISO date is for sure better than the old C standard time format. An almost all platforms this should work. We don't print the seconds to be compatible with the way we did in on Windows. However we print in UTC.
2013-02-22Modernize release version management.Werner Koch1-38/+58
* configure.ac: Update to modern git version checking. Remove svn support. * src/versioninfo.rc.in: Update copyright years.
2012-11-26Check for getpeerucred().Ben Kibbey1-4/+6
* configure.ac: check for getpeerucred() which (Open)Solaris/SunOS uses. * src/assuan-socket-server.c (accept_connection_bottom): make use of getpeerucred().
2012-11-21Support LOCAL_PEEREID (NetBSD) and getpeereid() (FreeBSD)Ben Kibbey1-0/+26
* configure.ac: check for LOCAL_PEEREID and getpeereid(). * src/assuan-socket-server.c (accept_connection_bottom): make use of LOCAL_PEEREID and getpeereid(). -- For use with assuan_get_peercred(). Note that getpeereid() does not set the PID member. LOCAL_PEEREID is checked before getpeereid() since NetBSD has both of these. SO_PEERCRED is still checked first. [Second revision] This revision adds support for LOCAL_PEEREID which NetBSD uses. Its tested against NetBSD 6.0 and may work without problems with earlier versions. FreeBSD uses getpeereid() which does not have PID support. Recent OpenBSD versions do support SO_PEERCRED and old versions have getpeereid() but also may have LOCAL_PEEREID (not sure).
2012-11-16Improve parsing of the GIT revision number.Werner Koch1-2/+10
* configure.ac (mmm4_revision): Use git rev-parse. Print version information at the end of a configure run.
2012-01-25Make new functions also visible on non-W32.Werner Koch1-1/+1
* src/system-posix.c (__assuan_read, __assuan_write, __assuan_recvmsg) (__assuan_sendmsg, __assuan_waitpid): Make functions global. * src/libassuan.vers: Add above functions. * configure.ac: Set version to 2.1.0-git.
2011-12-20Post release version number updateWerner Koch1-2/+2
2011-12-20Release version 2.0.3.libassuan-2.0.3Werner Koch1-4/+5
* configure.ac: Bump LT version to C3/A3/R0.
2011-08-10Update libtool and other framework stuff.Werner Koch1-6/+6
- Libtool is now at version 2.4. - Fixed the newer autoconf warnings. - Updated config.{guess,sub} to a more modern version; we used a 4 years old version.
2011-07-04Unreleased.Marcus Brinkmann1-1/+1
2011-06-16Release 2.0.2libassuan-2.0.2Marcus Brinkmann1-3/+3
2011-04-11Add option --host to libassuan-config.Werner Koch1-0/+2
Also enhanced the m4 test marcos and removed some cruft.
2011-04-06Prepare for building for a W64 host.Werner Koch1-0/+10
2011-03-28Include sys/select.h in a test utility.Werner Koch1-9/+10
This fixes bug#1328 (libassuan: ce-server fails to compile on Darwin due to missing include).
2010-12-23* configure.ac: Add a git commit identifier to the version.Werner Koch1-2/+6
2010-11-012010-11-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+1
* configure.ac: Check for fcntl.h.
2010-11-01Changes to allow building the CE version with MSC.Werner Koch1-1/+2
2010-08-19Prepare for a gpg-error changeWerner Koch1-0/+13
2010-08-09Post release updates.Werner Koch1-2/+2
2010-08-09Release 2.0.1libassuan-2.0.1Werner Koch1-5/+3
2010-04-20comment fixWerner Koch1-1/+2
2010-03-22Changed the implementation of CreatePipe under W32CE.Werner Koch1-3/+17
Reorganized the source.
2010-02-24A couple of changes to eventually fully support W32ce.Werner Koch1-1/+2
2010-01-28Cleanups for W32CE.Werner Koch1-1/+6
Implement getenv replacement for W32CE.
2010-01-22Changes to build for W32CE - does not yet work, though.Werner Koch1-2/+1
2010-01-22Prepare for a port to WindowsCE.Werner Koch1-1/+11
2010-01-08Post release fixup.Marcus Brinkmann1-2/+2
2010-01-08Pre-release fixup.Marcus Brinkmann1-1/+1
2010-01-052010-01-05 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+1
* configure.ac (_DARWIN_C_SOURCE): Define on frapple.
2009-12-222009-12-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+1
* configure.ac: Do not use echo -n.
2009-12-15Oops, changed wrong line.Marcus Brinkmann1-1/+1
2009-12-152009-12-15 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-2/+2
* configure.ac: Bump version to 2.0.0.
2009-10-162009-10-16 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-22/+1
* autogen.sh: Remove --with-pth-prefix from configure invocation. * configure.ac (_ASSUAN_IN_LIBASSUAN, PTH_SYSCALL_SOFT): Do not set anymore. (GNUPG_PATH_PTH): Don't invoke. (HAVE_PTH): Remove conditional. (LIBASSUAN_CONFIG_THREAD_MODULES): Removed. doc/ 2009-10-16 Marcus Brinkmann <[email protected]> * assuan.texi: Remove documentation for thread support. (assuan_pipe_connect_ext): Update prototype. src/ 2009-10-16 Marcus Brinkmann <[email protected]> * conversion.c: Do not include <sys/types.h> and <time.h>. * debug.h (TRACE_BEG6, TRACE4): New macros. (TRACE_SYSERR): Pass _assuan_trace_context to _assuan_debug. * context.c (assuan_set_pointer, assuan_get_pointer, assuan_set_flag, assuan_get_flag, assuan_set_io_monitor, assuan_set_error): Add trace messages. * libassuan-config.in, libassuan.m4, Makefile.am: Remove PTH support. * assuan.h (assuan_msghdr_t): New type. (ASSUAN_INVALID_PID): New macro. (ASSUAN_NO_FIXSIGNALS): New flag macro. (ASSUAN_SYSTEM_HOOKS_VERSION): New macro. (struct assuan_system_hooks, assuan_system_hooks_t): New types. (assuan_pipe_connect, assuan_pipe_connect_ext): Don't make ARGV const for name==NULL operation. Make fd_child_list an array of assuan_fd_t. (assuan_sock_init, assuan_sock_deinit, assuan_set_system_hooks, assuan_ctx_set_system_hooks, __assuan_pipe, __assuan_close, __assuan_spawn, __assuan_socketpair): New function prototypes. (_ASSUAN_SYSTEM_PTH_IMPL, ASSUAN_SYSTEM_PTH_DECL, ASSUAN_SYSTEM_PTH): New macros. (_assuan_system_pth): New declaration. * libassuan.vers, libassuan.defs: Add assuan_sock_init, assuan_sock_deinit, __assuan_pipe, __assuan_close, __assuan_spawn, __assuan_socketpair, assuan_set_system_hooks, assuan_ctx_set_system_hooks. * assuan-defs.h (struct assuan_io): Removed, move members to ... (struct assuan_context_s): ... this to ENGINE. New flag no_fixsignals. New member SYSTEM. Remove member IO. (_assuan_pipe, _assuan_read, _assuan_write, _assuan_recvmsg, _assuan_sendmsg, _assuan_spawn, _assuan_socketpair, _assuan_system_hooks, _assuan_system_hooks_copy): New declarations. (_assuan_error_is_eagain, _assuan_waitpid, _assuan_usleep, _assuan_close, _assuan_sock_new, _assuan_sock_connect, _assuan_sock_bind, _assuan_sock_get_nonce, _assuan_sock_check_nonce): Add context argument. (_assuan_io_read, _assuan_io_write, _assuan_simple_sendmsg, _assuan_simple_recvmsg): Removed. * context.c (assuan_ctx_set_system_hooks): New function. * assuan.c (assuan_set_system_hooks): New function. (assuan_new_ext): Initialize CTX->system. (assuan_release): Always output trace message. * assuan-error.c (_assuan_error_is_eagain): Add ctx argument, pass along to _assuan_usleep. * assuan-inquire.c assuan-listen.c, assuan-socket-server.c, assuan-handler.c, assuan-socket-connect.c, assuan-client.c, assuan-pipe-connect.c, assuan-socket.c: Pass CTX argument to functions that need it (_assuan_sock_new, _assuan_sock_check_none, _assuan_close, _assuan_error_is_eagain and many more). * assuan-socket-server.c (assuan_init_socket_server_ext): Update fields in CTX->engine instead of CTX->io. * assuan-socket-connect (assuan_socket_connect_ext): Likewise. * assuan-uds.c (uds_reader, uds_writer, uds_sendfd): Use _assuan_recvmsg and _assuan_sendmsg instead of _assuan_simple_recvmsg and _assuan_simple_sendmsg respectively. (_assuan_init_uds_io): Update fields in CTX->engine instead of CTX->io. * assuan-buffer.c: Use functions in CTX->engine instead of CTX->io. * assuan-pipe-server.c (assuan_init_pipe_server): Update fields in CTX->engine instead of CTX->io. * system.c: Include <sys/types.h>, <time.h>, <fcntl.h>, and <windows.h> resp. <sys/wait.h>. Define MAX_OPEN_FDS. (_assuan_system_hooks_copy, __assuan_usleep, _assuan_usleep, __assuan_pipe, _assuan_pipe, __assuan_close, _assuan_close, __assuan_read, _assuan_read, __assuan_write, _assuan_write, __assuan_recvmsg, _assuan_recvmsg, __assuan_sendmsg, _assuan_sendmsg, __assuan_spawn, _assuan_spawn, __assuan_waitpid, _assuan_waitpid, __assuan_socketpair, _assuan_socketpair): New functions. (_assuan_system_hooks): New singleton. * assuan-io.c (_assuan_waitpid, do_io_read, _assuan_io_read, do_io_write, _assuan_io_write, _assuan_simple_sendmsg, _assuan_simple_recvmsg, _assuan_usleep): Removed. * assuan-pipe-connect (writen, build_w32_commandline, create_inheritable_pipe): Removed (actually moved to system.c). (fix_signals) [_ASSUAN_NO_FIXED_SIGNALS]: Still fix signals. (do_finish): Move waitpid logic to _assuan_waitpid, just call that. (struct at_pipe_fork, struct at_socketpair_fork): New types. (at_pipe_fork_cb, at_socketpair_fork_cb): New callback functions. (pipe_connect_unix, pipe_connect_w32): Replaced by ... (pipe_connect): ... this new function using new system functions. (socketpair_connect): Reimplement to use new system functions. (assuan_pipe_connect, assuan_pipe_connect_ext): Add trace message. * assuan-socket.c (_assuan_close): Removed (moved to system.c). (_assuan_sock_new, _assuan_sock_connect, _assuan_sock_bind, _assuan_sock_get_nonce, _assuan_sock_check_nonce): Add context argument. Use new system interface. (sock_ctx): New singleton. (assuan_sock_init, assuan_sock_deinit): New functions to initialize and deinitialize the singleton.