aboutsummaryrefslogtreecommitdiff
path: root/security/heimdal
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2017-01-04 02:09:18 +0000
committerHiroki Sato <hrs@FreeBSD.org>2017-01-04 02:09:18 +0000
commit04b7b6b70d8d257ce2c39d16305aa4e392919f60 (patch)
treec5891055e94db2e49bdad6f214aed914aacaf54f /security/heimdal
parentce76db0c9a611dcb12e68102100cdef4c1592137 (diff)
downloadports-04b7b6b70d8d257ce2c39d16305aa4e392919f60.tar.gz
ports-04b7b6b70d8d257ce2c39d16305aa4e392919f60.zip
Notes
Diffstat (limited to 'security/heimdal')
-rw-r--r--security/heimdal/Makefile8
-rw-r--r--security/heimdal/files/patch-configure9
-rw-r--r--security/heimdal/files/patch-tools-krb5-config.in10
3 files changed, 16 insertions, 11 deletions
diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile
index 7ef5e64f9543..c0af907e4e07 100644
--- a/security/heimdal/Makefile
+++ b/security/heimdal/Makefile
@@ -3,7 +3,7 @@
PORTNAME= heimdal
PORTVERSION= 7.1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security ipv6
MASTER_SITES= http://www.h5l.org/dist/src/ \
http://ftp.pdc.kth.se/pub/heimdal/src/ \
@@ -55,7 +55,7 @@ INFO= heimdal hx509
MAKE_JOBS_UNSAFE= yes
-OPTIONS_DEFINE= IPV6 BDB SQLITE LDAP PKINIT DIGEST KX509 CRACKLIB
+OPTIONS_DEFINE= IPV6 BDB LMDB SQLITE LDAP PKINIT DIGEST KX509 CRACKLIB
OPTIONS_DEFAULT= BDB PKINIT DIGEST KX509
OPTIONS_SUB= yes
@@ -71,6 +71,10 @@ BDB_CONFIGURE_ENV_OFF= ac_cv_header_db_h=yes \
ac_cv_func_db_create=no
BDB_CONFIGURE_OFF= --enable-ndbm-db
+LMDB_DESC= Enable LMDB KDC backend support
+LMDB_CONFIGURE_ENABLE= mdb_db
+LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb
+
SQLITE_DESC= Enable SQLite KDC backend support
SQLITE_USES= sqlite
SQLITE_CONFIGURE_ON= --with-sqlite3-include="${LOCALBASE}/include" \
diff --git a/security/heimdal/files/patch-configure b/security/heimdal/files/patch-configure
index 5bd26a6d42a2..ffebf7a89b07 100644
--- a/security/heimdal/files/patch-configure
+++ b/security/heimdal/files/patch-configure
@@ -18,15 +18,6 @@
;;
*-*-openbsd*)
native_pthread_support=yes
-@@ -16776,7 +16776,7 @@ fi
-
- fi
-
--for db_type in unknown $db_type_preference; do
-+for db_type in $db_type_preference unknown; do
- if eval test \"x\$have_${db_type}\" = xyes; then
- break
- fi
@@ -16935,6 +16935,9 @@ esac
$as_echo "#define HAVE_NDBM 1" >>confdefs.h
diff --git a/security/heimdal/files/patch-tools-krb5-config.in b/security/heimdal/files/patch-tools-krb5-config.in
new file mode 100644
index 000000000000..2cc93d3e971e
--- /dev/null
+++ b/security/heimdal/files/patch-tools-krb5-config.in
@@ -0,0 +1,10 @@
+--- tools/krb5-config.in.orig 2017-01-04 10:37:40.213263000 +0900
++++ tools/krb5-config.in 2017-01-04 10:37:56.622658000 +0900
+@@ -82,6 +82,7 @@
+ ;;
+ --libs)
+ do_libs=yes
++ do_lib_deps=yes
+ ;;
+ --deps)
+ do_lib_deps=yes