History log of /freebsd-current/kerberos5/Makefile.inc
Revision Date Author Comments
# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# cb2f2faa 09-Jul-2023 Jessica Clarke <jrtc27@FreeBSD.org>

kerberos5: Migrate from COMPAT_32BIT to generic COMPAT_LIBCOMPAT

See commit 8fad2cda93c7 ("bsd.compat.mk: Provide new CPP and sub-make
variables") for the context behind this change.

Reviewed by: emaste, imp, brooks, jhb
Differential Revision: https://reviews.freebsd.org/D40926


# 4f009328 27-Jan-2021 Alex Richardson <arichardson@FreeBSD.org>

kerberos5: Silence compiler warnings

Building the kerberos5 subdirectory currently produces lots of warnings.
Since there are many instances of these warnings and it's contrib code,
this change silences the warnings instead of fixing them.

Reviewed By: jhb, cy, bjk
Differential Revision: https://reviews.freebsd.org/D28025


# e4456411 05-Oct-2018 John Baldwin <jhb@FreeBSD.org>

Update the existing heimdal implementation for OpenSSL 1.1.

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


# 4c3e79ce 04-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

kerberos5: normalize paths using SRCTOP-relative paths or :H when possible

This simplifies make logic/output

MFC after: 1 month
Sponsored by: Dell EMC Isilon


# 474da3c3 02-Jan-2017 Enji Cooper <ngie@FreeBSD.org>

Conditionalize adding ${KRB5DIR}/lib/gssapi/krb5/gkrb5_err.et to ETSRCS
if MK_GSSAPI != "no"

MFC after: 1 week


# 359ca97c 14-Jun-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Define targets in same order as .ORDER

This is a NOP but is done for style and to reduce confusion.

Approved by: re (implicit)
Sponsored by: EMC / Isilon Storage Division


# 92edc966 03-Jun-2016 Bryan Drewery <bdrewery@FreeBSD.org>

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


# 7525abf8 27-Aug-2015 Hajimu UMEMOTO <ume@FreeBSD.org>

Move setting of LDFLAGS to the modules which require it actually, as
other kerberos5 modules do so.


# 34d2e76a 27-Aug-2015 Hajimu UMEMOTO <ume@FreeBSD.org>

Make it buildable with WITH_OPENLDAP, again.

MFC after: 1 week


# bd831db6 11-Jun-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Misc fixes from projects/bmake

Differential Revision: D2748
Reviewed by: brooks imp


# d65af1e7 25-Nov-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Convert kerberos to LIBADD and reduce overlinking of the kerberos binaries and
libraries


# c6063d0d 05-May-2014 Warner Losh <imp@FreeBSD.org>

Use src.opts.mk in preference to bsd.own.mk except where we need stuff
from the latter.


# f6092768 24-Apr-2014 Warner Losh <imp@FreeBSD.org>

Use MK_OPENLDAP in preference to WITH_OPENLDAP and make it a default
NO option to match the opt-in nature of the historical nature of this
option.


# 0d410def 10-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Clean up the Kerberos build by turning libheimipcc and libheimipcs into
private shared libraries, instead of hacked-together archives of PIC
objects. This makes it possible to build a static libkrb5 that works.

Reviewed by: stas
Approved by: re (gjb)


# 1fc3515c 08-Nov-2012 Simon J. Gerraty <sjg@FreeBSD.org>

Fix .ORDER to not conflict with captured dependencies


# b5ae8dba 01-Jun-2012 David E. O'Brien <obrien@FreeBSD.org>

Centralize the specification of the krb5 build tools.


# 525f4cad 05-Dec-2011 Hajimu UMEMOTO <ume@FreeBSD.org>

Don't support OpenLDAP during lib32 build.


# 782ed6d3 05-Dec-2011 Hajimu UMEMOTO <ume@FreeBSD.org>

- Make heimdal buildable with WITH_OPENLDAP defined, again.
- Our heimdal uses the deprecated OpenLDAP functions.


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 33f12199 07-May-2008 Doug Rabson <dfr@FreeBSD.org>

Fix conflicts after heimdal-1.1 import and add build infrastructure. Import
all non-style changes made by heimdal to our own libgssapi.


# ea807903 28-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Kerberos/Heimdal doesn't really depend on the INET6 macro.
In the Heimdal distro, only kerberized telnet refers to INET6,
but we don't build it, we use contrib/telnet linked with the
Kerberos libs instead.

Tested with: cmp(1)


# ee66677a 10-Jun-2005 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove kludges intended to support src trees with partial obj trees.

Discussed with: ru


# b7ca7813 18-Apr-2005 Warner Losh <imp@FreeBSD.org>

Cope with the (unwise?) incompatible changes with make by adding
a comment before defined(SRCS).


# ab7a2947 21-Dec-2004 Ruslan Ermilov <ru@FreeBSD.org>

NODOCCOMPRESS -> NO_DOCCOMPRESS
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE


# d37df47d 06-Aug-2004 Colin Percival <cperciva@FreeBSD.org>

Join the 21st century: Cryptography is no longer an optional component
of releases. The -DNOCRYPT build option still exists for anyone who
really wants to build non-cryptographic binaries, but the "crypto"
release distribution is now part of "base", and anyone installing from a
release will get cryptographic binaries.

Approved by: re (scottl), markm
Discussed on: freebsd-current, in late April 2004


# 86751859 05-Feb-2004 Ruslan Ermilov <ru@FreeBSD.org>

style.Makefile(5).

OK'ed by: nectar


# 11bf3600 31-Jan-2004 Ruslan Ermilov <ru@FreeBSD.org>

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


# e768886d 17-Dec-2003 Jacques Vidrine <nectar@FreeBSD.org>

Set RPATH when the Kerberos KDC is linked with the LDAP backend
(`WITH_OPENLDAP'). Previously, the KDC could fail to start if it was
invoked before `ldconfig'.

This solution was chosen rather than adding an `ldconfig' dependency
to `kerberos' in rcNG, because it is more robust and there is no
guarantee that the LDAP libraries will be in ldconfig's path anyway.

Problem reported by: Sean McNeil <sean@mcneil.com>


# 069b88eb 18-Jul-2003 Mark Murray <markm@FreeBSD.org>

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.


# 4afa3718 16-Jul-2003 Mark Murray <markm@FreeBSD.org>

Very big makeover in the way telnet, telnetd and libtelnet are built.

Previously, there were two copies of telnet; a non-crypto version
that lived in the usual places, and a crypto version that lived in
crypto/telnet/. The latter was built in a broken manner somewhat akin
to other "contribified" sources. This meant that there were 4 telnets
competing with each other at build time - KerberosIV, Kerberos5,
plain-old-secure and base. KerberosIV is no longer in the running, but
the other three took it in turns to jump all over each other during a
"make buildworld".

As the crypto issue has been clarified, and crypto _calls_ are not
a problem, crypto/telnet has been repo-copied to contrib/telnet,
and with this commit, all telnets are now "contribified". The contrib
path was chosen to not destroy history in the repository, and differs
from other contrib/ entries in that it may be worked on as "normal"
BSD code. There is no dangerous crypto in these sources, only a
very weak system less strong than enigma(1).

Kerberos5 telnet and Secure telnet are now selected by using the usual
macros in /etc/make.conf, and the build process is unsurprising and
less treacherous.


# ea51b8e8 02-Jul-2003 Ruslan Ermilov <ru@FreeBSD.org>

Fixed "make checkdpadd".

OK'ed by: markm


# b39dbb30 18-Jun-2003 Michael Reifenberger <mr@FreeBSD.org>

s/USE_OPENLDAP/WITH_OPENLDAP/ per request from kris.


# bdf56035 18-Jun-2003 Michael Reifenberger <mr@FreeBSD.org>

Add (optional, default off) support to kerberos5 for supporting openldap.
Tests with openldap20 where successful whereas openldap21 didn't like
the way hdb-ldap accessed openldap (doesn't like non-bind access).
To activate the support put a USE_OPENLDAP=yes in your make.conf.
The OPENLDAPBASE is also optional and points to /usr/local as default.

Approved by: markm
MFC after: 2 weeks


# aaa2c2ab 01-May-2003 Mark Murray <markm@FreeBSD.org>

Trasmute moer "krb5" distibutions into "crypto".


# 53056489 09-Mar-2003 Mark Murray <markm@FreeBSD.org>

Post KerberosIV de-orbit: Clean up Kerberos5. We dont need KerberosIV
compatiblity mode anymore. Rename the k5foo utils to kfoo (after
repo-copy).


# 2da3b2ad 25-Sep-2002 Mark Murray <markm@FreeBSD.org>

Don't lint contrib'ed sources, even if the builder gas asked for it.
Its Just Too Noisy.


# c7b111cb 12-May-2002 Ruslan Ermilov <ru@FreeBSD.org>

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".


# 6bde859f 26-Apr-2002 Ruslan Ermilov <ru@FreeBSD.org>

Milestone #1 in cross-arch make releases.

Do not install games and profiled libraries to the ${CHROOTDIR}
with the initial installworld.

Eliminate the need in the second installworld. For that, make sure
_everything_ is built in the "world" environment, using the right
tool chain.

Added SUBDIR_OVERRIDE helper stuff to Makefile.inc1. Split the
buildworld process into stages, and skip some stages when
SUBDIR_OVERRIDE is set (used to build crypto, krb4, and krb5
dists).

Added NO_MAKEDB_RUN knob to Makefile.inc1 to avoid running
makewhatis(1) at the end of installworld (used when making crypto,
krb4, and krb5 dists).

In release/scripts/doFS.sh, ensure that the correct boot blocks are
used.

Moved the creation of the "crypto" dist from release.5 to
release.2.

In release.3 and doMFSKERN, build kernels in the "world"
environment. KERNELS now means "additional" kernels, GENERIC is
always built.

Ensure we build crunched binaries in the "world" environment.
Obfuscate release/Makefile some more (WMAKEENV) to achieve this.

Inline createBOOTMFS target.

Use already built GENERIC kernel modules to augment mfsfd's
/stand/modules. GC doMODULES as such.

Assorted fixes:

Get rid of the "afterdistribute" target by moving the single use
of it from sys/Makefile to etc/Makefile's "distribute".

Makefile.inc1: apparently "etc" no longer needs to be last for
"distribute" to succeed.

gnu/usr.bin/perl/library/Makefile.inc: do not override the
"install" and "distribute" targets, do it the "canonical" way.

release/scripts/{man,cat}pages-make.sh: make sure Perl manpages and
catpages appear in the right dists. Note that because Perl does
not respect the MANBUILDCAT (and NOMAN), this results in a loss of
/usr/share/perl/man/cat* empty directories. This will be fixed
soon.

Turn MAKE_KERBEROS4 into a plain boolean variable (if it is set it
means "make KerberosIV"), as documented in the make.conf(5)
manpage. Most of the userland makefiles did not test it for "YES"
anyway.

XXX Should specialized kerberized libpam versions be included into
the krb4 and krb5 dists? (libpam.a would be incorrect anyway if
both krb4 and krb5 dists were choosen.)

Make sure "games" dist is made before "catpages", otherwise games
catpages settle in the wrong dist.

Fast build machine provided by: Igor Kucherenko <kivvy@sunbay.com>


# eacee0ff 19-Feb-2002 Jacques Vidrine <nectar@FreeBSD.org>

Update build after import of Heimdal Kerberos 2002/02/17.


# 563df952 03-Aug-2001 Mark Murray <markm@FreeBSD.org>

Revamp and diff-reduce the various secure telnets. Make sure that
Kerberos5 has _a_ telnet (which is not currently K5 enabled).
Incorporate BDE's static linking fixes.


# 2655cbec 13-Feb-2001 Assar Westerlund <assar@FreeBSD.org>

update build infrastructure for heimdal 0.3e


# 00ffb9a0 23-Mar-2000 Mark Murray <markm@FreeBSD.org>

Properly separate the K5-only buld from K4.

Submitted by: sheldonh


# b825cbde 01-Mar-2000 Mark Murray <markm@FreeBSD.org>

KerberosIV is no longer compulsory. This should fix "make release".


# 079654e8 28-Feb-2000 Mark Murray <markm@FreeBSD.org>

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.


# fc4b5dfa 24-Feb-2000 Mark Murray <markm@FreeBSD.org>

Use libcrypto instead of libdes. Upgrade for Heimdal-0.2p


# d12b18b9 24-Jan-2000 Mark Murray <markm@FreeBSD.org>

Move CFLAGS to a more obvious place and allow INET6 to work.


# eb9e1f54 15-Jan-2000 Mark Murray <markm@FreeBSD.org>

Userland build of Kerberos5 (AKA Heimdal). More to come.

This is not ready for primetime yet! Please hold off on the bug reports.