iwd: update to 0.17

This commit is contained in:
Juergen Daubert 2019-04-13 14:30:47 +02:00
parent 9f6dce9a0f
commit 83ecda1b53
3 changed files with 5 additions and 149 deletions

View File

@ -1,7 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF33oJOJGn+WCF0T/fMlgCcxwsJVywt35iOaH/3RPT6j96DELKJhPqL5kdv4oEvSIZeQC9eEhzoOwSQ/enmiYi+wo=
SHA256 (Pkgfile) = 47304d6c5b8b3498b888a9500c7e03f831e383eae60961c5be740a51eddf6788
RWSagIOpLGJF33eVVMdArIjlgkCdoptbOgSQAEnuNeznDKFxQk9iBEtH1ZJppkE/VFaCc2y6ZAU7XFHxzHArHEvDjm8SptX0yAY=
SHA256 (Pkgfile) = c4d770478e0522ffda272f3f1ae399f772f3976f88fefaebd94250f5d255c471
SHA256 (.footprint) = c79639b76d59f1fb0815f15172c433a8374c82a6d2f5599cc82c9b8a301330b0
SHA256 (iwd-0.16.tar.xz) = 406f6c0bbd57647e18612026e58406f2f8e889d74dcdc8e3995866db23a81245
SHA256 (iwd-0.17.tar.xz) = 3eda38305738a7992c03a02d29423bc5eaf5e76247bb45ae1dad8fd261e4f4d6
SHA256 (iwd) = f0eaab15666fed402e984ff12a923ce857a4985ab2e6e00c8da35fecb81c219e
SHA256 (include-config.patch) = c1094244c6018224b1437d842a1087d281f614c3fcd10be4f62c0fc5a40dcce6

View File

@ -3,17 +3,14 @@
# Maintainer: Juergen Daubert, jue at crux dot nu
name=iwd
version=0.16
version=0.17
release=1
source=(https://www.kernel.org/pub/linux/network/wireless/$name-$version.tar.xz
iwd
include-config.patch)
iwd)
build() {
cd $name-$version
patch -p1 -i $SRC/include-config.patch
./configure --prefix=/usr \
--libexecdir=/usr/sbin \
--localstatedir=/var \

View File

@ -1,140 +0,0 @@
From 23041a44dd6c3fcaa18e5cb3f63140e3cb76d6b8 Mon Sep 17 00:00:00 2001
From: Marcel Holtmann <marcel@holtmann.org>
Date: Thu, 4 Apr 2019 14:02:38 +0200
Subject: build: Add missing HAVE_CONFIG_H guards and include config.h
---
plugins/ofono.c | 4 ++++
plugins/sim_hardcoded.c | 5 +++++
src/eap-mschapv2.c | 4 ++++
src/nl80211util.c | 4 ++++
src/plugin.c | 4 ++++
src/sae.c | 4 ++++
src/simauth.c | 4 ++++
src/simutil.c | 4 ++++
8 files changed, 33 insertions(+)
diff --git a/plugins/ofono.c b/plugins/ofono.c
index 077045f..fc2561f 100644
--- a/plugins/ofono.c
+++ b/plugins/ofono.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <ctype.h>
#include <stdio.h>
diff --git a/plugins/sim_hardcoded.c b/plugins/sim_hardcoded.c
index b5ea6b0..6e87f34 100644
--- a/plugins/sim_hardcoded.c
+++ b/plugins/sim_hardcoded.c
@@ -19,6 +19,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <errno.h>
#include <ell/ell.h>
diff --git a/src/eap-mschapv2.c b/src/eap-mschapv2.c
index 78404e2..e1f4ab5 100644
--- a/src/eap-mschapv2.c
+++ b/src/eap-mschapv2.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <ctype.h>
#include <stdio.h>
#include <errno.h>
diff --git a/src/nl80211util.c b/src/nl80211util.c
index 0d690e8..a9c3914 100644
--- a/src/nl80211util.c
+++ b/src/nl80211util.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <linux/if_ether.h>
#include <ell/ell.h>
diff --git a/src/plugin.c b/src/plugin.c
index 2d96f65..a62fb03 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <fnmatch.h>
#include <ell/ell.h>
diff --git a/src/sae.c b/src/sae.c
index 782a306..cab004b 100644
--- a/src/sae.c
+++ b/src/sae.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <ell/ell.h>
#include "src/util.h"
diff --git a/src/simauth.c b/src/simauth.c
index 5ed4dde..4244304 100644
--- a/src/simauth.c
+++ b/src/simauth.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <ctype.h>
#include <stdio.h>
#include <errno.h>
diff --git a/src/simutil.c b/src/simutil.c
index 8de0645..f0542c7 100644
--- a/src/simutil.c
+++ b/src/simutil.c
@@ -20,6 +20,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <ctype.h>
#include <stdio.h>
#include <errno.h>
--
cgit 1.2-0.3.lf.el7