344200 |
16-Feb-2019 |
nyan |
MFC: r343011
Use ${SRCTOP}/contrib/com_err/com_err.h instead of the installed com_err.h. This fixes build when com_err.h is not installed.
PR: 234691 |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
301285 |
03-Jun-2016 |
bdrewery |
WITH_META_MODE: Don't expect meta files for side-effect generated files.
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
|
295989 |
24-Feb-2016 |
bdrewery |
DIRDEPS_BUILD: Regenerate without local dependencies.
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
|
295988 |
24-Feb-2016 |
bdrewery |
FAST_DEPEND: Always run depend via beforebuild which removes many hacks.
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
|
295979 |
24-Feb-2016 |
bdrewery |
DIRDEPS_BUILD: Add some missing build dependencies for kerberos5.
Sponsored by: EMC / Isilon Storage Division
|
291307 |
25-Nov-2015 |
bdrewery |
META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.
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
|
284481 |
16-Jun-2015 |
sjg |
new depends
|
284345 |
13-Jun-2015 |
sjg |
Add META_MODE support.
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
|
277273 |
16-Jan-2015 |
will |
Add a ${CP} alias for copying files in the build.
Some users build FreeBSD as non-root in Perforce workspaces. By default, Perforce sets files read-only unless they're explicitly being edited. As a result, the -f argument must be used to cp in order to override the read-only flag when copying source files to object directories. Bare use of 'cp' should be avoided in the future.
Update all current users of 'cp' in the src tree.
Reviewed by: emaste MFC after: 1 week Sponsored by: Spectra Logic
|
275022 |
25-Nov-2014 |
bapt |
Convert kerberos to LIBADD and reduce overlinking of the kerberos binaries and libraries
|
271775 |
18-Sep-2014 |
will |
Fix incremental builds involving non-root users with read-only source files. This is a followup commit to r271771.
MFC after: 1 month
|
264774 |
22-Apr-2014 |
emaste |
Fix installworld failure when kerberos source files have new timestamps
If a kerberos .hx source file is newer than the .h copy, but the content is the same, then during buildworld the "cmp -s || cp" command in the .hx.h rule would do nothing, leaving the .h copy with the older timestamp. During installworld the rule would again be invoked, causing a failure as neither cmp or cp would exist in the temporary path.
As the underlying issue should be resolved by r262209, unconditionally copy the file.
No objection: peter@ Tested by: gjb@ Sponsored by: The FreeBSD Foundation
|
262255 |
20-Feb-2014 |
peter |
Revert my commit in r261253; the real problem was tackled in r262209.
|
262209 |
19-Feb-2014 |
peter |
Really (I think) fix the sporadic heimdal build failures with high -j levels. The root of the problem was that make was attempting to run up to three concurrent asn1_compile commands to produce the three outputs that it was declared to produce. The failure was caused when the asn1_compiles were started out of sync and a later one was truncating the files that another thread was trying to copy. In reality it is supposed to be run exactly once and all three outputs are produced in one pass.
Use the same hack as for the parent's Makefile.inc for the compile_et multi-output rule.
|
261253 |
28-Jan-2014 |
peter |
Speculatively replace a cp with a cat for gathering data on a sporadic parallel build failure in the FreeBSD cluster on many-core systems with ZFS. cp uses mmap in this scenario, cat does not.
|
236422 |
01-Jun-2012 |
obrien |
Centralize the specification of the krb5 build tools.
|
234013 |
08-Apr-2012 |
stas |
- Add a "real" symbol version map to libasn1. The upstream version of the version map just exported all the symbols, which caused a binutils bug being triggered when ld fails to link two objects, one of which exports a versioned version of the symbol, and another -- unversioned. [1] - Also add version map for libkafs5.
Submitted by: jchandra@ (based on)
|
233294 |
22-Mar-2012 |
stas |
- Update FreeBSD Heimdal distribution to version 1.5.1. This also brings several new kerberos related libraries and applications to FreeBSD: o kgetcred(1) allows one to manually get a ticket for a particular service. o kf(1) securily forwards ticket to another host through an authenticated and encrypted stream. o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1) and other user kerberos operations. klist and kswitch are just symlinks to kcc(1) now. o kswitch(1) allows you to easily switch between kerberos credentials if you're running KCM. o hxtool(1) is a certificate management tool to use with PKINIT. o string2key(1) maps a password into key. o kdigest(8) is a userland tool to access the KDC's digest interface. o kimpersonate(8) creates a "fake" ticket for a service.
We also now install manpages for some lirbaries that were not installed before, libheimntlm and libhx509.
- The new HEIMDAL version no longer supports Kerberos 4. All users are recommended to switch to Kerberos 5.
- Weak ciphers are now disabled by default. To enable DES support (used by telnet(8)), use "allow_weak_crypto" option in krb5.conf.
- libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings disabled due to the function they use (krb5_get_err_text(3)) being deprecated. I plan to work on this next.
- Heimdal's KDC now require sqlite to operate. We use the bundled version and install it as libheimsqlite. If some other FreeBSD components will require it in the future we can rename it to libbsdsqlite and use for these components as well.
- This is not a latest Heimdal version, the new one was released while I was working on the update. I will update it to 1.5.2 soon, as it fixes some important bugs and security issues.
|
225778 |
27-Sep-2011 |
stas |
- Add missing interdependencies to kerberos libraries. Some of the kerberos libraries were not linked properly (missing dependencies), which causes 3rd party applications linking to fail when --as-needed ld flag is used. I also added the --no-undefined ld(1) flag to make sure that there're no missing dependencies.
MFC after: 3 days
|
178828 |
07-May-2008 |
dfr |
Fix conflicts after heimdal-1.1 import and add build infrastructure. Import all non-style changes made by heimdal to our own libgssapi.
|
142406 |
24-Feb-2005 |
nectar |
Update Heimdal 0.6.1 -> 0.6.3.
|
125491 |
05-Feb-2004 |
ru |
style.Makefile(5).
OK'ed by: nectar
|
125261 |
31-Jan-2004 |
ru |
Overhaul of kerberos5/ makefiles. Most significant changes are:
- Dropped support for standalone builds, this was only partially supported anyway, and required so much magic in makefiles that made life dangerous (e.g., by using the custom yacc rules).
- Got rid of .OBJDIR in makefiles -- makes building of individual files possible again.
- Made the .x.c transformations -j safe.
- Reprogrammed LDADD to fix static build of some utilities that was broken.
- Fixed LDFLAGS and DPADD in the WITH_OPENLDAP case -- positively affects the contents of .depend files.
- Removed redundant .h's from SRCS, only kept those that are generated.
- libkrb5/ INCS were bogusly installed again with libgssapi/.
- Made build-tools real tools with their own makefiles in separate directories. This allows us to properly track their dependencies, etc.
- Faster build, 21% less of makefile code!
Approved by: nectar Reviewed by: markm Silence on: arch
|
118080 |
27-Jul-2003 |
markm |
Try a lot harder to get dependancies right. This involves some ugly looking ${.OBJDIR} work that has the up-side of actually working in upgrade and make -jN cases.
This needs to be revisited further, and it is conceivable that the ${.OBJDIR} stuff can be simplified, but the sheer number of edge cases and other causes make this Hard(tm). For now, this works.
|
117728 |
18-Jul-2003 |
markm |
Big fixup of the makefiles. Sort out the dependancies so that "make" without "make depend" works, "make -j N" works, and lists of source files are made vertical to reduce future diffs.
|
113136 |
05-Apr-2003 |
imp |
Migrate to a new way of dealing with building from old revisions of FreeBSD. This method attempts to centralize all the necessary hacks or work arounds in one of two places in the tree (src/Makefile.inc1 and src/tools/build). We build a small compatibility library (libbuild.a) as well as selectively installing necessary include files. We then include this directory when building host binaries.
This removes all the past release compatibilty hacks from various places in the tree. We still build on tip of stable and current. I will work with those that want to support more, although I anticipate it will just work.
Many thanks to ru@, obrien@ and jhb@ for providing valuable input at various stage of implementation, as well as for working together to positively effect a change for the better.
|
106852 |
13-Nov-2002 |
ru |
Take __FreeBSD_version into account when BOOTSTRAPPING.
|
101834 |
13-Aug-2002 |
ru |
Bootstrapping aid for pre-getprogname(3) systems.
Spotted by: Gareth Hopkins <gareth@za.uu.net> Approved by: nectar MFC after: 3 days
|
96591 |
14-May-2002 |
ru |
Make this -j safe.
|
96462 |
12-May-2002 |
ru |
Added new bsd.incs.mk which handles installing of header files via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to handle symlinking include files. Allow for multiple groups of include files to be installed, with the powerful INCSGROUPS knob. Documentation to follow.
Added standard `includes' and `incsinstall' targets, use them in Makefile.inc1. Headers from the following makefiles were not installed before (during `includes' in Makefile.inc1):
kerberos5/lib/libtelnet/Makefile lib/libbz2/Makefile lib/libdevinfo/Makefile lib/libform/Makefile lib/libisc/Makefile lib/libmenu/Makefile lib/libmilter/Makefile lib/libpanel/Makefile
Replaced all `beforeinstall' targets for installing includes with the INCS stuff.
Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS, and for compatibility with NetBSD. Similarly for INCOWN, INCGRP, and INCMODE.
Consistently use INCLUDEDIR instead of /usr/include.
gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes were only lightly tested due to the missing contrib/libstdc++-v3. I fully tested the pre-WIP_GCC31 version of this patch with the contrib/libstdc++.295 stuff.
These changes have been tested on i386 with the -DNO_WERROR "make world" and "make release".
|
90931 |
19-Feb-2002 |
nectar |
Update build after import of Heimdal Kerberos 2002/02/17.
|
90534 |
11-Feb-2002 |
ru |
Fixed -DMAKE_KERBEROS5 world breakage in kerberos5/lib/libroken (make-roken is a build tool). This bug was hiding itself after a just fixed bug in cross-linker (binutuils/ld/Makefile,v 1.20).
The bug was fatal for cross builds; for example, an alpha binary (make-roken) was attempted to be run on i386.
Added make-roken to the list of build-tools in libasn1. It only worked because another build tool needs make-roken implicitly:
(build-tools: asn1_compile: print_version.o: roken.h: make-roken).
Spotted by: nectar
|
86126 |
06-Nov-2001 |
assar |
use cp instead of mv to get the right name of the yacc-generated files, mv fails badly with parallel makes
Submitted by: Vincent Poy <vince@oahu.WURLDLINK.NET>
|
79614 |
12-Jul-2001 |
assar |
add dependency for lex.o on roken.h (from "Alexander N. Kabaev" <ak03@gte.com>) remove duplicate build-tools target
|
78563 |
21-Jun-2001 |
assar |
add an explicit dependency to run yacc before lex instead of using .ORDER
|
78550 |
21-Jun-2001 |
assar |
update infrastructure for heimdal 0.3f
|
76574 |
14-May-2001 |
assar |
use print_version from lib/vers instead of lib/roken
|
72450 |
13-Feb-2001 |
assar |
update build infrastructure for heimdal 0.3e
|
65234 |
30-Aug-2000 |
nectar |
Fix ordering for real this time.
|
65213 |
29-Aug-2000 |
nectar |
Add a dependency needed when using parallel make.
Approved by: markm
|
57566 |
28-Feb-2000 |
markm |
Remove largescale evidence of crack-smoking.
Where a k4 applet has a k5 namesake, rename the k5 version from k<app> to k5<app>. (Repo copy done).
Do some repairs to dependancies to support make world properly.
|
57452 |
24-Feb-2000 |
markm |
Use libcrypto instead of libdes. Upgrade for Heimdal-0.2p
|
56068 |
15-Jan-2000 |
markm |
This commit was generated by cvs2svn to compensate for changes in r56067, which included commits to RCS files with non-trunk default branches.
|