summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/Makefile.in13
-rw-r--r--server/zephyrd.8.in (renamed from server/zephyrd.8)23
2 files changed, 25 insertions, 11 deletions
diff --git a/server/Makefile.in b/server/Makefile.in
index 7d244be..dc51a96 100644
--- a/server/Makefile.in
+++ b/server/Makefile.in
@@ -21,6 +21,12 @@ LIBTOOL=@LIBTOOL@
CC=@CC@
INSTALL=@INSTALL@
+editman = sed \
+ -e 's|@datadir[@]|${datadir}|g' \
+ -e 's|@sysconfdir[@]|${sysconfdir}|g' \
+ -e 's|@sbindir[@]|${sbindir}|g' \
+ -e 's|@lsbindir[@]|${lsbindir}|g'
+
LIBZEPHYR=${BUILDTOP}/lib/libzephyr.la
CPPFLAGS=@CPPFLAGS@
CFLAGS=@CFLAGS@
@@ -34,7 +40,7 @@ OBJS= zsrv_err.o access.o acl_files.o bdump.o class.o client.o common.o \
dispatch.o kstuff.o main.o server.o subscr.o timer.o uloc.o \
zstring.o realm.o version.o utf8proc.o
-all: zephyrd
+all: zephyrd zephyrd.8
zephyrd: ${OBJS} ${LIBZEPHYR}
${LIBTOOL} --mode=link ${CC} ${LDFLAGS} -o $@ ${OBJS} ${LIBS} ${HESIOD_LIBS}
@@ -46,6 +52,10 @@ zsrv_err.c: zsrv_err.et
.c.o:
${CC} -c ${ALL_CFLAGS} $<
+zephyrd.8: ${srcdir}/zephyrd.8.in Makefile
+ ${editman} ${srcdir}/$@.in > $@.tmp
+ mv $@.tmp $@
+
check:
# No dependency on zephyrd, to avoid rebuilding version.o.
@@ -59,6 +69,7 @@ install:
clean:
${LIBTOOL} --mode=clean rm -f zephyrd
rm -f ${OBJS} zsrv_err.[ch]
+ rm -f zephyrd.8
${OBJS}: zserver.h zsrv_err.h timer.h zsrv_conf.h zstring.h access.h acl.h
${OBJS}: ${top_srcdir}/h/internal.h ${top_srcdir}/h/sysdep.h
diff --git a/server/zephyrd.8 b/server/zephyrd.8.in
index abd1d6b..eef9780 100644
--- a/server/zephyrd.8
+++ b/server/zephyrd.8.in
@@ -9,7 +9,7 @@
.SH NAME
zephyrd \- Zephyr server daemon
.SH SYNOPSIS
-.I /usr/etc/zephyrd
+.I @sbindir@/zephyrd
[
.BI \-d
]
@@ -79,29 +79,32 @@ class must be authenticated.
The class registry lists all classes which are restricted.
.SH FILES
.TP 10
-.I /etc/zephyr/acl/class-registry.acl:
+.I @sysconfdir@/zephyr/acl/class-registry.acl:
List of classes which are restricted
.TP
-.I /etc/zephyr/acl/iws-*.acl:
+.I @sysconfdir@/zephyr/acl/iws-*.acl:
Access Control Lists for instance-wildcard restrictions
.TP
-.I /etc/zephyr/acl/iui-*.acl:
+.I @sysconfdir@/zephyr/acl/iui-*.acl:
Access Control Lists for instance-identity restrictions
.TP
-.I /etc/zephyr/acl/sub-*.acl:
+.I @sysconfdir@/zephyr/acl/sub-*.acl:
Access Control Lists for subscribing
.TP
-.I /etc/zephyr/acl/xmt-*.acl:
+.I @sysconfdir@/zephyr/acl/xmt-*.acl:
Access Control Lists for transmitting
.TP
-.I /etc/zephyr/srvtab:
+.I @sysconfdir@/zephyr/srvtab:
Kerberos 4 Service keys
.TP
-.I /etc/zephyr/krb5.keytab:
+.I @sysconfdir@/zephyr/krb5.keytab:
Kerberos V Service keys
.TP
-.I /etc/zephyr/ztkts:
-Current Kerberos tickets for exchange with other servers
+.I /var/run/zephyrd.tkt4:
+Current Kerberos 4 tickets for exchange with other servers
+.TP
+.I /var/run/zephyrd.tkt:
+Current Kerberos 5 tickets for exchange with other servers
.TP
.I /var/tmp/zephyr.db:
File containing an ASCII dump of the database.