wok diff clamav/receipt @ rev 8070

Split mesa-dri-ati in 3 pkgs
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Jan 21 23:10:40 2011 +0100 (2011-01-21)
parents 37c3bd2e88f2
children 5547d7b70fc2
line diff
     1.1 --- a/clamav/receipt	Thu Dec 02 01:31:39 2010 +0000
     1.2 +++ b/clamav/receipt	Fri Jan 21 23:10:40 2011 +0100
     1.3 @@ -16,7 +16,7 @@
     1.4  compile_rules()
     1.5  {
     1.6  	# Have to create clamav user/group to be able to compile
     1.7 -	adduser clamav -s /bin/false -H -D
     1.8 +	adduser -s /bin/false -H -D clamav
     1.9  
    1.10  	cd $src
    1.11  	./configure \
    1.12 @@ -69,7 +69,14 @@
    1.13  	# adduser clamav if needed
    1.14  	if ! grep -q clamav $1/etc/passwd; then
    1.15  		echo -n "Adding user clamav..."
    1.16 -		chroot $1/ adduser clamav -s /bin/false -H -D
    1.17 +		chroot $1/ adduser -s /bin/false -H -D -u 64 clamav
    1.18 +		status
    1.19 +	fi
    1.20 +
    1.21 +	# addgroup clamav if needed
    1.22 +	if ! grep -q clamav $1/etc/group; then
    1.23 +		echo -n "Adding group clamav..."
    1.24 +		chroot $1/ addgroup -g 64 clamav 
    1.25  		status
    1.26  	fi
    1.27