summaryrefslogtreecommitdiff
path: root/kerberos5
Commit message (Collapse)AuthorAgeFilesLines
* Fix more -Wundef warnings during bootstrapAlex Richardson2020-10-141-1/+1
| | | | Notes: svn path=/head/; revision=366699
* Fix a noisy -Wundef warning when bootstrapping toolsAlex Richardson2020-09-101-1/+1
| | | | Notes: svn path=/head/; revision=365581
* Update Makefile.depend filesSimon J. Gerraty2019-12-1113-14/+0
| | | | | | | | | | | | | Update a bunch of Makefile.depend files as a result of adding Makefile.depend.options files Reviewed by: bdrewery MFC after: 1 week Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D22494 Notes: svn path=/head/; revision=355617
* Fix generation of krb5-config with LC_CTYPE=*.UTF-8Alex Richardson2019-07-011-1/+5
| | | | | | | | | | | When building on MacOS with a UTF-8 locale sed will fail when reading krb-config.in due to invalid characters. Forcing the "C" locale fixes this. Reviewed By: emaste, cy Differential Revision: https://reviews.freebsd.org/D16849 Notes: svn path=/head/; revision=349576
* Add WITH_PIE knob to build Position Independent ExecutablesEd Maste2019-02-152-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Building binaries as PIE allows the executable itself to be loaded at a random address when ASLR is enabled (not just its shared libraries). With this change PIE objects have a .pieo extension and INTERNALLIB libraries libXXX_pie.a. MK_PIE is disabled for some kerberos5 tools, Clang, and Subversion, as they explicitly reference .a libraries in their Makefiles. These can be addressed on an individual basis later. MK_PIE is also disabled for rtld-elf because it is already position-independent using bespoke Makefile rules. Currently only dynamically linked binaries will be built as PIE. Discussed with: dim Reviewed by: kib MFC after: 1 month Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D18423 Notes: svn path=/head/; revision=344179
* Use ${SRCTOP}/contrib/com_err/com_err.h instead of the installed com_err.h.Yoshihiro Takahashi2019-01-1420-18/+36
| | | | | | | | | | This fixes build when com_err.h is not installed. PR: 234691 MFC after: 1 week Notes: svn path=/head/; revision=343011
* Update the existing heimdal implementation for OpenSSL 1.1.John Baldwin2018-10-052-4/+4
| | | | | | | | | | | | | | | | | | | | Existing work is underway to import a newer version of heimdal, but this patchset gets us to a fully working tree to enable more wide spread testing of OpenSSL 1.1 for now. I've also enabled WARNS=1 for kerberos (which is the reason for the change in libroken). Having -Werror enabled was useful during the 1.1 updates and we probably should have warnings enabled by default for kerberos anyway. This passes make tinderbox, and I have also done some very light runtime testing on amd64. Reviewed by: bjk, jkim, emaste Differential Revision: https://reviews.freebsd.org/D17276 Notes: svn path=/projects/openssl111/; revision=339198
* krb5-config build: Remove gratuitous escapingKyle Evans2018-08-121-14/+14
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=337665
* Remove redundant space.Cy Schubert2018-07-101-1/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=336151
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-275-0/+10
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326276
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-3146-47/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Replace the include path using CURDIR with KRB5DIR. This is consistentCy Schubert2017-08-211-1/+1
| | | | | | | | | with the rest of the Makefiles in kerberos5/. MFC after: 1 week Notes: svn path=/head/; revision=322749
* Remove dead target introduced in r178828.Cy Schubert2017-08-061-3/+0
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=322113
* krb5_err.h is generated from a .et file in kerberos5/lib/libkrb5.Cy Schubert2017-08-061-1/+1
| | | | | | | | | | As kerberos5/lib/krb5 include files are already referenced it makes no sense to generate it again here. MFC after: 1 month Notes: svn path=/head/; revision=322112
* Remove trailing slash (/) for consistency.Cy Schubert2017-07-261-1/+1
| | | | Notes: svn path=/head/; revision=321504
* Disconnect heimdal version of qsort.c from build because we are alreadyXin LI2017-05-261-1/+0
| | | | | | | | | | | using libc's version of qsort. PR: bin/213922 MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D10814 Notes: svn path=/head/; revision=318917
* kerberos5: normalize paths using SRCTOP-relative paths or :H when possibleEnji Cooper2017-03-0412-17/+17
| | | | | | | | | | This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314657
* Conditionalize adding ${KRB5DIR}/lib/gssapi/krb5/gkrb5_err.et to ETSRCSEnji Cooper2017-01-021-1/+4
| | | | | | | | | if MK_GSSAPI != "no" MFC after: 1 week Notes: svn path=/head/; revision=311115
* Build libexec/kadmind when MK_GSSAPI != no because it requires gssapiEnji Cooper2017-01-021-1/+7
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=311114
* libgssapi_{krb5,ntlm,spnego} requires MK_GSSAPI != no; conditionalizeEnji Cooper2017-01-021-2/+9
| | | | | | | | | their building on the knob MFC after: 1 week Notes: svn path=/head/; revision=311112
* DIRDEPS_BUILD: Update dependenciesBryan Drewery2016-06-141-0/+1
| | | | | | | | Approved by: re (gjb) Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=301891
* Define targets in same order as .ORDERBryan Drewery2016-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 Notes: svn path=/head/; revision=301883
* WITH_META_MODE: Don't expect meta files for side-effect generated files.Bryan Drewery2016-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 Notes: svn path=/head/; revision=301285
* DIRDEPS_BUILD: Connect new directories and update dependencies.Bryan Drewery2016-06-031-1/+0
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=301283
* Remove the old depend (mkdep) code and make FAST_DEPEND the one true way.Bryan Drewery2016-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 Notes: svn path=/head/; revision=297434
* We don't have a CPPFLAGS, COPTS or CPUFLAGS.Bryan Drewery2016-03-261-1/+0
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297282
* DIRDEPS_BUILD: Regenerate without local dependencies.Bryan Drewery2016-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 Notes: svn path=/head/; revision=295989
* FAST_DEPEND: Always run depend via beforebuild which removes many hacks.Bryan Drewery2016-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 Notes: svn path=/head/; revision=295988
* DIRDEPS_BUILD: Add some missing build dependencies for kerberos5.Bryan Drewery2016-02-2423-0/+27
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295979
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2015-12-078-8/+0
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291972
* META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.Bryan Drewery2015-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 Notes: svn path=/head/; revision=291307
* Partially revert r288266: Remove SUBDIR_PARALLEL from kerberos5/lib.Bryan Drewery2015-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. Notes: svn path=/head/; revision=289251
* Add more SUBDIR_PARALLEL.Bryan Drewery2015-09-266-1/+9
| | | | | | | | MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288266
* Remove unneeded dependency of '.o: .h' that bsd.prog.mk already handles.Bryan Drewery2015-09-245-15/+5
| | | | | | | | | MFC after: 2 weeks X-MFC-With: r288198 Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288200
* Add missing CLEANFILES.Bryan Drewery2015-09-246-0/+12
| | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288199
* Remove unneeded dependency line.Bryan Drewery2015-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 Notes: svn path=/head/; revision=288198
* Move setting of LDFLAGS to the modules which require it actually, asHajimu UMEMOTO2015-08-275-1/+4
| | | | | | | other kerberos5 modules do so. Notes: svn path=/head/; revision=287216
* Make it buildable with WITH_OPENLDAP, again.Hajimu UMEMOTO2015-08-272-2/+4
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=287208
* Fix a typo introduced in r262209.Jung-uk Kim2015-06-181-1/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=284578
* new dependsSimon J. Gerraty2015-06-167-0/+8
| | | | Notes: svn path=/head/; revision=284481
* Add META_MODE support.Simon J. Gerraty2015-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 Notes: svn path=/head/; revision=284345
| * Explain why NO_BEFOREBUILD_INCLUDES is neededSimon J. Gerraty2015-06-101-0/+3
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284242
| * Explain why NO_BEFOREBUILD_INCLUDES is neededSimon J. Gerraty2015-06-101-0/+3
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284241
| * Explain why NO_BEFOREBUILD_INCLUDES is neededSimon J. Gerraty2015-06-101-0/+3
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284206
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-0849-98/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-2780-218/+106
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=283595
| * \ Merge from head@274682Simon J. Gerraty2014-11-1930-61/+5
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * \ \ Merge head from 7/28Simon J. Gerraty2014-08-1936-10/+64
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | | | Supress beforebuild dependency on buildincludesSimon J. Gerraty2014-05-163-1/+8
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266222
| * | | | Updated dependenciesSimon J. Gerraty2014-05-1647-9/+56
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219