wok-next rev 21548

updated cherokee (1.2.103.d021376 -> 1.2.104)
author Hans-G?nter Theisgen
date Mon Jun 22 10:02:36 2020 +0100 (2020-06-22)
parents 386f4ebbec56
children 09a489dcdbbf
files cherokee/receipt
line diff
     1.1 --- a/cherokee/receipt	Sun Jun 21 17:49:05 2020 +0100
     1.2 +++ b/cherokee/receipt	Mon Jun 22 10:02:36 2020 +0100
     1.3 @@ -1,66 +1,72 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="cherokee"
     1.7 -VERSION="1.2.103.d021376"
     1.8 +VERSION="1.2.104"
     1.9  CATEGORY="network"
    1.10 +TAGS="webserver"
    1.11  SHORT_DESC="Cherokee Web Server"
    1.12 -MAINTAINER="devel@slitaz.org"
    1.13 +MAINTAINER="maintainer@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15  WEB_SITE="http://cherokee-project.com/"
    1.16  
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18  WGET_URL="https://github.com/cherokee/webserver/archive/v$VERSION.tar.gz"
    1.19  
    1.20 -BUILD_DEPENDS="pcre-dev cyrus-sasl-dev openssl10-dev openldap-dev python-dev \
    1.21 -pam-dev libmysqlclient ffmpeg-dev gettext-dev autoconf automake libtool"
    1.22 +BUILD_DEPENDS="autoconf automake cyrus-sasl-dev ffmpeg-dev gettext-dev
    1.23 +	libmysqlclient libtool openldap-dev openssl10-dev 	pam-dev
    1.24 +	pcre-dev python-dev"
    1.25  SPLIT="$PACKAGE-dev $PACKAGE-doc"
    1.26  
    1.27  COOKOPTS="force-arch" # different .h
    1.28  
    1.29 -compile_rules() {
    1.30 +compile_rules()
    1.31 +{
    1.32  	# Use subdirectory for logs
    1.33 -	sed -i -r 's|(%localstatedir%/log)|\1/cherokee|' cherokee.conf.sample.pre
    1.34 +	sed -i -r 's|(%localstatedir%/log)|\1/cherokee|' \
    1.35 +		cherokee.conf.sample.pre
    1.36  
    1.37  	# Fix pid file location
    1.38  	sed -i 's|var/run/|run/|g' admin/PageNewConfig.py
    1.39  
    1.40  	cp po/admin/ca.po po/admin/cherokee.pot
    1.41  
    1.42 -	CFLAGS="$CFLAGS -I/usr/include/openssl-1.0" \
    1.43 -	LDFLAGS="$LDFLAGS -L/usr/lib/openssl-1.0" \
    1.44 -	./autogen.sh \
    1.45 -		--prefix=/usr \
    1.46 -		--sysconfdir=/etc \
    1.47 -		--localstatedir=/var \
    1.48 -		--sbindir=/usr/bin \
    1.49 -		--with-wwwroot=/var/www/cherokee \
    1.50 -		--with-cgiroot=/var/www/cherokee/cgi-bin \
    1.51 -		--disable-static \
    1.52 -		--with-wwwuser=www \
    1.53 -		--with-wwwgroup=www \
    1.54 -		--enable-os-string="SliTaz" \
    1.55 +	CFLAGS="$CFLAGS -I/usr/include/openssl-1.0"	\
    1.56 +	LDFLAGS="$LDFLAGS -L/usr/lib/openssl-1.0"		\
    1.57 +	./autogen.sh					\
    1.58 +		--prefix=/usr				\
    1.59 +		--sysconfdir=/etc			\
    1.60 +		--localstatedir=/var			\
    1.61 +		--sbindir=/usr/bin			\
    1.62 +		--with-cgiroot=/var/www/cherokee/cgi-bin	\
    1.63 +		--with-wwwgroup=www			\
    1.64 +		--with-wwwroot=/var/www/cherokee		\
    1.65 +		--with-wwwuser=www			\
    1.66 +		 --enable-os-string="SliTaz"		\
    1.67 +		--disable-static				\
    1.68  		$CONFIGURE_ARGS &&
    1.69  	fix libtool &&
    1.70  	make &&
    1.71  	make DESTDIR=$install install || return 1
    1.72  
    1.73 -	install -Dm644 pam.d_cherokee $install/etc/pam.d/cherokee
    1.74 -	chown -R www:www $install/var/lib/cherokee/graphs
    1.75 -	python    -m compileall $install
    1.76 -	python -O -m compileall $install
    1.77 +	install -Dm644 pam.d_cherokee	$install/etc/pam.d/cherokee
    1.78 +	chown -R www:www			$install/var/lib/cherokee/graphs
    1.79 +	python    -m compileall		$install
    1.80 +	python -O -m compileall		$install
    1.81  
    1.82 -	install -d -o80 -u80 $install/var/log/cherokee
    1.83 +	install -d -o80 -g80		$install/var/log/cherokee
    1.84  
    1.85 -	install -Dm644 $stuff/cherokee.logrotate $install/etc/logrotate.d/cherokee
    1.86 -	install -Dm755 $stuff/cherokee           $install/etc/init.d/cherokee
    1.87 +	install -Dm644 $stuff/cherokee.logrotate \
    1.88 +					$install/etc/logrotate.d/cherokee
    1.89 +	install -Dm755 $stuff/cherokee	$install/etc/init.d/cherokee
    1.90  }
    1.91  
    1.92 -genpkg_rules() {
    1.93 +genpkg_rules()
    1.94 +{
    1.95  	case $PACKAGE in
    1.96  		cherokee)
    1.97  			copy @std
    1.98 -			DEPENDS="pcre cyrus-sasl openssl python libmysqlclient \
    1.99 -			libldap ffmpeg"
   1.100 +			DEPENDS="cyrus-sasl ffmpeg libldap openssl
   1.101 +				libmysqlclient pcre python"
   1.102  			PROVIDE="lighttpd"
   1.103  			;;
   1.104  		cherokee-dev)