Skip to content
Snippets Groups Projects
Verified Commit 5994eef9 authored by alice's avatar alice
Browse files

main/radvd: fix segfault at boot

parent 9053c790
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=radvd
pkgver=2.19
pkgrel=0
pkgrel=1
pkgdesc="IPv6 router advertisement daemon"
url="http://www.litech.org/radvd"
arch="all"
......@@ -13,6 +13,7 @@ subpackages="$pkgname-doc $pkgname-openrc"
source="http://www.litech.org/radvd/dist/radvd-$pkgver.tar.xz
radvd.initd
radvd.confd
fix-segfault.patch
"
# test failure on builders due to kernel issue
......@@ -44,6 +45,9 @@ package() {
"$pkgdir"/usr/share/doc/radvd/radvd.conf.example
}
sha512sums="a1eb40af90fc83ebab2517c16a0f7e85c11338ab276bec400b7c33177748d1e36bc5abd7e373b6742f12f7c690dd7ae6b951bc832c7de9bbb56f7e9bc844ed22 radvd-2.19.tar.xz
sha512sums="
a1eb40af90fc83ebab2517c16a0f7e85c11338ab276bec400b7c33177748d1e36bc5abd7e373b6742f12f7c690dd7ae6b951bc832c7de9bbb56f7e9bc844ed22 radvd-2.19.tar.xz
5f96261f3914ff10966828231d1c8df0d7b0e432d5e075eb6405f923a25f1218e647ec8a2c5b7fa995cf44cc521fd226b4bacfe86920d108130852f00623d8c5 radvd.initd
386a6cdee43a0aa157760a590b9daa52e06e2c344a8d191a188c6174281734df95b82121e92d3c01e6c0fe76658dbdf6467dee2b30e2e010fc57dc8e0666b2cc radvd.confd"
386a6cdee43a0aa157760a590b9daa52e06e2c344a8d191a188c6174281734df95b82121e92d3c01e6c0fe76658dbdf6467dee2b30e2e010fc57dc8e0666b2cc radvd.confd
98eb2c9250c08edee6a78cc47b9153baa9cba631168e0b9562a29a61ae973a317c2670817e80c123ee88aa5ab7e1fca5e3c4a8e0324f28a58edfae3bf636f53e fix-segfault.patch
"
Patch-Source: https://github.com/radvd-project/radvd/commit/06689f8c06f44c7e87f7ff1d814428f88375b53f
see: https://github.com/radvd-project/radvd/issues/174
From 06689f8c06f44c7e87f7ff1d814428f88375b53f Mon Sep 17 00:00:00 2001
From: Jonathan Davies <jpds@protonmail.com>
Date: Thu, 25 Nov 2021 15:29:18 +0000
Subject: [PATCH] Reverts the include.h change in
46883f8a1a02fe42040dd8e48aec0ed871545d4d
Closes: #158
Signed-off-by: Jonathan Davies <jpds@protonmail.com>
---
includes.h | 5 -----
1 file changed, 5 deletions(-)
Patch-Origin: https://github.com/radvd-project/radvd/commit/06689f8c06f44c7e87f7ff1d814428f88375b53f
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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment