diff --git a/srcpkgs/clamav/INSTALL b/srcpkgs/clamav/INSTALL index ddecc9f4076..6a725831817 100644 --- a/srcpkgs/clamav/INSTALL +++ b/srcpkgs/clamav/INSTALL @@ -6,7 +6,7 @@ post) # Create the database directory mkdir -p var/lib/clamav # The clamav user owns it - chown -R clamav:clamav var/lib/clamav + chown -R _clamav:_clamav var/lib/clamav # Let group members write to it chmod g+w var/lib/clamav fi diff --git a/srcpkgs/clamav/INSTALL.msg b/srcpkgs/clamav/INSTALL.msg index 54e2c3f5c05..76d92087220 100644 --- a/srcpkgs/clamav/INSTALL.msg +++ b/srcpkgs/clamav/INSTALL.msg @@ -1,2 +1,2 @@ -You may want to add your account to the group 'clamav'. -$ sudo usermod -a -G clamav +You may want to add your account to the group '_clamav'. +$ sudo usermod -a -G _clamav diff --git a/srcpkgs/clamav/template b/srcpkgs/clamav/template index b3a7040882e..98a368c6118 100644 --- a/srcpkgs/clamav/template +++ b/srcpkgs/clamav/template @@ -1,7 +1,7 @@ # Template file for 'clamav' pkgname=clamav version=0.100.1 -revision=1 +revision=2 build_style=gnu-configure # XXX: system llvm is too new (< 3.7 required) # Shipped llvm does not build with gcc6 @@ -10,7 +10,7 @@ configure_args="--sbindir=/usr/bin --libdir=/usr/lib --with-zlib=${XBPS_CROSS_BASE}/usr --with-libbz2-prefix=${XBPS_CROSS_BASE}/usr --with-system-libmspack=${XBPS_CROSS_BASE}/usr" conf_files="/etc/clamd.conf /etc/freshclam.conf" -system_accounts="clamav" +system_accounts="_clamav" clamav_homedir="/var/lib/${pkgname}" clamav_descr="ClamAV user" hostmakedepends="flex pkg-config zip"