wok-current rev 15182
bozohttpd, cherokee, hiawatha, nginx: add PROVIDE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 21 18:41:33 2013 +0000 (2013-08-21) |
parents | 60a1a4db09fb |
children | e8c594a6b672 |
files | bozohttpd/receipt cherokee/receipt hiawatha/receipt nginx/receipt |
line diff
1.1 --- a/bozohttpd/receipt Wed Aug 21 13:52:26 2013 +0200 1.2 +++ b/bozohttpd/receipt Wed Aug 21 18:41:33 2013 +0000 1.3 @@ -9,6 +9,7 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.5 WGET_URL="http://www.eterna.com.au/$PACKAGE/$TARBALL" 1.6 TAGS="http server lightweight CGI ipv6 ssl" 1.7 +PROVIDE="lighttpd" 1.8 1.9 DEPENDS="openssl" 1.10 BUILD_DEPENDS="openssl-dev"
2.1 --- a/cherokee/receipt Wed Aug 21 13:52:26 2013 +0200 2.2 +++ b/cherokee/receipt Wed Aug 21 18:41:33 2013 +0000 2.3 @@ -9,6 +9,7 @@ 2.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.5 WEB_SITE="http://www.cherokee-project.com/" 2.6 WGET_URL="http://www.cherokee-project.com/download/1.2/$VERSION/$TARBALL" 2.7 +PROVIDE="lighttpd" 2.8 2.9 DEPENDS="pcre cyrus-sasl openssl python libmysqlclient libldap ffmpeg" 2.10 BUILD_DEPENDS="pcre-dev cyrus-sasl-dev openssl-dev openldap-dev python-dev pam-dev libmysqlclient ffmpeg-dev gettext autoconf automake"
3.1 --- a/hiawatha/receipt Wed Aug 21 13:52:26 2013 +0200 3.2 +++ b/hiawatha/receipt Wed Aug 21 18:41:33 2013 +0000 3.3 @@ -5,12 +5,14 @@ 3.4 CATEGORY="network" 3.5 SHORT_DESC="Advanced and secure webserver." 3.6 MAINTAINER="pascal.bellard@slitaz.org" 3.7 +LICENSE="GPL2" 3.8 TARBALL="$PACKAGE-$VERSION.tar.gz" 3.9 WEB_SITE="http://www.hiawatha-webserver.org/" 3.10 WGET_URL="${WEB_SITE}files/$TARBALL" 3.11 PROVIDE="lighttpd" 3.12 CONFIG_FILES="/etc/hiawatha" 3.13 TAGS="webserver http server" 3.14 +PROVIDE="lighttpd" 3.15 3.16 DEPENDS="openssl libxml2 libxslt zlib" 3.17 BUILD_DEPENDS="openssl-dev libxml2-dev libxslt-dev zlib-dev cmake" 3.18 @@ -29,9 +31,9 @@ 3.19 genpkg_rules() 3.20 { 3.21 mkdir -p $fs/usr 3.22 - cp -a $_pkg/var $fs 3.23 - cp -a $_pkg/etc $fs 3.24 - cp -a $_pkg/usr/lib $fs/usr 3.25 - cp -a $_pkg/usr/bin $fs/usr 3.26 - cp -a $_pkg/usr/sbin $fs/usr 3.27 + cp -a $install/var $fs 3.28 + cp -a $install/etc $fs 3.29 + cp -a $install/usr/lib $fs/usr 3.30 + cp -a $install/usr/bin $fs/usr 3.31 + cp -a $install/usr/sbin $fs/usr 3.32 }
4.1 --- a/nginx/receipt Wed Aug 21 13:52:26 2013 +0200 4.2 +++ b/nginx/receipt Wed Aug 21 18:41:33 2013 +0000 4.3 @@ -9,9 +9,11 @@ 4.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 4.5 WEB_SITE="http://nginx.org/" 4.6 WGET_URL="${WEB_SITE}download//$TARBALL" 4.7 +PROVIDE="lighttpd" 4.8 +CONFIG_FILES="/etc/nginx" 4.9 + 4.10 DEPENDS="pcre openssl zlib" 4.11 BUILD_DEPENDS="pcre-dev openssl-dev zlib-dev" 4.12 -CONFIG_FILES="/etc/nginx" 4.13 4.14 # Rules to configure and make the package. 4.15 compile_rules() 4.16 @@ -49,14 +51,14 @@ 4.17 --with-mail --with-mail_ssl_module \ 4.18 --user=80 --group=80 && 4.19 make && 4.20 - make DESTDIR=$PWD/_pkg install 4.21 + make DESTDIR=$DESTDIR install 4.22 } 4.23 4.24 # Rules to gen a SliTaz package suitable for Tazpkg. 4.25 # On SliTaz Lighttpd runs as user/group : www/www or 80/80. 4.26 genpkg_rules() 4.27 { 4.28 - cp -a $_pkg/* $fs/ 4.29 + cp -a $install/* $fs/ 4.30 rm -rf $fs/usr/html 4.31 cp -a stuff/* $fs 4.32 sed -i 's/#user nobody;/user www;/' $fs/etc/nginx/nginx.conf