Re: [Announce] Dirmngr 0.9.0 released

Michael Nottebrock <[email protected]> Fri, 17 Dec 2004 14:34:06 +0100
Newsgroups gmane.comp.encryption.gpg.gpa.devel,gmane.comp.gnu.gnupg.devel
Message-ID <[email protected]>
On Friday, 17. December 2004 12:27, Werner Koch wrote:

> Whats new in this release
> =========================
>
>  * New option --daemon to start dirmngr as a system daemon.  This
>    switches to the use of different directories and also does
>    CRL signing certificate validation on its own.

N.B.: This introduces a dependency on GNU pth.

> We have changed quite a lot with this release so if you encounter
> build or runtime problems please report.

FreeBSD requires an additional #include in jnlib/logging.c, patch attached.

> The LDAP detection code in configure as been
> repalced by the one used in GnuPG. 

The ldap configure check probably should use the contents of --prefix (if 
supplied to configure) to guess additional include and library paths for the 
test programs (i.e. CFLAGS+=-I/<prefix>/include & LDFLAGS+=-I/<prefix>/lib.

Right now the check will only succeed if the ldap libraries are in the 
standard compiler search path or if additional LDFLAGS are supplied via the 
environment.

Real world example: libldap.so in /usr/local/lib:

configure:11437: cc -o conftest -O2 -pipe -Wall -I/usr/local/include  
conftest.c -lldap   >&5
/usr/bin/ld: cannot find -lldap

The additional include path configure already uses here (-I/usr/local/include) 
is carried over from the result of the gettext check.

-- 
   ,_,   | Michael Nottebrock               | [email protected]
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

_______________________________________________
Gpa-dev mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gpa-dev
patch-jnlib-logging.c (text/plain, 266 B)
--- jnlib/logging.c.orig	Mon Nov 22 14:02:22 2004
+++ jnlib/logging.c	Fri Dec 17 13:03:13 2004
@@ -35,6 +35,7 @@
 #include <time.h>
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <sys/stat.h>
 #include <sys/un.h>
 #include <unistd.h>
 #include <fcntl.h>
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQBBwuBSXhc68WspdLARAkLNAKCidjY9itgepFPtD+pPNbrewLcIKACfRN3K
HU9taMmmyEG9YWWbImgBtak=
=zwFw
-----END PGP SIGNATURE-----