wok-next diff cherokee/receipt @ rev 20875

Fix bastet, cherokee
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 06 12:59:08 2018 +0300 (2018-07-06)
parents 835b3b8ce6ac
children d5aab818505e
line diff
     1.1 --- a/cherokee/receipt	Fri Apr 13 07:14:16 2018 +0300
     1.2 +++ b/cherokee/receipt	Fri Jul 06 12:59:08 2018 +0300
     1.3 @@ -1,33 +1,38 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="cherokee"
     1.7 -VERSION="1.2.101"
     1.8 +VERSION="1.2.103.d021376"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="A very fast, fiexible and easy to configure Web Server"
    1.11 +SHORT_DESC="Cherokee Web Server"
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="GPL2"
    1.14 -WEB_SITE="http://www.cherokee-project.com/"
    1.15 +WEB_SITE="http://cherokee-project.com/"
    1.16  
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WGET_URL="http://www.cherokee-project.com/download/${VERSION%.*}/$VERSION/$TARBALL"
    1.19 +WGET_URL="https://github.com/cherokee/webserver/archive/v$VERSION.tar.gz"
    1.20  
    1.21 -BUILD_DEPENDS="pcre-dev cyrus-sasl-dev openssl-dev openldap-dev python-dev \
    1.22 -pam-dev libmysqlclient ffmpeg-dev gettext autoconf automake"
    1.23 +BUILD_DEPENDS="pcre-dev cyrus-sasl-dev openssl10-dev openldap-dev python-dev \
    1.24 +pam-dev libmysqlclient ffmpeg-dev gettext autoconf automake libtool"
    1.25  SPLIT="cherokee cherokee-dev cherokee-doc"
    1.26  
    1.27  compile_rules() {
    1.28 -	# Update deprecated symbols of ffmpeg
    1.29 -	sed -i 's|hdl->avformat->file_size|avio_size(hdl->avformat)|' cherokee/handler_streaming.c
    1.30 -
    1.31  	# Use subdirectory for logs
    1.32  	sed -i -r 's|(%localstatedir%/log)|\1/cherokee|' cherokee.conf.sample.pre
    1.33  
    1.34 -	autoreconf -v
    1.35 -	./configure \
    1.36 +	# Fix pid file location
    1.37 +	sed -i 's|var/run/|run/|g' admin/PageNewConfig.py
    1.38 +
    1.39 +	cp po/admin/ca.po po/admin/cherokee.pot
    1.40 +
    1.41 +	CFLAGS="$CFLAGS -I/usr/include/openssl-1.0" \
    1.42 +	LDFLAGS="$LDFLAGS -L/usr/lib/openssl-1.0" \
    1.43 +	./autogen.sh \
    1.44  		--prefix=/usr \
    1.45  		--sysconfdir=/etc \
    1.46  		--localstatedir=/var \
    1.47 +		--sbindir=/usr/bin \
    1.48  		--with-wwwroot=/var/www/cherokee \
    1.49 +		--with-cgiroot=/var/www/cherokee/cgi-bin \
    1.50  		--disable-static \
    1.51  		--with-wwwuser=www \
    1.52  		--with-wwwgroup=www \