From e13811dd191e8e94ab73b1c4591cbf12513dd612 Mon Sep 17 00:00:00 2001 From: sem Date: Mon, 17 Aug 2009 13:27:19 +0000 Subject: - unbound does not use `unbound' group anymore, but `daemmon' instead PR: ports/137175 (based on) Reported by: Artis Caune --- dns/unbound/files/pkg-deinstall.in | 6 +++--- dns/unbound/files/pkg-install.in | 14 -------------- 2 files changed, 3 insertions(+), 17 deletions(-) (limited to 'dns') 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 -- cgit