www/freenginx-devel: Update to 1.27.4
Update to 1.27.4, fix Invalid root path PR: 280401 Sponsored by: Netzkommune GmbH
This commit is contained in:
parent
e665046fdd
commit
beaad8dead
@ -375,9 +375,9 @@ post-install:
|
|||||||
${CAT} ${WRKSRC}/conf/nginx.conf >> ${STAGEDIR}${ETCDIR}/nginx.conf-dist
|
${CAT} ${WRKSRC}/conf/nginx.conf >> ${STAGEDIR}${ETCDIR}/nginx.conf-dist
|
||||||
|
|
||||||
post-install-WWW-on:
|
post-install-WWW-on:
|
||||||
${MKDIR} ${STAGEDIR}${PREFIX}/www/nginx-dist
|
${MKDIR} ${STAGEDIR}${PREFIX}/www/freenginx-dist
|
||||||
(cd ${WRKSRC}/html && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/www/nginx-dist && \
|
(cd ${WRKSRC}/html && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/www/freenginx-dist && \
|
||||||
${TOUCH} ${STAGEDIR}${PREFIX}/www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING)
|
${TOUCH} ${STAGEDIR}${PREFIX}/www/freenginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING)
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
TIMESTAMP = 1725787707
|
TIMESTAMP = 1732461845
|
||||||
SHA256 (freenginx-1.27.2.tar.gz) = e43500ff3e75a33a101a253cc252e7ebadc4a3d17e04951e77e719dda68b97d1
|
SHA256 (freenginx-1.27.2.tar.gz) = e43500ff3e75a33a101a253cc252e7ebadc4a3d17e04951e77e719dda68b97d1
|
||||||
SIZE (freenginx-1.27.2.tar.gz) = 1224762
|
SIZE (freenginx-1.27.2.tar.gz) = 1224762
|
||||||
SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae
|
SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae
|
||||||
|
|||||||
@ -44,7 +44,7 @@ command="%%PREFIX%%/sbin/nginx"
|
|||||||
_pidprefix="%%NGINX_RUNDIR%%"
|
_pidprefix="%%NGINX_RUNDIR%%"
|
||||||
pidfile="${_pidprefix}/${name}.pid"
|
pidfile="${_pidprefix}/${name}.pid"
|
||||||
_tmpprefix="%%NGINX_TMPDIR%%"
|
_tmpprefix="%%NGINX_TMPDIR%%"
|
||||||
required_files=%%PREFIX%%/etc/nginx/nginx.conf
|
required_files=%%PREFIX%%/etc/freenginx/nginx.conf
|
||||||
extra_commands="reload configtest upgrade gracefulstop"
|
extra_commands="reload configtest upgrade gracefulstop"
|
||||||
|
|
||||||
[ -z "$nginx_enable" ] && nginx_enable="NO"
|
[ -z "$nginx_enable" ] && nginx_enable="NO"
|
||||||
|
|||||||
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
location / {
|
location / {
|
||||||
- root html;
|
- root html;
|
||||||
+ root %%PREFIX%%/www/nginx;
|
+ root %%PREFIX%%/www/freenginx;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -41,7 +41,7 @@
|
|||||||
error_page 500 502 503 504 /50x.html;
|
error_page 500 502 503 504 /50x.html;
|
||||||
location = /50x.html {
|
location = /50x.html {
|
||||||
- root html;
|
- root html;
|
||||||
+ root %%PREFIX%%/www/nginx-dist;
|
+ root %%PREFIX%%/www/freenginx-dist;
|
||||||
}
|
}
|
||||||
|
|
||||||
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
|
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
|
||||||
|
|||||||
@ -19,7 +19,7 @@ details.
|
|||||||
|
|
||||||
Default path for the NGINX dynamic modules is
|
Default path for the NGINX dynamic modules is
|
||||||
|
|
||||||
%%PREFIX%%/libexec/nginx.
|
%%PREFIX%%/libexec/freenginx.
|
||||||
EOM
|
EOM
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@ -94,11 +94,11 @@ share/vim/vimfiles/ftdetect/nginx.vim
|
|||||||
share/vim/vimfiles/ftplugin/nginx.vim
|
share/vim/vimfiles/ftplugin/nginx.vim
|
||||||
share/vim/vimfiles/indent/nginx.vim
|
share/vim/vimfiles/indent/nginx.vim
|
||||||
share/vim/vimfiles/syntax/nginx.vim
|
share/vim/vimfiles/syntax/nginx.vim
|
||||||
%%WWW%%@postexec mkdir -p -m 755 %D/www/nginx-dist
|
%%WWW%%@postexec mkdir -p -m 755 %D/www/freenginx-dist
|
||||||
%%WWW%%@postexec if [ ! -d %D/www/freenginx/ ] ; then ln -fs %D/www/freenginx-dist %D/www/freenginx; fi
|
%%WWW%%@postexec if [ ! -d %D/www/freenginx/ ] ; then ln -fs %D/www/freenginx-dist %D/www/freenginx; fi
|
||||||
%%WWW%%www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING
|
%%WWW%%www/freenginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING
|
||||||
%%WWW%%www/nginx-dist/index.html
|
%%WWW%%www/freenginx-dist/index.html
|
||||||
%%WWW%%www/nginx-dist/50x.html
|
%%WWW%%www/freenginx-dist/50x.html
|
||||||
%%WWW%%@postexec chmod a-w %D/www/freenginx-dist
|
%%WWW%%@postexec chmod a-w %D/www/freenginx-dist
|
||||||
%%WWW%%@postunexec if [ -L %D/www/freenginx ]; then rm -f %D/www/freenginx; fi
|
%%WWW%%@postunexec if [ -L %D/www/freenginx ]; then rm -f %D/www/freenginx; fi
|
||||||
@dir %%NGINX_TMPDIR%%
|
@dir %%NGINX_TMPDIR%%
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user