wok-current rev 1906

apache,lighttpd*: update CONFIG_FILES
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 21 11:06:05 2008 +0000 (2008-12-21)
parents 9009ad93df56
children bae9fa77b9be
files apache/receipt lighttpd-ssl/receipt lighttpd/receipt
line diff
     1.1 --- a/apache/receipt	Sun Dec 21 10:51:14 2008 +0000
     1.2 +++ b/apache/receipt	Sun Dec 21 11:06:05 2008 +0000
     1.3 @@ -11,7 +11,7 @@
     1.4  WGET_URL="${WEB_SITE}dist/$SOURCE/$TARBALL"
     1.5  DEPENDS="apr-util apr openssl"
     1.6  BUILD_DEPENDS="apr-util-dev apr-dev openssl-dev"
     1.7 -CONFIG_FILES="/etc/apache /var/www"
     1.8 +CONFIG_FILES="/etc/apache /var/www /etc/ssl/apache"
     1.9  PROVIDE="lighttpd"
    1.10  
    1.11  # Rules to configure and make the package.
     2.1 --- a/lighttpd-ssl/receipt	Sun Dec 21 10:51:14 2008 +0000
     2.2 +++ b/lighttpd-ssl/receipt	Sun Dec 21 11:06:05 2008 +0000
     2.3 @@ -13,7 +13,7 @@
     2.4  WEB_SITE="http://www.lighttpd.net/"
     2.5  #WGET_URL="http://www.lighttpd.net/download/$TARBALL"
     2.6  WGET_URL="http://mirror.slitaz.org/sources/packages/l/$TARBALL"
     2.7 -CONFIG_FILES="/etc/lighttpd/lighttpd.conf /etc/lighttpd/vhosts.conf"
     2.8 +CONFIG_FILES="/etc/lighttpd /etc/ssl/lighttpd"
     2.9  PROVIDE="lighttpd"
    2.10  BASE_MODULES="
    2.11  access
    2.12 @@ -95,6 +95,7 @@
    2.13  	echo "Processing pre-install commands..."
    2.14  	[ -f /etc/init.d/lighttpd ] && /etc/init.d/lighttpd stop
    2.15  }
    2.16 +
    2.17  post_install()
    2.18  {
    2.19  	echo "Processing post-install commands..."
    2.20 @@ -102,7 +103,7 @@
    2.21  		openssl req -new -x509 \
    2.22  			-keyout $1/etc/ssl/lighttpd/lighttpd.pem \
    2.23  			-out $1/etc/ssl/lighttpd/lighttpd.pem \
    2.24 -			 -days 3650 -nodes <<EOT
    2.25 +			-days 3650 -nodes <<EOT
    2.26  $(. /etc/locale.conf ; echo ${LANG#*_})
    2.27  $(cat /etc/TZ)
    2.28  
     3.1 --- a/lighttpd/receipt	Sun Dec 21 10:51:14 2008 +0000
     3.2 +++ b/lighttpd/receipt	Sun Dec 21 11:06:05 2008 +0000
     3.3 @@ -12,7 +12,7 @@
     3.4  WEB_SITE="http://www.lighttpd.net/"
     3.5  #WGET_URL="http://www.lighttpd.net/download/$TARBALL"
     3.6  WGET_URL="http://mirror.slitaz.org/sources/packages/l/$TARBALL"
     3.7 -CONFIG_FILES="/etc/lighttpd/lighttpd.conf /etc/lighttpd/vhosts.conf"
     3.8 +CONFIG_FILES="/etc/lighttpd"
     3.9  BASE_MODULES="
    3.10  access
    3.11  accesslog