diff mbox series

ntp: Stop building and delivering ntpdate

Message ID 20260821-ntp-drop-ntpdate-v1-1-6c22b3848fc3@gmail.com
State New
Headers show
Series ntp: Stop building and delivering ntpdate | expand

Commit Message

Michal Sieron Aug. 21, 2026, 10:20 a.m. UTC
From: Michal Sieron <michal.sieron@nokia.com>

ntpdate has been deprecated. meta-openembedded@6315006aadd in theory
dropped it, but in practice the binary was still being built and
shipped, but now as part of ntp-utils package.
To avoid this, let's patch it out of the build.

Signed-off-by: Michal Sieron <michal.sieron@nokia.com>
---
 ...akefile.am-Don-t-build-deprecated-ntpdate.patch | 27 ++++++++++++++++++++++
 .../recipes-support/ntp/ntp_4.2.8p18.bb            |  1 +
 2 files changed, 28 insertions(+)


---
base-commit: 1a7e4f34335820c64d3cc18d0cac74c7e291491a
change-id: 20260821-ntp-drop-ntpdate-d887d985557a

Best regards,
--  
Michal Sieron <michalwsieron@gmail.com>
diff mbox series

Patch

diff --git a/meta-networking/recipes-support/ntp/ntp/0001-Makefile.am-Don-t-build-deprecated-ntpdate.patch b/meta-networking/recipes-support/ntp/ntp/0001-Makefile.am-Don-t-build-deprecated-ntpdate.patch
new file mode 100644
index 0000000000..60499885e8
--- /dev/null
+++ b/meta-networking/recipes-support/ntp/ntp/0001-Makefile.am-Don-t-build-deprecated-ntpdate.patch
@@ -0,0 +1,27 @@ 
+From 65d2d8a7c335dd6a815aaa37bf954b2862852949 Mon Sep 17 00:00:00 2001
+From: Michal Sieron <michal.sieron@nokia.com>
+Date: Thu, 20 Aug 2026 09:54:37 +0200
+Subject: [PATCH] Makefile.am: Don't build deprecated ntpdate
+
+ntpdate has been deprecated. meta-openembedded@6315006aadd in theory
+dropped it, but in practice the binary was still being built and
+shipped, but now as part of ntp-utils package.
+To avoid this, let's patch it out of the build.
+
+Upstream-Status: Inappropriate [OE specific]
+---
+ Makefile.am | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 1967f98a0..5b49acee0 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -11,7 +11,6 @@ SUBDIRS =		\
+ 	sntp		\
+ 	libparse	\
+ 	ntpd		\
+-	ntpdate		\
+ 	ntpdc		\
+ 	ntpq		\
+ 	ntpsnmpd	\
diff --git a/meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb b/meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb
index 6f9bb01c02..334120814d 100644
--- a/meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb
+++ b/meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb
@@ -19,6 +19,7 @@  SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.g
            file://0001-include-fix-build-failure-with-glibc-2.43-_Generic-m.patch \
            file://0001-ITS-10011-build-fix-compatibility-with-stricter-C99-.patch \
            file://0001-colcomp-sntp-libpkgver-colcomp.c-Convert-K-R-functio.patch \
+           file://0001-Makefile.am-Don-t-build-deprecated-ntpdate.patch \
            file://ntpd \
            file://ntp.conf \
            file://ntpd.service \