Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd/files/
Date: Fri, 06 Mar 2020 19:20:36
Message-Id: 1583522376.98fb3b88045ac64e8fd62c9e53e5845ee919fc5f.floppym@gentoo
1 commit: 98fb3b88045ac64e8fd62c9e53e5845ee919fc5f
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 6 19:19:36 2020 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 6 19:19:36 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98fb3b88
7
8 sys-apps/systemd: remove unused patches
9
10 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
11
12 sys-apps/systemd/files/245-rc1-network-debug.patch | 45 ----------------------
13 .../systemd/files/245-rc1-sysctl-segfault.patch | 23 -----------
14 2 files changed, 68 deletions(-)
15
16 diff --git a/sys-apps/systemd/files/245-rc1-network-debug.patch b/sys-apps/systemd/files/245-rc1-network-debug.patch
17 deleted file mode 100644
18 index e65035f2185..00000000000
19 --- a/sys-apps/systemd/files/245-rc1-network-debug.patch
20 +++ /dev/null
21 @@ -1,45 +0,0 @@
22 -From 01ec0028d97fa97d2e433659e24a1517b0e2382e Mon Sep 17 00:00:00 2001
23 -From: Mike Gilbert <floppym@g.o>
24 -Date: Wed, 5 Feb 2020 11:04:50 -0500
25 -Subject: [PATCH] network: remove unnecessary link->ifname from debug log
26 - statements
27 -
28 -Since 98b0299479a68ffd414888368907fc776a46b82a, we log the interface
29 -name automatically via log_link_debug().
30 -
31 -Fixes: https://github.com/systemd/systemd/issues/14782
32 ----
33 - src/network/networkd-dhcp-server.c | 6 +++---
34 - 1 file changed, 3 insertions(+), 3 deletions(-)
35 -
36 -diff --git a/src/network/networkd-dhcp-server.c b/src/network/networkd-dhcp-server.c
37 -index a6dbe2e596c..bee75a6930e 100644
38 ---- a/src/network/networkd-dhcp-server.c
39 -+++ b/src/network/networkd-dhcp-server.c
40 -@@ -45,7 +45,7 @@ static int link_push_uplink_dns_to_dhcp_server(Link *link, sd_dhcp_server *s) {
41 - size_t n_addresses = 0, n_allocated = 0;
42 - unsigned i;
43 -
44 -- log_link_debug(link, "Copying DNS server information from %s", link->ifname);
45 -+ log_link_debug(link, "Copying DNS server information from link");
46 -
47 - if (!link->network)
48 - return 0;
49 -@@ -99,7 +99,7 @@ static int link_push_uplink_ntp_to_dhcp_server(Link *link, sd_dhcp_server *s) {
50 - if (!link->network)
51 - return 0;
52 -
53 -- log_link_debug(link, "Copying NTP server information from %s", link->ifname);
54 -+ log_link_debug(link, "Copying NTP server information from link");
55 -
56 - STRV_FOREACH(a, link->network->ntp) {
57 - union in_addr_union ia;
58 -@@ -148,7 +148,7 @@ static int link_push_uplink_sip_to_dhcp_server(Link *link, sd_dhcp_server *s) {
59 - if (!link->network)
60 - return 0;
61 -
62 -- log_link_debug(link, "Copying SIP server information from %s", link->ifname);
63 -+ log_link_debug(link, "Copying SIP server information from link");
64 -
65 - STRV_FOREACH(a, link->network->sip) {
66 - union in_addr_union ia;
67
68 diff --git a/sys-apps/systemd/files/245-rc1-sysctl-segfault.patch b/sys-apps/systemd/files/245-rc1-sysctl-segfault.patch
69 deleted file mode 100644
70 index 7618b2deba5..00000000000
71 --- a/sys-apps/systemd/files/245-rc1-sysctl-segfault.patch
72 +++ /dev/null
73 @@ -1,23 +0,0 @@
74 -From db99904bc8482efe556bb010a8b203a3e60ee37f Mon Sep 17 00:00:00 2001
75 -From: Yu Watanabe <watanabe.yu+github@×××××.com>
76 -Date: Thu, 6 Feb 2020 19:13:11 +0900
77 -Subject: [PATCH] sysctl: fix segfault
78 -
79 -Fixes #14801.
80 ----
81 - src/sysctl/sysctl.c | 2 +-
82 - 1 file changed, 1 insertion(+), 1 deletion(-)
83 -
84 -diff --git a/src/sysctl/sysctl.c b/src/sysctl/sysctl.c
85 -index bbcf0c43235..0cdb740d218 100644
86 ---- a/src/sysctl/sysctl.c
87 -+++ b/src/sysctl/sysctl.c
88 -@@ -257,7 +257,7 @@ static int parse_file(OrderedHashmap **sysctl_options, const char *path, bool ig
89 -
90 - existing = ordered_hashmap_get(*sysctl_options, p);
91 - if (existing) {
92 -- if (streq(value, existing->value)) {
93 -+ if (streq_ptr(value, existing->value)) {
94 - existing->ignore_failure = existing->ignore_failure || ignore_failure;
95 - continue;
96 - }