wok-next rev 21552

updated clamav (0.102.1 -> 0.102.3)
author Hans-G?nter Theisgen
date Mon Jun 22 10:59:40 2020 +0100 (2020-06-22)
parents 75437d94c310
children e40761ef7332
files clamav/receipt
line diff
     1.1 --- a/clamav/receipt	Mon Jun 22 10:33:30 2020 +0100
     1.2 +++ b/clamav/receipt	Mon Jun 22 10:59:40 2020 +0100
     1.3 @@ -1,8 +1,9 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="clamav"
     1.7 -VERSION="0.102.1"
     1.8 +VERSION="0.102.3"
     1.9  CATEGORY="security"
    1.10 +TAGS="antivirus"
    1.11  SHORT_DESC="Antivirus"
    1.12  MAINTAINER="paul@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 @@ -11,8 +12,8 @@
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16  WGET_URL="http://www.clamav.net/downloads/production/$TARBALL"
    1.17  
    1.18 -BUILD_DEPENDS="bash bzip2-dev gmp gmp-dev libxml2-dev ncurses-dev 
    1.19 -	openssl-dev zlib-dev curl"
    1.20 +BUILD_DEPENDS="bash bzip2-dev curl-dev gmp gmp-dev libxml2-dev
    1.21 +	ncurses-dev openssl-dev zlib-dev"
    1.22  SPLIT="$PACKAGE-dev"
    1.23  
    1.24  compile_rules()
    1.25 @@ -31,9 +32,10 @@
    1.26  	adduser -s /bin/false -H -D -u 64 clamav
    1.27  
    1.28  	./configure				\
    1.29 -		--sysconfdir=/etc/clamav	\
    1.30 +		--sysconfdir=/etc/clamav		\
    1.31  		--with-dbdir=/var/lib/clamav	\
    1.32  		--with-iconv=no			\
    1.33 +		--with-systemdsystemunitdir=none	\
    1.34  		$CONFIGURE_ARGS &&
    1.35  	fix libtool &&
    1.36  	make &&
    1.37 @@ -44,11 +46,14 @@
    1.38  {
    1.39  	case $PACKAGE in
    1.40  		clamav)
    1.41 -			mkdir -p $fs/usr/lib $fs/etc/init.d $fs/var/lib/clamav
    1.42 -			mkdir -p $fs/var/log/clamav $fs/run/clamav
    1.43 +			mkdir -p $fs/etc/init.d
    1.44 +			mkdir -p $fs/run/clamav
    1.45 +			mkdir -p $fs/usr/lib
    1.46 +			mkdir -p $fs/var/lib/clamav
    1.47 +			mkdir -p $fs/var/log/clamav
    1.48  
    1.49  			cp -a $install/usr/bin		$fs/usr
    1.50 -			rm -f $fs/usr/bin/clamav-config
    1.51 +			rm -f				$fs/usr/bin/clamav-config
    1.52  			cp -a $install/usr/sbin		$fs/usr
    1.53  			cp -a $install/etc		$fs
    1.54  			mv $fs/etc/clamav/clamd.conf*	$fs/etc/clamav/clamd.conf
    1.55 @@ -67,7 +72,6 @@
    1.56  				-e "s|^#LocalSocket /tmp/clamd.socket|LocalSocket /run/clamav/clamd-socket|" \
    1.57  				$fs/etc/clamav/clamd.conf
    1.58  			DEPENDS="bzip2 gmp libltdl ncurses slitaz-base-files zlib"
    1.59 -			TAGS="antivirus"
    1.60  			;;
    1.61  		*-dev)
    1.62  			copy @dev