summaryrefslogtreecommitdiffstats
path: root/kerberos5
Commit message (Collapse)AuthorAgeFilesLines
* MFC r318514-r318515, r318517, r318917delphij2017-05-311-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r318514: Use size_t. Inspired by: OpenBSD src/lib/libc/stdlib/qsort.c,v 1.11 r318515: The current qsort(3) implementation ignores the sizes of partitions, and always perform recursion on the left partition, then use a tail call to handle the right partition. In the worst case this could require O(N) levels of recursions. Reduce the possible recursion level to log2(N) by always recursing on the smaller partition instead. Obtained from: PostgreSQL 9d6077abf9d6efd992a59f05ef5aba981ea32096 r318517: Sync qsort.c with userland r318515. (Note that MIN macro is removed in favor of sys/param.h's version). PR: 213922 r318917: Disconnect heimdal version of qsort.c from build because we are already using libc's version of qsort. PR: bin/213922
* MFC r314657:ngie2017-05-3012-17/+17
| | | | | | kerberos5: normalize paths using SRCTOP-relative paths or :H when possible This simplifies make logic/output
* MFC r311114:ngie2017-01-091-1/+7
| | | | Build libexec/kadmind when MK_GSSAPI != no because it requires gssapi
* MFC r311112,r311115:ngie2017-01-092-3/+13
| | | | | | | | | | | | r311112: libgssapi_{krb5,ntlm,spnego} requires MK_GSSAPI != no; conditionalize their building on the knob r311115: Conditionalize adding ${KRB5DIR}/lib/gssapi/krb5/gkrb5_err.et to ETSRCS if MK_GSSAPI != "no"
* DIRDEPS_BUILD: Update dependenciesbdrewery2016-06-141-0/+1
| | | | | Approved by: re (gjb) Sponsored by: EMC / Isilon Storage Division
* Define targets in same order as .ORDERbdrewery2016-06-141-1/+1
| | | | | | | This is a NOP but is done for style and to reduce confusion. Approved by: re (implicit) Sponsored by: EMC / Isilon Storage Division
* WITH_META_MODE: Don't expect meta files for side-effect generated files.bdrewery2016-06-035-0/+15
| | | | | | | | | The first file in these lists will generate everything else so only it should be getting a .meta file. With bmake's missing=yes meta feature these would otherwise cause a rebuild without the .NOMETA hint. Sponsored by: EMC / Isilon Storage Division
* DIRDEPS_BUILD: Connect new directories and update dependencies.bdrewery2016-06-031-1/+0
| | | | Sponsored by: EMC / Isilon Storage Division
* Remove the old depend (mkdep) code and make FAST_DEPEND the one true way.bdrewery2016-03-301-2/+0
| | | | | | | Reviewed by: emaste, hselasky (partial), brooks (brief) Discussed on: arch@ Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D5742
* We don't have a CPPFLAGS, COPTS or CPUFLAGS.bdrewery2016-03-261-1/+0
| | | | Sponsored by: EMC / Isilon Storage Division
* DIRDEPS_BUILD: Regenerate without local dependencies.bdrewery2016-02-2423-2663/+0
| | | | | | | | These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division
* FAST_DEPEND: Always run depend via beforebuild which removes many hacks.bdrewery2016-02-244-16/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will generate dependencies rather than depending on the previous behavior of depending on the guessed OBJS: *.h dependecies or a user running 'make depend'. Experimentation showed that depending only on headers was not enough and prone to .ORDER errors. Downstream users may also have added dependencies into beforedepend or afterdepend targets. The safest way to ensure dependencies are generated before build is to run 'make depend' beforehand rather than just depending on DPSRCS+SRCS. Note that the OBJS_DEPEND_GUESS mechanism (a.k.a .if !exists(.depend) then foo.o: *.h) is still useful as it improves incremental builds with missing .depend.* files and allows 'make foo.o' to usually work, while this 'beforebuild: depend' ensures that the build will always find all dependencies. The 'make foo.o' case has no means of a 'beforebuild' hook. This also removes several hacks in the DIRDEPS_BUILD: - NO_INSTALL_INCLUDES is no longer needed as it mostly was to work around .ORDER problems with building the needed headers early. - DIRDEPS_BUILD: It is no longer necesarry to track "local dependencies" in Makefile.depend. These were only in Makefile.depend for 'clean builds' since nothing would generate the files due to skipping 'make depend' and early dependency bugs that have been fixed, such as adding headers into SRCS for the OBJS_DEPEND_GUESS mechanism. Normally if a .depend file does not exist then a dependency is added by bsd.lib.mk/bsd.prog.mk from OBJS: *.h. However, meta.autodep.mk creates a .depend file from created meta files and inserts that into Makefile.depend. It also only tracks *.[ch] files though which can miss some dependencies that are hooked into 'make depend'. This .depend that is created then breaks incremental builds due to the !exists(.depend) checks for OBJS_DEPEND_GUESS. The goal was to skip 'make depend' yet it only really works the first time. After that files are not generated as expected, which r288966 tried to address but was using buildfiles: rather than beforebuild: and was reverted in r291725. As noted previously, depending only on headers in beforebuild: would create .ORDER errors in some cases. meta.autodep.mk is still used to generate Makefile.depend though via: gendirdeps: Makefile.depend .END: gendirdeps This commit allows removing all of the "local dependencies" in Makefile.depend which cuts down on churn and removes some of the arch-dependent Makefile.depend files. The "local dependencies" were also problematic for bootstrapping. Sponsored by: EMC / Isilon Storage Division
* DIRDEPS_BUILD: Add some missing build dependencies for kerberos5.bdrewery2016-02-2423-0/+27
| | | | Sponsored by: EMC / Isilon Storage Division
* DIRDEPS_BUILD: Update dependencies.bdrewery2015-12-078-8/+0
| | | | Sponsored by: EMC / Isilon Storage Division
* META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.bdrewery2015-11-2517-17/+0
| | | | | | | | This both avoids some dependencies on xinstall.host and allows bootstrapping on older releases to work due to lack of at least 'install -l' support. Sponsored by: EMC / Isilon Storage Division
* Partially revert r288266: Remove SUBDIR_PARALLEL from kerberos5/lib.bdrewery2015-10-131-1/+0
| | | | | | I intended to remove this before committing r288266. It works but is clearly wrong and working by accident due to the dependencies listed in the root Makefile.inc1 file.
* Add more SUBDIR_PARALLEL.bdrewery2015-09-266-1/+9
| | | | | MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division
* Remove unneeded dependency of '.o: .h' that bsd.prog.mk already handles.bdrewery2015-09-245-15/+5
| | | | | | MFC after: 2 weeks X-MFC-With: r288198 Sponsored by: EMC / Isilon Storage Division
* Add missing CLEANFILES.bdrewery2015-09-246-0/+12
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Remove unneeded dependency line.bdrewery2015-09-241-3/+1
| | | | | | | bsd.prog.mk adds 'ktutil-commands.o: ktutil-commands.h' already. MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Move setting of LDFLAGS to the modules which require it actually, asume2015-08-275-1/+4
| | | | other kerberos5 modules do so.
* Make it buildable with WITH_OPENLDAP, again.ume2015-08-272-2/+4
| | | | MFC after: 1 week
* Fix a typo introduced in r262209.jkim2015-06-181-1/+1
| | | | MFC after: 3 days
* new dependssjg2015-06-167-0/+8
|
* Add META_MODE support.sjg2015-06-1352-1/+4097
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * Explain why NO_BEFOREBUILD_INCLUDES is neededsjg2015-06-101-0/+3
| |
| * Explain why NO_BEFOREBUILD_INCLUDES is neededsjg2015-06-101-0/+3
| |
| * Explain why NO_BEFOREBUILD_INCLUDES is neededsjg2015-06-101-0/+3
| |
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-0849-98/+0
| |
| * Merge sync of headsjg2015-05-2780-218/+106
| |\
| * \ Merge from head@274682sjg2014-11-1930-61/+5
| |\ \
| * \ \ Merge head from 7/28sjg2014-08-1936-10/+64
| |\ \ \
| * | | | Supress beforebuild dependency on buildincludessjg2014-05-163-1/+8
| | | | |
| * | | | Updated dependenciessjg2014-05-1647-9/+56
| | | | |
| * | | | Updated dependenciessjg2014-05-109-0/+18
| | | | |
| * | | | Merge from headsjg2014-05-081-1/+1
| |\ \ \ \
| * \ \ \ \ Merge headsjg2014-04-2815-25/+40
| |\ \ \ \ \
| * | | | | | Updated dependenciessjg2013-10-1328-0/+134
| | | | | | |
| * | | | | | Merge headsjg2013-09-116-11/+10
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge from headsjg2013-09-051-4/+28
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ sync from headsjg2013-04-121-1/+1
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Updated dependenciessjg2013-03-1145-0/+45
| | | | | | | | | |
| * | | | | | | | | Updated dependenciessjg2013-02-1650-100/+0
| | | | | | | | | |
| * | | | | | | | | Sync with HEAD.obrien2013-02-081-9/+1
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | We need headers from ${KRB5DIR}/include toosjg2012-11-081-1/+2
| | | | | | | | | | |
| * | | | | | | | | | Fix .ORDER to not conflict with captured dependenciessjg2012-11-081-1/+1
| | | | | | | | | | |
| * | | | | | | | | | Updated/new Makefile.dependsjg2012-11-0819-0/+102
| | | | | | | | | | |
| * | | | | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-2253-3/+3912
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | | | | | Misc fixes from projects/bmakesjg2015-06-112-2/+3
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Differential Revision: D2748 Reviewed by: brooks imp
* | | | | | | | | | Make kerberos use the same sqlite libraries as other sqlite consumer.bapt2015-05-203-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reduces the number of copy of sqlite we have to just one and easier tracking version of sqlite Differential Revision: https://reviews.freebsd.org/D2443 Reviewed by: imp, stas, bjk
OpenPOWER on IntegriCloud