mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Update to 0.1.18.
Create and remove ${TMPDIR} for package on install/deinstall time.
This commit is contained in:
parent
70a904aecd
commit
ec53560e83
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128791
6 changed files with 16 additions and 8 deletions
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= nginx
|
PORTNAME= nginx
|
||||||
PORTVERSION= 0.1.16
|
PORTVERSION= 0.1.18
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= http://sysoev.ru/nginx/
|
MASTER_SITES= http://sysoev.ru/nginx/
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@ HTTP_PORT?= 80
|
||||||
USE_REINPLACE= yes
|
USE_REINPLACE= yes
|
||||||
USE_RC_SUBR= yes
|
USE_RC_SUBR= yes
|
||||||
HAS_CONFIGURE= yes
|
HAS_CONFIGURE= yes
|
||||||
CONFIGURE_ENV+= LINK="${CC}"
|
|
||||||
CONFIGURE_ARGS= --prefix=${PREFIX}/etc/nginx \
|
CONFIGURE_ARGS= --prefix=${PREFIX}/etc/nginx \
|
||||||
--with-cc-opt="-I ${LOCALBASE}/include" \
|
--with-cc-opt="-I ${LOCALBASE}/include" \
|
||||||
--with-ld-opt="-L ${LOCALBASE}/lib" \
|
--with-ld-opt="-L ${LOCALBASE}/lib" \
|
||||||
|
@ -62,6 +61,8 @@ PLIST_SUB+= START_AFTER_INSTALL=""
|
||||||
PLIST_SUB+= START_AFTER_INSTALL="@comment "
|
PLIST_SUB+= START_AFTER_INSTALL="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
PLIST_SUB+= TMPDIR=${TMPDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
|
||||||
|
|
||||||
RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
|
RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (nginx-0.1.16.tar.gz) = 85b7ec5c886c155f29aa95d4604d6cfa
|
MD5 (nginx-0.1.18.tar.gz) = 140af056e5ae8a7614c4448ceef962f7
|
||||||
SIZE (nginx-0.1.16.tar.gz) = 265966
|
SIZE (nginx-0.1.18.tar.gz) = 276116
|
||||||
|
|
|
@ -18,4 +18,7 @@ etc/nginx/nginx.conf-dist
|
||||||
%%STOP_BEFORE_REMOVE%%@unexec %D/etc/rc.d/nginx.sh stop || true
|
%%STOP_BEFORE_REMOVE%%@unexec %D/etc/rc.d/nginx.sh stop || true
|
||||||
sbin/nginx
|
sbin/nginx
|
||||||
etc/rc.d/nginx.sh
|
etc/rc.d/nginx.sh
|
||||||
|
@exec [ -d %%TMPDIR%% ] || mkdir -p %%TMPDIR%%
|
||||||
|
@exec chown %%WWWOWN%%:%%WWWGRP%% %%TMPDIR%%
|
||||||
|
@unexec rm -fr %%TMPDIR%%
|
||||||
%%START_AFTER_INSTALL%%@exec %D/etc/rc.d/nginx.sh start
|
%%START_AFTER_INSTALL%%@exec %D/etc/rc.d/nginx.sh start
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= nginx
|
PORTNAME= nginx
|
||||||
PORTVERSION= 0.1.16
|
PORTVERSION= 0.1.18
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= http://sysoev.ru/nginx/
|
MASTER_SITES= http://sysoev.ru/nginx/
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@ HTTP_PORT?= 80
|
||||||
USE_REINPLACE= yes
|
USE_REINPLACE= yes
|
||||||
USE_RC_SUBR= yes
|
USE_RC_SUBR= yes
|
||||||
HAS_CONFIGURE= yes
|
HAS_CONFIGURE= yes
|
||||||
CONFIGURE_ENV+= LINK="${CC}"
|
|
||||||
CONFIGURE_ARGS= --prefix=${PREFIX}/etc/nginx \
|
CONFIGURE_ARGS= --prefix=${PREFIX}/etc/nginx \
|
||||||
--with-cc-opt="-I ${LOCALBASE}/include" \
|
--with-cc-opt="-I ${LOCALBASE}/include" \
|
||||||
--with-ld-opt="-L ${LOCALBASE}/lib" \
|
--with-ld-opt="-L ${LOCALBASE}/lib" \
|
||||||
|
@ -62,6 +61,8 @@ PLIST_SUB+= START_AFTER_INSTALL=""
|
||||||
PLIST_SUB+= START_AFTER_INSTALL="@comment "
|
PLIST_SUB+= START_AFTER_INSTALL="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
PLIST_SUB+= TMPDIR=${TMPDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
|
||||||
|
|
||||||
RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
|
RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (nginx-0.1.16.tar.gz) = 85b7ec5c886c155f29aa95d4604d6cfa
|
MD5 (nginx-0.1.18.tar.gz) = 140af056e5ae8a7614c4448ceef962f7
|
||||||
SIZE (nginx-0.1.16.tar.gz) = 265966
|
SIZE (nginx-0.1.18.tar.gz) = 276116
|
||||||
|
|
|
@ -18,4 +18,7 @@ etc/nginx/nginx.conf-dist
|
||||||
%%STOP_BEFORE_REMOVE%%@unexec %D/etc/rc.d/nginx.sh stop || true
|
%%STOP_BEFORE_REMOVE%%@unexec %D/etc/rc.d/nginx.sh stop || true
|
||||||
sbin/nginx
|
sbin/nginx
|
||||||
etc/rc.d/nginx.sh
|
etc/rc.d/nginx.sh
|
||||||
|
@exec [ -d %%TMPDIR%% ] || mkdir -p %%TMPDIR%%
|
||||||
|
@exec chown %%WWWOWN%%:%%WWWGRP%% %%TMPDIR%%
|
||||||
|
@unexec rm -fr %%TMPDIR%%
|
||||||
%%START_AFTER_INSTALL%%@exec %D/etc/rc.d/nginx.sh start
|
%%START_AFTER_INSTALL%%@exec %D/etc/rc.d/nginx.sh start
|
||||||
|
|
Loading…
Add table
Reference in a new issue