15. Oct 2015 19:37 by [email protected]:
> I can report basic installation on my BLFS-7.2 system with xfce.
>
> ClamAV-0.98.7 was essentially installed as follows:
>
> groupadd -g 60 clamav
> useradd -g clamav -u 60 -s /bin/false -c "Clam AntiVirus" clamav
> (./configure --target="$CTARGET" --sysconfdir=/etc --program-prefix="" \
> 2>&1 | tee log.conf && exit $PIPESTATUS) &&
> (make 2>&1 | tee log.make && exit $PIPESTATUS) &&
> (make check 2>&1 | tee log.test && exit $PIPESTATUS) &&
> (make install 2>&1 | tee log.inst && exit $PIPESTATUS) &&
> touch /var/log/freshclam.log &&
> chown clamav:clamav /var/log/freshclam.log &&
> mkdir /usr/local/share/clamav &&
> chown clamav:clamav /usr/local/share/clamav
>
>
Nice, my compilation script is pretty similar:
./configure --prefix=/usr \
--sysconfdir=/etc/clamav \
--with-dbdir=/var/lib/clamav
make
make install
install -d /var/lib/clamav
install -d /var/log/clamav
install -g root -o root -m 644 ../freshclam.conf /etc/clamav
(getent group clamav > /dev/null || groupadd -r -g 64 clamav)
(id -u clamav >/dev/null 2>&1 || useradd -r -u 64 -g clamav -d /dev/null -s
/bin/false -c "Clam AntiVirus" clamav)
chown clamav /var/{lib,log}/clamav
freshclam.conf:
UpdateLogFile /var/log/clamav/freshclam.log
DatabaseMirror database.clamav.net
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page