summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2009-08-17 13:27:19 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2009-08-17 13:27:19 +0000
commite5e208d6d1cc67ddfe738305c5e8d2d99d0af899 (patch)
treee14bd662c0828564561fcae242b31067fbede13c
parent26e6464db9eac7030c2d0814cbad36520893c432 (diff)
Notes
-rw-r--r--UIDs2
-rw-r--r--dns/unbound/files/pkg-deinstall.in6
-rw-r--r--dns/unbound/files/pkg-install.in14
3 files changed, 4 insertions, 18 deletions
diff --git a/UIDs b/UIDs
index 94bb5269c350..c0bcb08ce233 100644
--- a/UIDs
+++ b/UIDs
@@ -5,7 +5,7 @@ bind:*:53:53::0:0:Bind Sandbox:/:/usr/sbin/nologin
majordom:*:54:54::0:0:Majordomo Pseudo User:/usr/local/majordomo:/nonexistent
rdfdb:*:55:55::0:0:rdfDB Daemon:/var/db/rdfdb:/bin/sh
spamd:*:58:58::0:0:SpamAssassin user:/var/spool/spamd:/usr/sbin/nologin
-unbound:*:59:59::0:0:unbound dns resolver:/nonexistent:/usr/sbin/nologin
+unbound:*:59:1::0:0:unbound dns resolver:/nonexistent:/usr/sbin/nologin
cyrus:*:60:60::0:0:the cyrus mail server:/nonexistent:/nonexistent
gnats:*:61:1::0:0:GNATS database owner:/usr/local/share/gnats/gnats-db:/bin/sh
proxy:*:62:62::0:0:Packet Filter pseudo-user:/nonexistent:/nonexistent
diff --git a/dns/unbound/files/pkg-deinstall.in b/dns/unbound/files/pkg-deinstall.in
index 606cfdb44f5b..e87de8336272 100644
--- a/dns/unbound/files/pkg-deinstall.in
+++ b/dns/unbound/files/pkg-deinstall.in
@@ -8,10 +8,10 @@ POST-DEINSTALL)
echo "===> post-deinstallation information for $1:"
echo ""
echo " Note:"
- echo " Unbound related user accounts and groups were not removed."
+ echo " Unbound related user account were not removed."
echo ""
- echo " To remove the 'unbound' user and the 'unbound' group which were"
- echo " created by a default installation of this package, run"
+ echo " To remove the 'unbound' user which were created by"
+ echo " a default installation of this package, run"
echo ""
echo " pw userdel -n unbound"
;;
diff --git a/dns/unbound/files/pkg-install.in b/dns/unbound/files/pkg-install.in
index d0a4e30bec4f..56ff09006d99 100644
--- a/dns/unbound/files/pkg-install.in
+++ b/dns/unbound/files/pkg-install.in
@@ -5,26 +5,12 @@
PW=/usr/sbin/pw
UID=59
-GID=$UID
USER="unbound"
-GROUP="unbound"
PREFIX="%%PREFIX%%"
case $2 in
PRE-INSTALL)
-
- if ${PW} group show "${GROUP}" 2>/dev/null; then
- echo "You already have a group \"${GROUP}\", so I will use it."
- else
- if ${PW} groupadd ${GROUP} -g ${GID}; then
- echo "Added group \"${GROUP}\"."
- else
- echo "Adding group \"${GROUP}\" failed..."
- exit 1
- fi
- fi
-
if ${PW} user show "${USER}" 2>/dev/null; then
echo "You already have a user \"${USER}\", so I will use it."
else