wok diff php-cherokee/receipt @ rev 20283
security fixes from 0.3.1.9 (2017 Dec 1) and 0.3.1.10 (March 3)... further info: https://blog.torproject.org/new-stable-tor-releases-security-fixes-and-dos-prevention-03210-03110-02915
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Tue Mar 27 11:09:07 2018 +0000 (2018-03-27) |
parents | 55f67249b264 |
children | ccb0caebef6f |
line diff
1.1 --- a/php-cherokee/receipt Tue Jun 03 01:07:29 2014 +0200 1.2 +++ b/php-cherokee/receipt Tue Mar 27 11:09:07 2018 +0000 1.3 @@ -31,19 +31,19 @@ 1.4 post_install() 1.5 { 1.6 # Enable php 1.7 -# if [ -f $1/etc/lighttpd/lighttpd.conf ]; then 1.8 -# [ -f $1/usr/lib/lighttpd/mod_fastcgi.so ] || \ 1.9 -# tazpkg get-install lighttpd-modules --root=$1/ 1.10 +# if [ -f "$1/etc/lighttpd/lighttpd.conf" ]; then 1.11 +# [ -f "$1/usr/lib/lighttpd/mod_fastcgi.so" ] || \ 1.12 +# tazpkg get-install lighttpd-modules --root="$1/" 1.13 # sed -e 's|#fastcgi.server = ( ".php"|fastcgi.server = ( ".php"|' \ 1.14 # -e 's|#"bin-path" => "/usr/bin/php-cgi"|"bin-path" => "/usr/bin/php-cgi"|' \ 1.15 # -e 's|#"socket" => "/tmp/php.socket"|"socket" => "/tmp/php.socket"\n )))|' \ 1.16 -# -i $1/etc/lighttpd/lighttpd.conf 1.17 -# grep -q mod_fastcgi $1/etc/lighttpd/lighttpd.conf || \ 1.18 +# -i "$1/etc/lighttpd/lighttpd.conf" 1.19 +# grep -q mod_fastcgi "$1/etc/lighttpd/lighttpd.conf" || \ 1.20 # sed -e 's|server.modules = (|server.modules = (\n "mod_fastcgi",|' \ 1.21 -# -i $1/etc/lighttpd/lighttpd.conf 1.22 -# grep -q php3 $1/etc/lighttpd/lighttpd.conf || \ 1.23 +# -i "$1/etc/lighttpd/lighttpd.conf" 1.24 +# grep -q php3 "$1/etc/lighttpd/lighttpd.conf" || \ 1.25 # sed -e 's|for PHP.*|for PHP.\nfastcgi.map-extensions = ( ".php3" => ".php", ".php4" => ".php", ".php5" => ".php" )|' \ 1.26 -# -i $1/etc/lighttpd/lighttpd.conf 1.27 +# -i "$1/etc/lighttpd/lighttpd.conf" 1.28 # fi 1.29 1.30