wok-current rev 23630

updated sarg and sarg-php (2.3.11 -> 2.4.0)
author Hans-G?nter Theisgen
date Fri Apr 17 08:01:58 2020 +0100 (2020-04-17)
parents 9b3543315b4e
children e04fb802c121
files sarg-php/receipt sarg/receipt
line diff
     1.1 --- a/sarg-php/receipt	Thu Apr 16 13:05:37 2020 +0000
     1.2 +++ b/sarg-php/receipt	Fri Apr 17 08:01:58 2020 +0100
     1.3 @@ -1,26 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="sarg-php"
     1.7 -VERSION="2.3.11"
     1.8 +VERSION="2.4.0"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Squid Analysis Report Generator."
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13  WEB_SITE="https://sourceforge.net/projects/sarg/"
    1.14  
    1.15 +DEPENDS="lighttpd php"
    1.16  WANTED="sarg"
    1.17 -DEPENDS="lighttpd php"
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22  	mkdir -p $fs/var/www
    1.23 -	
    1.24 -	cp -pa $src/sarg-php $fs/var/www	
    1.25 +
    1.26 +	cp -pa $src/sarg-php	$fs/var/www	
    1.27  
    1.28  	# Fix permissions
    1.29  	chmod 755	$fs/var/www/sarg-php
    1.30  	chmod 644 -R	$fs/var/www/sarg-php/*
    1.31  	chmod 755	$fs/var/www/sarg-php/locale
    1.32 -	
    1.33 +
    1.34  }
     2.1 --- a/sarg/receipt	Thu Apr 16 13:05:37 2020 +0000
     2.2 +++ b/sarg/receipt	Fri Apr 17 08:01:58 2020 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="sarg"
     2.7 -VERSION="2.3.11"
     2.8 +VERSION="2.4.0"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="Squid Analysis Report Generator."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12 @@ -15,6 +15,7 @@
    2.13  compile_rules()
    2.14  {
    2.15  	sed -i 's/@mkdir_p@/mkdir -p/' po/Makefile*
    2.16 +
    2.17  	./configure						\
    2.18  		--sysconfdir=/etc/sarg				\
    2.19  		--bindir=/usr/bin				\
    2.20 @@ -36,7 +37,7 @@
    2.21  	cp -a $install/usr/bin		$fs/usr
    2.22  	cp -a $install/usr/share/sarg	$fs/usr/share
    2.23  
    2.24 -	sed -i -e "s!^#access_log.*!access_log /var/log/squid/access_log!" \
    2.25 +	sed -i	-e "s!^#access_log.*!access_log /var/log/squid/access_log!" \
    2.26  		-e "s!^#output_dir.*!output_dir /var/www/squid-reports!" \
    2.27  		$fs/etc/sarg/sarg.conf
    2.28  }