mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00: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,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= nginx
|
||||
PORTVERSION= 0.1.16
|
||||
PORTVERSION= 0.1.18
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://sysoev.ru/nginx/
|
||||
|
||||
@ -22,7 +22,6 @@ HTTP_PORT?= 80
|
||||
USE_REINPLACE= yes
|
||||
USE_RC_SUBR= yes
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ENV+= LINK="${CC}"
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX}/etc/nginx \
|
||||
--with-cc-opt="-I ${LOCALBASE}/include" \
|
||||
--with-ld-opt="-L ${LOCALBASE}/lib" \
|
||||
@ -62,6 +61,8 @@ PLIST_SUB+= START_AFTER_INSTALL=""
|
||||
PLIST_SUB+= START_AFTER_INSTALL="@comment "
|
||||
.endif
|
||||
|
||||
PLIST_SUB+= TMPDIR=${TMPDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
|
||||
|
||||
RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
|
||||
|
||||
post-extract:
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (nginx-0.1.16.tar.gz) = 85b7ec5c886c155f29aa95d4604d6cfa
|
||||
SIZE (nginx-0.1.16.tar.gz) = 265966
|
||||
MD5 (nginx-0.1.18.tar.gz) = 140af056e5ae8a7614c4448ceef962f7
|
||||
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
|
||||
sbin/nginx
|
||||
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
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= nginx
|
||||
PORTVERSION= 0.1.16
|
||||
PORTVERSION= 0.1.18
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://sysoev.ru/nginx/
|
||||
|
||||
@ -22,7 +22,6 @@ HTTP_PORT?= 80
|
||||
USE_REINPLACE= yes
|
||||
USE_RC_SUBR= yes
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ENV+= LINK="${CC}"
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX}/etc/nginx \
|
||||
--with-cc-opt="-I ${LOCALBASE}/include" \
|
||||
--with-ld-opt="-L ${LOCALBASE}/lib" \
|
||||
@ -62,6 +61,8 @@ PLIST_SUB+= START_AFTER_INSTALL=""
|
||||
PLIST_SUB+= START_AFTER_INSTALL="@comment "
|
||||
.endif
|
||||
|
||||
PLIST_SUB+= TMPDIR=${TMPDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
|
||||
|
||||
RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
|
||||
|
||||
post-extract:
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (nginx-0.1.16.tar.gz) = 85b7ec5c886c155f29aa95d4604d6cfa
|
||||
SIZE (nginx-0.1.16.tar.gz) = 265966
|
||||
MD5 (nginx-0.1.18.tar.gz) = 140af056e5ae8a7614c4448ceef962f7
|
||||
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
|
||||
sbin/nginx
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user