diff options
author | root <root@rshg054.dnsready.net> | 2012-06-25 00:01:42 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-25 00:01:42 +0000 |
commit | 3b99c42eb8ca744e86e4e17197b1bf10642c6785 (patch) | |
tree | 32a8e3b87b35056995f805dec0e5a108425354c7 /extra/clamav | |
parent | 4319f36e44d4e7c70bf010c3286bb1739c59d4de (diff) |
Mon Jun 25 00:01:41 UTC 2012
Diffstat (limited to 'extra/clamav')
-rw-r--r-- | extra/clamav/PKGBUILD | 8 | ||||
-rw-r--r-- | extra/clamav/install | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/extra/clamav/PKGBUILD b/extra/clamav/PKGBUILD index 7f8c9b65b..7aa88d362 100644 --- a/extra/clamav/PKGBUILD +++ b/extra/clamav/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 162158 2012-06-22 12:58:24Z dreisner $ +# $Id: PKGBUILD 162231 2012-06-24 02:24:03Z bisson $ # Contributor: Dale Blount <dale@archlinux.org> # Contributor: Gregor Ibic <gregor.ibic@intelicom.si> # Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=clamav pkgver=0.97.5 -pkgrel=1 +pkgrel=2 pkgdesc='Anti-virus toolkit for Unix' url='http://www.clamav.net/' license=('GPL') @@ -61,4 +61,8 @@ package() { install -Dm644 ../logrotate "${pkgdir}"/etc/logrotate.d/clamav install -Dm644 ../conf.d "${pkgdir}"/etc/conf.d/clamav install -Dm755 ../rc.d "${pkgdir}"/etc/rc.d/clamav + + install -d -o 64 -g 64 "${pkgdir}"/run/clamav + install -d -o 64 -g 64 "${pkgdir}"/var/log/clamav + install -d -o 64 -g 64 "${pkgdir}"/var/lib/clamav } diff --git a/extra/clamav/install b/extra/clamav/install index a2092e815..896e187c7 100644 --- a/extra/clamav/install +++ b/extra/clamav/install @@ -1,10 +1,6 @@ post_install() { getent group clamav &>/dev/null || groupadd -r -g 64 clamav >/dev/null getent passwd clamav &>/dev/null || useradd -r -u 64 -g clamav -d /dev/null -s /bin/false -c "Clam AntiVirus" clamav >/dev/null - - chown -R clamav:clamav /var/lib/clamav - install -o clamav -g clamav -d /run/clamav - install -o clamav -g clamav -d /var/log/clamav } post_remove() { |