mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v3 1/7] chrony: version bump 3.3 -> 3.5
@ 2020-07-31 16:11 Bruno Thomsen
  2020-07-31 16:11 ` [ptxdist] [PATCH v3 2/7] chrony: nettle authentication support Bruno Thomsen
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Bruno Thomsen @ 2020-07-31 16:11 UTC (permalink / raw)
  To: ptxdist; +Cc: Bruno Thomsen, bth

Added note about handwritten configure script.

Always enable ntp support as it does not require
extra dependencies.

Updated project URL in package help as sunsite.dk has
been renamed to dotsrc.org and have shutdown the general
project hosting part.

Replaced CROSS_AUTOCONF_USR as it adds 3 unrecognized
options and only add used options: localstatedir,
prefix and sysconfdir.

Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
---
Changes since version 2:
- Add configure script note.
- Removed --enabled-ntp.
- Replaced CROSS_AUTOCONF_USR as it adds 3 unrecognized options and
  only add used options.

Changes since version 1:
- Fix typo in subject line.
- Updated URL in package help text.
- Explicit enable ntp option.
  This outputs unrecognized option, but we still get expected result.
  Unrecognized option :  --enable-ntp

 rules/chrony.in   |  2 +-
 rules/chrony.make | 14 +++++++++-----
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/rules/chrony.in b/rules/chrony.in
index ccdcb71d0..1f5e241c9 100644
--- a/rules/chrony.in
+++ b/rules/chrony.in
@@ -17,7 +17,7 @@ menuconfig CHRONY
 	  to chronyd for monitoring its performance and configuring
 	  various settings.
 
-	  See http://chrony.sunsite.dk/ for details
+	  See https://chrony.tuxfamily.org/ for details.
 
 if CHRONY
 
diff --git a/rules/chrony.make b/rules/chrony.make
index 61fe4a7fd..8c1034462 100644
--- a/rules/chrony.make
+++ b/rules/chrony.make
@@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_CHRONY) += chrony
 #
 # Paths and names
 #
-CHRONY_VERSION	:= 3.3
-CHRONY_MD5	:= 81ab62cf5d60b4b3fa8cd2c1b267ffd9
+CHRONY_VERSION	:= 3.5
+CHRONY_MD5	:= 5f66338bc940a9b51eede8f391e7bed3
 CHRONY		:= chrony-$(CHRONY_VERSION)
 CHRONY_SUFFIX	:= tar.gz
 CHRONY_URL	:= http://download.tuxfamily.org/chrony/$(CHRONY).$(CHRONY_SUFFIX)
@@ -32,11 +32,16 @@ CHRONY_LICENSE_FILES	:= \
 # ----------------------------------------------------------------------------
 
 #
-# autoconf
+# Chony is using a handcrafted configure script so normal ptx/endis
+# and ptx/wwo are broken and causes "Unrecognized option".
+# CROSS_AUTOCONF_USR is not used as that adds 3 unrecognized options:
+# --libdir=, --build=, --host=
 #
 CHRONY_CONF_TOOL	:= autoconf
 CHRONY_CONF_OPT		:= \
-	$(CROSS_AUTOCONF_USR) \
+	--localstatedir=/var \
+	--prefix=/usr \
+	--sysconfdir=/etc \
 	--disable-readline \
 	--without-editline \
 	--disable-sechash \
@@ -44,7 +49,6 @@ CHRONY_CONF_OPT		:= \
 	--without-nss \
 	--without-tomcrypt \
 	--disable-cmdmon \
-	--disable-ntp \
 	--disable-refclock \
 	--disable-phc \
 	--disable-pps \

base-commit: 6721ecdd3deb6e5839462086e9526d6f6c744cea
-- 
2.26.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-08-03  6:30 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-31 16:11 [ptxdist] [PATCH v3 1/7] chrony: version bump 3.3 -> 3.5 Bruno Thomsen
2020-07-31 16:11 ` [ptxdist] [PATCH v3 2/7] chrony: nettle authentication support Bruno Thomsen
2020-08-03  6:30   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-07-31 16:11 ` [ptxdist] [PATCH v3 3/7] chrony: systemd unit option Bruno Thomsen
2020-08-03  6:30   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-07-31 16:11 ` [ptxdist] [PATCH v3 4/7] passwd/group: added chrony UID/GID Bruno Thomsen
2020-08-03  6:30   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-07-31 16:11 ` [ptxdist] [PATCH v3 5/7] chrony: run chronyd as chrony user Bruno Thomsen
2020-08-03  6:30   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-07-31 16:11 ` [ptxdist] [PATCH v3 6/7] chrony: advanced monitoring command option Bruno Thomsen
2020-08-03  6:30   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-07-31 16:11 ` [ptxdist] [PATCH v3 7/7] chrony: make unrecognized configure options fatal Bruno Thomsen
2020-08-03  6:29   ` Michael Olbrich
2020-08-03  6:30   ` [ptxdist] [APPLIED] " Michael Olbrich
2020-08-03  6:30 ` [ptxdist] [APPLIED] chrony: version bump 3.3 -> 3.5 Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox