svn commit: r536479 - in head/dns/bind916: . files

Mathieu Arnold mat at FreeBSD.org
Mon May 25 16:50:34 UTC 2020


Author: mat
Date: Mon May 25 16:50:33 2020
New Revision: 536479
URL: https://svnweb.freebsd.org/changeset/ports/536479

Log:
  Fix crash when using override-cache-ttl.
  
  Submitted by:	Andre Albsmeier

Modified:
  head/dns/bind916/Makefile   (contents, props changed)
  head/dns/bind916/files/extrapatch-bind-min-override-ttl   (contents, props changed)

Modified: head/dns/bind916/Makefile
==============================================================================
--- head/dns/bind916/Makefile	Mon May 25 16:50:29 2020	(r536478)
+++ head/dns/bind916/Makefile	Mon May 25 16:50:33 2020	(r536479)
@@ -8,7 +8,7 @@ PORTVERSION=	${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc
 PORTREVISION=	1
 .else
 # dns/bind916 here
-PORTREVISION=	1
+PORTREVISION=	2
 .endif
 CATEGORIES=	dns net
 MASTER_SITES=	ISC/bind9/${ISCVERSION}

Modified: head/dns/bind916/files/extrapatch-bind-min-override-ttl
==============================================================================
--- head/dns/bind916/files/extrapatch-bind-min-override-ttl	Mon May 25 16:50:29 2020	(r536478)
+++ head/dns/bind916/files/extrapatch-bind-min-override-ttl	Mon May 25 16:50:33 2020	(r536479)
@@ -18,7 +18,7 @@ Add the override-cache-ttl feature.
  	obj = NULL;
 +	result = named_config_get(maps, "override-cache-ttl", &obj);
 +	INSIST(result == ISC_R_SUCCESS);
-+	view->overridecachettl = cfg_obj_asuint32(obj);
++	view->overridecachettl = cfg_obj_asduration(obj);
 +
 +	obj = NULL;
  	result = named_config_get(maps, "max-cache-ttl", &obj);


More information about the svn-ports-all mailing list