From 41d6f3bf4d6de680a2d7b735690d655bc2f00944 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Tue, 28 Jun 2022 12:00:47 +0200 Subject: [PATCH] Use https for freedesktop.org grep -l -r http:// | xargs sed -E -i s'#http://(.*).freedesktop.org#https://\1.freedesktop.org#' --- TODO | 14 +++++++------- docs/NETWORK_ONLINE.md | 10 +++++----- man/busctl.xml | 2 +- man/custom-html.xsl | 2 +- man/file-hierarchy.xml | 6 +++--- man/hostnamectl.xml | 2 +- man/machine-info.xml | 2 +- man/os-release.xml | 2 +- man/pam_systemd.xml | 4 ++-- man/sd_bus_creds_get_pid.xml | 4 ++-- man/sd_bus_error.xml | 2 +- man/sd_bus_message_append.xml | 2 +- man/sd_bus_message_append_array.xml | 4 ++-- man/sd_bus_message_append_basic.xml | 4 ++-- man/sd_bus_message_append_string_memfd.xml | 2 +- man/sd_bus_message_append_strv.xml | 2 +- man/sd_session_is_active.xml | 2 +- man/systemd-ask-password.xml | 2 +- man/systemd.syntax.xml | 2 +- man/systemd.xml | 4 ++-- man/vtable-example.xml | 2 +- src/basic/path-lookup.c | 2 +- src/busctl/test-busctl-introspect.c | 14 +++++++------- src/core/org.freedesktop.systemd1.conf | 2 +- src/core/org.freedesktop.systemd1.policy.in | 2 +- src/home/org.freedesktop.home1.conf | 2 +- src/home/org.freedesktop.home1.policy | 2 +- src/hostname/org.freedesktop.hostname1.conf | 2 +- src/hostname/org.freedesktop.hostname1.policy | 2 +- src/import/org.freedesktop.import1.conf | 2 +- src/import/org.freedesktop.import1.policy | 2 +- src/libsystemd/sd-bus/bus-introspect.c | 2 +- src/locale/org.freedesktop.locale1.conf | 2 +- src/locale/org.freedesktop.locale1.policy | 2 +- src/login/org.freedesktop.login1.conf | 2 +- src/login/org.freedesktop.login1.policy | 2 +- src/machine/org.freedesktop.machine1.conf | 2 +- src/machine/org.freedesktop.machine1.policy | 2 +- src/network/org.freedesktop.network1.conf | 2 +- src/network/org.freedesktop.network1.policy | 2 +- src/oom/org.freedesktop.oom1.conf | 2 +- src/portable/org.freedesktop.portable1.conf | 2 +- src/portable/org.freedesktop.portable1.policy | 2 +- src/resolve/org.freedesktop.resolve1.conf | 2 +- src/resolve/org.freedesktop.resolve1.policy | 2 +- src/test/test-web-util.c | 2 +- src/timedate/org.freedesktop.timedate1.conf | 2 +- src/timedate/org.freedesktop.timedate1.policy | 2 +- src/timesync/org.freedesktop.timesync1.conf | 2 +- src/timesync/org.freedesktop.timesync1.policy | 2 +- src/vconsole/vconsole-setup.c | 2 +- test/test-functions | 2 +- 52 files changed, 75 insertions(+), 75 deletions(-) diff --git a/TODO b/TODO index 89034c5309..4ba83eed3e 100644 --- a/TODO +++ b/TODO @@ -1102,7 +1102,7 @@ Features: * there's probably something wrong with having user mounts below /sys, as we have for debugfs. for example, src/core/mount.c handles mounts prefixed with /sys generally special. - http://lists.freedesktop.org/archives/systemd-devel/2015-June/032962.html + https://lists.freedesktop.org/archives/systemd-devel/2015-June/032962.html * fstab-generator: default to tmpfs-as-root if only usr= is specified on the kernel cmdline @@ -1115,7 +1115,7 @@ Features: * add a job mode that will fail if a transaction would mean stopping running units. Use this in timedated to manage the NTP service state. - http://lists.freedesktop.org/archives/systemd-devel/2015-April/030229.html + https://lists.freedesktop.org/archives/systemd-devel/2015-April/030229.html * The udev blkid built-in should expose a property that reflects whether media was sensed in USB CF/SD card readers. This should then @@ -1126,13 +1126,13 @@ Features: * hostnamectl: show root image uuid * Find a solution for SMACK capabilities stuff: - http://lists.freedesktop.org/archives/systemd-devel/2014-December/026188.html + https://lists.freedesktop.org/archives/systemd-devel/2014-December/026188.html * synchronize console access with BSD locks: - http://lists.freedesktop.org/archives/systemd-devel/2014-October/024582.html + https://lists.freedesktop.org/archives/systemd-devel/2014-October/024582.html * as soon as we have sender timestamps, revisit coalescing multiple parallel daemon reloads: - http://lists.freedesktop.org/archives/systemd-devel/2014-December/025862.html + https://lists.freedesktop.org/archives/systemd-devel/2014-December/025862.html * figure out when we can use the coarse timers @@ -1251,9 +1251,9 @@ Features: log both units as UNIT=, so that journalctl -u triggers on both. - generate better errors when people try to set transient properties that are not supported... - http://lists.freedesktop.org/archives/systemd-devel/2015-February/028076.html + https://lists.freedesktop.org/archives/systemd-devel/2015-February/028076.html - maybe introduce WantsMountsFor=? Usecase: - http://lists.freedesktop.org/archives/systemd-devel/2015-January/027729.html + https://lists.freedesktop.org/archives/systemd-devel/2015-January/027729.html - recreate systemd's D-Bus private socket file on SIGUSR2 - move PAM code into its own binary - when we automatically restart a service, ensure we restart its rdeps, too. diff --git a/docs/NETWORK_ONLINE.md b/docs/NETWORK_ONLINE.md index f952d432c1..bf91e19651 100644 --- a/docs/NETWORK_ONLINE.md +++ b/docs/NETWORK_ONLINE.md @@ -67,7 +67,7 @@ before any routable network interface is up). Its primary purpose is network client software that cannot operate without network. For more details about those targets, see the -[systemd.special(7)](http://www.freedesktop.org/software/systemd/man/systemd.special.html) +[systemd.special(7)](https://www.freedesktop.org/software/systemd/man/systemd.special.html) man page. ## Compatibility with SysV init @@ -211,7 +211,7 @@ Here are a couple of possible approaches: actually (yet or ever) configured locally. This also makes your code robust towards network configuration changes. This is provided as `FreeBind=` for systemd services, see - [systemd.socket(5)](http://www.freedesktop.org/software/systemd/man/systemd.socket.html). + [systemd.socket(5)](https://www.freedesktop.org/software/systemd/man/systemd.socket.html). An exception to the above recommendations is services which require network connectivity, but do not delay system startup. An example may be a service @@ -234,13 +234,13 @@ specific to those services. For example, `systemd-networkd-wait-online.service` will wait until all interfaces that are present and managed by -[systemd-networkd.service(8)](http://www.freedesktop.org/software/systemd/man/systemd-networkd.service.html). +[systemd-networkd.service(8)](https://www.freedesktop.org/software/systemd/man/systemd-networkd.service.html). are fully configured or failed and at least one link is online; see -[systemd-networkd-wait-online.service(8)](http://www.freedesktop.org/software/systemd/man/systemd-networkd-wait-online.service.html) +[systemd-networkd-wait-online.service(8)](https://www.freedesktop.org/software/systemd/man/systemd-networkd-wait-online.service.html) for details. Those conditions are affected by the presence of configuration that matches various links, but also by settings like `Unmanaged=`, `RequiredForOnline=`, `RequiredFamilyForOnline=`; see -[systemd.network(5)](http://www.freedesktop.org/software/systemd/man/systemd.socket.html). +[systemd.network(5)](https://www.freedesktop.org/software/systemd/man/systemd.socket.html). It is also possible to plug in additional checks for network state. For example, to delay `network-online.target` until some a specific host is diff --git a/man/busctl.xml b/man/busctl.xml index bcd3f4805e..294ef5d4b7 100644 --- a/man/busctl.xml +++ b/man/busctl.xml @@ -411,7 +411,7 @@ set-property commands take a signature string followed by a list of parameters formatted as string (for details on D-Bus signature strings, see the Type + url="https://dbus.freedesktop.org/doc/dbus-specification.html#type-system">Type system chapter of the D-Bus specification). For simple types, each parameter following the signature should simply be the parameter's value formatted as string. Positive boolean values may diff --git a/man/custom-html.xsl b/man/custom-html.xsl index 6e4dc27f5d..5f1c9bed31 100644 --- a/man/custom-html.xsl +++ b/man/custom-html.xsl @@ -124,7 +124,7 @@ - http://dbus.freedesktop.org/doc/ + https://dbus.freedesktop.org/doc/ . diff --git a/man/file-hierarchy.xml b/man/file-hierarchy.xml index 63910b351f..4961f019f0 100644 --- a/man/file-hierarchy.xml +++ b/man/file-hierarchy.xml @@ -30,7 +30,7 @@ specification and hier7, with various extensions, partially documented in the XDG Base Directory + url="https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html">XDG Base Directory Specification and XDG User Directories. This manual page describes a more generalized, though minimal and modernized subset of these specifications that defines more strictly the suggestions and restrictions systemd makes on the file system @@ -177,7 +177,7 @@ directory directly, but via the $XDG_RUNTIME_DIR environment variable, as documented in the XDG + url="https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html">XDG Base Directory Specification. @@ -496,7 +496,7 @@ the user's home directory. They should follow the following basic structure. Note that some of these directories are also standardized (though more weakly) by the XDG + url="https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html">XDG Base Directory Specification. Additional locations for high-level user resources are defined by xdg-user-dirs. diff --git a/man/hostnamectl.xml b/man/hostnamectl.xml index 51f83d1cd6..3697bbb474 100644 --- a/man/hostnamectl.xml +++ b/man/hostnamectl.xml @@ -95,7 +95,7 @@ icon name to NAME. The icon name is used by some graphical applications to visualize this host. The icon name should follow the Icon + url="https://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html">Icon Naming Specification. diff --git a/man/machine-info.xml b/man/machine-info.xml index 4e6b72cea2..781208b600 100644 --- a/man/machine-info.xml +++ b/man/machine-info.xml @@ -77,7 +77,7 @@ An icon identifying this machine according to the XDG + url="https://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html">XDG Icon Naming Specification. If this parameter is not set, an application should fall back to computer or a similar icon diff --git a/man/os-release.xml b/man/os-release.xml index 875ac946f0..bd2251d14b 100644 --- a/man/os-release.xml +++ b/man/os-release.xml @@ -354,7 +354,7 @@ LOGO= A string, specifying the name of an icon as defined by freedesktop.org Icon Theme + url="https://standards.freedesktop.org/icon-theme-spec/latest">freedesktop.org Icon Theme Specification. This can be used by graphical applications to display an operating system's or distributor's logo. This field is optional and may not necessarily be implemented on all systems. diff --git a/man/pam_systemd.xml b/man/pam_systemd.xml index 5e3761ac50..60b8577822 100644 --- a/man/pam_systemd.xml +++ b/man/pam_systemd.xml @@ -115,7 +115,7 @@ indicate the session desktop used, where this applies and if this information is available. For example: GNOME, or KDE. It is recommended to use the same identifiers and capitalization as for $XDG_CURRENT_DESKTOP, as defined by the Desktop Entry + url="https://standards.freedesktop.org/desktop-entry-spec/latest/">Desktop Entry Specification. (However, note that the option only takes a single item, and not a colon-separated list like $XDG_CURRENT_DESKTOP.) See sd_session_get_desktop3 for @@ -176,7 +176,7 @@ similar. It is guaranteed that this directory is local and offers the greatest possible file system feature set the operating system provides. For further details, see the XDG + url="https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html">XDG Base Directory Specification. $XDG_RUNTIME_DIR is not set if the current user is not the original user of the session. diff --git a/man/sd_bus_creds_get_pid.xml b/man/sd_bus_creds_get_pid.xml index 8f5b94e531..9ceeb4d564 100644 --- a/man/sd_bus_creds_get_pid.xml +++ b/man/sd_bus_creds_get_pid.xml @@ -422,12 +422,12 @@ sd_bus_creds_get_unique_name() will retrieve the D-Bus unique name. See The + url="https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names-bus">The D-Bus specification. sd_bus_creds_get_well_known_names() will retrieve the set of D-Bus well-known names. See The + url="https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names-bus">The D-Bus specification. sd_bus_creds_get_description() will diff --git a/man/sd_bus_error.xml b/man/sd_bus_error.xml index f4d0fea2e6..d8f3317e29 100644 --- a/man/sd_bus_error.xml +++ b/man/sd_bus_error.xml @@ -153,7 +153,7 @@ The name field contains a short identifier of an error. It should follow the rules for error names described in the D-Bus specification, subsection Valid + url="https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names">Valid Names. A number of common, standardized error names are described in sd-bus-errors3, but additional domain-specific errors may be defined by applications. diff --git a/man/sd_bus_message_append.xml b/man/sd_bus_message_append.xml index a1c87366de..98667ad081 100644 --- a/man/sd_bus_message_append.xml +++ b/man/sd_bus_message_append.xml @@ -88,7 +88,7 @@ the call. For further details on the D-Bus type system, please consult the - D-Bus Specification. + D-Bus Specification. diff --git a/man/sd_bus_message_append_array.xml b/man/sd_bus_message_append_array.xml index cc8e0db525..da72b78cb0 100644 --- a/man/sd_bus_message_append_array.xml +++ b/man/sd_bus_message_append_array.xml @@ -79,7 +79,7 @@ i, u, x, t, d (but not b), as defined by the Basic + url="https://dbus.freedesktop.org/doc/dbus-specification.html#basic-types">Basic Types section of the D-Bus specification, and listed in sd_bus_message_append_basic3. Pointer p must point to an array of size @@ -172,7 +172,7 @@ sd_bus_message_append3, sd_bus_message_append_basic3, memfd_create2, - The D-Bus specification + The D-Bus specification diff --git a/man/sd_bus_message_append_basic.xml b/man/sd_bus_message_append_basic.xml index aca4d1fe7a..3509095ea3 100644 --- a/man/sd_bus_message_append_basic.xml +++ b/man/sd_bus_message_append_basic.xml @@ -43,7 +43,7 @@ p is interpreted. type must be one of the basic types as defined by the Basic + url="https://dbus.freedesktop.org/doc/dbus-specification.html#basic-types">Basic Types section of the D-Bus specification, and listed in the table below. @@ -254,7 +254,7 @@ sd-bus3, sd_bus_message_read_basic3, sd_bus_message_append3, - The D-Bus specification + The D-Bus specification diff --git a/man/sd_bus_message_append_string_memfd.xml b/man/sd_bus_message_append_string_memfd.xml index 8559c60ba8..5a4db0d369 100644 --- a/man/sd_bus_message_append_string_memfd.xml +++ b/man/sd_bus_message_append_string_memfd.xml @@ -112,7 +112,7 @@ systemd1, sd-bus3, sd_bus_message_append_basic3, - The D-Bus specification + The D-Bus specification diff --git a/man/sd_bus_message_append_strv.xml b/man/sd_bus_message_append_strv.xml index 67ba404137..8bf78ddb71 100644 --- a/man/sd_bus_message_append_strv.xml +++ b/man/sd_bus_message_append_strv.xml @@ -74,7 +74,7 @@ sd-bus3, sd_bus_message_append3, sd_bus_message_append_array3, - The D-Bus specification + The D-Bus specification diff --git a/man/sd_session_is_active.xml b/man/sd_session_is_active.xml index 9941a05a86..b69fa13782 100644 --- a/man/sd_session_is_active.xml +++ b/man/sd_session_is_active.xml @@ -197,7 +197,7 @@ formatting. However, desktops are strongly recommended to use the same identifiers and capitalization as for $XDG_CURRENT_DESKTOP, as defined by the Desktop + url="https://standards.freedesktop.org/desktop-entry-spec/latest/">Desktop Entry Specification. The returned string needs to be freed with the libc free3 diff --git a/man/systemd-ask-password.xml b/man/systemd-ask-password.xml index c3c9f573a4..97735eb657 100644 --- a/man/systemd-ask-password.xml +++ b/man/systemd-ask-password.xml @@ -102,7 +102,7 @@ Specify an icon name alongside the password query, which may be used in all agents supporting graphical display. The icon name should follow the XDG + url="https://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html">XDG Icon Naming Specification. diff --git a/man/systemd.syntax.xml b/man/systemd.syntax.xml index e900747ae7..1441b2bb52 100644 --- a/man/systemd.syntax.xml +++ b/man/systemd.syntax.xml @@ -69,7 +69,7 @@ The syntax is inspired by - XDG Desktop Entry Specification + XDG Desktop Entry Specification .desktop files, which are in turn inspired by Microsoft Windows .ini files. diff --git a/man/systemd.xml b/man/systemd.xml index dc5dedc469..64ba1654a0 100644 --- a/man/systemd.xml +++ b/man/systemd.xml @@ -323,7 +323,7 @@ Similar rules apply for the user unit directories. However, here the - XDG + XDG Base Directory specification is followed to find units. Applications should place their unit files in the directory returned by pkg-config systemd @@ -687,7 +687,7 @@ The systemd user manager uses these variables in accordance to the XDG + url="https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html">XDG Base Directory specification to find its configuration. diff --git a/man/vtable-example.xml b/man/vtable-example.xml index 891b375a4b..a1957774a3 100644 --- a/man/vtable-example.xml +++ b/man/vtable-example.xml @@ -1,5 +1,5 @@ +"https://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> diff --git a/src/basic/path-lookup.c b/src/basic/path-lookup.c index 1f4331a8bf..36f386254b 100644 --- a/src/basic/path-lookup.c +++ b/src/basic/path-lookup.c @@ -109,7 +109,7 @@ static const char* const user_config_unit_paths[] = { int xdg_user_dirs(char ***ret_config_dirs, char ***ret_data_dirs) { /* Implement the mechanisms defined in * - * http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html + * https://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html * * We look in both the config and the data dirs because we * want to encourage that distributors ship their unit files diff --git a/src/busctl/test-busctl-introspect.c b/src/busctl/test-busctl-introspect.c index d0800d2360..859ca71435 100644 --- a/src/busctl/test-busctl-introspect.c +++ b/src/busctl/test-busctl-introspect.c @@ -6,7 +6,7 @@ #include "tests.h" static const char *xml_root = - "\n" + "\n" "\n" " \n" " \n" @@ -44,7 +44,7 @@ static const char *xml_root = "\n"; static const char *xml_org = - "\n" + "\n" "\n" " \n" " \n" @@ -82,7 +82,7 @@ static const char *xml_org = "\n"; static const char *xml_org_freedesktop = - "\n" + "\n" "\n" " \n" " \n" @@ -121,7 +121,7 @@ static const char *xml_org_freedesktop = "\n"; static const char *xml_org_freedesktop_LogControl1 = - "\n" + "\n" "\n" " \n" " \n" @@ -171,7 +171,7 @@ static const char *xml_org_freedesktop_LogControl1 = "\n"; static const char *xml_org_freedesktop_network1 = - "\n" + "\n" "\n" " \n" " \n" @@ -209,7 +209,7 @@ static const char *xml_org_freedesktop_network1 = "\n"; static const char *xml_org_freedesktop_network1_network = - "\n" + "\n" "\n" " \n" " \n" @@ -267,7 +267,7 @@ static const char *xml_org_freedesktop_network1_network = "\n"; static const char *xml_org_freedesktop_network1_network_unsigned = - "\n" + "\n" "\n" " \n" " \n" diff --git a/src/core/org.freedesktop.systemd1.conf b/src/core/org.freedesktop.systemd1.conf index f405b27658..4a798c7870 100644 --- a/src/core/org.freedesktop.systemd1.conf +++ b/src/core/org.freedesktop.systemd1.conf @@ -1,6 +1,6 @@ + "https://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> + "https://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> + "https://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> diff --git a/src/home/org.freedesktop.home1.policy b/src/home/org.freedesktop.home1.policy index 71253e04e9..a337b32237 100644 --- a/src/home/org.freedesktop.home1.policy +++ b/src/home/org.freedesktop.home1.policy @@ -1,6 +1,6 @@ + "https://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> diff --git a/src/hostname/org.freedesktop.hostname1.conf b/src/hostname/org.freedesktop.hostname1.conf index 2f34102e98..5b70625021 100644 --- a/src/hostname/org.freedesktop.hostname1.conf +++ b/src/hostname/org.freedesktop.hostname1.conf @@ -1,6 +1,6 @@ + "https://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> + "https://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> + "https://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> + "https://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> + "https://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> + "https://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> + "https://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> + "https://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> + "https://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> + "https://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> + "https://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> + "https://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> + "https://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> diff --git a/src/portable/org.freedesktop.portable1.conf b/src/portable/org.freedesktop.portable1.conf index 5a09f5c2d9..4899305b08 100644 --- a/src/portable/org.freedesktop.portable1.conf +++ b/src/portable/org.freedesktop.portable1.conf @@ -1,6 +1,6 @@ + "https://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> diff --git a/src/portable/org.freedesktop.portable1.policy b/src/portable/org.freedesktop.portable1.policy index 09f9028dc5..a26b00ff53 100644 --- a/src/portable/org.freedesktop.portable1.policy +++ b/src/portable/org.freedesktop.portable1.policy @@ -1,6 +1,6 @@ + "https://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> diff --git a/src/resolve/org.freedesktop.resolve1.conf b/src/resolve/org.freedesktop.resolve1.conf index 25b09774e5..52ea5581a2 100644 --- a/src/resolve/org.freedesktop.resolve1.conf +++ b/src/resolve/org.freedesktop.resolve1.conf @@ -1,6 +1,6 @@ + "https://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> + "https://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> + "https://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> + "https://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> + "https://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> + "https://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">