Create /var/www/tmp/ directory on install.

ok robert@ (maintainer)
This commit is contained in:
ajacoutot 2009-10-01 12:22:32 +00:00
parent 782cca7fa3
commit 5649cab24c
3 changed files with 6 additions and 8 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.51 2009/09/21 20:04:24 robert Exp $
# $OpenBSD: Makefile,v 1.52 2009/10/01 12:22:32 ajacoutot Exp $
COMMENT-main= server-side HTML-embedded scripting language
COMMENT-fastcgi=stand-alone FastCGI version of PHP
PKGNAME= php5-core-${V}
PKGNAME-main= php5-core-${V}
PKGNAME-main= php5-core-${V}p0
PKGNAME-fastcgi=php5-fastcgi-${V}
DISTFILES= php-${V}.tar.gz

View File

@ -7,7 +7,3 @@ ln -s ${PHP_CONFIG_PATH}/modules.sample/php5.conf \
The recommended php configuration has been installed
to ${PHP_CONFIG_PATH}/php.ini.
Don't forget that the default OpenBSD httpd is chrooted
into /var/www by default, so you may need to create support
directories such as /var/www/tmp for PHP to work correctly.

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-main,v 1.11 2009/09/22 06:55:11 robert Exp $
@comment $OpenBSD: PLIST-main,v 1.12 2009/10/01 12:22:32 ajacoutot Exp $
@conflict php4-core-*
@pkgpath www/php5/core
@pkgpath www/php5/core,hardened
@ -259,7 +259,6 @@ share/php5/include/main/streams/php_stream_plain_wrapper.h
share/php5/include/main/streams/php_stream_transport.h
share/php5/include/main/streams/php_stream_userspace.h
share/php5/include/main/streams/php_streams_int.h
!%%no_suhosin%%
share/php5/include/main/win95nt.h
share/php5/include/regex/
share/php5/include/regex/cclass.h
@ -268,5 +267,8 @@ share/php5/include/regex/regex.h
share/php5/include/regex/regex2.h
share/php5/include/regex/regex_extra.h
share/php5/include/regex/utils.h
!%%no_suhosin%%
@mode 1777
@sample /var/www/tmp/
@extraunexec rm -fr ${PHP_CONFIG_PATH}/php5/
@unexec-delete rm -fr ${PHP_CONFIG_PATH}/php5.sample/