[arch-commits] Commit in iwd/trunk (PKGBUILD iwd.install iwd.tmpfiles)
Christian Rebischke
shibumi at archlinux.org
Mon Sep 9 16:57:06 UTC 2019
Date: Monday, September 9, 2019 @ 16:57:06
Author: shibumi
Revision: 509128
upgpkg: iwd 0.20-3
This release fixes: #63691 and #62874
Added:
iwd/trunk/iwd.install
Modified:
iwd/trunk/PKGBUILD
Deleted:
iwd/trunk/iwd.tmpfiles
--------------+
PKGBUILD | 13 +++++++------
iwd.install | 6 ++++++
iwd.tmpfiles | 2 --
3 files changed, 13 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-09 16:41:27 UTC (rev 509127)
+++ PKGBUILD 2019-09-09 16:57:06 UTC (rev 509128)
@@ -2,19 +2,18 @@
pkgname=iwd
pkgver=0.20
-pkgrel=1
+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')
+source=("https://www.kernel.org/pub/linux/network/wireless/iwd-${pkgver}.tar"{.xz,.sign})
sha512sums=('acfe77e96b4658c6efbfe1bab460593e2e15c9d54244deb1dd6e6bc0ec5bab7c0760257dda7b1218338b103daa9b5a422d48d7f5ae50a631bc46669bf14f8fcd'
- 'SKIP'
- '03a3a0fba53706ef46bb12e75ad0bc30969044662df5bdcebc608c57b6ab9c5b3b6944e7941549db3172577c7d86c42e39a06e285459663ae48032fd3ab697d4')
+ 'SKIP')
validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659')
changelog=ChangeLog
+install=iwd.install
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -29,7 +28,9 @@
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make install DESTDIR="${pkgdir}"
- install -Dm644 "${srcdir}/iwd.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/iwd.conf"
+ # This fixes #62874: include docs and autotests file for easier configuration
+ install -Dm644 "doc/iwmon.txt" "${pkgdir}/usr/share/iwd/doc/iwmon.txt"
+ install -Dm644 "doc/main.conf" "${pkgdir}/usr/share/iwd/doc/main.conf"
}
# vim: set ts=2 sw=2 ft=sh noet:
Added: iwd.install
===================================================================
--- iwd.install (rev 0)
+++ iwd.install 2019-09-09 16:57:06 UTC (rev 509128)
@@ -0,0 +1,6 @@
+post_upgrade() {
+ if (($(vercmp 0.20-3 $2) > 0)); then
+ chmod 700 /var/lib/ead/
+ chmod 700 /var/lib/iwd/
+ fi
+}
Deleted: iwd.tmpfiles
===================================================================
--- iwd.tmpfiles 2019-09-09 16:41:27 UTC (rev 509127)
+++ iwd.tmpfiles 2019-09-09 16:57:06 UTC (rev 509128)
@@ -1,2 +0,0 @@
-d /var/lib/iwd 0750 root root - -
-d /var/lib/ead 0750 root root - -
More information about the arch-commits
mailing list