wok-next diff clamav/receipt @ rev 7390

flam3: fix compile_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 26 11:08:54 2010 +0100 (2010-11-26)
parents d2a2ecf9a273
children 37c3bd2e88f2
line diff
     1.1 --- a/clamav/receipt	Wed Oct 27 18:18:27 2010 +0000
     1.2 +++ b/clamav/receipt	Fri Nov 26 11:08:54 2010 +0100
     1.3 @@ -5,7 +5,7 @@
     1.4  CATEGORY="security"
     1.5  SHORT_DESC="Antivirus."
     1.6  MAINTAINER="paul@slitaz.org"
     1.7 -DEPENDS="zlib gmp bzip2 slitaz-base-files ncurses"
     1.8 +DEPENDS="zlib gmp bzip2 slitaz-base-files ncurses libtool"
     1.9  BUILD_DEPENDS="zlib-dev gmp gmp-dev bzip2-dev ncurses-dev bash"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://www.clamav.net/"
    1.12 @@ -16,8 +16,7 @@
    1.13  compile_rules()
    1.14  {
    1.15  	# Have to create clamav user/group to be able to compile
    1.16 -	adduser clamav -s /bin/false -h /tmp -H -D -S
    1.17 -	addgroup clamav
    1.18 +	adduser clamav -s /bin/false -H -D
    1.19  
    1.20  	cd $src
    1.21  	./configure \
    1.22 @@ -70,12 +69,12 @@
    1.23  	# adduser clamav if needed
    1.24  	if ! grep -q clamav $1/etc/passwd; then
    1.25  		echo -n "Adding user clamav..."
    1.26 -		chroot $1/ adduser clamav -s /bin/false -H -D -S
    1.27 +		chroot $1/ adduser clamav -s /bin/false -H -D
    1.28  		status
    1.29  	fi
    1.30  
    1.31  	# Enable daily.cvd updates (sometimes needed for new version)
    1.32 -	chown -R clamav:clamav /usr/share/clamav
    1.33 +	chown -R clamav:clamav $1/usr/share/clamav
    1.34  }
    1.35  
    1.36  # Del user clamav when pkg is removed.