wok-current diff sarg/receipt @ rev 21859
updated sarg and sarg-php (2.3.1 -> 2.3.11)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Sep 19 16:26:43 2019 +0100 (2019-09-19) |
parents | dd1920b0cc5d |
children | 352e1cee9466 |
line diff
1.1 --- a/sarg/receipt Mon Aug 12 12:23:39 2013 +0000 1.2 +++ b/sarg/receipt Thu Sep 19 16:26:43 2019 +0100 1.3 @@ -1,38 +1,41 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="sarg" 1.7 -VERSION="2.3.1" 1.8 +VERSION="2.3.11" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Squid Analysis Report Generator." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="https://sourceforge.net/projects/sarg/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://$PACKAGE.sourceforge.net/" 1.17 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 1.19 # Rules to configure and make the package. 1.20 compile_rules() 1.21 { 1.22 - ./configure --sysconfdir=/etc/sarg \ 1.23 - --bindir=/usr/bin \ 1.24 - --enable-htmldir=/var/www \ 1.25 - --enable-fontdir=/usr/share/sarg/fonts \ 1.26 - --enable-imagedir=/usr/share/sarg/images \ 1.27 - --enable-sargphp=/var/www/sarg-php \ 1.28 - && make && make install 1.29 + ./configure \ 1.30 + --sysconfdir=/etc/sarg \ 1.31 + --bindir=/usr/bin \ 1.32 + --htmldir=/var/www \ 1.33 + --enable-fontdir=/usr/share/sarg/fonts \ 1.34 + --enable-imagedir=/usr/share/sarg/images \ 1.35 + --enable-sargphp=/var/www/sarg-php && 1.36 + make && 1.37 + make install 1.38 } 1.39 1.40 # Rules to gen a SliTaz package suitable for Tazpkg. 1.41 genpkg_rules() 1.42 { 1.43 - mkdir -p $fs/usr $fs/usr/share 1.44 - #cp -a $install/var $fs 1.45 - cp -a $install/etc $fs 1.46 - cp -a $install/usr/bin $fs/usr 1.47 - cp -a $install/usr/share/sarg $fs/usr/share 1.48 - 1.49 + mkdir -p $fs/usr/share 1.50 + 1.51 + #cp -a $install/var $fs 1.52 + cp -a $install/etc $fs 1.53 + cp -a $install/usr/bin $fs/usr 1.54 + cp -a $install/usr/share/sarg $fs/usr/share 1.55 + 1.56 sed -i -e "s!^#access_log.*!access_log /var/log/squid/access_log!" \ 1.57 -e "s!^#output_dir.*!output_dir /var/www/squid-reports!" \ 1.58 $fs/etc/sarg/sarg.conf 1.59 } 1.60 -