diff options
Diffstat (limited to 'meta-networking/recipes-daemons/radvd/files')
3 files changed, 5 insertions, 34 deletions
diff --git a/meta-networking/recipes-daemons/radvd/files/0001-Reverts-the-include.h-change-in-46883f8a1a02fe42040d.patch b/meta-networking/recipes-daemons/radvd/files/0001-Reverts-the-include.h-change-in-46883f8a1a02fe42040d.patch deleted file mode 100644 index 57338d4713..0000000000 --- a/meta-networking/recipes-daemons/radvd/files/0001-Reverts-the-include.h-change-in-46883f8a1a02fe42040d.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | From 15f439c555289f900eb33111b010bf1266f97edb Mon Sep 17 00:00:00 2001 | ||
2 | From: Jonathan Davies <jpds@protonmail.com> | ||
3 | Date: Thu, 25 Nov 2021 15:29:18 +0000 | ||
4 | Subject: [PATCH] Reverts the include.h change in | ||
5 | 46883f8a1a02fe42040dd8e48aec0ed871545d4d | ||
6 | |||
7 | Closes: #158 | ||
8 | |||
9 | Upstream-Status: Backport [https://github.com/radvd-project/radvd/commit/06689f8c06f44c7e87f7ff1d814428f88375b53f] | ||
10 | Signed-off-by: Jonathan Davies <jpds@protonmail.com> | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | includes.h | 5 ----- | ||
14 | 1 file changed, 5 deletions(-) | ||
15 | |||
16 | diff --git a/includes.h b/includes.h | ||
17 | index ef30b10..c528c86 100644 | ||
18 | --- a/includes.h | ||
19 | +++ b/includes.h | ||
20 | @@ -76,12 +76,7 @@ | ||
21 | #include <sys/sysctl.h> | ||
22 | #endif | ||
23 | |||
24 | -#if !defined(__GLIBC__) && defined(linux) | ||
25 | -#include <linux/if.h> | ||
26 | -#define IF_NAMESIZE IFNAMSIZ | ||
27 | -#else | ||
28 | #include <net/if.h> | ||
29 | -#endif | ||
30 | |||
31 | #ifdef HAVE_NET_IF_DL_H | ||
32 | #include <net/if_dl.h> | ||
diff --git a/meta-networking/recipes-daemons/radvd/files/radvd.init b/meta-networking/recipes-daemons/radvd/files/radvd.init index 8b26317ee6..8b26317ee6 100755..100644 --- a/meta-networking/recipes-daemons/radvd/files/radvd.init +++ b/meta-networking/recipes-daemons/radvd/files/radvd.init | |||
diff --git a/meta-networking/recipes-daemons/radvd/files/radvd.service b/meta-networking/recipes-daemons/radvd/files/radvd.service index e60798a6b3..9230543c48 100644 --- a/meta-networking/recipes-daemons/radvd/files/radvd.service +++ b/meta-networking/recipes-daemons/radvd/files/radvd.service | |||
@@ -4,8 +4,11 @@ After=network.target | |||
4 | ConditionPathExists=@SYSCONFDIR@/radvd.conf | 4 | ConditionPathExists=@SYSCONFDIR@/radvd.conf |
5 | 5 | ||
6 | [Service] | 6 | [Service] |
7 | EnvironmentFile=-@SYSCONFDIR@/default/radvd | 7 | Type=forking |
8 | ExecStart=@SBINDIR@/radvd -n $OPTIONS | 8 | EnvironmentFile=@SYSCONFDIR@/default/radvd |
9 | ExecStart=@SBINDIR@/radvd $OPTIONS | ||
10 | PIDFile=/run/radvd.pid | ||
11 | ExecReload=/bin/kill -HUP $MAINPID | ||
9 | 12 | ||
10 | [Install] | 13 | [Install] |
11 | WantedBy=multi-user.target | 14 | WantedBy=multi-user.target |