diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-09-04 11:51:57 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-09-04 11:51:57 +0000 |
commit | 009064e2527a6c9a6d4cacd6114503fb7cd1d057 (patch) | |
tree | 1830d3eb9106965023c89768f9e8c8e1743ebd05 /main/clamav | |
parent | 40958b192adda8bc2081f34206b9f9de5606d631 (diff) | |
download | aports-009064e2527a6c9a6d4cacd6114503fb7cd1d057.tar.bz2 aports-009064e2527a6c9a6d4cacd6114503fb7cd1d057.tar.xz |
main/clamav: use /sbin/nologin as shell
Diffstat (limited to 'main/clamav')
-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 d7a52cbace..c1e1b834e0 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 201184a29f..4528fbb2cf 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 59ac60a44d..7706eefe72 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 201184a29f..4528fbb2cf 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 |