[packages/dhcpcd] - up to 8.1.6
arekm
arekm at pld-linux.org
Wed Jan 29 17:11:06 CET 2020
commit f7e15a2313b45e6712171ec40b774acb5eb871aa
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Jan 29 17:10:58 2020 +0100
- up to 8.1.6
cpuhog.patch | 52 ----------------------------------------------------
dhcpcd.spec | 8 +++-----
2 files changed, 3 insertions(+), 57 deletions(-)
---
diff --git a/dhcpcd.spec b/dhcpcd.spec
index c5651ae..997b7b1 100644
--- a/dhcpcd.spec
+++ b/dhcpcd.spec
@@ -6,13 +6,12 @@ Summary(pl.UTF-8): Klient (daemon) DHCP
Summary(pt_BR.UTF-8): Servidor DHCPC
Summary(tr.UTF-8): DHCPC sunucu süreçi (daemon)
Name: dhcpcd
-Version: 8.1.1
-Release: 2
+Version: 8.1.6
+Release: 1
License: BSD
Group: Networking/Daemons
Source0: http://roy.marples.name/downloads/dhcpcd/%{name}-%{version}.tar.xz
-# Source0-md5: dc4f29a62afc53cdac311e925cfd1bc7
-Patch0: cpuhog.patch
+# Source0-md5: e1eea03388d12c9ad21ecd7c135fdf8b
URL: http://roy.marples.name/projects/dhcpcd
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -87,7 +86,6 @@ kira zamanını (lease time) yenilemeye çalışır.
%prep
%setup -q
-%patch0 -p1
%build
%configure \
diff --git a/cpuhog.patch b/cpuhog.patch
deleted file mode 100644
index 58863ae..0000000
--- a/cpuhog.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From 73ac184333f77b38a8b4c4202c2928278e2237ca Mon Sep 17 00:00:00 2001
-From: Roy Marples <roy at marples.name>
-Date: Tue, 5 Nov 2019 15:52:57 +0000
-Subject: INET: Fix corruption of IPv4 address flags when renewing
-
-What a mistaka to maka!
----
- src/ipv4.c | 20 +++++++++-----------
- 1 file changed, 9 insertions(+), 11 deletions(-)
-
-(limited to 'src')
-
-diff --git a/src/ipv4.c b/src/ipv4.c
-index fd2a15d7..53550696 100644
---- a/src/ipv4.c
-+++ b/src/ipv4.c
-@@ -654,7 +654,7 @@ ipv4_addaddr(struct interface *ifp, const struct in_addr *addr,
- #endif
- ia->flags = IPV4_AF_NEW;
- } else
-- ia->flags |= ~IPV4_AF_NEW;
-+ ia->flags &= ~IPV4_AF_NEW;
-
- ia->mask = *mask;
- ia->brd = *bcast;
-@@ -952,15 +952,13 @@ ipv4_free(struct interface *ifp)
- struct ipv4_state *state;
- struct ipv4_addr *ia;
-
-- if (ifp) {
-- state = IPV4_STATE(ifp);
-- if (state) {
-- while ((ia = TAILQ_FIRST(&state->addrs))) {
-- TAILQ_REMOVE(&state->addrs, ia, next);
-- free(ia);
-- }
-- free(state->buffer);
-- free(state);
-- }
-+ if (ifp == NULL || (state = IPV4_STATE(ifp)) == NULL)
-+ return;
-+
-+ while ((ia = TAILQ_FIRST(&state->addrs))) {
-+ TAILQ_REMOVE(&state->addrs, ia, next);
-+ free(ia);
- }
-+ free(state->buffer);
-+ free(state);
- }
---
-cgit v1.2.1
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dhcpcd.git/commitdiff/f7e15a2313b45e6712171ec40b774acb5eb871aa
More information about the pld-cvs-commit
mailing list