pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/mit-krb5



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Dec  9 15:49:13 UTC 2024

Modified Files:
        pkgsrc/security/mit-krb5: Makefile

Log Message:
mit-krb5: Stop disabling thread support on SunOS.

This was blanket added in 2005 with no reason provided.  It is actively
harmful now on SunOS when trying to use threaded clients such as pgbench.
For now I'm only removing it on SunOS as that's all I can test, but it is
highly likely this should just be removed completely.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 pkgsrc/security/mit-krb5/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/mit-krb5/Makefile
diff -u pkgsrc/security/mit-krb5/Makefile:1.120 pkgsrc/security/mit-krb5/Makefile:1.121
--- pkgsrc/security/mit-krb5/Makefile:1.120     Mon Dec  9 15:14:32 2024
+++ pkgsrc/security/mit-krb5/Makefile   Mon Dec  9 15:49:13 2024
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.120 2024/12/09 15:14:32 jperkin Exp $
+# $NetBSD: Makefile,v 1.121 2024/12/09 15:49:13 jperkin Exp $
 
 BRANCHNAME=    1.21
 DISTNAME=      krb5-${BRANCHNAME}.3
 PKGNAME=       mit-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    security
 # It is not clear how stable this URL scheme is.
 MASTER_SITES=  http://web.mit.edu/kerberos/dist/krb5/${BRANCHNAME}/
@@ -44,11 +45,18 @@ FILES_SUBST+=               MIT_KRB5_STATEDIR=${MIT_K
 
 BUILD_DEFS+=           VARBASE
 
+# This argument was added with no explanation back in 2005, and is now
+# actively harmful on at least SunOS, causing core dumps when trying to
+# use threaded clients such as pgbench.  It should probably be removed
+# entirely, or at least limited to NetBSD.
+.if ${OPSYS} != "SunOS"
+CONFIGURE_ARGS+=       --disable-thread-support
+.endif
+
 CONFIGURE_ARGS+=       --localstatedir=${MIT_KRB5_STATEDIR}
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
 CONFIGURE_ARGS+=       --disable-aesni
 CONFIGURE_ARGS+=       --disable-kdc-lookaside-cache
-CONFIGURE_ARGS+=       --disable-thread-support
 CONFIGURE_ARGS+=       --enable-shared
 CONFIGURE_ARGS+=       --enable-dns-for-realm
 CONFIGURE_ARGS+=       --enable-pkgsrc-libtool



Home | Main Index | Thread Index | Old Index