wok-next diff dansguardian/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
line diff
     1.1 --- a/dansguardian/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/dansguardian/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -1,34 +1,37 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="dansguardian"
     1.7 -VERSION="2.10.1.1"
     1.8 +VERSION="2.12.0.3"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Web content filter"
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="https://web.archive.org/web/20170722001531/http://dansguardian.org:80/"
    1.15  
    1.16 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WGET_URL="http://dansguardian.org/downloads/2/Stable/$TARBALL"
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.19 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.20  
    1.21  BUILD_DEPENDS="pcre-dev zlib-dev"
    1.22  
    1.23 -compile_rules() {
    1.24 -	./configure \
    1.25 -		--enable-fancydm=no \
    1.26 -		--with-proxyuser=nobody \
    1.27 -		--with-proxygroup=nogroup \
    1.28 +compile_rules()
    1.29 +{
    1.30 +	./configure				\
    1.31 +		--enable-fancydm=no		\
    1.32 +		--with-proxyuser=nobody		\
    1.33 +		--with-proxygroup=nogroup	\
    1.34  		$CONFIGURE_ARGS &&
    1.35  	make &&
    1.36  	make DESTDIR=$install install
    1.37  }
    1.38  
    1.39 -genpkg_rules() {
    1.40 +genpkg_rules()
    1.41 +{
    1.42  	copy @std
    1.43 -	DEPENDS="libpcreposix perl zlib   squid"
    1.44 +	DEPENDS="libpcreposix perl squid zlib"
    1.45  	SUGGESTED="clamav"
    1.46  }
    1.47  
    1.48 -post_install() {
    1.49 +post_install()
    1.50 +{
    1.51  	chown nobody.nogroup "$1/var/log/dansguardian"
    1.52  }