aboutsummaryrefslogtreecommitdiff
path: root/sysutils/munin-master/files
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-09-25 10:39:15 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-09-25 10:39:15 +0000
commitfcc49d2e29e76e25eb9bc54fd20992cb7b7daa88 (patch)
treee93245ec9b69018ee758990704d7b087b0ffa619 /sysutils/munin-master/files
parent49e6e0171db6b81245becfdcc51ac7d7c24d02fb (diff)
downloadports-fcc49d2e29e76e25eb9bc54fd20992cb7b7daa88.tar.gz
ports-fcc49d2e29e76e25eb9bc54fd20992cb7b7daa88.zip
Notes
Diffstat (limited to 'sysutils/munin-master/files')
-rw-r--r--sysutils/munin-master/files/patch-Makefile.config4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/munin-master/files/patch-Makefile.config b/sysutils/munin-master/files/patch-Makefile.config
index 52f43ea968a4..c7097d2ab7e4 100644
--- a/sysutils/munin-master/files/patch-Makefile.config
+++ b/sysutils/munin-master/files/patch-Makefile.config
@@ -78,8 +78,8 @@
-GETENT = $(shell which getent || which true 2>/dev/null)
-CHECKUSER = $(shell $(GETENT) passwd $(USER) >/dev/null 2>/dev/null || (echo "echo User $(USER) nonexistant. Create the user and retry; exit 2"))
-CHECKGROUP = $(shell $(GETENT) group $(GROUP) >/dev/null 2>/dev/null || (echo "echo Group $(GROUP) nonexistant. Create the group and retry; exit 2"))
-+CHECKUSER:= $(shell grep $(USER) /etc/passwd >/dev/null 2>/dev/null || (echo "echo User $(USER) nonexistant. Create the user and retry; exit 2"))
-+CHECKGROUP:= $(shell grep $(GROUP) /etc/group >/dev/null 2>/dev/null || (echo "echo Group $(GROUP) nonexistant. Create the group and retry; exit 2"))
++CHECKUSER:= $(shell /usr/sbin/pw user show $(USER) >/dev/null 2>/dev/null || (echo "echo User $(USER) nonexistant. Create the user and retry; exit 2"))
++CHECKGROUP:= $(shell /usr/sbin/pw group show $(GROUP) >/dev/null 2>/dev/null || (echo "echo Group $(GROUP) nonexistant. Create the group and retry; exit 2"))
CHOWN = chown
CHMOD = chmod