wok diff dansguardian/receipt @ rev 23809

linld: add isoboot (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 24 16:43:25 2020 +0000 (2020-05-24)
parents 9e01bc6321ea
children 640a2eba2511
line diff
     1.1 --- a/dansguardian/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.2 +++ b/dansguardian/receipt	Sun May 24 16:43:25 2020 +0000
     1.3 @@ -1,42 +1,45 @@
     1.4  # SliTaz package receipt.
     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 +SHORT_DESC="Web content filter."
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15  WEB_SITE="http://dansguardian.org/"
    1.16 -WGET_URL="http://dansguardian.org/downloads/2/Stable/$TARBALL"
    1.17 +
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.19 +WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL"
    1.20 +
    1.21  SUGGESTED="clamav"
    1.22 -
    1.23 +DEPENDS="squid"
    1.24  BUILD_DEPENDS="pcre-dev"
    1.25 -DEPENDS="squid"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	cd $src
    1.31 -	./configure \
    1.32 -		--prefix=/usr \
    1.33 -		--localstatedir=/var \
    1.34 -		--sysconfdir=/etc \
    1.35 -		--enable-fancydm=no \
    1.36 -		--with-proxyuser=nobody \
    1.37 -		--with-proxygroup=nogroup \
    1.38 +	./configure				\
    1.39 +		--prefix=/usr			\
    1.40 +		--localstatedir=/var		\
    1.41 +		--sysconfdir=/etc		\
    1.42 +		--enable-fancydm=no		\
    1.43 +		--with-proxyuser=nobody		\
    1.44 +		--with-proxygroup=nogroup	\
    1.45  		$CONFIGURE_ARGS &&
    1.46 -	make && make DESTDIR=$DESTDIR install
    1.47 +	make &&
    1.48 +	make DESTDIR=$DESTDIR install
    1.49  }
    1.50  
    1.51  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.52  genpkg_rules()
    1.53  {
    1.54 -	mkdir -p $fs/usr/sbin $fs/usr/share
    1.55 -	cp -a $install/usr/sbin $fs/usr
    1.56 -	cp -a $install/usr/share/${PACKAGE} $fs/usr/share
    1.57 -	cp -a $install/var $fs/
    1.58 -	cp -a $install/etc $fs/
    1.59 +	mkdir -p $fs/usr/sbin
    1.60 +	mkdir -p $fs/usr/share
    1.61 +
    1.62 +	cp -a $install/usr/sbin			$fs/usr
    1.63 +	cp -a $install/usr/share/${PACKAGE}	$fs/usr/share
    1.64 +	cp -a $install/var			$fs
    1.65 +	cp -a $install/etc			$fs
    1.66  }
    1.67  
    1.68  post_install()