summaryrefslogtreecommitdiff
path: root/source4/heimdal_build/config.h
AgeCommit message (Collapse)AuthorFilesLines
2010-10-25s4-waf: don't generate PACKAGE_* defines in config.hStefan Metzmacher1-0/+8
- We don't use them anywhere (heimdal has special rules) - They calculate the version at configure time and may contain the wrong git hash while building - If we really need them in future we should add them to version.h and not config.h, as the changing git hash will trigger a full rebuild if config.h changes. metze
2010-10-03s4-heimdal_build fix up build after heimdal importAndrew Bartlett1-0/+5
Heimdal has it's own dynconfig like system, and so we need the LIBDIR etc in the CFLAGS here. We also need to define build rules for the new files imported in the merge commit, and fix up some header files. This includes the work by Matthieu Patou <mat@matws.net> Andrew Bartlett
2010-05-14s4:heimdal_build: move #undef __APPLE__ to the end of roken.hStefan Metzmacher1-5/+0
Some system includes need __APPLE__ defined. metze
2010-05-12s4:heimdal_build: undefine __APPLE__ as we don't need that magicStefan Metzmacher1-0/+5
This hopefully fixes the build on Mac OS 10. metze
2010-03-30s4-heimdal: a better way of handling dirfd()Andrew Tridgell1-4/+0
This prevents us getting thousands of warnings about dirfd() on solaris
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 Bartlett1-0/+4
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".
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-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 Tridgell1-0/+5
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-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
2008-09-16Make Samba 3 and Samba 4 both use the same single copy of libreplace.Jelmer Vernooij1-1/+1
2008-06-25Undefine HAVE_KRB5_ENCRYPT_BLOCK because Heimdal really doesn't have it.Jelmer Vernooij1-0/+2
(This used to be commit 55a6e852c77ffb91d2e0a0503dab06214f675db8)
2008-03-19Supply HDB_DB_DIR macroAndrew Bartlett1-0/+2
While we don't use the default HDB directories, the code needs this macro defined. Andrew Bartlett (This used to be commit b5dbdef1580a58c0f208e83491946391cd08e570)
2007-10-10r20803: fix compiler warning about extra semicolonStefan Metzmacher1-1/+1
metze (This used to be commit 1feae45f283decff5c47dcc44349af128df3add5)
2007-10-10r20773: we need to include config.h and replace.h before we can use #ifdef ↵Stefan Metzmacher1-3/+3
statements hopefully fix the build on solaris 9 metze (This used to be commit 65ba2920a176c9d4ee77e381cf8f11bd0546e63c)
2007-10-10r20639: Commit part 1 of 2.Andrew Bartlett1-0/+7
This patch updates our build system and glue to support a new snapshot of lorikeet-heimdal. We now procude a [SUBSYTEM] in the ans1_deps.pl script, and can depend on that in the heimdal_build/config.mk. This is much easier than listing every generated .o file individually. This required some small changes to the build system, due to the way the parent directory was handled for the output of scripts. I've also cleaned up et_deps.pl to handle cleaning up it's generated files on clean. The PAC glue in Heimdal has changed significantly: we no longer have a custom hack in the KDC, instead we have the windc plugin interface. As such, pac-glue.c is much smaller. In the future, when I'm confident of the new code, we will also be able to 'downsize' auth/kerberos/kerberos_pac.c. (I'll include the updated copy of heimdal in the next chekin, to make it clearer what's changed in Samba4 itself). Andrew Bartlett (This used to be commit 75fddbbc0811010a28ca5bb597b573b3f10ef6d6)
2007-10-10r18210: - reenable autodependenciesStefan Metzmacher1-1/+1
- and add -MT $@ to the dependency generation to notice changes in depdendecies of header files you may need a 'make clean' or at least you need to remove heimdal_build/replace.hd metze (This used to be commit 5ecf98cc189039023ff0a97f43eba7fb2c2cdc46)
2007-10-10r18203: rearranged the overrides in heimdal_build/*.h to avoid the use ofAndrew Tridgell1-32/+3
heimdal_build/config.h from interfering with libreplace This is a workaround for the fact that with the current CFLAGS and dependencies system, -Iheimdal_build is put at the front of the includes list, which means it overrides the normal config.h (This used to be commit 84335903ceaf2242e43a0c5464e33408daec44b4)
2007-10-10r18202: moved the overrides for HAVE_xxx from heimdal_build/config.h toAndrew Tridgell1-23/+0
heimdal_build/roken.h This is a workaround for the fact that with the current CFLAGS and dependencies system, -Iheimdal_build is put at the front of the includes list, which means it overrides the normal config.h (This used to be commit dc2580f0fd67687cbe4b590a7fed9fde0db4a4a0)
2007-10-10r18154: try to get the heimdal_build code to use libreplace in a better wayAndrew Tridgell1-11/+1
(chasing down build failures ...) added showflags as part of 'all' target, which makes tracking down problems easier in the build farm (This used to be commit d52aaccdf8a537dc8de8db7c30ff0ab076c4c63f)
2007-10-10r18031: Merge my replace fixes:Jelmer Vernooij1-0/+2
* libreplace can now build stand-alone * add stub testsuite for libreplace * make talloc/tdb/ldb use libreplace (This used to be commit fe7ca4b1454e01a33ed0d53791ebffdd349298b4)
2007-10-10r15221: We don't need to have these rcsid strings in Samba's use of Heimdal.Andrew Bartlett1-2/+1
Andrew Bartlett (This used to be commit b2649aaf399e6ff8d3e749b21cf64ea5e089e5cb)
2007-10-10r12899: - fix warnings on AIXStefan Metzmacher1-0/+3
- fix compilation of auth/kerberos/krb5_init_context.c on AIX metze (This used to be commit 0e1ad08a8515056f4ed0923889bef04d85b84964)
2007-10-10r12269: Update to current lorikeet-heimdal. This changed the way the hdbAndrew Bartlett1-0/+3
interface worked, so hdb-ldb.c and the glue have been updated. Andrew Bartlett (This used to be commit 8fd5224c6b5c17c3a2c04c7366b7e367012db77e)
2007-10-10r10510: Decrease the amount of data included by includes.h a bitJelmer Vernooij1-0/+4
(This used to be commit 03647e1321cf6c9bd6ced3945265f635e9468973)
2007-10-10r10507: Let lib/replace take care of defining socklen_t for heimdalJelmer Vernooij1-0/+4
(This used to be commit fe4ff2d241691bece7f9c8fc766f57a14fe856bb)
2007-10-10r10476: Move some more types to libreplace. Fix missing strndup errorsJelmer Vernooij1-0/+4
for heimdal (This used to be commit e09ffdfb1dba289b79ac7e5a638bf5322d45ddc0)
2007-10-10r9473: - assume the case that happens on most boxes, to remove compiler ↵Stefan Metzmacher1-0/+5
warnings on them metze (This used to be commit 3b83cf6b5bae877cf7c6a858683bc6fe781ad104)
2007-10-10r9369: an attempt to fix the build on HPUX. This is based on work by DonAndrew Tridgell1-0/+5
McCall, but takes a slightly different approach that I hope will be more generic (This used to be commit e8260a81cf99be2ccae64135ca0572c8a6ae62ad)
2007-10-10r8461: fixed integer64 handling on bit endian platforms. The ejs code usedAndrew Tridgell1-1/+0
%Ld, which is an invalid format code. This will probably cause problems on systems that don't have %lld, but do have a working snprintf otherwise. We will need to expand the snprintf configure test to make sure we replace snprintf on those platforms (This used to be commit ccc87eb8aaf571d91170555a732d287746b3430f)
2007-10-10r8450: more configure tests for solaris. It now builds some binaries, butAndrew Tridgell1-0/+5
fails in the ejs floating point code. (This used to be commit 30e1b6140e9f6246cb66eef7cf108d1ccf62bd40)
2007-10-10r8424: bring in some more of heimdals m4 macros, and remove the hard-coding ↵Andrew Tridgell1-8/+0
of several test results (This used to be commit b173c938b2ced061ee341831e96001455fbf83d1)
2007-10-10r8420: slowly getting my way through some more heimdal portability fixesAndrew Tridgell1-4/+0
(This used to be commit 59c3de6ca8b8e153e5cfd67da5f2afc2e23d36db)
2007-10-10r8419: in order to use our replace.h, heimdal needs stdarg.hAndrew Tridgell1-0/+1
(This used to be commit 234fc1fb052fe6a2cef47861b13bdd82b57fc49b)
2007-10-10r8278: this should fix the heimdal h_errno warningsAndrew Tridgell1-1/+0
(This used to be commit 5812e74c4f2b95eec89b434371c86268892feaac)
2007-10-10r7688: Fix the internal heimdal build - push one #define back toAndrew Bartlett1-0/+1
heimdal_build/config.h Andrew Bartlett (This used to be commit 337cb20ac45c95b8a6d0c90dfef4bdac591ba39a)
2007-10-10r7682: Move the properties of our heimdal build from heimdal_build/config.hAndrew Bartlett1-108/+0
(which gets included by heimdal, or shoudl be) into auth/kerberos/kerberos.h (which is used by Samba, but not by the Heimdal code). Andrew Barteltt (This used to be commit 3f473a93778b1350df3f7aac07b64008988a059d)
2007-10-10r7509: With the update to Heimdal 20050612 we no longer need krb5_freelog(),Andrew Bartlett1-2/+0
as krb5_closelog() no longer leaks memory. Andrew Bartlett (This used to be commit b0bf8a4a5f04b65655f4005b27c80eb098039720)
2007-10-10r7367: Replace the list of what our internal heimdal can do with data from aAndrew Bartlett1-17/+107
real install. (ie run ./configure against heimdal installed, and record the output). Andrew Bartlett (This used to be commit 4cba1edd5cdb9797288cbcc5405eb1f5cae7182d)
2007-10-10r7352: the internal heimdal build change. This changes quite a few things:Andrew Tridgell1-5/+42
- if you want kerberos now, you need to unpack a lorikeet heimdal tree in source/heimdal/. If source/heimdal/ does not exist at configure time then all kerberos features are disabled. You cannot use an external kerberos library for now. That may change later. - moved lib/replace/ config stuff to lib/replace/ and create a lib/replace/replace.h. That allows the heimdal build to use our portability layer, and prevenets duplicate definitions of functions like strlcat() - if you do enable heimdal, then you will need to do 'make HEIMDAL_EXTERNAL' before you build Samba. That should be fixed once I explain the problem to jelmer (the problem is the inability to set a depend without also dragging in the object list of the dependency. We need this for building the heimdal asn1 compiler and et compiler. - disabled all of the m4 checks for external kerberos libraries. I left them in place in auth/kerberos/, but disabled it in configure.in some of the heimdal_build/ code is still very rough, for example I don't correctly detect the correct awk, flex, bison replacements for heimdal_build/build_external.sh. I expect to fix that stuff up over the next few days. (This used to be commit d4648249b2c7fc8b5e7c0fc8d8f92ae043b5691f)
2007-10-10r7322: the beginnings of a in-tree heimdalAndrew Tridgell1-0/+38
(This used to be commit e6a2174050bb55afb32d54b8cfe12c7358bf98f2)