mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 16:16:31 -06:00
Move ipa-otpd socket directory
https://fedorahosted.org/freeipa/ticket/4167 Reviewed-By: Martin Kosek <mkosek@redhat.com>
This commit is contained in:
parent
5d65856588
commit
6c500ccf05
@ -60,10 +60,10 @@ AC_CHECK_LIB(k5crypto, main, [krb5crypto=k5crypto], [krb5crypto=crypto])
|
||||
AC_CHECK_LIB(krad, main, [], [AC_MSG_ERROR([libkrad not found])])
|
||||
KRB5_LIBS="-lkrb5 -l$krb5crypto -lcom_err"
|
||||
KRAD_LIBS="-lkrad"
|
||||
krb5kdcdir="${localstatedir}/kerberos/krb5kdc"
|
||||
krb5rundir="${localstatedir}/run/krb5kdc"
|
||||
AC_SUBST(KRB5_LIBS)
|
||||
AC_SUBST(KRAD_LIBS)
|
||||
AC_SUBST(krb5kdcdir)
|
||||
AC_SUBST(krb5rundir)
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl - Check for Mozilla LDAP and OpenLDAP SDK
|
||||
@ -337,7 +337,7 @@ echo "
|
||||
sysconfdir: ${sysconfdir}
|
||||
localstatedir: ${localstatedir}
|
||||
datadir: ${datadir}
|
||||
krb5kdcdir: ${krb5kdcdir}
|
||||
krb5rundir: ${krb5rundir}
|
||||
systemdsystemunitdir: ${systemdsystemunitdir}
|
||||
source code location: ${srcdir}
|
||||
compiler: ${CC}
|
||||
|
@ -9,7 +9,7 @@ systemdsystemunit_DATA = ipa-otpd.socket ipa-otpd@.service
|
||||
ipa_otpd_SOURCES = bind.c forward.c main.c parse.c query.c queue.c stdio.c
|
||||
|
||||
%.socket: %.socket.in
|
||||
@sed -e 's|@krb5kdcdir[@]|$(krb5kdcdir)|g' \
|
||||
@sed -e 's|@krb5rundir[@]|$(krb5rundir)|g' \
|
||||
-e 's|@UNLINK[@]|@UNLINK@|g' \
|
||||
$< > $@
|
||||
|
||||
|
@ -2,8 +2,8 @@
|
||||
Description=ipa-otpd socket
|
||||
|
||||
[Socket]
|
||||
ListenStream=@krb5kdcdir@/DEFAULT.socket
|
||||
ExecStopPre=@UNLINK@ @krb5kdcdir@/DEFAULT.socket
|
||||
ListenStream=@krb5rundir@/DEFAULT.socket
|
||||
ExecStopPre=@UNLINK@ @krb5rundir@/DEFAULT.socket
|
||||
SocketMode=0600
|
||||
Accept=true
|
||||
|
||||
|
@ -107,7 +107,7 @@ Requires: nss >= 3.14.3-12.0
|
||||
Requires: nss-tools >= 3.14.3-12.0
|
||||
%endif
|
||||
%if 0%{?krb5_dal_version} >= 4
|
||||
Requires: krb5-server >= 1.11.2-1
|
||||
Requires: krb5-server >= 1.11.5-3
|
||||
%else
|
||||
%if 0%{krb5_dal_version} == 3
|
||||
# krb5 1.11 bumped DAL interface major version, a rebuild is needed
|
||||
|
Loading…
Reference in New Issue
Block a user