aboutsummaryrefslogtreecommitdiff
path: root/net/chrony
Commit message (Collapse)AuthorAge
* chrony: update package descriptionReguna2024-03-06
| | | | | | Explicitly mention the support of NTS (or the lack of it) in the description of chrony and chrony-nts Signed-off-by: Reguna <60984878+regunakyle@users.noreply.github.com>
* chrony: add ntp hotplug provider scriptMiroslav Lichvar2023-12-18
| | | | | | | | When the service is started, wait for the clock to be synchronized for up to 5 minutes and provide the stratum action once for ntp hotplug scripts. Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: update to 4.5Miroslav Lichvar2023-12-18
| | | | Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: update to 4.4Miroslav Lichvar2023-08-10
| | | | Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* treewide: remove AUTORELEASEPaul Fertser2023-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatically compute and substitute current values for all $(AUTORELEASE) instances as this feature is deprecated and shouldn't be used. The following temporary change was made to the core: diff --git a/rules.mk b/rules.mk index 57d7995d4fa8..f16367de87a8 100644 --- a/rules.mk +++ b/rules.mk @@ -429,7 +429,7 @@ endef abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1)))) COMMITCOUNT = $(if $(DUMP),0,$(call commitcount)) -AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1)) +AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile)) all: FORCE: ; And this command used to fix affected packages: for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \ sed 's^.*/\([^/]*\)/Makefile^\1^';); do make package/$i/download done Signed-off-by: Paul Fertser <fercerpav@gmail.com>
* treewide: refactor to use PKG_BUILD_FLAGS:=ltoAndre Heider2023-04-08
| | | | | | | | | | See commit 07730ff3 "treewide: add support for "lto" in PKG_BUILD_FLAGS" on the main repository. Note: Some packages only added `-flto` to CFLAGS and not LDFLAGS. This fixes it and properly enables LTO. Signed-off-by: Andre Heider <a.heider@gmail.com>
* chrony: update to 4.3Miroslav Lichvar2022-08-31
| | | | Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: Avoid building unused gnutls and ca dependenciesBoris Krasnovskiy2022-07-30
| | | | | | Avoid building unused gnutls and ca dependencies Signed-off-by: Boris Krasnovskiy <borkra@gmail.com>
* chrony: enable LTOStijn Tintel2022-03-16
| | | | | | | | Size difference of the ipk on qoriq: * chrony: 718571 676886 * chrony-nts: 786960 757064 Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* chrony: enable AUTORELEASEStijn Tintel2022-03-16
| | | | | | | Enable AUTORELEASE in a separate commit so that the next commit can be reverted without having to manually re-introduce it. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* chrony: add conflict between without NTS and NTS variantJosef Schlehofer2022-03-06
| | | | | | | | | | | | | Both packages provide the same files: /usr/bin/chronyc /usr/sbin/chronyd /etc/chrony/chrony.conf /etc/hotplug.d/iface/20-chrony /etc/init.d/chronyd They should not be installed side by side. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* chrony: update to 4.2Miroslav Lichvar2021-12-16
| | | | Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: fix uci NTP access configurationMiroslav Lichvar2021-06-19
| | | | | | | | | The chrony interface hotplug script reuses the handle_allow function from the init script to allow NTP access on interfaces specified in uci. The function requires /lib/functions/network.sh. Include the file in the hotplug script to make the function work as expected. Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: update to 4.1Miroslav Lichvar2021-05-14
| | | | Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: add package variant with NTSJan Pavlinec2020-11-18
| | | | Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* chrony: improve configurationMiroslav Lichvar2020-10-30
| | | | | | | | | | | | | | | | | | | Extend configuration of NTP sources in UCI: - Add nts option to enable NTS - Add disabled option to allow inactive sources Add nts section to UCI with: - rtccheck option to disable certificate time checks on systems that don't have an RTC to avoid the chicken-and-egg problem (it is less secure, but still should be better than no NTS at all) - systemcerts option to disable system certificates - trustedcerts option to specify path to trusted certificates Save NTS keys and cookies by default to avoid unnecessary NTS-KE sessions when restarted or switching back to an already used NTS source. Also, save the drift to stabilize the clock after chronyd restart. Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: improve hotplug scriptMiroslav Lichvar2020-10-30
| | | | | | | | | | | | | - Use the chronyc onoffline command to update state of all sources per current routing configuration - Don't ignore the "ifupdate" action - Add NTP servers from DHCP for the interface that went up instead of the wan4+wan6 interfaces - Save the servers to files loaded by the sourcedir directive to not lose them when chronyd is restarted, and remove them when the interface goes down Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: rework loading of configurationMiroslav Lichvar2020-10-30
| | | | | | | | | Instead of loading /etc/chrony/chrony.conf from the file generated from the chrony UCI configuration, use the confdir directive in the main config to load the generated file. This should make it obvious that chrony is configured in UCI and it can also be easily disabled. Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: add NTS optionMiroslav Lichvar2020-10-09
| | | | Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: update to 4.0Miroslav Lichvar2020-10-09
| | | | Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* treewide: add PKG_CPE_ID for better cvescanner coverageJan Pavlinec2019-09-17
| | | | Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* chrony: update to 3.5Miroslav Lichvar2019-05-14
| | | | Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: update to 3.4Miroslav Lichvar2018-09-19
| | | | Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: fix configuration of IPv6 client accessMiroslav Lichvar2018-09-17
| | | | | | | | | Fix the init script to allow access from IPv6 subnets of the interface specified in allow section in /etc/config/chrony. Fixes issue #7039. Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: disable sechash supportMiroslav Lichvar2018-04-10
| | | | | | | Don't use the Nettle library (or NSS, libtomcrypt) even if it is available. Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: update to 3.3Miroslav Lichvar2018-04-04
| | | | Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* treewide: remove superfluous + signs from PKG_BUILD_DEPENDSMatthias Schiffer2018-01-07
| | | | | | A + sign does not have meaning in build depends. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* chrony: update to 3.2Miroslav Lichvar2017-09-18
| | | | Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: set rtcsync config optionMetafly2017-02-10
| | | | | | | | | Else the system will always stay in UNSYNC state. Even if there is no real RTC. See chrony minimal config: http://chrony.tuxfamily.org/faq.html#_what_is_the_minimum_recommended_configuration_for_an_ntp_client Signed-off-by: Stefan Sydow <st@metafly.info>
* chrony: update to 3.1Miroslav Lichvar2017-01-31
| | | | Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: enable asynchronous name resolvingMiroslav Lichvar2016-12-13
| | | | Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: update to 2.4.1Miroslav Lichvar2016-11-21
| | | | Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: update to 2.4Miroslav Lichvar2016-06-07
| | | | Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: update to 2.3Miroslav Lichvar2016-02-16
| | | | Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: update to 2.2.1Miroslav Lichvar2016-01-24
| | | | | | Fixes CVE-2016-1567. Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: improve hotplug and init scriptsMiroslav Lichvar2015-11-14
| | | | | | | | | | | | | | - fix the init script to read the right config - rework the init script to allow reusing its code in the hotplug script - find wan interfaces in the hotplug script instead of using hardcoded name and set the online/offline status separately for IPv4/IPv6 - allow NTP access on interfaces that are configured after chronyd start - add NTP servers obtained from DHCP, options are specified in a new dhcp_ntp_server config section - start chronyd before the network service, include a patch to always have IP_FREEBIND defined, which seems to be missing with uclibc Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: update to 2.2Miroslav Lichvar2015-10-20
| | | | | | | Support for authentication with command key was replaced with communication over Unix domain socket. Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: remove old filesMiroslav Lichvar2015-10-17
| | | | | | | Remove files that were accidentally included in the previous merge (pull request #1802). The obsolete patches are breaking the build now. Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
* chrony: import from oldpackagesMiroslav Lichvar2015-10-13
Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>