[arch-commits] Commit in iwd/repos/community-x86_64 (5 files)

Christian Rebischke shibumi at archlinux.org
Tue Apr 9 21:56:32 UTC 2019


    Date: Tuesday, April 9, 2019 @ 21:56:31
  Author: shibumi
Revision: 450691

archrelease: copy trunk to community-x86_64

Added:
  iwd/repos/community-x86_64/PKGBUILD
    (from rev 450690, iwd/trunk/PKGBUILD)
  iwd/repos/community-x86_64/iwd.tmpfiles
    (from rev 450690, iwd/trunk/iwd.tmpfiles)
  iwd/repos/community-x86_64/skip-associate-event.patch
    (from rev 450690, iwd/trunk/skip-associate-event.patch)
Deleted:
  iwd/repos/community-x86_64/PKGBUILD
  iwd/repos/community-x86_64/iwd.tmpfiles

----------------------------+
 PKGBUILD                   |   72 ++++++++++++++++++++++---------------------
 iwd.tmpfiles               |    4 +-
 skip-associate-event.patch |   29 +++++++++++++++++
 3 files changed, 69 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-09 21:56:24 UTC (rev 450690)
+++ PKGBUILD	2019-04-09 21:56:31 UTC (rev 450691)
@@ -1,34 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=iwd
-pkgver=0.16
-pkgrel=3
-pkgdesc='Internet Wireless Daemon'
-arch=('x86_64')
-url='https://git.kernel.org/cgit/network/wireless/iwd.git/'
-license=('LGPL')
-depends=('glibc')
-source=("https://www.kernel.org/pub/linux/network/wireless/iwd-${pkgver}.tar"{.xz,.sign}
-        'iwd.tmpfiles')
-sha512sums=('33b10516fb203eb92651e18ebff8448874452fad9425470bf4306b4d75a512d386561ed4fcd251c54175ac6953e29f6574175e4e9b18c88e55009f670f29ddb1'
-            'SKIP'
-            '03a3a0fba53706ef46bb12e75ad0bc30969044662df5bdcebc608c57b6ab9c5b3b6944e7941549db3172577c7d86c42e39a06e285459663ae48032fd3ab697d4')
-validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-	./configure --prefix=/usr \
-	--sysconfdir=/etc \
-	--libexecdir=/usr/lib/iwd \
-	--enable-wired \
-	--localstatedir=/var
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make install DESTDIR="${pkgdir}"
-	install -Dm644 "${srcdir}/iwd.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/iwd.conf"
-}
-
-# vim: set ts=2 sw=2 ft=sh noet:

Copied: iwd/repos/community-x86_64/PKGBUILD (from rev 450690, iwd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-09 21:56:31 UTC (rev 450691)
@@ -0,0 +1,38 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=iwd
+pkgver=0.16
+pkgrel=4
+pkgdesc='Internet Wireless Daemon'
+arch=('x86_64')
+url='https://git.kernel.org/cgit/network/wireless/iwd.git/'
+license=('LGPL')
+depends=('glibc')
+source=("https://www.kernel.org/pub/linux/network/wireless/iwd-${pkgver}.tar"{.xz,.sign}
+        'iwd.tmpfiles'
+				'skip-associate-event.patch')
+sha512sums=('33b10516fb203eb92651e18ebff8448874452fad9425470bf4306b4d75a512d386561ed4fcd251c54175ac6953e29f6574175e4e9b18c88e55009f670f29ddb1'
+            'SKIP'
+            '03a3a0fba53706ef46bb12e75ad0bc30969044662df5bdcebc608c57b6ab9c5b3b6944e7941549db3172577c7d86c42e39a06e285459663ae48032fd3ab697d4'
+            'ff718504b871c2e66fc433d0da24e8f9e1c78d3dbb18d76693fba671109a878e737f9e3d40f3b7e736b53d758c931083db86c9f5ba54391e715cf847b01bbaf3')
+validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+	# patch for #62245: will be fixed in 0.17
+	patch -p1 < "${srcdir}/skip-associate-event.patch"
+	./configure --prefix=/usr \
+	--sysconfdir=/etc \
+	--libexecdir=/usr/lib/iwd \
+	--enable-wired \
+	--localstatedir=/var
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make install DESTDIR="${pkgdir}"
+	install -Dm644 "${srcdir}/iwd.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/iwd.conf"
+}
+
+# vim: set ts=2 sw=2 ft=sh noet:

Deleted: iwd.tmpfiles
===================================================================
--- iwd.tmpfiles	2019-04-09 21:56:24 UTC (rev 450690)
+++ iwd.tmpfiles	2019-04-09 21:56:31 UTC (rev 450691)
@@ -1,2 +0,0 @@
-d /var/lib/iwd 0750 root root - -
-d /var/lib/ead 0750 root root - -

Copied: iwd/repos/community-x86_64/iwd.tmpfiles (from rev 450690, iwd/trunk/iwd.tmpfiles)
===================================================================
--- iwd.tmpfiles	                        (rev 0)
+++ iwd.tmpfiles	2019-04-09 21:56:31 UTC (rev 450691)
@@ -0,0 +1,2 @@
+d /var/lib/iwd 0750 root root - -
+d /var/lib/ead 0750 root root - -

Copied: iwd/repos/community-x86_64/skip-associate-event.patch (from rev 450690, iwd/trunk/skip-associate-event.patch)
===================================================================
--- skip-associate-event.patch	                        (rev 0)
+++ skip-associate-event.patch	2019-04-09 21:56:31 UTC (rev 450691)
@@ -0,0 +1,29 @@
+From a71adcc243ac6263efa23390ca8bb82ae4841202 Mon Sep 17 00:00:00 2001
+From: James Prestwood <james.prestwood at linux.intel.com>
+Date: Fri, 5 Apr 2019 15:32:54 -0700
+Subject: netdev: skip associate event when not in OWE/FT
+
+The associate event is only important for OWE and FT. If neither of
+these conditions (or FT initial association) are happening we do
+not need to continue further processing the associate event.
+---
+ src/netdev.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/netdev.c b/src/netdev.c
+index 661fb81..849ab2b 100644
+--- a/src/netdev.c
++++ b/src/netdev.c
+@@ -2389,6 +2389,9 @@ static void netdev_associate_event(struct l_genl_msg *msg,
+ 	if (netdev->aborting)
+ 		return;
+ 
++	if (!netdev->owe && !netdev->in_ft && !netdev->handshake->mde)
++		return;
++
+ 	if (!l_genl_attr_init(&attr, msg)) {
+ 		l_debug("attr init failed");
+ 		return;
+-- 
+cgit 1.2-0.3.lf.el7
+



More information about the arch-commits mailing list