diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-02-13 17:35:35 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-02-13 17:35:35 +0000 |
commit | 72e20bfef55646618ae2b3c78e0902419d92ee08 (patch) | |
tree | f0e604e889ac15494e41be72dcfbc40017662f6d /security/amavisd | |
parent | Unbreak package build on amd64 (diff) |
- register UID:GID 110 for vscan
PR: 77366
Submitted by: Scott Balmos <scott.balmos at utoledo.edu>
Approved by: Blaz Zupan <blaz at si.FreeBSD.org>
Notes
Notes:
svn path=/head/; revision=128711
Diffstat (limited to 'security/amavisd')
-rw-r--r-- | security/amavisd/Makefile | 2 | ||||
-rw-r--r-- | security/amavisd/pkg-install | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/security/amavisd/Makefile b/security/amavisd/Makefile index 2d1c62a4e582..a8024a43b319 100644 --- a/security/amavisd/Makefile +++ b/security/amavisd/Makefile @@ -7,7 +7,7 @@ PORTNAME= amavisd PORTVERSION= 0.1 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} diff --git a/security/amavisd/pkg-install b/security/amavisd/pkg-install index c35d566ffad0..d25e0edc2ca0 100644 --- a/security/amavisd/pkg-install +++ b/security/amavisd/pkg-install @@ -12,7 +12,7 @@ GROUP=$2 if /usr/sbin/pw groupshow "${GROUP}" 2>/dev/null; then echo "You already have a group \"${GROUP}\", so I will use it." else - if /usr/sbin/pw groupadd ${GROUP} -h - + if /usr/sbin/pw groupadd ${GROUP} -h -g 110 - then echo "Added group \"${GROUP}\"." else @@ -28,7 +28,8 @@ else if /usr/sbin/pw useradd ${USER} -g ${GROUP} -h - \ -d /var/amavis \ -s /bin/sh \ - -c "Scanning Virus Account" + -c "Scanning Virus Account" \ + -u 110 then echo "Added user \"${USER}\"." else |