URL: https://github.com/freeipa/freeipa/pull/127 Author: tjaalton Title: #127: Move ipa-otpd to $libexecdir/ipa Action: opened
PR body: """ This is more consistent with the other daemons. """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/127/head:pr127 git checkout pr127
From 5ca9bc72163674deca40c1516ee516f311aa9760 Mon Sep 17 00:00:00 2001 From: Timo Aaltonen <tjaal...@debian.org> Date: Fri, 30 Sep 2016 01:00:02 +0300 Subject: [PATCH] Move ipa-otpd to $libexecdir/ipa This is more consistent with the other daemons. --- daemons/ipa-otpd/Makefile.am | 3 ++- daemons/ipa-otpd/ipa-o...@.service.in | 2 +- freeipa.spec.in | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/daemons/ipa-otpd/Makefile.am b/daemons/ipa-otpd/Makefile.am index 8392174..d2e1679 100644 --- a/daemons/ipa-otpd/Makefile.am +++ b/daemons/ipa-otpd/Makefile.am @@ -2,7 +2,8 @@ AM_CFLAGS := @LDAP_CFLAGS@ @LIBVERTO_CFLAGS@ AM_LDFLAGS := @LDAP_LIBS@ @LIBVERTO_LIBS@ @KRAD_LIBS@ noinst_HEADERS = internal.h -libexec_PROGRAMS = ipa-otpd +appdir = $(libexecdir)/ipa/ +app_PROGRAMS = ipa-otpd dist_noinst_DATA = ipa-otpd.socket.in ipa-o...@.service.in test.py systemdsystemunit_DATA = ipa-otpd.socket ipa-otpd@.service diff --git a/daemons/ipa-otpd/ipa-o...@.service.in b/daemons/ipa-otpd/ipa-o...@.service.in index b85d5a1..92afb40 100644 --- a/daemons/ipa-otpd/ipa-o...@.service.in +++ b/daemons/ipa-otpd/ipa-o...@.service.in @@ -3,7 +3,7 @@ Description=ipa-otpd service [Service] EnvironmentFile=@sysconfdir@/ipa/default.conf -ExecStart=@libexecdir@/ipa-otpd $ldap_uri +ExecStart=@libexecdir@/ipa/ipa-otpd $ldap_uri StandardInput=socket StandardOutput=socket StandardError=syslog diff --git a/freeipa.spec.in b/freeipa.spec.in index 3b0e4b2..8972cb9 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -1056,13 +1056,13 @@ fi %{_sbindir}/ipa-winsync-migrate %{_libexecdir}/certmonger/dogtag-ipa-ca-renew-agent-submit %{_libexecdir}/certmonger/ipa-server-guard -%{_libexecdir}/ipa-otpd %dir %{_libexecdir}/ipa %{_libexecdir}/ipa/ipa-dnskeysyncd %{_libexecdir}/ipa/ipa-dnskeysync-replica %{_libexecdir}/ipa/ipa-ods-exporter %{_libexecdir}/ipa/ipa-httpd-kdcproxy %{_libexecdir}/ipa/ipa-pki-retrieve-key +%{_libexecdir}/ipa/ipa-otpd %dir %{_libexecdir}/ipa/oddjob %attr(0755,root,root) %{_libexecdir}/ipa/oddjob/org.freeipa.server.conncheck %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freeipa.server.conf
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code