1. 24 Jun, 2013 1 commit
  2. 19 Jun, 2013 1 commit
    • Werner Koch's avatar
      Changes to support W64. · 6ba18ca3
      Werner Koch authored
      * 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.
      6ba18ca3
  3. 17 Jun, 2013 2 commits
    • Werner Koch's avatar
      Add hack to have different names for 64 bit Windows DLLs. · f88eb9e9
      Werner Koch authored
      * ltmain.sh: Prefix the SO number for W64 with a "6".
      --
      
      We need to stick to libtool 2.4.2 anyway, thus we take the easy way
      and hack libtool instead of adding "-release 6" to the Makefile.  This
      also avoids an extra dash before the 6 and thus yields a prettier name
      than the one produced by the -release option.  The header files and
      def files are supposed to be identical for w32 and w64 thus we don't
      need to do any special code for them.
      
      Having a different namespace for 64 bit DLLs is such a good idea that
      I hope this or a similar feature will be provided by future libtool
      versions.
      f88eb9e9
    • Werner Koch's avatar
      Support building for w64. · 61f5ca41
      Werner Koch authored
      61f5ca41
  4. 22 Feb, 2013 10 commits
    • Werner Koch's avatar
      Post release version bump. · fb51987d
      Werner Koch authored
      --
      fb51987d
    • Werner Koch's avatar
      Release version 2.1.0. · 7d227acf
      Werner Koch authored
      * configure.ac: Bump LT version to C4/A4/R0.
      7d227acf
    • Werner Koch's avatar
      Add assuan_check_version and ASSUAN_VERSION_NUMBER. · ab2e0159
      Werner Koch authored
      * 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.
      ab2e0159
    • Werner Koch's avatar
      w32: Fix header inclusion order for newer toolchain. · a4d64a06
      Werner Koch authored
      * src/system-w32.c: Do not include windows.h here.
      --
      
      winsock2.h must now be included before windows.h.  This is already
      properly handled by assuan-defs.h.
      a4d64a06
    • Werner Koch's avatar
      Beautify the BUILD_TIMESTAMP and put it into the binary. · c6c80414
      Werner Koch authored
      * 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.
      c6c80414
    • Werner Koch's avatar
      w32ce: Adjust to changed API and make it build again. · 3eec7a1f
      Werner Koch authored
      * src/system-w32ce.c (__assuan_write, __assuan_recvmsg)
      (__assuan_sendmsg, __assuan_waitpid): Make functions global.
      * tests/ce-server.c: Fix syntax error (s/#else/#endif)
      --
      
      This patch fixes some cruft which has accidentally been introduced
      over time.  The code builds, but due to a lack of ready to use CE box,
      I was not able to test it.
      3eec7a1f
    • Werner Koch's avatar
      w32: Allow overriding a toolchain via ~/.gnupg-autogen.rc. · e321c690
      Werner Koch authored
      * autogen.sh (build-w32): Include {amd64,w32_toolprefixes).
      --
      
      Note that despite of the support in autogen.sh and possible other
      places, there is no W64 support yet.
      e321c690
    • Werner Koch's avatar
      Modernize release version management. · 807d9cd2
      Werner Koch authored
      * configure.ac: Update to modern git version checking.  Remove svn
      support.
      * src/versioninfo.rc.in: Update copyright years.
      807d9cd2
    • Werner Koch's avatar
      Fix --with-{lib,}gpg-error-prefix. · 97ce28a4
      Werner Koch authored
      * m4/gpg-error.m4: Update from current gpg-error git.
      97ce28a4
    • Werner Koch's avatar
      Update helper scripts. · 0884e913
      Werner Koch authored
      * compile, config.guess, config.rpath, config.sub, depcomp,
      * install-sh, mkinstalldirs: Update to current versions from gnulib.
      --
      
      Some of them have not been updated here in over 8 years, time to fix
      that.
      0884e913
  5. 07 Feb, 2013 1 commit
  6. 26 Nov, 2012 1 commit
    • Ben Kibbey's avatar
      Check for getpeerucred(). · cd96daf5
      Ben Kibbey authored
      * configure.ac: check for getpeerucred() which (Open)Solaris/SunOS
      uses.
      * src/assuan-socket-server.c (accept_connection_bottom): make use
      of getpeerucred().
      cd96daf5
  7. 21 Nov, 2012 1 commit
    • Ben Kibbey's avatar
      Support LOCAL_PEEREID (NetBSD) and getpeereid() (FreeBSD) · 76ea68c2
      Ben Kibbey authored
      * 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).
      76ea68c2
  8. 16 Nov, 2012 2 commits
  9. 05 Jun, 2012 1 commit
  10. 20 Apr, 2012 3 commits
  11. 25 Jan, 2012 2 commits
    • Werner Koch's avatar
      Make new functions also visible on non-W32. · 5c00c7cc
      Werner Koch authored
      * 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.
      5c00c7cc
    • Werner Koch's avatar
      Require gitlog-to-changelog to be installed. · dbfbc908
      Werner Koch authored
      * Makefile.am (GITLOG_TO_CHANGELOG): New.
      (gen-ChangeLog): Use installed version of gitlog-to-changelog.
      * build-aux/gitlog-to-changelog: Remove from repo.
      dbfbc908
  12. 24 Jan, 2012 1 commit
    • Marcus Brinkmann's avatar
      Fix npth port file handle use. · cef55142
      Marcus Brinkmann authored
      * assuan.h.in (ASSUAN_SYSTEM_NPTH_IMPL): Use npth_unprotect and
      npth_protect with actual assuan functions instead of npth wrappers.
      * libassuan.def: Add __assuan_read, __assuan_write, __assuan_sendmsg,
      __assuan_recvmsg, __assuan_waitpid exports.
      * system-w32.c (__assuan_read, __assuan_write, __assuan_sendmsg,
      __assuan_recvmsg, __assuan_waitpid): Make non-static.
      cef55142
  13. 03 Jan, 2012 1 commit
  14. 20 Dec, 2011 3 commits
  15. 13 Dec, 2011 2 commits
    • Werner Koch's avatar
      Fix assuan_get_pid for pipe servers. · edbe8fdc
      Werner Koch authored
      At some point in the past we introduced a regression in that the
      client of a pipe server received its own pid and not the pid of
      the server.
      
      * src/assuan-pipe-connect.c (struct at_pipe_fork)
      (struct at_socketpair_fork): Add PARENT_PID.
      (at_pipe_fork_cb, at_socketpair_fork): Use PARENT_PID instead of getpid.
      (pipe_connect, socketpair_connect): Set PARENT_PID.
      edbe8fdc
    • Werner Koch's avatar
      vasprintf.c: Improve test code. · ff9a8c2e
      Werner Koch authored
      * src/vasprintf.c (checkit): Set flag for a test failure.
      (main): Return error on any failure.
      ff9a8c2e
  16. 01 Dec, 2011 1 commit
    • Werner Koch's avatar
      Generate the ChangeLog from commit logs. · 165a57d2
      Werner Koch authored
      * build-aux/gitlog-to-changelog: New script.  Taken from gnulib.
      * build-aux/git-log-fix: New file.
      * build-aux/git-log-footer: New file.
      * doc/HACKING: New file.
      * ChangeLog: New file.
      * Makefile.am (EXTRA_DIST): Add new files.
      (gen-ChangeLog): New.
      (dist-hook): Run gen-ChangeLog.
      * autogen.sh: Install commit-msg hook for git.
      
      Rename all ChangeLog files to ChangeLog-2011.
      165a57d2
  17. 28 Nov, 2011 1 commit
  18. 10 Aug, 2011 2 commits
  19. 04 Jul, 2011 1 commit
  20. 16 Jun, 2011 1 commit
  21. 20 Apr, 2011 1 commit
  22. 11 Apr, 2011 1 commit