wok diff clamav/receipt @ rev 7991
Up: gpodder to 2.12.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jan 17 20:38:31 2011 +0000 (2011-01-17) |
parents | 37c3bd2e88f2 |
children | 5547d7b70fc2 |
line diff
1.1 --- a/clamav/receipt Thu Dec 02 01:31:39 2010 +0000 1.2 +++ b/clamav/receipt Mon Jan 17 20:38:31 2011 +0000 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