diff options
author | mlaier <mlaier@FreeBSD.org> | 2004-03-10 16:34:11 +0000 |
---|---|---|
committer | mlaier <mlaier@FreeBSD.org> | 2004-03-10 16:34:11 +0000 |
commit | 454c51393e738bafafd44d64ff49ee8c3301cd81 (patch) | |
tree | d8cdaaa99ec7cfbc838190bc97684095f2360e95 /Makefile.inc1 | |
parent | 82864cac2ac8d8cd6dc9d30cff40751223455a50 (diff) | |
download | FreeBSD-src-454c51393e738bafafd44d64ff49ee8c3301cd81.zip FreeBSD-src-454c51393e738bafafd44d64ff49ee8c3301cd81.tar.gz |
Add installcheck for proxy:proxy and authpf.
Suggested by: ru
Approved by: bms(mentor)
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 14 |
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 |