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

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