summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2016-12-06 23:57:04 +0000
committerColin Watson <cjwatson@debian.org>2016-12-09 20:47:58 +0000
commit0f8b5518949866075c25787bdc4e9c064597c21e (patch)
treec7128682da7b9edb2370bb52e7e7f3bb1c49e3dc /init
parent62cec68b0cca39e7542985c9143a98c055624808 (diff)
Separate cache owner from --enable-setuid option
It's useful to have a notion of the cache owner even when man is not installed setuid. --enable-setuid no longer takes an argument, and the owner is now set by the --enable-cache-owner option instead. * m4/man-arg-cache-owner.m4: New file. * m4/man-arg-setuid.m4: Stop accepting an argument. Only set man_mode, not man_owner. * configure.ac: Call MAN_ARG_CACHE_OWNER. * src/Makefile.am (install-exec-hook): Only chown man and mandb if man_mode is 4755 (as well as the existing test for man_owner being non-empty).
Diffstat (limited to 'init')
-rw-r--r--init/Makefile.in1
-rw-r--r--init/systemd/Makefile.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/init/Makefile.in b/init/Makefile.in
index b9df7482..a087533e 100644
--- a/init/Makefile.in
+++ b/init/Makefile.in
@@ -90,6 +90,7 @@ subdir = init
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-arg-automatic-create.m4 \
$(top_srcdir)/m4/man-arg-automatic-update.m4 \
+ $(top_srcdir)/m4/man-arg-cache-owner.m4 \
$(top_srcdir)/m4/man-arg-cats.m4 \
$(top_srcdir)/m4/man-arg-config-file.m4 \
$(top_srcdir)/m4/man-arg-db.m4 \
diff --git a/init/systemd/Makefile.in b/init/systemd/Makefile.in
index 4d3d9c22..84e8e66e 100644
--- a/init/systemd/Makefile.in
+++ b/init/systemd/Makefile.in
@@ -91,6 +91,7 @@ subdir = init/systemd
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-arg-automatic-create.m4 \
$(top_srcdir)/m4/man-arg-automatic-update.m4 \
+ $(top_srcdir)/m4/man-arg-cache-owner.m4 \
$(top_srcdir)/m4/man-arg-cats.m4 \
$(top_srcdir)/m4/man-arg-config-file.m4 \
$(top_srcdir)/m4/man-arg-db.m4 \