[arch-commits] Commit in iwd/trunk (PKGBUILD)

Christian Rebischke shibumi at archlinux.org
Wed Oct 30 18:37:31 UTC 2019


    Date: Wednesday, October 30, 2019 @ 18:37:31
  Author: shibumi
Revision: 520991

upgpkg: iwd 1.0-2

Let's follow upstreams decision and stop shipping a config file.  We are going
to leave the backup array untouched, so we will not break old configuration
from users. New users will not get any config file now.

The situation remains too inconsistent right now:

iwd < 1.0 shipped a man page called `iwd.conf` iwd >= 1.0 ships a man page
called `iwd.config`

but the iwd config file path is still `/etc/iwd/main.conf`.

We don't ship .service/.network/.link placeholder files for systemd either, so
I think we should follow upstreams advice and don't ship a config file at all.
Although it would be nice to have a config file in the long term (but then
please with consistent man page names etc)

Modified:
  iwd/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-30 17:24:41 UTC (rev 520990)
+++ PKGBUILD	2019-10-30 18:37:31 UTC (rev 520991)
@@ -4,7 +4,7 @@
 
 pkgname=iwd
 pkgver=1.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Internet Wireless Daemon'
 arch=('x86_64')
 url='https://git.kernel.org/cgit/network/wireless/iwd.git/'
@@ -37,6 +37,9 @@
 check() {
   cd ${pkgname}-${pkgver}
   # pass broken tests - should reported upstream
+  # One test fail because we need kernel capabilities that
+  # we don't have inside of systemd-nspawn
+  # this could only be fixed via changing our build environment
   make -k check || /bin/true
 }
 
@@ -44,9 +47,6 @@
   cd ${pkgname}-${pkgver}
   make install DESTDIR="${pkgdir}"
   install -Dm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}"
-  # keep shipping a basic empty system configuration file
-  echo "# man iwd.config" >  main.conf
-  install -Dm 644 main.conf -t "${pkgdir}/etc/iwd"
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list