aboutsummaryrefslogtreecommitdiff
path: root/www/nginx
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2005-02-14 15:09:31 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2005-02-14 15:09:31 +0000
commitec53560e83b1f0f413d72709226a8fd0e9ba894c (patch)
tree2cd67f2d6e26e2b963182a76d522d80d98f8d114 /www/nginx
parent70a904aecd3b19021d80a17bd4b9285a8c8459b6 (diff)
downloadports-ec53560e83b1f0f413d72709226a8fd0e9ba894c.tar.gz
ports-ec53560e83b1f0f413d72709226a8fd0e9ba894c.zip
Notes
Diffstat (limited to 'www/nginx')
-rw-r--r--www/nginx/Makefile5
-rw-r--r--www/nginx/distinfo4
-rw-r--r--www/nginx/pkg-plist3
3 files changed, 8 insertions, 4 deletions
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index 0a63f458486f..e9451bbe3f87 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -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:
diff --git a/www/nginx/distinfo b/www/nginx/distinfo
index 05df33863ff2..28505b876d91 100644
--- a/www/nginx/distinfo
+++ b/www/nginx/distinfo
@@ -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
diff --git a/www/nginx/pkg-plist b/www/nginx/pkg-plist
index fee21d4fa0a1..ace48038cb95 100644
--- a/www/nginx/pkg-plist
+++ b/www/nginx/pkg-plist
@@ -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