wok diff cherokee/receipt @ 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 | 15e8d94fc34f |
children | 2eb1182f1f15 |
line diff
1.1 --- a/cherokee/receipt Sat Apr 20 15:26:18 2019 +0200 1.2 +++ b/cherokee/receipt Tue Jan 07 16:51:34 2020 +0100 1.3 @@ -1,56 +1,71 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="cherokee" 1.7 -VERSION="1.2.101" 1.8 +VERSION="1.2.104" 1.9 CATEGORY="network" 1.10 SHORT_DESC="A very fast, fiexible and easy to configure Web Server." 1.11 MAINTAINER="slaxemulator@gmail.com" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="http://cherokee-project.com/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://www.cherokee-project.com/" 1.17 WGET_URL="http://www.cherokee-project.com/download/${VERSION%.*}/$VERSION/$TARBALL" 1.18 + 1.19 PROVIDE="lighttpd" 1.20 - 1.21 -DEPENDS="pcre cyrus-sasl openssl python libmysqlclient libldap ffmpeg" 1.22 -BUILD_DEPENDS="pcre-dev cyrus-sasl-dev openssl-dev openldap-dev python-dev \ 1.23 -pam-dev libmysqlclient ffmpeg-dev gettext autoconf automake libtool" 1.24 +DEPENDS="cyrus-sasl ffmpeg libldap libmysqlclient openssl pcre python" 1.25 +BUILD_DEPENDS="autoconf automake cyrus-sasl-dev ffmpeg-dev gettext 1.26 + libmysqlclient libtool openssl-dev openldap-dev pam-dev pcre-dev 1.27 + python-dev" 1.28 1.29 # Rules to configure and make the package. 1.30 compile_rules() 1.31 { 1.32 # Update deprecated symbols of ffmpeg 1.33 - sed -i 's|hdl->avformat->file_size|avio_size(hdl->avformat)|' cherokee/handler_streaming.c 1.34 - 1.35 + sed -i 's|hdl->avformat->file_size|avio_size(hdl->avformat)|' \ 1.36 + cherokee/handler_streaming.c 1.37 + 1.38 # Use subdirectory for logs 1.39 - sed -i -r 's|(%localstatedir%/log)|\1/cherokee|' cherokee.conf.sample.pre 1.40 + sed -i -r 's|(%localstatedir%/log)|\1/cherokee|' \ 1.41 + cherokee.conf.sample.pre 1.42 1.43 - autoreconf -vfi 1.44 - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ 1.45 - --with-wwwroot=/var/www/cherokee --disable-static \ 1.46 - --with-wwwuser=www --with-wwwgroup=www \ 1.47 - --enable-os-string="SliTaz" \ 1.48 + ./autogen.sh \ 1.49 + --prefix=/usr \ 1.50 + --sysconfdir=/etc \ 1.51 + --localstatedir=/var \ 1.52 + --with-wwwroot=/var/www/cherokee \ 1.53 + --disable-static \ 1.54 + --with-wwwuser=www \ 1.55 + --with-wwwgroup=www \ 1.56 + --enable-os-string="SliTaz" \ 1.57 $CONFIGURE_ARGS && 1.58 - make && make DESTDIR=$DESTDIR install && { 1.59 - install -D -m644 pam.d_cherokee $DESTDIR/etc/pam.d/$PACKAGE 1.60 - chown -R www:www $DESTDIR/var/lib/$PACKAGE/graphs 1.61 - python -m compileall $DESTDIR 1.62 - python -O -m compileall $DESTDIR 1.63 - mkdir -p $DESTDIR/var/log/$PACKAGE $DESTDIR/etc/logrotate.d 1.64 - chown -R www:www $DESTDIR/var/log/$PACKAGE 1.65 - cp -a $stuff/$PACKAGE.logrotate $DESTDIR/etc/logrotate.d/$PACKAGE 1.66 + make && 1.67 + make DESTDIR=$DESTDIR install && 1.68 + { 1.69 + install -D -m644 pam.d_cherokee $DESTDIR/etc/pam.d/$PACKAGE 1.70 + chown -R www:www $DESTDIR/var/lib/$PACKAGE/graphs 1.71 + python -m compileall $DESTDIR 1.72 + python -O -m compileall $DESTDIR 1.73 + 1.74 + mkdir -p $DESTDIR/var/log/$PACKAGE 1.75 + mkdir -p $DESTDIR/etc/logrotate.d 1.76 + chown -R www:www $DESTDIR/var/log/$PACKAGE 1.77 + cp -a $stuff/$PACKAGE.logrotate $DESTDIR/etc/logrotate.d/$PACKAGE 1.78 } 1.79 } 1.80 1.81 # Rules to gen a SliTaz package suitable for Tazpkg. 1.82 genpkg_rules() 1.83 { 1.84 - mkdir -p $fs/usr/lib/cherokee $fs/usr/share $fs/etc/init.d 1.85 - cp -a $install/usr/bin $fs/usr 1.86 - cp -a $install/usr/sbin $fs/usr 1.87 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.88 - cp -a $install/usr/lib/cherokee/*.so* $fs/usr/lib/cherokee 1.89 - cp -a $install/usr/share/cherokee $fs/usr/share 1.90 - cp -a $install/var $fs 1.91 - cp -a $install/etc $fs 1.92 - cp -a $stuff/cherokee $fs/etc/init.d 1.93 + mkdir -p $fs/usr/lib/cherokee 1.94 + mkdir -p $fs/usr/share 1.95 + mkdir -p $fs/etc/init.d 1.96 + 1.97 + cp -a $install/usr/bin $fs/usr 1.98 + cp -a $install/usr/sbin $fs/usr 1.99 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.100 + cp -a $install/usr/lib/cherokee/*.so* $fs/usr/lib/cherokee 1.101 + cp -a $install/usr/share/cherokee $fs/usr/share 1.102 + cp -a $install/var $fs 1.103 + cp -a $install/etc $fs 1.104 + cp -a $stuff/cherokee $fs/etc/init.d 1.105 }