Skip to contentSkip to conversation

radvd: upgrade 2.19 -> 2.20

PATCH New Yi Zhao 1 participant 1 message Feb 24, 2025

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 radvd: upgrade 2.19 -> 2.20

ChangeLog:
https://github.com/radvd-project/radvd/blob/v2.20/CHANGES

* Drop backport patch
* Add dependency libbsd
* Update rdavd.service
* Install systemd service file and sysvinit script separately through conditional statements.

---
 ...ude.h-change-in-46883f8a1a02fe42040d.patch | 32 -------------
 .../recipes-daemons/radvd/files/radvd.init    |  0
 .../recipes-daemons/radvd/files/radvd.service |  7 ++-
 .../radvd/{radvd_2.19.bb => radvd_2.20.bb}    | 48 ++++++++++---------
 4 files changed, 30 insertions(+), 57 deletions(-)
 delete mode 100644 meta-networking/recipes-daemons/radvd/files/0001-Reverts-the-include.h-change-in-46883f8a1a02fe42040d.patch
 mode change 100755 => 100644 meta-networking/recipes-daemons/radvd/files/radvd.init
 rename meta-networking/recipes-daemons/radvd/{radvd_2.19.bb => radvd_2.20.bb} (56%)
meta-networking/recipes-daemons/radvd/files/0001-Reverts-the-include.h-change-in-46883f8a1a02fe42040d.patch deleted +0 -32
deleted file mode 100644
index 57338d4713..0000000000
@@ -1,32 +0,0 @@
-From 15f439c555289f900eb33111b010bf1266f97edb Mon Sep 17 00:00:00 2001
-From: Jonathan Davies <[email protected]>
-Date: Thu, 25 Nov 2021 15:29:18 +0000
-Subject: [PATCH] Reverts the include.h change in
- 46883f8a1a02fe42040dd8e48aec0ed871545d4d
-
-Closes: #158
-
-Upstream-Status: Backport [https://github.com/radvd-project/radvd/commit/06689f8c06f44c7e87f7ff1d814428f88375b53f]
-Signed-off-by: Jonathan Davies <[email protected]>
-Signed-off-by: Khem Raj <[email protected]>
----
- includes.h | 5 -----
- 1 file changed, 5 deletions(-)
-
-diff --git a/includes.h b/includes.h
-index ef30b10..c528c86 100644
---- a/includes.h
-+++ b/includes.h
-@@ -76,12 +76,7 @@
- #include <sys/sysctl.h>
- #endif
- 
--#if !defined(__GLIBC__) && defined(linux)
--#include <linux/if.h>
--#define IF_NAMESIZE IFNAMSIZ
--#else
- #include <net/if.h>
--#endif
- 
- #ifdef HAVE_NET_IF_DL_H
- #include <net/if_dl.h>
meta-networking/recipes-daemons/radvd/files/radvd.init +0 -0
old mode 100755
new mode 100644
meta-networking/recipes-daemons/radvd/files/radvd.service +5 -2
index e60798a6b3..9230543c48 100644
@@ -4,8 +4,11 @@ After=network.target
 ConditionPathExists=@SYSCONFDIR@/radvd.conf
 
 [Service]
-EnvironmentFile=-@SYSCONFDIR@/default/radvd
-ExecStart=@SBINDIR@/radvd -n $OPTIONS
+Type=forking
+EnvironmentFile=@SYSCONFDIR@/default/radvd
+ExecStart=@SBINDIR@/radvd $OPTIONS
+PIDFile=/run/radvd.pid
+ExecReload=/bin/kill -HUP $MAINPID
 
 [Install]
 WantedBy=multi-user.target
meta-networking/recipes-daemons/radvd/radvd_2.20.bb renamed from meta-networking/recipes-daemons/radvd/radvd_2.19.bb +25 -23

75 lines not on this page · raw message

Signature · 1 line
2.25.1