aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* build: Use macOS' compatibility macros to enable all features.Justus Winter2017-03-081-1/+2
| | | | | | | | | | | | * configure.ac: On macOS, use the compatibility macros to expose every feature of the libc. This is the equivalent of _GNU_SOURCE on GNU libc. -- Not defining this leads to compilation errors or superfluous warnings on macOS. GnuPG-bug-id: 2910 Signed-off-by: Justus Winter <[email protected]>
* Post release updatesWerner Koch2016-07-141-1/+1
| | | | --
* Release 2.4.3.libassuan-2.4.3Werner Koch2016-07-141-1/+1
| | | | | | | * configure.ac: Set LT version to C7/A7/R3. * Makefile.am (distcheck-hook): New. Signed-off-by: Werner Koch <[email protected]>
* Improve test for inet_pton on Solaris.Werner Koch2016-07-131-0/+10
| | | | | | | | * configure.ac (HAVE_INET_PTON): Add a fallback test. -- GnuPG-bug-id: 1476 Signed-off-by: Werner Koch <[email protected]>
* Improve getting of max. number of open fds.Werner Koch2016-01-151-1/+2
| | | | | | | | | | | | | | | | | | | * configure.ac (AC_CHECK_FUNCS): Add getrlimit. * src/assuan-pipe-connect.c (MAX_OPEN_FDS): Remove non-used macro. * src/system.c (MAX_OPEN_FDS): Remove non-used macro. * src/system-posix.c: Include stdint.h, sys/time.h, sys/resource.h. (MAX_OPEN_FDS): Remove non-used macro. (get_max_fds): New. Taken from gnupg/common/exechelp-posix.c. (__assuan_spawn): Use it here. -- This is related to GnuPG-bug-id: 2071 Changing of get_max_fds from LPGLv3+ to LGPLv2+ approved by me as sole author or that code. Signed-off-by: Werner Koch <[email protected]>
* Post release updates.Werner Koch2015-12-021-1/+1
| | | | --
* Release 2.4.2.libassuan-2.4.2Werner Koch2015-12-021-1/+1
| | | | | | * configure.ac: Bump LT version to C7/A7/R2. Signed-off-by: Werner Koch <[email protected]>
* Post release updatesWerner Koch2015-11-231-1/+1
| | | | --
* Release 2.4.1.libassuan-2.4.1Werner Koch2015-11-231-1/+1
| | | | * configure.ac: Bump LT version to C7/A7/R1.
* Post release updates.Werner Koch2015-11-031-1/+1
| | | | --
* Release 2.4.0libassuan-2.4.0Werner Koch2015-11-031-4/+4
| | | | | | * configure.ac: Bump LT version to C7/A7/Ro. Signed-off-by: Werner Koch <[email protected]>
* Use asprintf function from libgpg-error.Werner Koch2015-11-031-2/+1
| | | | | | | | | | | | | | | | | | * configure.ac: Require libgpg-error 1.17. (vasprintf): Remove ac_replace. * src/assuan-defs.h [!HAVE_VASPRINTF]: Remove replace wrapper. * src/assuan-logging.c (_assuan_log_control_channel): (_assuan_log_control_channel): s/asprintf/gpgrt_asprintf/. * src/debug.c (_assuan_debug): s/vasprintf/gpgrt_vasprintf/. (_assuan_debug_begin): Ditto. (_assuan_debug_add): Ditto. s/asprintf/gpgrt_asprintf/. -- We plan to move more code into libgpg-error/gpgrt anyway thus this is a good start which also fixes this bug: GnuPG-bug-id: 1477 Signed-off-by: Werner Koch <[email protected]>
* Support SOCKS5 for assuan_sock_connect.Werner Koch2015-10-181-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | * src/assuan-socket.c: Include netinet/in.h and arpa/inet.h. (SOCKS_PORT, TOR_PORT): New constants. (tor_mode): New variable. (_assuan_sock_set_flag): Add flags "tor-mode" and "socks". (_assuan_sock_get_flag): Ditto. (do_readn, do_writen): Always build. (socks5_connect): New. (use_socks): New. (_assuan_sock_connect): Divert to socks5_connect if requested. * tests/socks5.c: New. * configure.ac (AH_TOP): Define GPGRT_ENABLE_ES_MACROS. (AC_CHECK_FUNC): Check for getaddrinfo. * tests/Makefile.am (testtools): New. Add socks5. (AM_LDFLAGS): Add -no-install for easier debugging. -- A future extension might be a new assuan_sock_direct_connect call takes the hostname as a string and returns a new socket. This allows the proxy to do the resolving. However, in the long term these socket wrapper should be moved to libgpgrt (aka libgpg-error). Signed-off-by: Werner Koch <[email protected]>
* Post release updatesWerner Koch2015-08-281-1/+1
|
* Release 2.3.0libassuan-2.3.0Werner Koch2015-08-281-3/+3
| | | | | | * configure.ac: Set LT version to C6/A6/R0. Signed-off-by: Werner Koch <[email protected]>
* Add configure option --enable-build-timestamp.Werner Koch2015-08-251-1/+10
| | | | | | | | | | | | * configure.ac (BUILD_TIMESTAMP): Set to "<none>" by default. -- This is based on libgpg-error commit d620005fd1a655d591fccb44639e22ea445e4554 but changed to be disabled by default. Check there for some background. Signed-off-by: Werner Koch <[email protected]>
* Add assuan_sock_set_flag and assuan_sock_get_flag.Werner Koch2015-06-301-2/+2
| | | | | | | | | | | | | | | | * src/assuan-socket.c (_assuan_sock_set_flag): New. (assuan_sock_set_flag): New. (_assuan_sock_get_flag, assuan_sock_get_flag): New. * src/assuan.h.in (assuan_sock_set_flag): New. (assuan_sock_get_flag): New. * src/libassuan.def: Add them. * src/libassuan.vers: Add them. -- These new functions are intended for a Cygwin socket emulation. This commit merely introduces a generic framework. Signed-off-by: Werner Koch <[email protected]>
* Post release updatesWerner Koch2015-05-121-1/+1
| | | | --
* Release 2.2.1libassuan-2.2.1Werner Koch2015-05-121-1/+1
|
* Require the use of automake 1.14Werner Koch2015-01-281-3/+4
| | | | | | * configure.ac (AM_INIT_AUTOMAKE): Add serial-tests. * src/Makefile.am (INCLUDES): Rename to AM_CPPFLAGS and remove the nonexistent ../include/.
* Post release updatesWerner Koch2014-12-111-1/+1
| | | | --
* Release 2.2.0libassuan-2.2.0Werner Koch2014-12-111-6/+6
| | | | | | * configure.ac: Set LT version to C5/A5/R0. (AM_INIT_AUTOMAKE): Add options. * Makefile.am (AUTOMAKE_OPTIONS): Remove.
* Implement socket file redirection.Werner Koch2014-11-281-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]>
* Post release updates.Werner Koch2014-11-071-1/+1
| | | | --
* Release 2.1.3.libassuan-2.1.3Werner Koch2014-11-071-1/+1
| | | | * configure.ac: Set LT version to C4/A4/R3.
* Post release updatesWerner Koch2014-08-171-1/+1
| | | | --
* Release 2.1.2.libassuan-2.1.2Werner Koch2014-08-171-1/+1
| | | | * configure.ac: Set LT version to C4/A4/R2.
* Update build systemWerner Koch2014-08-171-23/+26
| | | | | * autogen.sh: Add --find-version stuff. Taken from GnuPG. * configure.ac: Change accordingly
* Move helper scripts to build-aux.Werner Koch2014-01-101-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.
* Post release version bump.Werner Koch2013-06-241-1/+1
| | | | --
* Release 2.1.1.libassuan-2.1.1Werner Koch2013-06-241-1/+1
| | | | * configure.ac: Set LT version to C4/A4/R1.
* Changes to support W64.Werner Koch2013-06-191-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.
* Post release version bump.Werner Koch2013-02-221-1/+1
| | | | --
* Release version 2.1.0.libassuan-2.1.0Werner Koch2013-02-221-2/+2
| | | | * configure.ac: Bump LT version to C4/A4/R0.
* Add assuan_check_version and ASSUAN_VERSION_NUMBER.Werner Koch2013-02-221-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.
* Beautify the BUILD_TIMESTAMP and put it into the binary.Werner Koch2013-02-221-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.
* Modernize release version management.Werner Koch2013-02-221-38/+58
| | | | | | * configure.ac: Update to modern git version checking. Remove svn support. * src/versioninfo.rc.in: Update copyright years.
* Check for getpeerucred().Ben Kibbey2012-11-261-4/+6
| | | | | | | * configure.ac: check for getpeerucred() which (Open)Solaris/SunOS uses. * src/assuan-socket-server.c (accept_connection_bottom): make use of getpeerucred().
* Support LOCAL_PEEREID (NetBSD) and getpeereid() (FreeBSD)Ben Kibbey2012-11-211-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).
* Improve parsing of the GIT revision number.Werner Koch2012-11-161-2/+10
| | | | | * configure.ac (mmm4_revision): Use git rev-parse. Print version information at the end of a configure run.
* Make new functions also visible on non-W32.Werner Koch2012-01-251-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.
* Post release version number updateWerner Koch2011-12-201-2/+2
|
* Release version 2.0.3.libassuan-2.0.3Werner Koch2011-12-201-4/+5
| | | | * configure.ac: Bump LT version to C3/A3/R0.
* Update libtool and other framework stuff.Werner Koch2011-08-101-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.
* Unreleased.Marcus Brinkmann2011-07-041-1/+1
|
* Release 2.0.2libassuan-2.0.2Marcus Brinkmann2011-06-161-3/+3
|
* Add option --host to libassuan-config.Werner Koch2011-04-111-0/+2
| | | | Also enhanced the m4 test marcos and removed some cruft.
* Prepare for building for a W64 host.Werner Koch2011-04-061-0/+10
|
* Include sys/select.h in a test utility.Werner Koch2011-03-281-9/+10
| | | | | This fixes bug#1328 (libassuan: ce-server fails to compile on Darwin due to missing include).
* * configure.ac: Add a git commit identifier to the version.Werner Koch2010-12-231-2/+6
|