A customer has reported about an issue when unable to load a dynamic

module because of wrong order of those modules in the default confi-
guration file, so remove the auto generation of the load modules list.

Bump PORTREVISION.
This commit is contained in:
Sergey A. Osokin 2017-05-21 19:05:01 +00:00
parent fad88a07e7
commit a163074073
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=441422
2 changed files with 2 additions and 12 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= nginx
PORTVERSION= 1.13.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= http://nginx.org/download/
MASTER_SITES+= LOCAL/osa
@ -1345,11 +1345,6 @@ post-install:
.if !empty(PORT_OPTIONS:MDSO)
(cd ${STAGEDIR}${PREFIX} && ${FIND} ${MODULESDIR:S|${PREFIX}/||} \
! -type d >>${TMPPLIST})
# Update nginx.conf-dist with a list of staged dynamic modules
(cd ${STAGEDIR} && \
${FIND} ${MODULESDIR:S|^/||} -type f -name '*.so' \
-exec ${ECHO_CMD} "load_module /{};" \; \
>>${STAGEDIR}${ETCDIR}/nginx.conf-dist)
.endif
${CAT} ${WRKSRC}/conf/nginx.conf \
>>${STAGEDIR}${ETCDIR}/nginx.conf-dist

View file

@ -3,7 +3,7 @@
PORTNAME= nginx
PORTVERSION= 1.12.0
PORTREVISION= 2
PORTREVISION= 3
PORTEPOCH= 2
CATEGORIES= www
MASTER_SITES= http://nginx.org/download/
@ -1347,11 +1347,6 @@ post-install:
.if !empty(PORT_OPTIONS:MDSO)
(cd ${STAGEDIR}${PREFIX} && ${FIND} ${MODULESDIR:S|${PREFIX}/||} \
! -type d >>${TMPPLIST})
# Update nginx.conf-dist with a list of staged dynamic modules
(cd ${STAGEDIR} && \
${FIND} ${MODULESDIR:S|^/||} -type f -name '*.so' \
-exec ${ECHO_CMD} "load_module /{};" \; \
>>${STAGEDIR}${ETCDIR}/nginx.conf-dist)
.endif
${CAT} ${WRKSRC}/conf/nginx.conf \
>>${STAGEDIR}${ETCDIR}/nginx.conf-dist