Commit Graph

88 Commits

Author SHA1 Message Date
Andrew Bartlett
b01d527a35 Merge pull request #171 from jelmer/parallel
Fix parallel builds.
2016-05-14 22:28:25 +12:00
Viktor Dukhovni
1017a594ef Use OpenSSL include path as needed
For consistency make "-I" part of the macro value set by autoconf.

For now, don't attempt to handle OpenSSL rpath in cf/crypto.m4.
That's much easier by just setting LDFLAGS when running configure.
Otherwise too many Makefiles to edit and libtool and automake do
their best to undo the rpath.
2016-05-07 05:29:12 -04:00
Jelmer Vernooij
a460601ee3 Properly fix parallel builds. 2016-04-20 12:15:27 +00:00
Nicolas Williams
490337f4f9 Make OpenSSL an hcrypto backend proper
This adds a new backend for libhcrypto: the OpenSSL backend.

Now libhcrypto has these backends:

 - hcrypto itself (i.e., the algorithms coded in lib/hcrypto)
 - Common Crypto (OS X)
 - PKCS#11 (specifically for Solaris, but not Solaris-specific)
 - Windows CNG (Windows)
 - OpenSSL (generic)

The ./configure --with-openssl=... option no longer disables the use of
hcrypto.  Instead it enables the use of OpenSSL as a (and the default)
backend in libhcrypto.  The libhcrypto framework is now always used.

OpenSSL should no longer be used directly within Heimdal, except in the
OpenSSL hcrypto backend itself, and files where elliptic curve (EC)
crypto is needed.

Because libhcrypto's EC support is incomplete, we can only use OpenSSL
for EC.  Currently that means separating all EC-using code so that it
does not use hcrypto, thus the libhx509/hxtool and PKINIT EC code has
been moved out of the files it used to be in.
2016-04-15 00:16:17 -05:00
Nicolas Williams
c6f24e99f0 Revamp cf/db.m4; test LMDB 2016-02-26 00:55:32 -06:00
Brian May
6b5933337b Fix parallel build
Fix problem due to missing makefile dependency on a generated file.

See http://bugs.debian.org/800728 for details

Signed-off-by: Nicolas Williams <nico@twosigma.com>
2016-02-05 17:23:39 -06:00
Love Hörnquist Åstrand
4fb41b50cf use noinst_HEADERS for kdc-private.h 2014-02-16 09:16:18 -08:00
Roland C. Dowdeswell
be5afdbf7f Make concurrent builds work.
To stop the errors when building concurrently, we make a number of
changes:

        1.  stop including generated files in *_SOURCES,

        2.  make *-protos.h and *-private.h depend on the *_SOURCES,

        3.  make all objects depend on *-{protos,private}.h,

        4.  in a few places change dir/header.h to $(srcdir)/dir/header.h,

This appears to work for me with make -j16 on a 4-way box.
2012-08-08 00:04:04 +01:00
Russ Allbery
0f81a468a3 Link kdc-tester with libheimbase directly
It directly uses symbols provided by that library.

Signed-off-by: Nicolas Williams <nico@cryptonector.com>
2011-12-22 14:52:58 -06:00
Love Hörnquist Åstrand
503266c4a3 use json to drive kdc-tester 2011-11-21 20:34:35 -08:00
Love Hörnquist Åstrand
1a1bd736c0 merge support for FAST in as-req codepath 2011-10-28 19:25:48 -07:00
Love Hörnquist Åstrand
7cb8e7f742 no more krb4 2011-08-10 09:24:43 -07:00
Love Hornquist Astrand
78bef36409 include fast.c 2011-07-24 20:24:36 -07:00
Love Hörnquist Åstrand
12403a31ce sprinkle more windows files 2011-07-23 11:18:21 -07:00
Love Hörnquist Åstrand
7aaba443bc add NTMakefile and windows directories 2011-07-17 12:16:59 -07:00
Love Hornquist Astrand
00b3524892 link with libheimntlm.la 2011-04-14 12:54:15 -07:00
Love Hornquist Astrand
9fba958c90 remove kadb leftovers 2010-11-26 10:31:37 -08:00
Love Hornquist Astrand
cc42e85e7f Remove deprecated krb4 kdc components 2010-11-20 14:11:35 -08:00
Guido Günther
45a94f309b Use libcapng to drop all privileges
except for CAPNG_NET_BIND_SERVICE so we can bind to ports < 1024.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-02-18 19:08:45 -08:00
Love Hornquist Astrand
c867fd3e2e Make libtool pull in the depenency on libldap
Put in explicy depenency on libdap so that libtool
might to the right thing for us.

Patch from Jan Rekorajski
2009-12-08 00:15:10 -08:00
Love Hornquist Astrand
270c4feaf1 add digest-service and announce 2009-11-22 06:42:14 -08:00
Love Hörnquist Åstrand
7fe1196c96 finish support for libintl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23752 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:13:13 +00:00
Love Hörnquist Åstrand
d2387e033f drop CHECK_SYMBOLS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22489 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-21 11:49:06 +00:00
Love Hörnquist Åstrand
a9ccb1a578 New library version.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21429 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:36:43 +00:00
Love Hörnquist Åstrand
007d16660b Split out krb5_kdc_set_dbinfo, From Andrew Bartlett
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21405 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-04 10:35:45 +00:00
Love Hörnquist Åstrand
71bc52d5ac EXTRA_DIST += version-script.map.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21020 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 15:35:50 +00:00
Love Hörnquist Åstrand
7d1da27427 Add kdc-replay.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 03:20:22 +00:00
Love Hörnquist Åstrand
7e6b98aa96 version script for libkdc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-24 11:45:04 +00:00
Love Hörnquist Åstrand
7ba2b2006c rename des to hcrypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 08:29:05 +00:00
Love Hörnquist Åstrand
023089fbf8 Include windc.c and use windc_plugin.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19631 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-03 15:38:44 +00:00
Love Hörnquist Åstrand
2aff6e5795 add kx509.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19548 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 21:06:18 +00:00
Love Hörnquist Åstrand
95936540f6 libkdc needs libheimntlm.la
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19371 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 21:17:50 +00:00
Love Hörnquist Åstrand
c264018278 Add LIB_pkinit to pacify AIX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19188 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-29 07:39:58 +00:00
Love Hörnquist Åstrand
1b9fae5253 more files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 15:52:20 +00:00
Love Hörnquist Åstrand
72f5dab088 add digest to libkdc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17918 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-24 10:08:20 +00:00
Love Hörnquist Åstrand
b0a3fd3a9c Add krb5tgs.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17599 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-01 11:19:59 +00:00
Love Hörnquist Åstrand
7dd4709d04 Build kdc-private.h and depend on it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16372 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:17:48 +00:00
Love Hörnquist Åstrand
cb993f6688 (kdc_LDADD): add LDADD
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-29 07:11:10 +00:00
Love Hörnquist Åstrand
7a3fc5e663 Don't pollute namespace, generate public headerfile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15532 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-30 01:54:49 +00:00
Love Hörnquist Åstrand
d918604239 there is no export script, not pretend there is
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15530 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-30 01:08:11 +00:00
Love Hörnquist Åstrand
7132a9b084 Merge in the libkdc/kdc configuration split from Andrew Bartlet <abartlet@samba.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15529 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-30 01:03:35 +00:00
Love Hörnquist Åstrand
c747d3b0c9 always add kaserver
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14913 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 13:45:31 +00:00
Johan Danielsson
0624b4457e replace INCLUDES with AM_CPPFLAGS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 11:55:29 +00:00
Love Hörnquist Åstrand
d8c5b10b7d (kdc_SOURCES): += pkinit.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 04:31:21 +00:00
Love Hörnquist Åstrand
2d078d467a always include kerberos4.c and 524.c in kdc_SOURCES to support 524
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-14 05:47:06 +00:00
Assar Westerlund
9b8ad9f282 set and use INCLUDE_des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-28 08:31:31 +00:00
Johan Danielsson
2b67390d1d always include kaserver support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 16:32:19 +00:00
Assar Westerlund
baebf953a8 use LIB_des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 22:51:14 +00:00
Johan Danielsson
418e11ca5e link with pidfile library
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-04 11:24:51 +00:00
Johan Danielsson
ef6c5d89d3 nuke extra definitions of krb5_read_priv_message et.al
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8735 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-21 23:08:06 +00:00