svn commit: r512372 - in head/net: ntp ntp-devel
Cy Schubert
cy at FreeBSD.org
Thu Sep 19 20:15:59 UTC 2019
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 at 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}
More information about the svn-ports-all
mailing list