summaryrefslogtreecommitdiffstats
path: root/main/clamav
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-09-04 11:51:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-04 11:51:57 +0000
commit009064e2527a6c9a6d4cacd6114503fb7cd1d057 (patch)
tree1830d3eb9106965023c89768f9e8c8e1743ebd05 /main/clamav
parent40958b192adda8bc2081f34206b9f9de5606d631 (diff)
downloadaports-009064e2527a6c9a6d4cacd6114503fb7cd1d057.tar.bz2
aports-009064e2527a6c9a6d4cacd6114503fb7cd1d057.tar.xz
main/clamav: use /sbin/nologin as shell
Diffstat (limited to 'main/clamav')
-rw-r--r--main/clamav/APKBUILD4
-rw-r--r--main/clamav/clamav-daemon.pre-install2
-rw-r--r--main/clamav/clamav-db.pre-install2
-rw-r--r--main/clamav/freshclam.pre-install2
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