diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2004-10-21 17:54:45 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2004-10-21 17:54:45 +0000 |
commit | bd4066ee457a1089e012ea4b1afe800f4db21264 (patch) | |
tree | 97335de753ae58ffd94ec09aa4426c0844ac6139 /www/nginx/pkg-plist | |
parent | Upgrade to latest snapshot. (diff) |
Add nginx (Engine X) - small and fast WWW-server.
Special thanks to: marck
Some ideas from PR: 72830
Notes
Notes:
svn path=/head/; revision=119912
Diffstat (limited to 'www/nginx/pkg-plist')
-rw-r--r-- | www/nginx/pkg-plist | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/www/nginx/pkg-plist b/www/nginx/pkg-plist new file mode 100644 index 000000000000..4e4b4e625352 --- /dev/null +++ b/www/nginx/pkg-plist @@ -0,0 +1,16 @@ +@comment $FreeBSD$ +@unexec if cmp -s %D/etc/nginx/mime.types %D/etc/nginx/mime.types-dist; then rm -f %D/etc/nginx/mime.types; fi +etc/nginx/mime.types-dist +@exec [ -f %B/mime.types ] || cp %B/%f %B/mime.types +@unexec if cmp -s %D/etc/nginx/nginx.conf %D/etc/nginx/nginx.conf-dist; then rm -f %D/etc/nginx/nginx.conf; fi +etc/nginx/nginx.conf-dist +@exec [ -f %B/nginx.conf ] || cp %B/%f %B/nginx.conf +@unexec rmdir $D/etc/nginx 2>/dev/null || true +@exec mkdir -p -m 755 www/nginx-dist +@comment @unexec chmod u+w www/nginx-dist +www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING +@exec [ -d %D/www/nginx/ ] || ln -fs %B %D/www/nginx +www/nginx-dist/index.html +@exec chmod a-w www/nginx-dist +@unexec if [ -L %D/www/nginx ]; then rm -f %D/www/nginx; fi +@dirrm www/nginx-dist |