From 0ab11e651cddcef961c188827284bbd6137db195 Mon Sep 17 00:00:00 2001 From: Max Laier Date: Wed, 10 Mar 2004 16:34:11 +0000 Subject: [PATCH] Add installcheck for proxy:proxy and authpf. Suggested by: ru Approved by: bms(mentor) --- Makefile.inc1 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Makefile.inc1 b/Makefile.inc1 index 4bc728a9a217..0cda2ae54f4b 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -418,6 +418,20 @@ installcheck: ${SPECIAL_INSTALLCHECKS} false; \ fi .endif +.if !defined(NO_PF) + @if ! `id -u proxy > /dev/null`; then \ + echo "ERROR: Required proxy user is missing, see /usr/src/UPDATING."; \ + false; \ + fi + @if ! `id -g proxy > /dev/null`; then \ + echo "ERROR: Required proxy group is missing, see /usr/src/UPDATING."; \ + false; \ + fi + @if ! `id -g authpf > /dev/null`; then \ + echo "ERROR: Required authpf group is missing, see /usr/src/UPDATING."; \ + false; \ + fi +.endif # # distributeworld