summaryrefslogtreecommitdiff
path: root/source4/heimdal_build
AgeCommit message (Collapse)AuthorFilesLines
2010-03-30s4-heimdal: for use of libreplace setegid and seteuidAndrew Tridgell1-0/+8
2010-03-30s4-heimdal: a better way of handling dirfd()Andrew Tridgell2-4/+9
This prevents us getting thousands of warnings about dirfd() on solaris
2010-03-29s4-waf: use the libreplace strerror_r if neededAndrew Tridgell2-1/+9
2010-03-27s4:heimdal_build Remove forced HAVE_STRERROR_RAndrew Bartlett1-4/+0
This just causes warnings, now upstream has a more complete fix.
2010-03-27s4:heimdal New files and supporting logic for heimdal updateAndrew Bartlett5-2/+30
2010-02-08s4:heimdal_build: allow flex-2.5.35:bison-2.4.1 to regenerate filesStefan Metzmacher1-1/+9
metze
2010-02-05s4:UID wrapper - Fix includesMatthias Dieter Wallnöfer1-9/+0
The includes of the UID wrapper headers werent't really efficient according to metze's post on the technical mailing list (http://lists.samba.org/archive/samba-technical/2010-February/069165.html). To achieve this move the "uid_wrapper.h" includes into "lib/util/unix_privs.c", "lib/util/util.c", "ntvfs/posix/pvfs_acl.c" and "ntvfs/unixuid/vfs_unixuid.c".
2010-02-05s4:Heimdal build - never require the NSS wrapper for Heimdal KerberosMatthias Dieter Wallnöfer1-5/+5
Disable the use of it in the heimdal code. Notice: This doesn't need to be ported upstream since it only affects the build in conjunction with s4.
2010-01-01heimdal_build: Explicitly specify 'YES' when enabling externalJelmer Vernooij1-4/+4
libraries.
2009-11-13s4:heimdal: import lorikeet-heimdal-200909210500 (commit ↵Andrew Bartlett2-1/+5
290db8d23647a27c39b97c189a0b2ef6ec21ca69)
2009-11-12s4:heimdal_build: allow flex-2.5.35 with bison-2.3Stefan Metzmacher1-0/+1
metze
2009-10-21S4: Building on a system with libintlTorgeir Lerkerød1-0/+5
Heimdal's internal buildsystem uses a different define for checking for libintl than what samba uses. LIBINTL vs HAVE_LIBINTL_H. Since changing heimdals defineswould brake dropin merges of heimdal. This is a simple workaround in line with others in heimdal_build catalog. Signed-off-by: Torgeir Lerkerød <torgeir.lerkerod@gmail.com> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-09-15s4:heimdal_build: fix one more problem with automatic dependeciesStefan Metzmacher1-1/+1
metze
2009-09-14s4:heimdal_build: fix the build with --enable-automatic-dependenciesStefan Metzmacher1-1/+1
We need to create the header file before we generate the source file. metze
2009-09-13s4:heimdal_build Fix build breakages caused by asn1compile changeAndrew Bartlett1-2/+1
The issue was that we referenced an asn1compile generated file by name, not by the subsystem is was generated by. Andrew Bartlett
2009-09-13s4:heimdal_build Love pointed me at the --one-code-file option to asn1_compileAndrew Bartlett1-32/+17
This new option avoids a lot of code that was used to intuit what files would be output by the compiler. Andrew Bartlett
2009-08-26s4:heimdal_build: lib/hcrypto/evp-aes-cts.o belongs to HEIMDAL_HCRYPTOStefan Metzmacher1-1/+1
metze
2009-08-05s4:heimdal_build: define HEIMDAL_LOCALEDIRStefan Metzmacher1-0/+1
metze
2009-08-05s4:heimdal: import lorikeet-heimdal-200908050050 (commit ↵Andrew Bartlett2-1/+40
8714779fa7376fd9f7761587639e68b48afc8c9c) This also adds a new hdb-glue.c file, to cope with Heimdal's uncondtional enabling of SQLITE. (Very reasonable, but not required for Samba4's use). Andrew Bartlett
2009-08-05make the UID_WRAPPER skip checks at runtimeAndrew Tridgell1-1/+5
This fixes two issues pointed out by Andrew. It adds a runtime uwrap_enabled() call that wraps the skips needed for uid emulation. It also makes the skip in the directory_create_or_exist() function only change the uid checking code, not the permissions code
2009-08-05added a uid_wrapper libraryAndrew Tridgell2-1/+7
This library intercepts seteuid and related calls, and simulates them in a manner similar to the nss_wrapper and socket_wrapper libraries. This allows us to enable the vfs_unixuid NTVFS module in the build farm, which means we are more likely to catch errors in the token manipulation. The simulation is not complete, but it is enough for Samba4 for now. The major areas of incompleteness are: - no emulation of setreuid, setresuid or saved uids. These would be needed for use in Samba3 - no emulation of ruid changing. That would also be needed for Samba3 - no attempt to emulate file ownership changing, so code that (for example) tests whether st.st_uid matches geteuid() needs special handling
2009-07-17Revert "s4:heimdal_build: predefine GSSAPI_DEPRECATED depending on the ↵Andrew Bartlett1-8/+0
compiler version" This is now handled correctly in the newly imported Heimdal This reverts commit 4a754d029b0eb229b23980aa4a80dae2b485a302.
2009-07-16s4:heimdal_build: predefine GSSAPI_DEPRECATED depending on the compiler versionStefan Metzmacher1-0/+8
Otherwise heimdal/lib/gssapi/gssapi/gssapi.h will just define it to __attribute__ ((deprecated)) which is not supported by all compilers we care about. This should fix the build on Tru64 metze
2009-07-16s4:heimdal_build: try to fix the build on systems without ifaddrs.hStefan Metzmacher2-0/+10
metze
2009-07-16s4:heimdal_build: tell heimdal we have inet_aton()Stefan Metzmacher1-0/+4
This should fix problems on Solaris. metze
2009-07-16s4:heimdal_build: try to fix the build on SolarisStefan Metzmacher1-0/+1
The problem seems to be #define flock rk_flock heimdal/../heimdal_build/replace.c: In function `rk_flock': heimdal/../heimdal_build/replace.c:64: error: storage size of 'lock' isn't known heimdal/../heimdal_build/replace.c:64: warning: unused variable `lock' metze
2009-07-15s4:heimdal_build: try to fix the build on SolarisStefan Metzmacher1-3/+1
We need the definition of 'struct flock'. metze
2009-07-15s4:heimdal: teach heimdal we have (v)aѕprintf in libreplaceBjörn Jacke1-0/+8
2009-07-15ѕ4:heimdal: teach heimdal that we have strnlen via libreplcaeBjörn Jacke1-0/+4
2009-07-06s4:heimdal: readd heimdal/lib/asn1/asn1parse.y which was parse.y before the ↵Stefan Metzmacher1-2/+2
last import Also commit the regenerated files for systems without yacc and lex. This fixes the build with automatic dependecies for me. metze
2009-06-12s4:heimdal: import lorikeet-heimdal-200906080040 (commit ↵Andrew Bartlett2-9/+11
904d0124b46eed7a8ad6e5b73e892ff34b6865ba) Also including the supporting changes required to pass make test A number of heimdal functions and constants have changed since we last imported a tree (for the better, but inconvenient for us). Andrew Bartlett
2009-06-09work around conflict in pidfile() prototype for heimdal on NetBSD5Andrew Tridgell1-0/+7
2009-06-08s4:heimdal: fix build on FreeBSDBjörn Jacke1-1/+1
Patch from Timur I. Bakeyev sent to samba-technical: Heimdal requires openpty() presence. FreeBSD has in in standard libc, so autodetection works, but compilation fails, as declaration of this function is missing. This patch adds proper header detection and inclusion for openpty().
2009-03-26s4:heimdal_build: provide heimdal_version and heimdal_long_version symbolsStefan Metzmacher2-0/+7
metze
2009-03-26s4:heimdal_build: define HAVE_STRLCPY, HAVE_STRLCAT, HAVE_STRCASECMP and ↵Stefan Metzmacher1-0/+16
HAVE_MKSTEMP metze
2009-02-26s4:heimdal_build: correrctly switch closefrom() and get/setprogname() ↵Stefan Metzmacher1-4/+6
replacements on and off metze
2009-02-26s4:heimdal_build: don't always build setprogname.oStefan Metzmacher2-17/+34
This hopefully fixes the build on Mac OS 10, where setprogname() is available via libc. asn1_compile and compile_et use only .ho files again and don't use socket_wrapper anymore. metze
2009-02-25s4: make libintl a build dependency of heimdal_krb5 so all dependent ↵Tim Prouty1-1/+1
binaries are linked properly
2009-02-25s4 heimdal: Link libintl correctlyTim Prouty1-0/+6
2009-02-24Start fixing Solaris build failures.Jeremy Allison1-1/+2
Jeremy.
2009-01-31s4:heimdal_build: fix the build of asn1_compile and compile_etStefan Metzmacher1-4/+2
We should not link in heimdal_build/replace.ho twice. HEIMDAL_ROKEN has everything we need.... metze
2009-01-30s4:heimdal_build: heimdal requires u_int32_t and u_charStefan Metzmacher1-0/+3
metze
2009-01-30Revert "s4:heimdal_build: include "system/network.h" via config.h wrapper"Stefan Metzmacher1-1/+0
This reverts commit 334c6e6b78de8529fce0061efd5249f8fe2d256f. This breaks the build later in the ntvfs code... metze
2009-01-30s4:heimdal_build: add a dummy define for dirfd()Stefan Metzmacher1-0/+4
metze
2009-01-30s4:heimdal_build: include "system/network.h" via config.h wrapperStefan Metzmacher1-0/+1
This fixes build problems on Tru64. metze
2009-01-30heimdal: don't include <sys/cdefs.h> without knowing it's thereStefan Metzmacher1-0/+11
metze
2008-11-02Use standard heimdal function for finding interfaces - libreplace provides ↵Jelmer Vernooij2-33/+1
support for the underlying functions now.
2008-10-20Make sure prototypes are always included, make some functions static andJelmer Vernooij1-1/+2
remove some unused functions.
2008-10-20Fix merged build; use full libroken rather than just a couple of object files.Jelmer Vernooij1-9/+2
2008-10-20Add samba4kpasswd and rkpty binariesAndrew Bartlett2-7/+36
smaba4kpasswd will be used to test the kpasswdd componet of the KDC (which is up until now untested), and rkpty is an expect-like wrapper we can use to blackbox that utility. Andrew Bartlett