diff options
-rw-r--r-- | main/clamav/APKBUILD | 4 | ||||
-rw-r--r-- | main/clamav/clamav-daemon.pre-install | 2 | ||||
-rw-r--r-- | main/clamav/clamav-db.pre-install | 2 | ||||
-rw-r--r-- | main/clamav/freshclam.pre-install | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/main/clamav/APKBUILD b/main/clamav/APKBUILD index d7a52cbac..c1e1b834e 100644 --- a/main/clamav/APKBUILD +++ b/main/clamav/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Carlo Landmeter <clandmeter@gmail.com> pkgname=clamav pkgver=0.97.8 -pkgrel=1 +pkgrel=2 pkgusers="clamav" pkggroups="clamav" pkgdesc="An anti-virus toolkit for UNIX" @@ -57,7 +57,7 @@ package() { make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la || return 1 - # set proper defaults + # set proper defaults sed -i -e "s:^\(Example\):\# \1:" \ -e "s:.*\(PidFile\) .*:\1 /var/run/clamav/freshclam.pid:" \ -e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \ diff --git a/main/clamav/clamav-daemon.pre-install b/main/clamav/clamav-daemon.pre-install index 201184a29..4528fbb2c 100644 --- a/main/clamav/clamav-daemon.pre-install +++ b/main/clamav/clamav-daemon.pre-install @@ -1,5 +1,5 @@ #!/bin/sh addgroup -S clamav 2>/dev/null -adduser -S -h /var/lib/clamav -H -s /bin/false -D -G clamav clamav 2>/dev/null +adduser -S -h /var/lib/clamav -H -s /sbin/nologin -D -G clamav clamav 2>/dev/null exit 0 diff --git a/main/clamav/clamav-db.pre-install b/main/clamav/clamav-db.pre-install index 59ac60a44..7706eefe7 100644 --- a/main/clamav/clamav-db.pre-install +++ b/main/clamav/clamav-db.pre-install @@ -1,4 +1,4 @@ #!/bin/sh -adduser -H -s /bin/false -D clamav 2>/dev/null +adduser -H -s /sbin/nologin -D clamav 2>/dev/null exit 0 diff --git a/main/clamav/freshclam.pre-install b/main/clamav/freshclam.pre-install index 201184a29..4528fbb2c 100644 --- a/main/clamav/freshclam.pre-install +++ b/main/clamav/freshclam.pre-install @@ -1,5 +1,5 @@ #!/bin/sh addgroup -S clamav 2>/dev/null -adduser -S -h /var/lib/clamav -H -s /bin/false -D -G clamav clamav 2>/dev/null +adduser -S -h /var/lib/clamav -H -s /sbin/nologin -D -G clamav clamav 2>/dev/null exit 0 |