# HG changeset patch # User Christopher Rogers # Date 1295186016 0 # Node ID f6df58d6487ebc4b236f9921adf2381fde077e2d # Parent 613cf74b38784b98f8265af995bb921a2173f6d3 Made sure clamav user id is 64. Also made sure clamav group was added if not found in /etc/group. diff -r 613cf74b3878 -r f6df58d6487e clamav/receipt --- a/clamav/receipt Sun Jan 16 13:38:29 2011 +0000 +++ b/clamav/receipt Sun Jan 16 13:53:36 2011 +0000 @@ -16,7 +16,7 @@ compile_rules() { # Have to create clamav user/group to be able to compile - adduser clamav -s /bin/false -H -D + adduser -s /bin/false -H -D clamav cd $src ./configure \ @@ -69,7 +69,14 @@ # adduser clamav if needed if ! grep -q clamav $1/etc/passwd; then echo -n "Adding user clamav..." - chroot $1/ adduser clamav -s /bin/false -H -D + chroot $1/ adduser -s /bin/false -H -D -u 64 clamav + status + fi + + # addgroup clamav if needed + if ! grep -q clamav $1/etc/group; then + echo -n "Adding group clamav..." + chroot $1/ addgroup -g 64 clamav status fi