Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2019 20:15:58 +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: r512372 - in head/net: ntp ntp-devel
Message-ID:  <201909192015.x8JKFw1r014233@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Thu Sep 19 20:15:58 2019
New Revision: 512372
URL: https://svnweb.freebsd.org/changeset/ports/512372

Log:
  Chase base r352518:
  
  Reduce calls to close(2) at startup through the use of closefrom(2).
  
  Submitted by:		pawel.biernacki@gmail.com (based on)
  Obtained from:		base r352518

Modified:
  head/net/ntp-devel/Makefile   (contents, props changed)
  head/net/ntp/Makefile   (contents, props changed)

Modified: head/net/ntp-devel/Makefile
==============================================================================
--- head/net/ntp-devel/Makefile	Thu Sep 19 19:55:44 2019	(r512371)
+++ head/net/ntp-devel/Makefile	Thu Sep 19 20:15:58 2019	(r512372)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ntp
 PORTVERSION=	4.3.99
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net ipv6
 MASTER_SITES=	http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-dev/ \
 		http://archive.ntp.org/ntp4/ntp-dev/
@@ -77,6 +77,9 @@ ${D}_CONFIGURE_ENABLE=	${D}
 post-extract:
 	@${TOUCH} ${WRKSRC}/scripts/build/checkHtmlFileDates
 	@${CHMOD} +x ${WRKSRC}/scripts/build/checkHtmlFileDates
+
+post-configure:
+	@${ECHO_CMD} '#define HAVE_CLOSEFROM        1' >> ${WRKSRC}/config.h
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}

Modified: head/net/ntp/Makefile
==============================================================================
--- head/net/ntp/Makefile	Thu Sep 19 19:55:44 2019	(r512371)
+++ head/net/ntp/Makefile	Thu Sep 19 20:15:58 2019	(r512372)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ntp
 PORTVERSION=	4.2.8p13
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net ipv6
 MASTER_SITES=	http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ \
 		http://archive.ntp.org/ntp4/ntp-4.2/ \
@@ -78,6 +78,9 @@ ${D}_CONFIGURE_ENABLE=	${D}
 post-extract:
 	@${TOUCH} ${WRKSRC}/scripts/build/checkHtmlFileDates
 	@${CHMOD} +x ${WRKSRC}/scripts/build/checkHtmlFileDates
+
+post-configure:
+	@${ECHO_CMD} '#define HAVE_CLOSEFROM	1' >> ${WRKSRC}/config.h
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}



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