clamav: use system account w/ underscore
See: #2471 Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
88dd11b047
commit
fccc7a0447
3 changed files with 5 additions and 5 deletions
|
@ -6,7 +6,7 @@ post)
|
||||||
# Create the database directory
|
# Create the database directory
|
||||||
mkdir -p var/lib/clamav
|
mkdir -p var/lib/clamav
|
||||||
# The clamav user owns it
|
# 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
|
# Let group members write to it
|
||||||
chmod g+w var/lib/clamav
|
chmod g+w var/lib/clamav
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
You may want to add your account to the group 'clamav'.
|
You may want to add your account to the group '_clamav'.
|
||||||
$ sudo usermod -a -G clamav <yourname>
|
$ sudo usermod -a -G _clamav <yourname>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'clamav'
|
# Template file for 'clamav'
|
||||||
pkgname=clamav
|
pkgname=clamav
|
||||||
version=0.100.1
|
version=0.100.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
# XXX: system llvm is too new (< 3.7 required)
|
# XXX: system llvm is too new (< 3.7 required)
|
||||||
# Shipped llvm does not build with gcc6
|
# 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-zlib=${XBPS_CROSS_BASE}/usr --with-libbz2-prefix=${XBPS_CROSS_BASE}/usr
|
||||||
--with-system-libmspack=${XBPS_CROSS_BASE}/usr"
|
--with-system-libmspack=${XBPS_CROSS_BASE}/usr"
|
||||||
conf_files="/etc/clamd.conf /etc/freshclam.conf"
|
conf_files="/etc/clamd.conf /etc/freshclam.conf"
|
||||||
system_accounts="clamav"
|
system_accounts="_clamav"
|
||||||
clamav_homedir="/var/lib/${pkgname}"
|
clamav_homedir="/var/lib/${pkgname}"
|
||||||
clamav_descr="ClamAV user"
|
clamav_descr="ClamAV user"
|
||||||
hostmakedepends="flex pkg-config zip"
|
hostmakedepends="flex pkg-config zip"
|
||||||
|
|
Loading…
Reference in a new issue