Blame SOURCES/autofs-5.1.4-update-build-info-with-systemd.patch

135b98
autofs-5.1.4 - update build info with systemd
135b98
135b98
From: Ian Kent <raven@themaw.net>
135b98
135b98
Update the show_build_info() function to include systemd
135b98
build info.
135b98
135b98
Signed-off-by: Ian Kent <raven@themaw.net>
135b98
---
135b98
 CHANGELOG          |    1 +
135b98
 daemon/automount.c |    9 +++++++++
135b98
 2 files changed, 10 insertions(+)
135b98
135b98
--- autofs-5.1.4.orig/CHANGELOG
135b98
+++ autofs-5.1.4/CHANGELOG
135b98
@@ -40,6 +40,7 @@ xx/xx/2018 autofs-5.1.5
135b98
 - fix hesiod string check in master_parse().
135b98
 - remove autofs4 module load code.
135b98
 - add NULL check in prepare_attempt_prefix().
135b98
+- update build info with systemd.
135b98
 
135b98
 19/12/2017 autofs-5.1.4
135b98
 - fix spec file url.
135b98
--- autofs-5.1.4.orig/daemon/automount.c
135b98
+++ autofs-5.1.4/daemon/automount.c
135b98
@@ -1951,6 +1951,15 @@ static void show_build_info(void)
135b98
 	}
135b98
 #endif
135b98
 
135b98
+#ifdef WITH_SYSTEMD
135b98
+	printf("WITH_SYSTEMD ");
135b98
+	count = count + 13;
135b98
+
135b98
+	if (count > 60) {
135b98
+		printf("\n  ");
135b98
+		count = 0;
135b98
+	}
135b98
+#endif
135b98
 
135b98
 #ifdef WITH_HESIOD
135b98
 	printf("WITH_HESIOD ");