summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2004-03-10 16:34:11 +0000
committermlaier <mlaier@FreeBSD.org>2004-03-10 16:34:11 +0000
commit454c51393e738bafafd44d64ff49ee8c3301cd81 (patch)
treed8cdaaa99ec7cfbc838190bc97684095f2360e95
parent82864cac2ac8d8cd6dc9d30cff40751223455a50 (diff)
downloadFreeBSD-src-454c51393e738bafafd44d64ff49ee8c3301cd81.zip
FreeBSD-src-454c51393e738bafafd44d64ff49ee8c3301cd81.tar.gz
Add installcheck for proxy:proxy and authpf.
Suggested by: ru Approved by: bms(mentor)
-rw-r--r--Makefile.inc114
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 4bc728a..0cda2ae 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
OpenPOWER on IntegriCloud