<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/krb5/lib/kadm5srv, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>krb5: append to LDFLAGS instead of replacing</title>
<updated>2026-03-20T17:19:35+00:00</updated>
<author>
<name>Chuck Silvers</name>
<email>chs@FreeBSD.org</email>
</author>
<published>2026-03-20T17:19:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=632ddb864ee89c275ff5f8f9079522dec33c0d3c'/>
<id>632ddb864ee89c275ff5f8f9079522dec33c0d3c</id>
<content type='text'>
Sponsored by:	Netflix
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D55335
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sponsored by:	Netflix
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D55335
</pre>
</div>
</content>
</entry>
<entry>
<title>krb5: Expose missing symbols</title>
<updated>2026-01-20T13:41:02+00:00</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2025-12-18T00:50:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1876de606eb876b7a97beccfe6fcc89e60a72a25'/>
<id>1876de606eb876b7a97beccfe6fcc89e60a72a25</id>
<content type='text'>
Add symbols found in the port but not in base. This requires replacing
a shared libkrb5profile.so with libkrb5profile.a (with -fPIC so it can
be used by shared libraries). We do this by making libkrb5profile
INTERNALLIB.

Base currently has libkrb5profile in a shared library. The patch moves
those functions to the various "consumer" libraries as the port does.

Symbols that should be in the other libraries are in libkrb5profile.so.
This is causing some ports issues.

PR:		291695
Reported by:	michaelo, markj,  Chris Inacio &lt;inacio@andrew.cmu.edu&gt;
Tested by:	michaelo
Fixes:		ae07a5805b19
Reviewed by:	michaelo (previous version)
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D54323
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add symbols found in the port but not in base. This requires replacing
a shared libkrb5profile.so with libkrb5profile.a (with -fPIC so it can
be used by shared libraries). We do this by making libkrb5profile
INTERNALLIB.

Base currently has libkrb5profile in a shared library. The patch moves
those functions to the various "consumer" libraries as the port does.

Symbols that should be in the other libraries are in libkrb5profile.so.
This is causing some ports issues.

PR:		291695
Reported by:	michaelo, markj,  Chris Inacio &lt;inacio@andrew.cmu.edu&gt;
Tested by:	michaelo
Fixes:		ae07a5805b19
Reviewed by:	michaelo (previous version)
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D54323
</pre>
</div>
</content>
</entry>
<entry>
<title>krb5: Build pkgconfig files with libraries</title>
<updated>2025-08-18T18:57:59+00:00</updated>
<author>
<name>Lexi Winter</name>
<email>ivy@FreeBSD.org</email>
</author>
<published>2025-08-18T17:45:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ce9c325a2e9254eef3def2999a3b65848b574727'/>
<id>ce9c325a2e9254eef3def2999a3b65848b574727</id>
<content type='text'>
For various reasons, trying to build 32-bit compatibility PCFILES
outside of a directory which is not a library doesn't work. Add a
new krb5/Makefile.pc with the build rule for .pc.in.pc, and use
this to build each pc file along with the library it's associated
with.

This means we automatically get 32-bit pcfiles in /usr/lib32, and
is arguably more correct anyway since if we don't build a library
for some reason, we also won't build its pcfiles.

Reviewed by:	des
Differential Revision:	https://reviews.freebsd.org/D51986
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For various reasons, trying to build 32-bit compatibility PCFILES
outside of a directory which is not a library doesn't work. Add a
new krb5/Makefile.pc with the build rule for .pc.in.pc, and use
this to build each pc file along with the library it's associated
with.

This means we automatically get 32-bit pcfiles in /usr/lib32, and
is arguably more correct anyway since if we don't build a library
for some reason, we also won't build its pcfiles.

Reviewed by:	des
Differential Revision:	https://reviews.freebsd.org/D51986
</pre>
</div>
</content>
</entry>
<entry>
<title>krb5: Fix typo "SPDX-License-Idendifier"</title>
<updated>2025-08-17T21:17:06+00:00</updated>
<author>
<name>Lexi Winter</name>
<email>ivy@FreeBSD.org</email>
</author>
<published>2025-08-17T21:13:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=18a870751b036f1dc78b36084ccb993d139a11bb'/>
<id>18a870751b036f1dc78b36084ccb993d139a11bb</id>
<content type='text'>
sed -e s/SPDX-License-Idendifier/SPDX-License-Identifier/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sed -e s/SPDX-License-Idendifier/SPDX-License-Identifier/
</pre>
</div>
</content>
</entry>
<entry>
<title>krb5: Update MIT KRB5 from 1.21 to 1.22</title>
<updated>2025-08-10T05:29:02+00:00</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2025-08-10T05:29:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f1c4c3daccbaf3820f0e2224de53df12fc952fcc'/>
<id>f1c4c3daccbaf3820f0e2224de53df12fc952fcc</id>
<content type='text'>
Merge commit 'd82a140dad3a571d66abb2da24acbba90191f168'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Merge commit 'd82a140dad3a571d66abb2da24acbba90191f168'
</pre>
</div>
</content>
</entry>
<entry>
<title>kadm5srv: get common headers from kadm5clnt</title>
<updated>2025-08-04T12:58:47+00:00</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2025-08-04T09:33:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c791ea80b5f74a6fb08ffa2c2541d158fd218d12'/>
<id>c791ea80b5f74a6fb08ffa2c2541d158fd218d12</id>
<content type='text'>
Both were installing admin.h, chpass_util_strings.h, and kadm_err.h.
kadm5clnt is ordered first in krb5/lib/Makefile so pick it.

PR:		288594
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1801
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Both were installing admin.h, chpass_util_strings.h, and kadm_err.h.
kadm5clnt is ordered first in krb5/lib/Makefile so pick it.

PR:		288594
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1801
</pre>
</div>
</content>
</entry>
<entry>
<title>kadm5srv: remove unused HDRS entries</title>
<updated>2025-08-04T12:58:46+00:00</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2025-08-04T09:33:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=543b875a8ee4674c592b507b0f1d16ff1eef7231'/>
<id>543b875a8ee4674c592b507b0f1d16ff1eef7231</id>
<content type='text'>
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1801
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1801
</pre>
</div>
</content>
</entry>
<entry>
<title>krb5: only apply -Wno-alloc-size-larger-than to gcc</title>
<updated>2025-08-04T01:59:04+00:00</updated>
<author>
<name>Lexi Winter</name>
<email>ivy@FreeBSD.org</email>
</author>
<published>2025-08-04T01:59:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=04764f21855a3a3bac3e3bbe4bc2778d0a6ae53e'/>
<id>04764f21855a3a3bac3e3bbe4bc2778d0a6ae53e</id>
<content type='text'>
Otherwise, this breaks the clang build.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise, this breaks the clang build.
</pre>
</div>
</content>
</entry>
<entry>
<title>kadm5: add -Wno-alloc-size-larger-than</title>
<updated>2025-08-03T22:56:37+00:00</updated>
<author>
<name>Lexi Winter</name>
<email>ivy@FreeBSD.org</email>
</author>
<published>2025-08-03T22:56:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=624b7beed5ac03da09effa8370909a30e43a8dad'/>
<id>624b7beed5ac03da09effa8370909a30e43a8dad</id>
<content type='text'>
This trips the gcc build in kadm5/srv/svr_principal.c:

/home/ivy/src/bsd/gcc/crypto/krb5/src/lib/kadm5/srv/svr_principal.c: In function 'apply_keysalt_policy':
/home/ivy/src/bsd/gcc/crypto/krb5/src/lib/kadm5/srv/svr_principal.c:208:14: error: argument 1 range [2147483648, 4294967295] exceeds maximum object size 2147483647 [-Werror=alloc-size-larger-than=]
  208 |     subset = calloc(n_ks_tuple, sizeof(*subset));
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Differential Revision:	https://reviews.freebsd.org/D51577
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This trips the gcc build in kadm5/srv/svr_principal.c:

/home/ivy/src/bsd/gcc/crypto/krb5/src/lib/kadm5/srv/svr_principal.c: In function 'apply_keysalt_policy':
/home/ivy/src/bsd/gcc/crypto/krb5/src/lib/kadm5/srv/svr_principal.c:208:14: error: argument 1 range [2147483648, 4294967295] exceeds maximum object size 2147483647 [-Werror=alloc-size-larger-than=]
  208 |     subset = calloc(n_ks_tuple, sizeof(*subset));
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Differential Revision:	https://reviews.freebsd.org/D51577
</pre>
</div>
</content>
</entry>
<entry>
<title>krb5: remove private headers</title>
<updated>2025-07-25T17:31:26+00:00</updated>
<author>
<name>Lexi Winter</name>
<email>ivy@FreeBSD.org</email>
</author>
<published>2025-07-25T14:04:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2a454b05f2c1f9dc2d27f0d553fd1f890b750aa1'/>
<id>2a454b05f2c1f9dc2d27f0d553fd1f890b750aa1</id>
<content type='text'>
I compared the contents of the FreeBSD-kerberos-lib-dev package with
the contents of the security/krb5 port.  Based on that, remove all
the headers which are installed by base krb5 but not by the port.
These all appear to be internal headers which are not meant to be
publicly visible.

This removes some headers with unfortunate conflict-prone names like
&lt;internal.h&gt; and &lt;dyn.h&gt;.

Reviewed by:	des, cy
Differential Revision:	https://reviews.freebsd.org/D51518
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I compared the contents of the FreeBSD-kerberos-lib-dev package with
the contents of the security/krb5 port.  Based on that, remove all
the headers which are installed by base krb5 but not by the port.
These all appear to be internal headers which are not meant to be
publicly visible.

This removes some headers with unfortunate conflict-prone names like
&lt;internal.h&gt; and &lt;dyn.h&gt;.

Reviewed by:	des, cy
Differential Revision:	https://reviews.freebsd.org/D51518
</pre>
</div>
</content>
</entry>
</feed>
