Skip to content

Commit fd0ff23

Browse files
author
tez
committed
mit-krb5: update to 1.16.1
Major changes in 1.16.1 (2018-05-03) This is a bug fix release. Fix flaws in LDAP DN checking, including a null dereference KDC crash which could be triggered by kadmin clients with administrative privileges [CVE-2018-5729, CVE-2018-5730]. Fix a KDC PKINIT memory leak. Fix a small KDC memory leak on transited or authdata errors when processing TGS requests. Fix a regression in pkinit_cert_match matching of client certificates containing Microsoft UPN SANs. Fix a null dereference when the KDC sends a large TGS reply. Fix "kdestroy -A" with the KCM credential cache type. Allow validation of Microsoft PACs containing enterprise names. Fix the handling of capaths "." values. Fix handling of repeated subsection specifications in profile files (such as when multiple included files specify relations in the same subsection). Major changes in 1.16 (2017-12-05) Administrator experience: The KDC can match PKINIT client certificates against the "pkinit_cert_match" string attribute on the client principal entry, using the same syntax as the existing "pkinit_cert_match" profile option. The ktutil addent command supports the "-k 0" option to ignore the key version, and the "-s" option to use a non-default salt string. kpropd supports a --pid-file option to write a pid file at startup, when it is run in standalone mode. The "encrypted_challenge_indicator" realm option can be used to attach an authentication indicator to tickets obtained using FAST encrypted challenge pre-authentication. Localization support can be disabled at build time with the --disable-nls configure option. Developer experience: The kdcpolicy pluggable interface allows modules control whether tickets are issued by the KDC. The kadm5_auth pluggable interface allows modules to control whether kadmind grants access to a kadmin request. The certauth pluggable interface allows modules to control which PKINIT client certificates can authenticate to which client principals. KDB modules can use the client and KDC interface IP addresses to determine whether to allow an AS request. GSS applications can query the bit strength of a krb5 GSS context using the GSS_C_SEC_CONTEXT_SASL_SSF OID with gss_inquire_sec_context_by_oid(). GSS applications can query the impersonator name of a krb5 GSS credential using the GSS_KRB5_GET_CRED_IMPERSONATOR OID with gss_inquire_cred_by_oid(). kdcpreauth modules can query the KDC for the canonicalized requested client principal name, or match a principal name against the requested client principal name with canonicalization. Protocol evolution: The client library will continue to try pre-authentication mechanisms after most failure conditions. The KDC will issue trivially renewable tickets (where the renewable lifetime is equal to or less than the ticket lifetime) if requested by the client, to be friendlier to scripts. The client library will use a random nonce for TGS requests instead of the current system time. For the RC4 string-to-key or PAC operations, UTF-16 is supported (previously only UCS-2 was supported). When matching PKINIT client certificates, UPN SANs will be matched correctly as UPNs, with canonicalization. User experience: Dates after the year 2038 are accepted (provided that the platform time facilities support them), through the year 2106. Automatic credential cache selection based on the client realm will take into account the fallback realm and the service hostname. Referral and alternate cross-realm TGTs will not be cached, avoiding some scenarios where they can be added to the credential cache multiple times. A German translation has been added. Code quality: The build is warning-clean under clang with the configured warning options. The automated test suite runs cleanly under AddressSanitizer. Major changes in 1.15.3 (2018-05-03) This is a bug fix release. Fix flaws in LDAP DN checking, including a null dereference KDC crash which could be triggered by kadmin clients with administrative privileges [CVE-2018-5729, CVE-2018-5730]. Fix a KDC PKINIT memory leak. Fix a small KDC memory leak on transited or authdata errors when processing TGS requests. Fix a null dereference when the KDC sends a large TGS reply. Fix "kdestroy -A" with the KCM credential cache type. Fix the handling of capaths "." values. Fix handling of repeated subsection specifications in profile files (such as when multiple included files specify relations in the same subsection). Major changes in 1.15.2 (2017-09-25) This is a bug fix release. Fix a KDC denial of service vulnerability caused by unset status strings [CVE-2017-11368] Preserve GSS contexts on init/accept failure [CVE-2017-11462] Fix kadm5 setkey operation with LDAP KDB module Use a ten-second timeout after successful connection for HTTPS KDC requests, as we do for TCP requests Fix client null dereference when KDC offers encrypted challenge without FAST Ignore dotfiles when processing profile includedir directive Improve documentation Major changes in 1.15.1 (2017-03-01) This is a bug fix release. Allow KDB modules to determine how the e_data field of principal fields is freed Fix udp_preference_limit when the KDC location is configured with SRV records Fix KDC and kadmind startup on some IPv4-only systems Fix the processing of PKINIT certificate matching rules which have two components and no explicit relation Improve documentation Major changes in 1.15 (2016-12-01) Administrator experience: Improve support for multihomed Kerberos servers by adding options for specifying restricted listening addresses for the KDC and kadmind. Add support to kadmin for remote extraction of current keys without changing them (requires a special kadmin permission that is excluded from the wildcard permission), with the exception of highly protected keys. Add a lockdown_keys principal attribute to prevent retrieval of the principal's keys (old or new) via the kadmin protocol. In newly created databases, this attribute is set on the krbtgt and kadmin principals. Restore recursive dump capability for DB2 back end, so sites can more easily recover from database corruption resulting from power failure events. Add DNS auto-discovery of KDC and kpasswd servers from URI records, in addition to SRV records. URI records can convey TCP and UDP servers and master KDC status in a single DNS lookup, and can also point to HTTPS proxy servers. Add support for password history to the LDAP back end. Add support for principal renaming to the LDAP back end. Use the getrandom system call on supported Linux kernels to avoid blocking problems when getting entropy from the operating system. In the PKINIT client, use the correct DigestInfo encoding for PKCS #1 signatures, so that some especially strict smart cards will work. Code quality: Clean up numerous compilation warnings. Remove various infrequently built modules, including some preauth modules that were not built by default. Developer experience: Add support for building with OpenSSL 1.1. Use SHA-256 instead of MD5 for (non-cryptographic) hashing of authenticators in the replay cache. This helps sites that must build with FIPS 140 conformant libraries that lack MD5. Eliminate util/reconf and allow the use of autoreconf alone to regenerate the configure script. Protocol evolution: Add support for the AES-SHA2 enctypes, which allows sites to conform to Suite B crypto requirements.
1 parent d86c32a commit fd0ff23

35 files changed

+142
-153
lines changed

security/mit-krb5/MESSAGE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
===========================================================================
2-
$NetBSD: MESSAGE,v 1.1 2011/03/22 23:31:04 tez Exp $
2+
$NetBSD: MESSAGE,v 1.2 2018/06/15 20:46:01 tez Exp $
33

44
Please beware that the Kerberized r-services, telnetd and ftpd services and
55
the related client applications are no longer included in this package.

security/mit-krb5/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# $NetBSD: Makefile,v 1.95 2017/10/10 21:22:53 tez Exp $
1+
# $NetBSD: Makefile,v 1.96 2018/06/15 20:46:01 tez Exp $
22

3-
DISTNAME= krb5-1.14.6
3+
DISTNAME= krb5-1.16.1
44
PKGNAME= mit-${DISTNAME}
55
CATEGORIES= security
66
MASTER_SITES= http://web.mit.edu/kerberos/dist/krb5/${PKGVERSION_NOREV:R}/

security/mit-krb5/PLIST

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@comment $NetBSD: PLIST,v 1.18 2016/03/15 15:16:39 tez Exp $
1+
@comment $NetBSD: PLIST,v 1.19 2018/06/15 20:46:01 tez Exp $
22
bin/compile_et
33
bin/gss-client
44
bin/k5srvutil
@@ -45,10 +45,13 @@ include/kdb.h
4545
include/krad.h
4646
include/krb5.h
4747
include/krb5/ccselect_plugin.h
48+
include/krb5/certauth_plugin.h
4849
include/krb5/clpreauth_plugin.h
4950
include/krb5/hostrealm_plugin.h
51+
include/krb5/kadm5_auth_plugin.h
5052
include/krb5/kadm5_hook_plugin.h
5153
include/krb5/kdcpreauth_plugin.h
54+
include/krb5/kdcpolicy_plugin.h
5255
include/krb5/krb5.h
5356
include/krb5/localauth_plugin.h
5457
include/krb5/locate_plugin.h
@@ -131,3 +134,4 @@ share/examples/krb5/kdc.conf
131134
share/examples/krb5/krb5.conf
132135
share/examples/krb5/services.append
133136
share/locale/en_US/LC_MESSAGES/mit-krb5.mo
137+
share/locale/de/LC_MESSAGES/mit-krb5.mo

security/mit-krb5/buildlink3.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: buildlink3.mk,v 1.14 2013/10/26 05:28:43 richard Exp $
1+
# $NetBSD: buildlink3.mk,v 1.15 2018/06/15 20:46:01 tez Exp $
22

33
BUILDLINK_TREE+= mit-krb5
44

security/mit-krb5/builtin.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: builtin.mk,v 1.13 2015/11/04 15:32:34 jperkin Exp $
1+
# $NetBSD: builtin.mk,v 1.14 2018/06/15 20:46:01 tez Exp $
22

33
BUILTIN_PKG:= mit-krb5
44

security/mit-krb5/distinfo

+16-18
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,31 @@
1-
$NetBSD: distinfo,v 1.63 2018/05/25 13:46:40 jperkin Exp $
1+
$NetBSD: distinfo,v 1.64 2018/06/15 20:46:01 tez Exp $
22

3-
SHA1 (krb5-1.14.6.tar.gz) = ea7928a3368ae6d8ecf29a70f70598091f226740
4-
RMD160 (krb5-1.14.6.tar.gz) = 7e9f8192845d11108a3c48dd707d7d4bc5dd0a29
5-
SHA512 (krb5-1.14.6.tar.gz) = 8a88193e40aa60bb10dc57028a7c83aaac48cfded5d369b9f5383851854f1ea3df3587f7bce8b22d4e5cf2ce5825eb37c8d85684abad29da04db34e8f7962ca7
6-
Size (krb5-1.14.6.tar.gz) = 12326355 bytes
7-
SHA1 (patch-CVE-2017-11368) = 91551099d48690c051ada72889bc645706775eb1
8-
SHA1 (patch-Makefile.in) = 11ead9de708f4da99233b66df2cf906b156faa87
9-
SHA1 (patch-aa) = 941848a1773dfbe51dff3134d4b8504a850a958d
3+
SHA1 (krb5-1.16.1.tar.gz) = 8353f2d900a7d52499c7c2605d5e295f71dd5e67
4+
RMD160 (krb5-1.16.1.tar.gz) = 26a423032841a67974d377ad65d7361b51aa7058
5+
SHA512 (krb5-1.16.1.tar.gz) = fa4ec14a4ffe690861e2dd7ea39d7698af2058ce181bb733ea891f80279f4dde4bb891adec5ccb0eaddf737306e6ceb1fe3744a2946e6189a7d7d2dd3bc5ba84
6+
Size (krb5-1.16.1.tar.gz) = 9477480 bytes
7+
SHA1 (patch-Makefile.in) = adacbcb9d569107e6b7af9b0e7ee177f79a9103c
8+
SHA1 (patch-aa) = f94e587c4b3e15bcf7dde215cf146ba077202218
109
SHA1 (patch-ae) = c7395b9de5baf6612b8787fad55dbc051a680bfd
1110
SHA1 (patch-aj) = 4ab922df1d86d86f9ef043f2c5cdf048c0477d3a
1211
SHA1 (patch-al) = 7445639b82eadf9b1feb1448c1654fa6ddc937aa
1312
SHA1 (patch-cf) = 806b089d3b12ea9a17c6caab59cbdeb6ec17bbc3
14-
SHA1 (patch-cg) = 30b1e8943b0cbe67f37bac6883f4bdd82776e6d1
13+
SHA1 (patch-cg) = 0c45e34ea8b5d0270c386d430b0d37469e8440ea
1514
SHA1 (patch-cj) = 78342f649f8e9d3a3b5a4f83e65b6c46f589586b
1615
SHA1 (patch-config_lib.in) = 974db26486b3239e4fcd53be7280b32c802f6007
1716
SHA1 (patch-config_libnover.in) = 53f539cf98a961483e2b4ccf278c7376dbcf52d9
18-
SHA1 (patch-config_pre.in) = 9b02fd3db8785ff570885eeca7ad377a315b6317
17+
SHA1 (patch-config_pre.in) = 255973132db9327190211214c3e33b4551bd283b
1918
SHA1 (patch-config_shlib.conf) = c47a647307e7d883e7c22528b7b0f5ad038cbcb3
20-
SHA1 (patch-configure.in) = 6675fa171d6e21ad71a58ce410d3b1ecb45add4d
19+
SHA1 (patch-configure.in) = 2b7de47c4da223670566c70ce1a9eaa27d49a984
2120
SHA1 (patch-include_osconf.hin) = d31a8164f417bc31a787c8e16d1bd24f27b7140d
2221
SHA1 (patch-kadmin_cli_ss_wrapper.c) = e32e6180f8d508cb2eb18489ce2fef0a1ad0f51d
23-
SHA1 (patch-lib_apputils_Makefile.in) = e001c7d0e9020c0e9feb5743805ef68e64012247
24-
SHA1 (patch-lib_apputils_net-server.c) = a10630940fc56062c1074fdc0c43a0527fa76105
22+
SHA1 (patch-lib_apputils_Makefile.in) = 085004041a2bb8c4bb3074c2e71e71f22f4f06d7
23+
SHA1 (patch-lib_apputils_udppktinfo.c) = 47ac861181faebfe5f95c28be329ce917ece872c
2524
SHA1 (patch-lib_krb5_asn.1_asn1buf.h) = 74d7d172ec4c8d7f68a093befc6b40c99b119e37
26-
SHA1 (patch-lib_krb5_ccache_Makefile.in) = 9a12f64c15bbca3dd55edeec16ef956e8cde9043
27-
SHA1 (patch-lib_krb5_os_timeofday.c) = db1686d25d6f56793f3e66ddee5513e93179979d
25+
SHA1 (patch-lib_krb5_ccache_Makefile.in) = 330ae21ec3b290ae16478c2c49a138acac5bf2fd
2826
SHA1 (patch-plugins_kdb_db2_Makefile.in) = f374fc5915b735075fbb751ef736f4ce54abc289
2927
SHA1 (patch-plugins_kdb_db2_libdb2_Makefile.in) = b4b7e8e4192b5e5318f1e42c49315789619f3ae9
3028
SHA1 (patch-plugins_preauth_otp_Makefile.in) = 8c779e3b37cab4138f300f4a09325387092c79f8
31-
SHA1 (patch-plugins_preauth_pkinit_Makefile.in) = ff56050dc6a31468977c16b192b4f5d2d79764c2
32-
SHA1 (patch-util_k5ev_verto-k5ev.c) = 4f148a369d1634234a90c348e6b8dc366cd6773d
33-
SHA1 (patch-util_ss_Makefile.in) = f561b3689021b2b2db895228c717b4cdf7fbc32a
29+
SHA1 (patch-plugins_preauth_pkinit_Makefile.in) = c778366d5bd1cae85424643a582013101fc9632d
30+
SHA1 (patch-util_k5ev_verto-k5ev.c) = 8f074ddccbaaa03576f0302437aed3aaad1b738d
31+
SHA1 (patch-util_ss_Makefile.in) = 5ca0bf7295a8f4c1d8e59097863940f88d224ee7

security/mit-krb5/files/kadmind.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!@RCD_SCRIPTS_SHELL@
22
#
3-
# $NetBSD: kadmind.sh,v 1.2 2005/04/10 07:15:25 jlam Exp $
3+
# $NetBSD: kadmind.sh,v 1.3 2018/06/15 20:46:01 tez Exp $
44
#
55
# PROVIDE: kadmind
66
# REQUIRE: kdc

security/mit-krb5/files/kdc.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!@RCD_SCRIPTS_SHELL@
22
#
3-
# $NetBSD: kdc.sh,v 1.2 2005/04/10 07:15:25 jlam Exp $
3+
# $NetBSD: kdc.sh,v 1.3 2018/06/15 20:46:01 tez Exp $
44
#
55
# PROVIDE: kdc
66
# REQUIRE: NETWORKING
+10-7
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,35 @@
1-
$NetBSD: patch-Makefile.in,v 1.1 2016/03/15 15:16:39 tez Exp $
1+
$NetBSD: patch-Makefile.in,v 1.2 2018/06/15 20:46:01 tez Exp $
22

33
Don't build plugin examples & tests and avoid libtool problem.
44
No idea why... copied from previous instance of this package.
55

6-
--- Makefile.in.orig 2016-02-29 19:50:13.000000000 +0000
6+
--- Makefile.in.orig 2018-05-03 14:34:47.000000000 +0000
77
+++ Makefile.in
8-
@@ -9,20 +9,11 @@ mydir=.
8+
@@ -9,23 +9,11 @@ mydir=.
99
SUBDIRS=util include lib \
1010
@sam2_plugin@ \
1111
plugins/audit \
1212
- plugins/audit/test \
1313
@audit_plugin@ \
1414
- plugins/kadm5_hook/test \
15+
- plugins/kadm5_auth/test \
1516
- plugins/hostrealm/test \
1617
- plugins/localauth/test \
1718
- plugins/pwqual/test \
1819
- plugins/authdata/greet_server \
1920
- plugins/authdata/greet_client \
21+
- plugins/certauth/test \
2022
plugins/kdb/db2 \
2123
@ldap_plugin_dir@ \
2224
- plugins/kdb/test \
25+
- plugins/kdcpolicy/test \
2326
plugins/preauth/otp \
2427
plugins/preauth/pkinit \
2528
- plugins/preauth/test \
2629
plugins/tls/k5tls \
2730
kdc kadmin slave clients appl tests \
2831
config-files build-tools man doc @po@
29-
@@ -75,7 +66,7 @@ INSTALLMKDIRS = $(KRB5ROOT) $(KRB5MANROO
32+
@@ -76,7 +64,7 @@ INSTALLMKDIRS = $(KRB5ROOT) $(KRB5MANROO
3033
install-strip:
3134
$(MAKE) install INSTALL_STRIP=-s
3235

@@ -35,12 +38,12 @@ No idea why... copied from previous instance of this package.
3538

3639
install-mkdirs:
3740
@for i in $(INSTALLMKDIRS); do \
38-
@@ -86,7 +77,7 @@ install-headers-mkdirs:
41+
@@ -87,7 +75,7 @@ install-headers-mkdirs:
3942
$(srcdir)/config/mkinstalldirs $(DESTDIR)$(KRB5_INCDIR)
4043
$(srcdir)/config/mkinstalldirs $(DESTDIR)$(KRB5_INCDIR)/gssapi
4144
$(srcdir)/config/mkinstalldirs $(DESTDIR)$(KRB5_INCDIR)/gssrpc
4245
-install-headers-prerecurse: install-headers-mkdirs
4346
+install-headers-prerecurse:
4447

45-
# install::
46-
# $(MAKE) $(MFLAGS) install.man
48+
clean-:: clean-windows
49+
clean-unix::

security/mit-krb5/patches/patch-aa

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
$NetBSD: patch-aa,v 1.5 2016/03/15 15:16:39 tez Exp $
1+
$NetBSD: patch-aa,v 1.6 2018/06/15 20:46:01 tez Exp $
22

33
Don't make sunpro warnings into errors (warnings are seen in gcc too)
44
Add --enable-pkgsrc-libtool option
55

6-
--- aclocal.m4.orig 2012-05-31 23:49:44.000000000 +0000
6+
--- aclocal.m4.orig 2018-05-03 14:34:47.000000000 +0000
77
+++ aclocal.m4
8-
@@ -611,7 +611,7 @@ else
9-
# works, but it also means that declaration-in-code warnings won't
10-
# be issued.
11-
# -v -fd -errwarn=E_DECLARATION_IN_CODE ...
12-
- WARN_CFLAGS="-errtags=yes -errwarn=E_BAD_PTR_INT_COMBINATION,E_BAD_PTR_INT_COMB_ARG,E_PTR_TO_VOID_IN_ARITHMETIC,E_NO_IMPLICIT_DECL_ALLOWED,E_ATTRIBUTE_PARAM_UNDEFINED"
13-
+ WARN_CFLAGS="-errtags=yes"
14-
WARN_CXXFLAGS="-errtags=yes +w +w2 -xport64"
15-
fi
16-
fi
17-
@@ -1038,6 +1038,9 @@ AC_SUBST(SHLIBVEXT)
8+
@@ -633,7 +633,7 @@ else
9+
if test "x$krb5_ac_warn_cflags_set" = xset ; then
10+
AC_MSG_NOTICE(not adding extra warning flags because WARN_CFLAGS was set)
11+
else
12+
- WARN_CFLAGS="-errtags=yes -errwarn=E_BAD_PTR_INT_COMBINATION,E_BAD_PTR_INT_COMB_ARG,E_PTR_TO_VOID_IN_ARITHMETIC,E_NO_IMPLICIT_DECL_ALLOWED,E_ATTRIBUTE_PARAM_UNDEFINED"
13+
+ WARN_CFLAGS="-errtags=yes"
14+
fi
15+
if test "x$krb5_ac_warn_cxxflags_set" = xset ; then
16+
AC_MSG_NOTICE(not adding extra warning flags because WARN_CXXFLAGS was set)
17+
@@ -1068,6 +1068,9 @@ AC_SUBST(SHLIBVEXT)
1818
AC_SUBST(SHLIBSEXT)
1919
AC_SUBST(DEPLIBEXT)
2020
AC_SUBST(PFLIBEXT)
@@ -24,15 +24,15 @@ Add --enable-pkgsrc-libtool option
2424
AC_SUBST(LIBINSTLIST)
2525
AC_SUBST(DYNOBJEXT)
2626
AC_SUBST(MAKE_DYNOBJ_COMMAND)
27-
@@ -1054,6 +1057,7 @@ AC_SUBST(OBJLISTS)
27+
@@ -1085,6 +1088,7 @@ AC_SUBST(OBJLISTS)
2828
AC_SUBST(STOBJEXT)
2929
AC_SUBST(SHOBJEXT)
3030
AC_SUBST(PFOBJEXT)
3131
+AC_SUBST(LAOBJEXT)
3232
AC_SUBST(PICFLAGS)
3333
AC_SUBST(PROFFLAGS)])
3434

35-
@@ -1168,11 +1172,42 @@ else
35+
@@ -1199,11 +1203,42 @@ else
3636
KDB5_PLUGIN_DEPLIBS=
3737
KDB5_PLUGIN_LIBS=
3838
fi

security/mit-krb5/patches/patch-ae

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$NetBSD: patch-ae,v 1.4 2016/03/15 15:16:39 tez Exp $
1+
$NetBSD: patch-ae,v 1.5 2018/06/15 20:46:01 tez Exp $
22

33
Add --enable-pkgsrc-libtool option
44

security/mit-krb5/patches/patch-aj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$NetBSD: patch-aj,v 1.4 2016/03/15 15:16:39 tez Exp $
1+
$NetBSD: patch-aj,v 1.5 2018/06/15 20:46:01 tez Exp $
22

33
Add --enable-pkgsrc-libtool option
44

security/mit-krb5/patches/patch-al

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$NetBSD: patch-al,v 1.7 2016/03/15 15:16:39 tez Exp $
1+
$NetBSD: patch-al,v 1.8 2018/06/15 20:46:01 tez Exp $
22

33
Add DragonFly support. Fallback to LINE_MAX if BUFSIZ is not defined.
44

security/mit-krb5/patches/patch-cf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$NetBSD: patch-cf,v 1.3 2016/03/15 15:16:39 tez Exp $
1+
$NetBSD: patch-cf,v 1.4 2018/06/15 20:46:01 tez Exp $
22

33
Add needed headers
44

security/mit-krb5/patches/patch-cg

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
$NetBSD: patch-cg,v 1.3 2016/03/15 15:16:39 tez Exp $
1+
$NetBSD: patch-cg,v 1.4 2018/06/15 20:46:01 tez Exp $
22

33
Add two files that need to be generated and otherwise are not
44

5-
--- lib/kdb/Makefile.in.orig 2012-05-31 23:49:44.000000000 +0000
5+
--- lib/kdb/Makefile.in.orig 2018-05-03 14:34:47.000000000 +0000
66
+++ lib/kdb/Makefile.in
7-
@@ -62,7 +62,7 @@ clean-unix:: clean-liblinks clean-libs c
8-
check-pytests:: t_stringattr
9-
$(RUNPYTEST) $(srcdir)/t_stringattr.py $(PYTESTFLAGS)
7+
@@ -63,7 +63,7 @@ check-pytests: t_stringattr
8+
check-cmocka: t_sort_key_data
9+
$(RUN_TEST) ./t_sort_key_data > /dev/null
1010

1111
-generate-files-mac: darwin.exports
1212
+generate-files-mac: darwin.exports adb_err.h adb_err.c
1313

14-
depend:: adb_err.h
14+
depend: adb_err.h
1515

security/mit-krb5/patches/patch-cj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$NetBSD: patch-cj,v 1.2 2016/03/15 15:16:39 tez Exp $
1+
$NetBSD: patch-cj,v 1.3 2018/06/15 20:46:01 tez Exp $
22

33
Add --enable-pkgsrc-libtool option
44

security/mit-krb5/patches/patch-config_lib.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$NetBSD: patch-config_lib.in,v 1.1 2016/03/15 15:16:39 tez Exp $
1+
$NetBSD: patch-config_lib.in,v 1.2 2018/06/15 20:46:01 tez Exp $
22

33
Add --enable-pkgsrc-libtool option
44
(was patch-ad)

security/mit-krb5/patches/patch-config_libnover.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$NetBSD: patch-config_libnover.in,v 1.1 2016/03/15 15:16:39 tez Exp $
1+
$NetBSD: patch-config_libnover.in,v 1.2 2018/06/15 20:46:01 tez Exp $
22

33
Add --enable-pkgsrc-libtool option
44
(was patch-ci)

security/mit-krb5/patches/patch-config_pre.in

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
$NetBSD: patch-config_pre.in,v 1.2 2016/06/21 14:58:17 fhajny Exp $
1+
$NetBSD: patch-config_pre.in,v 1.3 2018/06/15 20:46:01 tez Exp $
22

33
Add --enable-pkgsrc-libtool option
44
Use $(ROOT_USER) in place of root
55
Make sure LDFLAGS are not ignored
66

7-
--- config/pre.in.orig 2016-02-29 19:50:13.000000000 +0000
7+
--- config/pre.in.orig 2018-05-03 14:34:47.000000000 +0000
88
+++ config/pre.in
9-
@@ -168,6 +168,7 @@ PTHREAD_LIBS = @PTHREAD_LIBS@
9+
@@ -171,6 +171,7 @@ PTHREAD_LIBS = @PTHREAD_LIBS@
1010
THREAD_LINKOPTS = $(PTHREAD_CFLAGS) $(PTHREAD_LIBS)
1111
CPPFLAGS = @CPPFLAGS@
1212
DEFS = @DEFS@
1313
+LIBTOOL = @LIBTOOL@
1414
CC = @CC@
1515
CXX = @CXX@
1616
LD = $(PURE) @LD@
17-
@@ -177,11 +178,12 @@ LIBS = @LIBS@
17+
@@ -180,11 +181,12 @@ LIBS = @LIBS@
1818

1919
INSTALL=@INSTALL@
2020
INSTALL_STRIP=
@@ -30,7 +30,7 @@ Make sure LDFLAGS are not ignored
3030
## This is needed because autoconf will sometimes define @exec_prefix@ to be
3131
## ${prefix}.
3232
prefix=@prefix@
33-
@@ -312,6 +314,10 @@ PROG_RPATH_FLAGS=@PROG_RPATH_FLAGS@
33+
@@ -315,6 +317,10 @@ PROG_RPATH_FLAGS=@PROG_RPATH_FLAGS@
3434
# depending on whether we're building with shared libraries.
3535
DEPLIBEXT=@DEPLIBEXT@
3636

@@ -41,7 +41,7 @@ Make sure LDFLAGS are not ignored
4141
KDB5_PLUGIN_DEPLIBS = @KDB5_PLUGIN_DEPLIBS@
4242
KDB5_PLUGIN_LIBS = @KDB5_PLUGIN_LIBS@
4343

44-
@@ -329,12 +335,12 @@ COM_ERR_DEPLIB-k5 = $(TOPLIBD)/libcom_er
44+
@@ -332,12 +338,12 @@ COM_ERR_DEPLIB-k5 = $(TOPLIBD)/libcom_er
4545
SUPPORT_LIBNAME=krb5support
4646
SUPPORT_DEPLIB = $(TOPLIBD)/lib$(SUPPORT_LIBNAME)$(DEPLIBEXT)
4747

@@ -57,7 +57,7 @@ Make sure LDFLAGS are not ignored
5757

5858
KRB5_BASE_DEPLIBS = $(KRB5_DEPLIB) $(CRYPTO_DEPLIB) $(COM_ERR_DEPLIB) $(SUPPORT_DEPLIB)
5959
KDB5_DEPLIBS = $(KDB5_DEPLIB) $(KDB5_PLUGIN_DEPLIBS)
60-
@@ -373,7 +379,7 @@ RL_LIBS = @RL_LIBS@
60+
@@ -376,7 +382,7 @@ RL_LIBS = @RL_LIBS@
6161

6262
SS_LIB = $(SS_LIB-@SS_VERSION@)
6363
SS_LIB-sys = @SS_LIB@
@@ -66,25 +66,25 @@ Make sure LDFLAGS are not ignored
6666
KDB5_LIB = -lkdb5 $(KDB5_PLUGIN_LIBS)
6767

6868
VERTO_DEPLIB = $(VERTO_DEPLIB-@VERTO_VERSION@)
69-
@@ -552,6 +558,9 @@ MAKE_DYNOBJ_COMMAND=@MAKE_DYNOBJ_COMMAND
69+
@@ -556,6 +562,9 @@ MAKE_DYNOBJ_COMMAND=@MAKE_DYNOBJ_COMMAND
7070
DYNOBJ_EXPDEPS=@DYNOBJ_EXPDEPS@
7171
DYNOBJ_EXPFLAGS=@DYNOBJ_EXPFLAGS@
7272

7373
+# usually .la
7474
+LALIBEXT=@LALIBEXT@
7575
+
76-
# File with symbol names to be exported, both functions and data,
77-
# currently not distinguished.
78-
SHLIB_EXPORT_FILE=$(srcdir)/$(LIBPREFIX)$(LIBBASE).exports
79-
@@ -573,6 +582,7 @@ SHLIB_RPATH_FLAGS=@SHLIB_RPATH_FLAGS@
76+
# For some platforms, a flag which causes shared library creation to
77+
# check for undefined symbols. Suppressed when using --enable-asan.
78+
UNDEF_CHECK=@UNDEF_CHECK@
79+
@@ -587,6 +596,7 @@ SHLIB_RPATH_FLAGS=@SHLIB_RPATH_FLAGS@
8080
# flags for explicit libraries depending on this one,
8181
# e.g. "$(SHLIB_RPATH_FLAGS) $(SHLIB_SHLIB_DIRFLAGS) $(SHLIB_EXPLIBS)"
8282
SHLIB_EXPFLAGS=@SHLIB_EXPFLAGS@
8383
+LALIB_EXPFLAGS=@LALIB_EXPFLAGS@ $(LDFLAGS)
8484

8585
## Parameters to be set by configure for use in libobj.in:
8686

87-
@@ -584,6 +594,11 @@ OBJLISTS=@OBJLISTS@
87+
@@ -598,6 +608,11 @@ OBJLISTS=@OBJLISTS@
8888
# the suffix substitution will break on some platforms!
8989
SHLIBOBJS=$(STLIBOBJS:.o=@SHOBJEXT@)
9090
PFLIBOBJS=$(STLIBOBJS:.o=@PFOBJEXT@)

security/mit-krb5/patches/patch-config_shlib.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$NetBSD: patch-config_shlib.conf,v 1.1 2016/03/15 15:16:39 tez Exp $
1+
$NetBSD: patch-config_shlib.conf,v 1.2 2018/06/15 20:46:01 tez Exp $
22

33
Add --enable-pkgsrc-libtool option
44
(was patch-ag)

0 commit comments

Comments
 (0)