| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* configure.ac: Bump LT version to C4/A4/R0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* configure.ac: Update to modern git version checking. Remove svn
support.
* src/versioninfo.rc.in: Update copyright years.
|
|
|
|
| |
* m4/gpg-error.m4: Update from current gpg-error git.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* src/client.c (assuan_transact): Send an CAN after an error return
from the inquiry callback.
|
|
|
|
|
|
|
| |
* configure.ac: check for getpeerucred() which (Open)Solaris/SunOS
uses.
* src/assuan-socket-server.c (accept_connection_bottom): make use
of getpeerucred().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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).
|
|
|
|
|
| |
* configure.ac (mmm4_revision): Use git rev-parse. Print version
information at the end of a configure run.
|
|
|
|
| |
* autogen.sh: Remove option -c from chmod.
|
|
|
|
| |
Signed-off-by: W. Trevor King <[email protected]>
|
|
|
|
| |
* doc/assuan.texi: Fix server example code to use assuan_new.
|
|
|
|
| |
* doc/assuan.texi: Wrap reference to END with @code{}.
|
|
|
|
|
| |
* doc/DCO: New.
* doc/HACKING: Doument new rules. Give examples for commit logs.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* Makefile.am (GITLOG_TO_CHANGELOG): New.
(gen-ChangeLog): Use installed version of gitlog-to-changelog.
* build-aux/gitlog-to-changelog: Remove from repo.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
| |
* configure.ac: Bump LT version to C3/A3/R0.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* src/vasprintf.c (checkit): Set flag for a test failure.
(main): Return error on any failure.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* m4/gpg-error.m4: Update from git master.
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Also enhanced the m4 test marcos and removed some cruft.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This fixes bug#1328 (libassuan: ce-server fails to compile on Darwin
due to missing include).
|
| |
|
|
|
|
| |
descriptor to a context.
|
|
|
|
| |
be updated with new values. This fixes overriding the HELP command for example.
|
| |
|
|
|
|
| |
compatibility.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
assuan-socket.c.
2011-02-03 Marcus Brinkmann <[email protected]>
* assuan-socket.c (_assuan_sock_new): Call _assuan_socket instead
of socket.
(_assuan_sock_connect): Call _assuan_connect instead of connect.
* assuan-socket-connect.c (assuan_socket_connect): Call
_assuan_sock_new and _assuan_sock_connect instead of
_assuan_socket and assuan_connect.
* src/system-w32.c, src/system-w32ce.c (__assuan_socket): Call
socket instead of _assuan_sock_new.
(__assuan_connect): Call connect instead of _assuan_sock_connect.
|
|
|
|
|
|
| |
2011-02-02 Marcus Brinkmann <[email protected]>
* assuan.h.in: Replace namespace by _namespace.
|
|
|
|
|
|
| |
2011-02-02 Marcus Brinkmann <[email protected]>
* assuan.h.in: Replace namespace by _namespace.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2011-02-02 Marcus Brinkmann <[email protected]>
* assuan-defs.h (_assuan_socket, _assuan_connect): New prototypes.
* assuan.h.in (ASSUAN_SYSTEM_HOOKS_VERSION): Bumped to 2.
(struct assuan_system_hooks): Add socket and connect members.
(__assuan_socket, __assuan_connect): New prototypes.
(_ASSUAN_SYSTEM_PTH_IMPL): Add socket and connect members. *
assuan-socket-connect.c (assuan_socket_connect): Call
_assuan_socket and _assuan_connect instead _assuan_sock_new and
_assuan_sock_connect.
(libassuan.def, libassuan.vers): Add __assuan_socket and
__assuan_connect.
* system.c (_assuan_system_hooks_copy): Initialize destination
from system hooks, so we don't get any NULL pointers if there is a
version mismatch. Support version 2 of the system hook structure.
(_assuan_socket, _assuan_connect): New functions.
* system-posix.c (__assuan_socket, __assuan_connect): New functions.
(_assuan_system_hooks): Add __assuan_socketm, __assuan_connect.
* system-w32.c (__assuan_socket, __assuan_connect): New functions.
(_assuan_system_hooks): Add __assuan_socketm, __assuan_connect.
* system-w32ce.c (__assuan_socket, __assuan_connect): New functions.
(_assuan_system_hooks): Add __assuan_socketm, __assuan_connect.
|