# HG changeset patch # User Christopher Rogers # Date 1288765581 0 # Node ID 1c02dab07671449306858b907b3da8818e7cf0f3 # Parent 34d1a109c615012420d63c93e39d3e76b0165878# Parent e62b6b97629bc599f56da6305af59c27c250f09a merge diff -r 34d1a109c615 -r 1c02dab07671 clamav/receipt --- a/clamav/receipt Wed Nov 03 06:25:47 2010 +0000 +++ b/clamav/receipt Wed Nov 03 06:26:21 2010 +0000 @@ -5,7 +5,7 @@ CATEGORY="security" SHORT_DESC="Antivirus." MAINTAINER="paul@slitaz.org" -DEPENDS="zlib gmp bzip2 slitaz-base-files ncurses" +DEPENDS="zlib gmp bzip2 slitaz-base-files ncurses libtool" BUILD_DEPENDS="zlib-dev gmp gmp-dev bzip2-dev ncurses-dev bash" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.clamav.net/" @@ -16,8 +16,7 @@ compile_rules() { # Have to create clamav user/group to be able to compile - adduser clamav -s /bin/false -h /tmp -H -D -S - addgroup clamav + adduser clamav -s /bin/false -H -D cd $src ./configure \ @@ -70,12 +69,12 @@ # 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 -S + chroot $1/ adduser clamav -s /bin/false -H -D status fi # Enable daily.cvd updates (sometimes needed for new version) - chown -R clamav:clamav /usr/share/clamav + chown -R clamav:clamav $1/usr/share/clamav } # Del user clamav when pkg is removed.