wok rev 22592

updated cherokee packages (1.2.101 -> 1.2.104)
author Hans-G?nter Theisgen
date Tue Jan 07 16:51:34 2020 +0100 (2020-01-07)
parents 5fa396eb0eeb
children 2eb1182f1f15
files cherokee-dev/receipt cherokee-doc/receipt cherokee/receipt
line diff
     1.1 --- a/cherokee-dev/receipt	Tue Jan 07 15:59:30 2020 +0100
     1.2 +++ b/cherokee-dev/receipt	Tue Jan 07 16:51:34 2020 +0100
     1.3 @@ -1,23 +1,24 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cherokee-dev"
     1.7 -VERSION="1.2.101"
     1.8 +VERSION="1.2.104"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="devel files for cherokee"
    1.11 +SHORT_DESC="Development files for cherokee."
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="GPL2"
    1.14 -WEB_SITE="http://www.cherokee-project.com/"
    1.15 -WANTED="cherokee"
    1.16 +WEB_SITE="http://cherokee-project.com/"
    1.17  
    1.18  DEPENDS="cherokee pkg-config"
    1.19 +WANTED="cherokee"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -	mkdir -p $fs/usr/lib/cherokee $fs/usr/share
    1.25 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.26 -	cp -a $install/usr/lib/cherokee/*.*a $fs/usr/lib/cherokee
    1.27 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.28 -	cp -a $install/usr/share/aclocal $fs/usr/share
    1.29 +	mkdir -p $fs/usr/lib/cherokee
    1.30 +	mkdir -p $fs/usr/share
    1.31 +
    1.32 +	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.33 +	cp -a $install/usr/lib/cherokee/*.*a	$fs/usr/lib/cherokee
    1.34 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.35 +	cp -a $install/usr/share/aclocal	$fs/usr/share
    1.36  }
    1.37 -
     2.1 --- a/cherokee-doc/receipt	Tue Jan 07 15:59:30 2020 +0100
     2.2 +++ b/cherokee-doc/receipt	Tue Jan 07 16:51:34 2020 +0100
     2.3 @@ -1,20 +1,20 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="cherokee-doc"
     2.7 -VERSION="1.2.101"
     2.8 +VERSION="1.2.104"
     2.9  CATEGORY="misc"
    2.10 -SHORT_DESC="Docs for cherokee"
    2.11 +SHORT_DESC="Documentation for cherokee"
    2.12  MAINTAINER="slaxemulator@gmail.com"
    2.13  LICENSE="GPL2"
    2.14 -WEB_SITE="http://www.cherokee-project.com/"
    2.15 -WANTED="cherokee"
    2.16 +WEB_SITE="http://cherokee-project.com/"
    2.17  
    2.18  DEPENDS="cherokee"
    2.19 +WANTED="cherokee"
    2.20  
    2.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.22  genpkg_rules()
    2.23  {
    2.24  	mkdir -p $fs/usr/share
    2.25 -	cp -a $install/usr/share/doc $fs/usr/share
    2.26 +	cp -a $install/usr/share/doc	$fs/usr/share
    2.27  }
    2.28  
     3.1 --- a/cherokee/receipt	Tue Jan 07 15:59:30 2020 +0100
     3.2 +++ b/cherokee/receipt	Tue Jan 07 16:51:34 2020 +0100
     3.3 @@ -1,56 +1,71 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="cherokee"
     3.7 -VERSION="1.2.101"
     3.8 +VERSION="1.2.104"
     3.9  CATEGORY="network"
    3.10  SHORT_DESC="A very fast, fiexible and easy to configure Web Server."
    3.11  MAINTAINER="slaxemulator@gmail.com"
    3.12  LICENSE="GPL2"
    3.13 +WEB_SITE="http://cherokee-project.com/"
    3.14 +
    3.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.16 -WEB_SITE="http://www.cherokee-project.com/"
    3.17  WGET_URL="http://www.cherokee-project.com/download/${VERSION%.*}/$VERSION/$TARBALL"
    3.18 +
    3.19  PROVIDE="lighttpd"
    3.20 -
    3.21 -DEPENDS="pcre cyrus-sasl openssl python libmysqlclient libldap ffmpeg"
    3.22 -BUILD_DEPENDS="pcre-dev cyrus-sasl-dev openssl-dev openldap-dev python-dev \
    3.23 -pam-dev libmysqlclient ffmpeg-dev gettext autoconf automake libtool"
    3.24 +DEPENDS="cyrus-sasl ffmpeg libldap libmysqlclient openssl pcre python"
    3.25 +BUILD_DEPENDS="autoconf automake cyrus-sasl-dev ffmpeg-dev gettext 
    3.26 +	libmysqlclient libtool openssl-dev openldap-dev pam-dev pcre-dev 
    3.27 +	python-dev"
    3.28  
    3.29  # Rules to configure and make the package.
    3.30  compile_rules()
    3.31  {
    3.32  	# Update deprecated symbols of ffmpeg
    3.33 -	sed -i 's|hdl->avformat->file_size|avio_size(hdl->avformat)|' cherokee/handler_streaming.c
    3.34 -	
    3.35 +	sed -i 's|hdl->avformat->file_size|avio_size(hdl->avformat)|' \
    3.36 +		cherokee/handler_streaming.c
    3.37 +
    3.38  	# Use subdirectory for logs
    3.39 -	sed -i -r 's|(%localstatedir%/log)|\1/cherokee|' cherokee.conf.sample.pre
    3.40 +	sed -i -r 's|(%localstatedir%/log)|\1/cherokee|' \
    3.41 +		cherokee.conf.sample.pre
    3.42  
    3.43 -	autoreconf -vfi
    3.44 -	./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
    3.45 -		--with-wwwroot=/var/www/cherokee --disable-static \
    3.46 -		--with-wwwuser=www --with-wwwgroup=www \
    3.47 -		--enable-os-string="SliTaz" \
    3.48 +	./autogen.sh					\
    3.49 +		--prefix=/usr				\
    3.50 +		--sysconfdir=/etc			\
    3.51 +		--localstatedir=/var			\
    3.52 +		--with-wwwroot=/var/www/cherokee	\
    3.53 +		--disable-static			\
    3.54 +		--with-wwwuser=www			\
    3.55 +		--with-wwwgroup=www			\
    3.56 +		--enable-os-string="SliTaz"		\
    3.57  		$CONFIGURE_ARGS &&
    3.58 -	make && make DESTDIR=$DESTDIR install && {
    3.59 -	install -D -m644 pam.d_cherokee $DESTDIR/etc/pam.d/$PACKAGE
    3.60 -	chown -R www:www $DESTDIR/var/lib/$PACKAGE/graphs
    3.61 -	python -m compileall $DESTDIR
    3.62 -	python -O -m compileall $DESTDIR
    3.63 -	mkdir -p $DESTDIR/var/log/$PACKAGE $DESTDIR/etc/logrotate.d
    3.64 -	chown -R www:www $DESTDIR/var/log/$PACKAGE
    3.65 -	cp -a $stuff/$PACKAGE.logrotate $DESTDIR/etc/logrotate.d/$PACKAGE
    3.66 +	make &&
    3.67 +	make DESTDIR=$DESTDIR install &&
    3.68 +	{
    3.69 +		install -D -m644 pam.d_cherokee	$DESTDIR/etc/pam.d/$PACKAGE
    3.70 +		chown -R www:www		$DESTDIR/var/lib/$PACKAGE/graphs
    3.71 +		python -m compileall $DESTDIR
    3.72 +		python -O -m compileall $DESTDIR
    3.73 +
    3.74 +		mkdir -p $DESTDIR/var/log/$PACKAGE
    3.75 +		mkdir -p $DESTDIR/etc/logrotate.d
    3.76 +		chown -R www:www		$DESTDIR/var/log/$PACKAGE
    3.77 +		cp -a $stuff/$PACKAGE.logrotate	$DESTDIR/etc/logrotate.d/$PACKAGE
    3.78  	}
    3.79  }
    3.80  
    3.81  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.82  genpkg_rules()
    3.83  {
    3.84 -	mkdir -p $fs/usr/lib/cherokee $fs/usr/share $fs/etc/init.d
    3.85 -	cp -a $install/usr/bin $fs/usr
    3.86 -	cp -a $install/usr/sbin $fs/usr
    3.87 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.88 -	cp -a $install/usr/lib/cherokee/*.so* $fs/usr/lib/cherokee
    3.89 -	cp -a $install/usr/share/cherokee $fs/usr/share
    3.90 -	cp -a $install/var $fs
    3.91 -	cp -a $install/etc $fs
    3.92 -	cp -a $stuff/cherokee $fs/etc/init.d
    3.93 +	mkdir -p $fs/usr/lib/cherokee
    3.94 +	mkdir -p $fs/usr/share
    3.95 +	mkdir -p $fs/etc/init.d
    3.96 +
    3.97 +	cp -a $install/usr/bin			$fs/usr
    3.98 +	cp -a $install/usr/sbin			$fs/usr
    3.99 +	cp -a $install/usr/lib/*.so*		$fs/usr/lib
   3.100 +	cp -a $install/usr/lib/cherokee/*.so*	$fs/usr/lib/cherokee
   3.101 +	cp -a $install/usr/share/cherokee	$fs/usr/share
   3.102 +	cp -a $install/var			$fs
   3.103 +	cp -a $install/etc			$fs
   3.104 +	cp -a $stuff/cherokee			$fs/etc/init.d
   3.105  }