aboutsummaryrefslogtreecommitdiff
path: root/dns/unbound
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 /dns/unbound
parent26e6464db9eac7030c2d0814cbad36520893c432 (diff)
downloadports-e5e208d6d1cc67ddfe738305c5e8d2d99d0af899.tar.gz
ports-e5e208d6d1cc67ddfe738305c5e8d2d99d0af899.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>
Notes
Notes: svn path=/head/; revision=239742
Diffstat (limited to 'dns/unbound')
-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