aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2009-08-17 21:27:19 +0800
committersem <sem@FreeBSD.org>2009-08-17 21:27:19 +0800
commite13811dd191e8e94ab73b1c4591cbf12513dd612 (patch)
treec63e3b73d442ad641fa14426f5915425913f54c7 /dns
parenta2e7a7c7af9e6e1344b417078276e3982464eca3 (diff)
downloadfreebsd-ports-gnome-e13811dd191e8e94ab73b1c4591cbf12513dd612.tar.gz
freebsd-ports-gnome-e13811dd191e8e94ab73b1c4591cbf12513dd612.tar.zst
freebsd-ports-gnome-e13811dd191e8e94ab73b1c4591cbf12513dd612.zip
- unbound does not use `unbound' group anymore, but `daemmon' instead
PR: ports/137175 (based on) Reported by: Artis Caune <Artis.Caune at gmail.com>
Diffstat (limited to 'dns')
-rw-r--r--dns/unbound/files/pkg-deinstall.in6
-rw-r--r--dns/unbound/files/pkg-install.in14
2 files changed, 3 insertions, 17 deletions
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