This patch fixes locale canonicalization when using newer versions of ICU. It comes from the upstream repo, and should appear starting in version 3.33.5. From fe4ac94ce3c14f200e049a5d102fc0e4b811c71e Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 16 Jul 2019 07:22:07 +0200 Subject: [PATCH] I#137 - POSIX locale tests fail with ICU 64.x Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/137 --- src/libedataserver/e-collator.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libedataserver/e-collator.c b/src/libedataserver/e-collator.c index 718eac5da..ec2cf7951 100644 --- a/src/libedataserver/e-collator.c +++ b/src/libedataserver/e-collator.c @@ -132,6 +132,11 @@ canonicalize_locale (const gchar *posix_locale, gint len; const gchar *collation_type = NULL; + if (posix_locale && ( + g_ascii_strcasecmp (posix_locale, "C") == 0 || + g_ascii_strcasecmp (posix_locale, "POSIX") == 0)) + posix_locale = "en_US_POSIX"; + len = uloc_canonicalize (posix_locale, locale_buffer, LOCALE_BUFFER_LEN, &status); if (U_FAILURE (status)) { -- 2.22.0 d0345e9'>refslogtreecommitdiff
path: root/gnu/services/dns.scm
AgeCommit message (Expand)Author
2023-08-16Revert "services: Add ddclient service."...ddclient is unmaintained as of 2023-07-04 [1] and this service has been broken for a while [2]. Remove it rather than shipping a broken service for an unmaintained program that's unlikely to be fixed. [1]: <https://github.com/ddclient/ddclient> [2]: <https://issues.guix.gnu.org/52770> This reverts commit 8490a8346b5c8207f5798be55bea1de865b0bd42. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Bruno Victal
2023-04-21services: knot: Add 'configuration' action....* gnu/services/dns.scm (knot-shepherd-service): Add 'actions' field. Ludovic Courtès
2023-03-13services: dns: Fix cpe-id default value....* gnu/service/dns.scm: (<dnsmasq-configuration>)[cpe-id]: Change cpe-id default value to #f instead of #t. Andrew Tropin
2023-03-13services: dns: Extend dnsmasq-configuration....* gnu/service/dns.scm: (<dnsmasq-configuration>)[servers-file]: Add. (<dnsmasq-configuration>)[tftp-secure?]: Fix typo in parameter name. * doc/guix.texi: Document (<dnsmasq-configuration>)[servers-file]. Signed-off-by: Andrew Tropin <andrew@trop.in> Sergey Trofimov
2023-03-06services: knot: Default zone-file-refresh to 12h....The Knot DNS service in Guix uses two days, or 48 hours, for the SOA refresh interval but that is outside the range of RFC 1912, which is entitled "Common DNS Operational and Configuration Errors." [1] Section 2.2 of RFC 1912 recommends a maximum of 12 hours for the SOA refresh rate: "You can keep it short (20 mins to 2 hours) if you aren't worried about a small increase in bandwidth used, or longer (2-12 hours) if your Internet connection is slow or is started on demand." This commit sets the default refresh interval at the nearest value recommended by the standard, which is 12 hours. Due to the widespread adoption of NOTIFY messages between primary and secondary DNS servers, the SOA refresh interval has arguably lost some importance, but the Guix default should still be in line with the standards. Values outside the recommended range can provoke warning messages from services commonly used to find bugs in DNS configurations, such as the MX Toolbox Super Tool. [2] [1] https://datatracker.ietf.org/doc/rfc1912/ [2] https://mxtoolbox.com/SuperTool.aspx * gnu/services/dns.scm (<zone-file>)[refresh]: Default to (* 12 3600). Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Felix Lechner