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
This commit is contained in:
@@ -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/
|
||||
@@ -78,6 +78,9 @@ 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}
|
||||
${INSTALL_DATA} ${WRKSRC}/conf/* ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
@@ -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/ \
|
||||
@@ -79,6 +79,9 @@ 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}
|
||||
${INSTALL_DATA} ${WRKSRC}/conf/* ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
Reference in New Issue
Block a user