diff --git a/srcpkgs/iwd/patches/fix-name-request.patch b/srcpkgs/iwd/patches/fix-name-request.patch index 95057005ff..e97efbc224 100644 --- a/srcpkgs/iwd/patches/fix-name-request.patch +++ b/srcpkgs/iwd/patches/fix-name-request.patch @@ -1,5 +1,5 @@ diff --git Makefile.am Makefile.am -index fd8acf3..5dd77c4 100644 +index 6135524..5efb6f6 100644 --- Makefile.am +++ Makefile.am @@ -136,15 +136,15 @@ noinst_PROGRAMS = @@ -51,4 +51,17 @@ index fd8acf3..5dd77c4 100644 endif endif +diff --git configure.ac configure.ac +index ec0619e..13d6de4 100644 +--- configure.ac ++++ configure.ac +@@ -188,7 +188,7 @@ AM_CONDITIONAL(SYSTEMD_SERVICE, test "${enable_systemd_service}" != "no") + AC_ARG_WITH([dbus-busdir], AC_HELP_STRING([--with-dbus-busdir=DIR], + [path to D-Bus bus services directory]), + [path_dbus_busdir=${withval}]) +-if (test "${enable_systemd_service}" != "no" && test -z "${path_dbus_busdir}"); then ++if (test -z "${path_dbus_busdir}"); then + AC_MSG_CHECKING([D-Bus bus services directory]) + path_dbus_busdir="`$PKG_CONFIG --variable=system_bus_services_dir dbus-1`" + if (test -z "${path_dbus_busdir}"); then diff --git a/srcpkgs/iwd/template b/srcpkgs/iwd/template index 0b49875939..a55f31d571 100644 --- a/srcpkgs/iwd/template +++ b/srcpkgs/iwd/template @@ -1,10 +1,11 @@ # Template file for 'iwd' pkgname=iwd version=0.16 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-systemd-service --enable-docs --enable-pie - --enable-external-ell ac_cv_func_explicit_bzero=yes" + --enable-external-ell ac_cv_func_explicit_bzero=yes + --enable-dbus-policy --enable-wired" hostmakedepends="asciidoc pkg-config automake libtool" makedepends="readline-devel dbus-devel ell-devel" depends="dbus" @@ -29,6 +30,4 @@ pre_configure() { post_install() { vsconf doc/main.conf vsv iwd - - vinstall src/net.connman.iwd.service 644 usr/share/dbus-1/system-services }