From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 05 Jul 2021 09:49:44 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m0JMO-0000wK-FJ for lore@lore.pengutronix.de; Mon, 05 Jul 2021 09:49:44 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m0JMO-0007Bb-4J; Mon, 05 Jul 2021 09:49:44 +0200 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m0JMC-0007BB-L8; Mon, 05 Jul 2021 09:49:32 +0200 Received: from ukl by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1m0JMC-0006xI-CN; Mon, 05 Jul 2021 09:49:32 +0200 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: ptxdist@pengutronix.de Date: Mon, 5 Jul 2021 09:49:25 +0200 Message-Id: <20210705074925.26542-2-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210705074925.26542-1-u.kleine-koenig@pengutronix.de> References: <20210705074925.26542-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH 2/2] chrony: version bump 3.5 -> 4.1 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false --- ...ke-unrecognized-option-a-fatal-error.patch | 25 ----------------- patches/chrony-3.5/series | 4 --- ...t-install-docs-to-not-need-additiona.patch | 21 +++++++++++++++ ...vice-Make-this-a-non-forking-service.patch | 27 +++++++++++++++++++ patches/chrony-4.1/series | 5 ++++ rules/chrony.make | 4 +-- 6 files changed, 55 insertions(+), 31 deletions(-) delete mode 100644 patches/chrony-3.5/0001-configure-make-unrecognized-option-a-fatal-error.patch delete mode 100644 patches/chrony-3.5/series create mode 100644 patches/chrony-4.1/0001-Makefile.in-Don-t-install-docs-to-not-need-additiona.patch create mode 100644 patches/chrony-4.1/0002-chronyd.service-Make-this-a-non-forking-service.patch create mode 100644 patches/chrony-4.1/series diff --git a/patches/chrony-3.5/0001-configure-make-unrecognized-option-a-fatal-error.patch b/patches/chrony-3.5/0001-configure-make-unrecognized-option-a-fatal-error.patch deleted file mode 100644 index 01f2136338b9..000000000000 --- a/patches/chrony-3.5/0001-configure-make-unrecognized-option-a-fatal-error.patch +++ /dev/null @@ -1,25 +0,0 @@ -From: Bruno Thomsen -Date: Fri, 31 Jul 2020 09:07:49 +0000 -Subject: [PATCH] configure: make unrecognized option a fatal error - -This helps catch cases where options has been removed -and are no longer valid. Including additional cross-build -options that cannot be used. - -Signed-off-by: Bruno Thomsen ---- - configure | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/configure b/configure -index 323f5743cd57..080f7bce746d 100755 ---- a/configure -+++ b/configure -@@ -388,6 +388,7 @@ do - ;; - * ) - echo "Unrecognized option : " $option -+ exit 1 - esac - done - diff --git a/patches/chrony-3.5/series b/patches/chrony-3.5/series deleted file mode 100644 index 5019725586fd..000000000000 --- a/patches/chrony-3.5/series +++ /dev/null @@ -1,4 +0,0 @@ -# generated by git-ptx-patches -#tag:base --start-number 1 -0001-configure-make-unrecognized-option-a-fatal-error.patch -# c182e03aeda3f8c148ae51d52f839a6a - git-ptx-patches magic diff --git a/patches/chrony-4.1/0001-Makefile.in-Don-t-install-docs-to-not-need-additiona.patch b/patches/chrony-4.1/0001-Makefile.in-Don-t-install-docs-to-not-need-additiona.patch new file mode 100644 index 000000000000..13d3df8c7dcb --- /dev/null +++ b/patches/chrony-4.1/0001-Makefile.in-Don-t-install-docs-to-not-need-additiona.patch @@ -0,0 +1,21 @@ +From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= +Date: Mon, 19 Apr 2021 17:33:41 +0200 +Subject: [PATCH] Makefile.in: Don't install docs to not need additional build + dependencies + +--- + Makefile.in | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/Makefile.in b/Makefile.in +index 9a51df20074a..758e1e87771d 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -95,7 +95,6 @@ install: chronyd chronyc + chmod 755 $(DESTDIR)$(SBINDIR)/chronyd + cp chronyc $(DESTDIR)$(BINDIR)/chronyc + chmod 755 $(DESTDIR)$(BINDIR)/chronyc +- $(MAKE) -C doc install + + docs : + $(MAKE) -C doc docs diff --git a/patches/chrony-4.1/0002-chronyd.service-Make-this-a-non-forking-service.patch b/patches/chrony-4.1/0002-chronyd.service-Make-this-a-non-forking-service.patch new file mode 100644 index 000000000000..39c1e0e79f16 --- /dev/null +++ b/patches/chrony-4.1/0002-chronyd.service-Make-this-a-non-forking-service.patch @@ -0,0 +1,27 @@ +From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= +Date: Mon, 19 Apr 2021 17:34:34 +0200 +Subject: [PATCH] chronyd.service: Make this a non-forking service + +This allows to add -d to $OPTIONS without systemd killing the daemon +after a short uptime. +--- + examples/chronyd.service | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/examples/chronyd.service b/examples/chronyd.service +index 289548cbab87..7a7c693d9e63 100644 +--- a/examples/chronyd.service ++++ b/examples/chronyd.service +@@ -6,10 +6,10 @@ Conflicts=ntpd.service systemd-timesyncd.service + ConditionCapability=CAP_SYS_TIME + + [Service] +-Type=forking ++Type=exec + PIDFile=/run/chrony/chronyd.pid + EnvironmentFile=-/etc/sysconfig/chronyd +-ExecStart=/usr/sbin/chronyd $OPTIONS ++ExecStart=/usr/sbin/chronyd -d $OPTIONS + PrivateTmp=yes + ProtectHome=yes + ProtectSystem=full diff --git a/patches/chrony-4.1/series b/patches/chrony-4.1/series new file mode 100644 index 000000000000..edccbe20d778 --- /dev/null +++ b/patches/chrony-4.1/series @@ -0,0 +1,5 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 +0001-Makefile.in-Don-t-install-docs-to-not-need-additiona.patch +0002-chronyd.service-Make-this-a-non-forking-service.patch +# 615ea3ced1c5eafb46beca36157cbc23 - git-ptx-patches magic diff --git a/rules/chrony.make b/rules/chrony.make index bdceb454c175..6ba7da89da28 100644 --- a/rules/chrony.make +++ b/rules/chrony.make @@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_CHRONY) += chrony # # Paths and names # -CHRONY_VERSION := 3.5 -CHRONY_MD5 := 5f66338bc940a9b51eede8f391e7bed3 +CHRONY_VERSION := 4.1 +CHRONY_MD5 := 7133880806887b629678c36a48217806 CHRONY := chrony-$(CHRONY_VERSION) CHRONY_SUFFIX := tar.gz CHRONY_URL := http://download.tuxfamily.org/chrony/$(CHRONY).$(CHRONY_SUFFIX) -- 2.30.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de