mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
avoid a build-dependency on systemd
This commit is contained in:
parent
4d8de1f7f5
commit
f5f00c8efb
15
debian/patches/dont-check-for-systemd-pc.diff
vendored
Normal file
15
debian/patches/dont-check-for-systemd-pc.diff
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
avoid build-dependency on systemd, which doesn't exist on ubuntu
|
||||
|
||||
diff --git a/daemons/configure.ac b/daemons/configure.ac
|
||||
index e57dad2..9ca5198 100644
|
||||
--- a/daemons/configure.ac
|
||||
+++ b/daemons/configure.ac
|
||||
@@ -232,7 +232,7 @@ PKG_CHECK_MODULES([SSSNSSIDMAP], [sss_nss_idmap])
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl - Check for systemd unit directory
|
||||
dnl ---------------------------------------------------------------------------
|
||||
-PKG_CHECK_EXISTS([systemd], [], [AC_MSG_ERROR([systemd not found])])
|
||||
+dnl PKG_CHECK_EXISTS([systemd], [], [AC_MSG_ERROR([systemd not found])])
|
||||
AC_ARG_WITH([systemdsystemunitdir],
|
||||
AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
|
||||
[], [with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)])
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -7,6 +7,7 @@ fix-install-layout.diff
|
||||
fix-ntpdate-opts.diff
|
||||
fix-ldap-conf-path.diff
|
||||
port-ipa-client-automount.diff
|
||||
dont-check-for-systemd-pc.diff
|
||||
|
||||
# send upstream
|
||||
fix-string-format.diff
|
||||
|
5
debian/rules
vendored
5
debian/rules
vendored
@ -28,7 +28,10 @@ override_dh_autoreconf:
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -Dipa-client
|
||||
ifneq ($(ONLY_CLIENT), 1)
|
||||
dh_auto_configure -Ddaemons -- --with-openldap
|
||||
dh_auto_configure -Ddaemons -- \
|
||||
--with-openldap \
|
||||
--with-systemdsystemunitdir=/lib/systemd/system
|
||||
|
||||
dh_auto_configure -Dinstall
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user