Commit Graph

810 Commits

Author SHA1 Message Date
Nicolas Williams
6dd66df594 Make master build on Windows
Add strtoll()/strtoull() to lib/roken
    Add stdint.h to lib/roken (Windows only)
    Add logic to detect whether to use lib/roken's stdint.h based on
        Visual Studio version
    Add include of stdint.h in generated ASN.1 code
    Export missing symbols for 64-bit integers in lib/asn1
    Export missing symbols for FAST
    Add missing sources to kdc/NTMakefile
    Fix issue in kuserok
    Fix bsearch issues
2012-01-17 12:10:14 -06:00
Nicolas Williams
8aa248370f Make the build system make and install section 7 manpages 2011-12-21 15:43:56 -06:00
Love Hörnquist Åstrand
376181632b handle &&, from Jaideep Padhye 2011-11-20 09:55:15 -08:00
Love Hörnquist Åstrand
660d996dbf set compile-et to no if its not found, try to not use it 2011-11-20 09:55:15 -08:00
Love Hörnquist Åstrand
d576ee3866 add glue for silent-rules 2011-11-13 10:01:40 -08:00
Love Hornquist Astrand
240b298e61 Simplify base/section rules, patch from David R Boldt 2011-09-29 13:52:06 +02:00
Nicolas Williams
1de3db5678 Make getpwnam_r() check work on Ubuntu
NULL is not defined w/o including stddefs.h, so the test program
    fails to compile.  A simple s/NULL/0/ fixes it.
2011-09-27 17:32:11 -05:00
Nicolas Williams
cdceea1b3e Revert "A simple (but wrong?) fix for Solaris build issues"
This reverts commit 6a7f2a5b2e.
2011-09-27 16:05:34 -05:00
Nicolas Williams
e927695a5d Better fix for the Solaris getpwnam_r() build issue 2011-09-27 16:05:03 -05:00
Nicolas Williams
6a7f2a5b2e A simple (but wrong?) fix for Solaris build issues 2011-09-27 01:59:44 -05:00
Love Hornquist Astrand
8e455dc774 dont use initstate/setstate 2011-09-21 17:38:21 +02:00
Love Hornquist Astrand
a2256e00d8 use __deprecated__ 2011-09-19 11:10:51 +02:00
Love Hornquist Astrand
57d468518f fix __has_extension macro to take an argument 2011-09-11 18:30:45 +02:00
Love Hornquist Astrand
4b0087fd4a use __has_extension(attribute_deprecated_with_message) if it exists 2011-09-09 14:16:48 +02:00
Love Hörnquist Åstrand
5c262dd3d3 set COMPILE_ET to the found binary at the end if we are using it 2011-08-28 16:19:19 -07:00
Love Hörnquist Åstrand
ee58c256f4 remove krb4 bits 2011-08-10 09:16:51 -07:00
Jelmer Vernooij
0b3c720c01 cf: Also enable pthreads on Linux 3.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2011-07-23 09:22:51 -07:00
Thomas Klausner
97df66c0a0 Put Nd argument after Nd macro.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2011-05-21 11:54:27 -07:00
Love Hornquist Astrand
305596d9ad Rename subsystem_DEPRECATED to subsystem_DEPRECATED_FUNCTION(X)
Start to explain what the replacement function is.
Generate the #define/#undef logic in generated header files.
Use gcc style where the deprecation warning is after the prototype.
2011-05-17 23:12:51 -07:00
Love Hornquist Astrand
01f0a1f509 move tsearch.c to autodetection for libroken.la 2011-05-17 21:47:02 -07:00
Derrick Brashear
2a32bf67f0 Add tsearch and friends, and a test program
tsearch is missing from windows. use the netbsd version as it's
license-compatible.
2011-04-08 15:15:36 +01:00
Nicolas Williams
9cbe3298d7 Second attempt to make DB selection saner.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2011-04-04 22:44:57 -07:00
Nicolas Williams
6a836fc939 First attempt to make DB selection saner.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2011-04-04 22:44:57 -07:00
Love Hornquist Astrand
9ef071c94e replace libeditline with libedit 2011-03-13 14:18:14 -07:00
Asanka C. Herath
0e0fba8866 Windows: Detect VC version instead of hardcoding it 2010-11-29 10:41:44 -05:00
Asanka C. Herath
d267f208ae Windows: Fix argument matching for perl scripts 2010-11-24 15:33:05 -05:00
Asanka C. Herath
9f589500dc Windows: Modifications to generate generic .def files from DLLs 2010-11-24 15:32:58 -05:00
Asanka C. Herath
9bb59e45c6 Deal with backslash delimited paths in make-proto.pl 2010-11-24 15:32:44 -05:00
Asanka C. Herath
d98e72bc62 Windows: Build Texinfo documentation as compiled HTML 2010-11-24 15:32:30 -05:00
Asanka C. Herath
182e20d6f3 Add copyrights to w32 scripts 2010-11-24 15:32:28 -05:00
Joerg Pulz
b1bbd18686 fix FreeBSD PTHREAD_LIBADD
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-10-31 00:28:24 -07:00
Love Hornquist Astrand
8ddc462ec1 Add heimbase 2010-10-18 15:00:34 -07:00
Love Hornquist Astrand
6cdf8104f7 do is deprecated, so lets stop using it 2010-10-02 12:05:41 -07:00
Asanka Herath
55b0f00d5e Windows: Check for DATA symbols when scanning .obj files
The export symbol list for ASN.1 on Windows is generated by scanning
all the .obj files and extracting the symbols defined in them.  The
generated list did not specify which were functions and which were
data symbols.  This distinction is necessary for generating correct
import library stubs.
2010-09-14 08:03:34 -04:00
Eray Aslan
a1c14b2319 Add --with-berkeley-db-include option
Adds --with-berkeley-db-include=dir option to configure to use berkeley
db headers in dir.  Default is to let configure check.  Also adds
support for checking for and using db5/db.h

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-09-05 18:41:30 -07:00
Asanka Herath
38f3c4d20a Windows: Note that the .def files are generated 2010-08-20 16:52:46 -04:00
Asanka Herath
fbf3864422 Windows: Script for generating exports lists for shim layer
This script analyzes the export lists for MIT Kerberos for Windows,
export lists for Heimdal DLLs and the symbol lists from the shim code
and generates the appropriate export definition (.DEF) files.

.DEF files that are generated are committed to the source tree because
otherwise having MIT KfW DLLs around would be a build requirement.  If
there is any change to the shim code, the export .DEF files should be
rebuilt using:

  nmake /f NTMakefile DEV=1 gen-defs

.. from the packages/windows/kfw_shim directory.  The new .DEF files
should then be commited.
2010-08-20 13:14:18 -04:00
Asanka Herath
ba44354336 Windows: Check exported symbols
During a test run, cross check the Windows exports list against the
version-script files.  For the test to pass, all symbols on either
list should be accounted for.

If there are symbols that are specific to Windows or symbols that are
not included on Windows, they should be annotated in the .def file as
follows:

    ;!  non_windows_symbol

    	common_symbol

        windows_only_symbol ;!
2010-08-20 13:06:55 -04:00
Love Hornquist Astrand
fea82013eb Check for dd_fd in DIR not struct dirent
Pointed out by Ragnnar Sundblad in private mail
2010-03-21 08:58:33 -07:00
Love Hornquist Astrand
94a8d9c5e5 autoconf test for dirfd and dd_fd 2010-02-25 22:18:32 -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
ec18315352 drop autobuild 2010-02-18 19:08:24 -08:00
Love Hornquist Astrand
ce1846a573 its really just LIBADD more most of them 2009-12-17 10:43:49 +01:00
Love Hornquist Astrand
1b6d89c457 correct quoting 2009-12-17 10:15:24 +01:00
Love Hornquist Astrand
c0b1bab378 Use -lpthread for modern freebsd instead 2009-12-17 10:10:13 +01:00
Love Hornquist Astrand
50b48daa9b use PTHREADS_LIBADD for freebsd6 and newer 2009-12-17 09:26:28 +01:00
Love Hornquist Astrand
85327d6242 freebsd supports pthreads 2009-12-13 22:47:23 -08:00
Love Hornquist Astrand
6dcf1c947b Try handle strerror_r more correct 2009-12-13 12:01:31 -08:00
Brian May
87d30c0e23 glue for strsvisx 2009-11-29 21:47:29 -08:00
Love Hornquist Astrand
48d68a3815 define rk_PATH_DELIM 2009-11-25 02:02:10 +01:00