Commit Graph

790 Commits

Author SHA1 Message Date
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
Asanka Herath
c9fdd77bc8 probe exported symbols
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-11-24 12:30:24 -08:00
Asanka Herath
d6f90d3ef5 probe exported symbols
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-11-24 12:30:17 -08:00
Love Hornquist Astrand
607bae3c9e glue in working autoconf logic 2009-11-21 22:58:59 -08:00
Love Hornquist Astrand
d50689ec8b fake rk_LIBDISPATCH for now 2009-11-21 16:26:07 -08:00
Love Hornquist Astrand
ee4afc8060 add block support 2009-11-21 10:25:08 -08:00
Love Hornquist Astrand
2b4b9a613e require com_right_r 2009-11-03 22:21:34 -08:00
Love Hornquist Astrand
63e865e500 Fix quoting for [], reported by Klas Heggemann 2009-10-13 23:44:44 -07:00
Love Hornquist Astrand
fb35ca4026 detect strerror_r and if not there, provide it 2009-10-12 09:01:55 -07:00
Love Hornquist Astrand
1e9ec73bbc [HEIMDAL-646] aix
AIX qsort() is unstable and might change the order of the elements
if they are equal, libwind require them to be in the same order as they were
on the input, pull in FreeBSD qsort and use that instead of AIX version.
2009-10-11 15:08:58 -07:00
Love Hornquist Astrand
f960c129b5 add missing ] 2009-09-26 15:24:55 -07:00
Love Hornquist Astrand
d1a46017f0 allow cross compiling TRY_RUN target (assume getaddrinfo is sane) 2009-09-26 15:22:39 -07:00
Love Hornquist Astrand
9d206b1654 allow cross compiling TRY_RUN target ( 2009-09-26 15:21:14 -07:00
Love Hornquist Astrand
f68a1bfb1a use maybe-valgrind.sh 2009-09-21 09:38:10 -07:00
Love Hornquist Astrand
7016cb579f try checking if we should run libtool/valgrind or not 2009-09-21 09:37:55 -07:00
Love Hornquist Astrand
c4192ba355 use = to between type and argument to be less confusing 2009-09-20 21:59:37 -07:00
Love Hornquist Astrand
043897bba4 remove ROKEN_VERSION 2009-09-20 01:36:42 -07:00
Love Hornquist Astrand
80504759c1 include headers when we try to to find the symbols, since it might not be a variable... 2009-09-19 18:04:30 -07:00
Love Hornquist Astrand
cfafa64f83 Maybe include <netdn.h>, maybe include <ws2tcpip.h> 2009-09-19 17:53:56 -07:00
Love Hornquist Astrand
cadd62466b Maybe include <sys/socket.h> 2009-09-19 17:45:42 -07:00
Love Hornquist Astrand
fb0fc045c9 check for winsock2 2009-09-19 17:35:53 -07:00