diff options
author | wiz <wiz@pkgsrc.org> | 2019-10-21 16:21:44 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2019-10-21 16:21:44 +0000 |
commit | 6237b64f475c71e9178d83cc008c9dff0e4d411f (patch) | |
tree | d7b9191102e475691f57f5e4117185fd9c32c92d /security | |
parent | 2b765f07f1968df5c769b1973ddbb329ec362ddc (diff) | |
download | pkgsrc-6237b64f475c71e9178d83cc008c9dff0e4d411f.tar.gz |
heimdal: fix build on OpenSSL 1.1 systems by disabling OpenSSL.
heimdal includes a copy of the relevant functions itself.
Add a comment that the dependency should be re-enabled when updating
this package.
Bump PKGREVISION.
Diffstat (limited to 'security')
-rw-r--r-- | security/heimdal/Makefile | 23 | ||||
-rw-r--r-- | security/heimdal/buildlink3.mk | 3 |
2 files changed, 6 insertions, 20 deletions
diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile index 5963bbf86f2..0a452274d92 100644 --- a/security/heimdal/Makefile +++ b/security/heimdal/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.132 2019/04/03 00:33:04 ryoon Exp $ +# $NetBSD: Makefile,v 1.133 2019/10/21 16:21:44 wiz Exp $ DISTNAME= heimdal-1.5.3 -PKGREVISION= 20 +PKGREVISION= 21 CATEGORIES= security MASTER_SITES= http://www.h5l.org/dist/src/ @@ -34,7 +34,9 @@ CONFIGURE_ARGS+= --enable-pthread-support CONFIGURE_ARGS+= --includedir=${PREFIX}/include/krb5 CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= --with-hdbdir=${HEIMDAL_HDB_DIR} -CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q} +# not compatible to openssl 1.1 +# TODO: re-enable when updating from 1.5.3, also in buildlink3.mk +CONFIGURE_ARGS+= --without-openssl CONFIGURE_ARGS+= --with-sqlite3=${BUILDLINK_PREFIX.sqlite3} CONFIGURE_ARGS+= --without-x CONFIGURE_ARGS+= ${ABI:D--with-mips-abi=${ABI}} @@ -97,15 +99,7 @@ pre-build: ${TOUCH} ${WRKSRC}/po/localefiles .include "../../databases/sqlite3/buildlink3.mk" -.include "../../security/openssl/buildlink3.mk" -CHECK_BUILTIN.openssl:= yes -.include "../../security/openssl/builtin.mk" -CHECK_BUILTIN.openssl:=no -.if ${MACHINE_PLATFORM:MNetBSD-[1-3]*} != "" || \ - (${OPSYS} == "SunOS" && !empty(USE_BUILTIN.openssl:Myes) && \ - !empty(BUILTIN_LIB_FOUND.crypto:M[Nn][Oo])) PLIST.hcrypto= yes -.endif # Linux does not have include/vis.h and expected include/glob.h. .if ${OPSYS} == "Linux" @@ -113,16 +107,9 @@ PLIST.vis= yes PLIST.glob= yes # Without this I get undefined references to pthread_getspecific PTHREAD_AUTO_VARS= yes -.if !empty(USE_BUILTIN.openssl:Myes) && \ - empty(BUILTIN_VERSION.openssl:M1.0*) -PLIST.hcrypto= yes -.endif .endif .if ${OPSYS} == "MirBSD" -.if !empty(USE_BUILTIN.openssl:Myes) -PLIST.hcrypto= yes -.endif PLIST.vis= yes # all of the tools need to link against pthread, force it. PTHREAD_AUTO_VARS= yes diff --git a/security/heimdal/buildlink3.mk b/security/heimdal/buildlink3.mk index 57200ad6132..56789f5fac9 100644 --- a/security/heimdal/buildlink3.mk +++ b/security/heimdal/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.58 2019/04/03 00:33:04 ryoon Exp $ +# $NetBSD: buildlink3.mk,v 1.59 2019/10/21 16:21:44 wiz Exp $ .include "../../mk/bsd.fast.prefs.mk" @@ -18,7 +18,6 @@ pkgbase := heimdal .if !empty(PKG_BUILD_OPTIONS.heimdal:Mldap) . include "../../databases/openldap-client/buildlink3.mk" .endif -.include "../../security/openssl/buildlink3.mk" CHECK_BUILTIN.heimdal:= yes .include "../../security/heimdal/builtin.mk" |