[oe-commits] Xufeng Zhang : ntp: Disable debugging by default

git at git.openembedded.org git at git.openembedded.org
Thu Aug 14 08:46:00 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: b03bd710cfce5592a45153b588242bfddbebeffc
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=b03bd710cfce5592a45153b588242bfddbebeffc

Author: Xufeng Zhang <xufeng.zhang at windriver.com>
Date:   Thu Aug 14 11:14:45 2014 +0800

ntp: Disable debugging by default

There is a problem in configure.ac file that whether or not
'--enable-debugging' is specified in configure cmdline, debugging
is always enabled.
We should disable ntp debugging by default.

Signed-off-by: Xufeng Zhang <xufeng.zhang at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../ntp/files/ntp-disable-debugging.patch          | 23 ++++++++++++++++++++++
 meta-networking/recipes-support/ntp/ntp.inc        |  1 +
 2 files changed, 24 insertions(+)

diff --git a/meta-networking/recipes-support/ntp/files/ntp-disable-debugging.patch b/meta-networking/recipes-support/ntp/files/ntp-disable-debugging.patch
new file mode 100644
index 0000000..242276e
--- /dev/null
+++ b/meta-networking/recipes-support/ntp/files/ntp-disable-debugging.patch
@@ -0,0 +1,23 @@
+set ntp_ok to no if ntp debugging is not enabled.
+
+Upstream-status: Pending
+
+There is a problem in configure.ac file that whether or not
+'--enable-debugging' is specified in configure cmdline, debugging
+is always enabled.
+We should disable ntp debugging by default.
+
+Signed-off-by: Xufeng Zhang <xufeng.zhang at windriver.com>
+
+---
+--- a/configure.ac
++++ b/configure.ac
+@@ -2458,7 +2458,7 @@
+         [+ include ntpd debugging code]
+     )],
+     [ntp_ok=$enableval],
+-    [ntp_ok=yes]
++    [ntp_ok=no]
+ )
+ case "$ntp_ok" in
+  yes)
diff --git a/meta-networking/recipes-support/ntp/ntp.inc b/meta-networking/recipes-support/ntp/ntp.inc
index 49f9901..2c8f488 100644
--- a/meta-networking/recipes-support/ntp/ntp.inc
+++ b/meta-networking/recipes-support/ntp/ntp.inc
@@ -23,6 +23,7 @@ SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.g
            file://sntp.service \
            file://sntp \
            file://ntpd.list \
+           file://ntp-disable-debugging.patch \
 "
 
 inherit autotools update-rc.d useradd systemd



More information about the Openembedded-commits mailing list