Commit Graph

25136 Commits

Author SHA1 Message Date
Asanka Herath
6aa28bcc91 Don't use SIGPIPE, SIGXCPU or geteuid() if they aren't available
in kdc/main.c
2009-11-24 10:18:19 -08:00
Asanka Herath
fa8a92471c Don't build KRB4 specific code if we aren't supporting KRB4 2009-11-24 10:18:19 -08:00
Asanka Herath
8768960156 Don't rely on Posix like links in kdc 2009-11-24 10:18:19 -08:00
Asanka Herath
d47c01083b Use SOCKET data type instead of ints for sockets in kdc 2009-11-24 10:18:19 -08:00
Asanka Herath
4583cc514d NTMakefile for kadmin 2009-11-24 10:17:51 -08:00
Asanka Herath
a1942c1bad Use SOCKET data type instead of ints for sockets in kadmin
Also use the new mini_inetd() API
2009-11-24 10:17:51 -08:00
Asanka Herath
14ae739820 Don't rely on Posix links in kadmin/stash.c 2009-11-24 10:17:51 -08:00
Asanka Herath
b79445f4e4 Config changes
- Use custom implementations for strlcat() and strlcpy() because strcpy_s()
and strcat_s() have different behavior.

- Define NO_POSIX_LINKS to indicate that link/unlink operations don't
quite work the way they should. I.e. in-use files can't be replaced that
way.

- Change definitions of directory macros to use correct path tokens.

- Define NO_INETD to indicate that there's no inetd
2009-11-24 10:17:51 -08:00
Asanka Herath
0b0ad49382 Complete NTMakefile for admin 2009-11-24 10:17:50 -08:00
Asanka Herath
ef1501d081 Also include data when listing externals in an .OBJ file 2009-11-24 10:17:50 -08:00
Asanka Herath
aa058a6a63 Typos and fixes for init_c.c to not include stuff we don't have 2009-11-24 10:17:50 -08:00
Asanka Herath
41afd0a139 Locale.h and setenv() 2009-11-24 10:17:50 -08:00
Asanka Herath
06179e66ad Additional include files for krb5 2009-11-24 10:17:50 -08:00
Asanka Herath
28023be15a Add setenv() to libroken 2009-11-24 10:17:50 -08:00
Asanka Herath
649a929a54 LIBKDC and binary prep macros 2009-11-24 10:17:50 -08:00
Asanka Herath
60f2a22e54 Port kuser 2009-11-24 10:17:50 -08:00
Asanka Herath
9072a62729 Build libasn1 as a DLL
In addition to building libasn1 as a DLL also add a build target
so that a list of exports can be generated and used to check with
the .def file whether any exports are being left out.
2009-11-24 10:17:50 -08:00
Asanka Herath
2df5c26c00 Build system update 2009-11-24 10:17:50 -08:00
Asanka Herath
4be30644fb Update for wind/NTMakefile 2009-11-24 10:17:49 -08:00
Asanka Herath
475f6ba509 Dependency fix for vers/NTMakefile 2009-11-24 10:17:49 -08:00
Asanka Herath
68e06566cc Use ROKEN_CPP_START and ROKEN_CPP_END instead of __BEGIN_DECLS/__END_DECLS 2009-11-24 10:17:49 -08:00
Asanka Herath
418dd986e5 Add bit-types to roken.h so that we don't need to include krb5-types.h everywhere 2009-11-24 10:17:18 -08:00
Asanka Herath
49b261efdc Formalize the simple_exec*() API 2009-11-24 10:17:18 -08:00
Asanka Herath
7ee1695f12 Add cloexec() and xfree() to libroken 2009-11-24 10:16:49 -08:00
Asanka Herath
5dd6355e56 libkrb5 .def file 2009-11-24 10:16:49 -08:00
Asanka Herath
191361fdf5 Calling convention change 2009-11-24 10:16:49 -08:00
Asanka Herath
78a237e3cc No dirfd() on Windows 2009-11-24 10:16:49 -08:00
Asanka Herath
6ba6a17ebd Do things the WinSock way 2009-11-24 10:16:49 -08:00
Asanka Herath
d6adaa775f No geteuid() on Windows 2009-11-24 10:16:49 -08:00
Asanka Herath
77fee77d0e Use path tokens in krb5_config_parse_file_multi() 2009-11-24 10:16:22 -08:00
Asanka Herath
39d89e9fca Export .def for libkadm5srv 2009-11-24 10:15:14 -08:00
Asanka Herath
c53686e69b More KRB5_DEPRECATED fixes 2009-11-24 10:15:14 -08:00
Asanka Herath
c2f634d9ad KRB5_DEPRECATED is a storage class specifier 2009-11-24 10:12:45 -08:00
Asanka Herath
1bfde92838 Update krb5/NTMakefile 2009-11-24 10:12:45 -08:00
Asanka Herath
6a88c16dea Use wait_for_process() to wait for processes created with simple_exec* 2009-11-24 10:12:45 -08:00
Asanka Herath
bf5b934b06 Include roken.h before including other Heimdal headers 2009-11-24 10:12:45 -08:00
Asanka Herath
d84119813e No AF_UNIX on Windows and no SIGPIPE and SIGXCPU 2009-11-24 10:12:44 -08:00
Asanka Herath
246e60891c NTMakefile for kadm5 port 2009-11-24 10:12:44 -08:00
Asanka Herath
21775167c4 No dirfd() support on Windows 2009-11-24 10:12:44 -08:00
Asanka Herath
588d1e081f Update hx509/NTMakefile
Better dependency management for generated files.
2009-11-24 10:12:44 -08:00
Asanka Herath
dd09636632 Move variable definitions above code
VC still doesn't deal with variable definitions mixed with code.
2009-11-24 10:12:44 -08:00
Asanka Herath
ffb0fdb9c6 Better dependencty tracking for hdb/NTMakefile and build tests 2009-11-24 10:12:44 -08:00
Asanka Herath
adab1b3cc1 Move HC_DEPRECATED_CRYPTO to front
The HC_DEPRECATED_CRYPTO macro is used as a storage class specifier
on Windows, and hence must be placed before the return type for a
function declaration.
2009-11-24 10:12:44 -08:00
Asanka Herath
c1a6ab1d55 Update hcrypto/NTMakefile 2009-11-24 10:11:16 -08:00
Asanka Herath
ce7d784648 Avoid using 'interface' as a variable name 2009-11-24 10:11:16 -08:00
Asanka Herath
72537c1f83 Update gssapi/NTMakefile 2009-11-24 10:11:16 -08:00
Asanka Herath
041b5c6292 Update asn/NTMakefile
Be explicit about dependencies.  A subsequent invocation of the NTMakefile
should correctly deduce dependencies for generated files instead of
assuming they are always out of date.
2009-11-24 10:11:16 -08:00
Asanka Herath
69554bf181 Use explicit-width integer types in krb5_types.h 2009-11-24 10:11:16 -08:00
Asanka Herath
85e2907c1c More changes to config.h.w32
Addition of :

NO_PIDFILES : We don't create PID files
NO_SIGPIPE, NO_SIGXCPU: These signals don't exist on Windows
NO_UNIX_SOCKETS: No AF_UNIX support

Also, ignore variable defintions when we are doing a preprocessor-only
run.
2009-11-24 10:11:16 -08:00
Asanka Herath
c08c411853 Add KRB4 and DIR_hdbdir to the FEATURE_DEFS list
Add version.h and heim_threads.h to the list of include files.
2009-11-24 10:11:16 -08:00