wok rev 7107
merge
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 03 06:26:21 2010 +0000 (2010-11-03) |
parents | 34d1a109c615 e62b6b97629b |
children | 6be9c406396e |
files |
line diff
1.1 --- a/clamav/receipt Wed Nov 03 06:25:47 2010 +0000 1.2 +++ b/clamav/receipt Wed Nov 03 06:26:21 2010 +0000 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.