Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2018 04:50:00 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r472950 - head/security/krb5-devel
Message-ID:  <201806210450.w5L4o0CC044568@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Thu Jun 21 04:50:00 2018
New Revision: 472950
URL: https://svnweb.freebsd.org/changeset/ports/472950

Log:
  Fix staging when databases/lmdb is not installed.
  
  Make lmdb an option.

Modified:
  head/security/krb5-devel/Makefile   (contents, props changed)
  head/security/krb5-devel/pkg-plist   (contents, props changed)

Modified: head/security/krb5-devel/Makefile
==============================================================================
--- head/security/krb5-devel/Makefile	Thu Jun 21 04:44:03 2018	(r472949)
+++ head/security/krb5-devel/Makefile	Thu Jun 21 04:50:00 2018	(r472950)
@@ -40,7 +40,7 @@ CPE_VENDOR=		mit
 CPE_VERSION=		5-${PORTVERSION}
 CPE_PRODUCT=		kerberos
 
-OPTIONS_DEFINE=		EXAMPLES NLS DNS_FOR_REALM LDAP
+OPTIONS_DEFINE=		EXAMPLES NLS DNS_FOR_REALM LDAP LMDB
 OPTIONS_DEFAULT=	KRB5_PDF KRB5_HTML READLINE
 OPTIONS_RADIO=		CMD_LINE_EDITING
 OPTIONS_RADIO_CMD_LINE_EDITING=	READLINE READLINE_PORT LIBEDIT
@@ -50,6 +50,10 @@ DNS_FOR_REALM_CONFIGURE_ENABLE=	dns-for-realm
 LDAP=			Enable LDAP support
 LDAP_USE=		OPENLDAP=yes
 LDAP_CONFIGURE_WITH=	ldap
+LMDB_DESC=		Enable OpenLDAP Lightning Memory-Mapped Database
+LMDB_CONFIGURE_WITH=	lmdb
+LMDB_LIB_DEPENDS=	liblmdb.so:databases/lmdb
+LMDB_IMPLIES=		LDAP
 NLS_USES=		gettext
 READLINE_USES=		readline
 READLINE_PORT_DESC=	Command line editing via devel/readline

Modified: head/security/krb5-devel/pkg-plist
==============================================================================
--- head/security/krb5-devel/pkg-plist	Thu Jun 21 04:44:03 2018	(r472949)
+++ head/security/krb5-devel/pkg-plist	Thu Jun 21 04:50:00 2018	(r472950)
@@ -96,7 +96,7 @@ lib/libkrb5support.so
 lib/libkrb5support.so.0
 lib/libkrb5support.so.0.1
 lib/krb5/plugins/kdb/db2.so
-lib/krb5/plugins/kdb/klmdb.so
+%%LMDB%%lib/krb5/plugins/kdb/klmdb.so
 lib/krb5/plugins/tls/k5tls.so
 %%LDAP%%lib/krb5/plugins/kdb/kldap.so
 lib/krb5/plugins/preauth/otp.so



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806210450.w5L4o0CC044568>