iwd: install net.connman.iwd.service
This commit is contained in:
parent
ee9c3a5d16
commit
43de7a21dc
|
@ -0,0 +1,53 @@
|
|||
diff --git Makefile.am Makefile.am
|
||||
index 435bc87..a599603 100644
|
||||
--- Makefile.am
|
||||
+++ Makefile.am
|
||||
@@ -134,14 +134,14 @@ noinst_PROGRAMS =
|
||||
if DBUS_POLICY
|
||||
dbus_datadir = @DBUS_DATADIR@/dbus-1/system.d
|
||||
dist_dbus_data_DATA =
|
||||
+
|
||||
+dbus_busdir = @DBUS_BUSDIR@
|
||||
+dbus_bus_DATA =
|
||||
endif
|
||||
|
||||
if SYSTEMD_SERVICE
|
||||
systemd_unitdir = @SYSTEMD_UNITDIR@
|
||||
systemd_unit_DATA =
|
||||
-
|
||||
-dbus_busdir = @DBUS_BUSDIR@
|
||||
-dbus_bus_DATA =
|
||||
endif
|
||||
|
||||
eap_sources = src/eap.c src/eap.h src/eap-private.h \
|
||||
@@ -212,13 +212,13 @@ endif
|
||||
|
||||
if DBUS_POLICY
|
||||
dist_dbus_data_DATA += src/iwd-dbus.conf
|
||||
+dbus_bus_DATA += src/net.connman.iwd.service
|
||||
endif
|
||||
|
||||
if SYSTEMD_SERVICE
|
||||
src_iwd_DEPENDENCIES += src/iwd.service
|
||||
|
||||
systemd_unit_DATA += src/iwd.service
|
||||
-dbus_bus_DATA += src/net.connman.iwd.service
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -271,13 +271,13 @@ wired_ead_DEPENDENCIES = $(ell_dependencies)
|
||||
|
||||
if DBUS_POLICY
|
||||
dist_dbus_data_DATA += wired/ead-dbus.conf
|
||||
+dbus_bus_DATA += wired/net.connman.ead.service
|
||||
endif
|
||||
|
||||
if SYSTEMD_SERVICE
|
||||
wired_ead_DEPENDENCIES += wired/ead.service
|
||||
|
||||
systemd_unit_DATA += wired/ead.service
|
||||
-dbus_bus_DATA += wired/net.connman.ead.service
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
# Template file for 'iwd'
|
||||
pkgname=iwd
|
||||
version=0.14
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-systemd-service --enable-docs --enable-pie
|
||||
--enable-external-ell"
|
||||
hostmakedepends="asciidoc pkg-config"
|
||||
hostmakedepends="asciidoc pkg-config automake libtool"
|
||||
makedepends="readline-devel dbus-devel ell-devel"
|
||||
depends="dbus"
|
||||
checkdepends="python3"
|
||||
|
@ -18,7 +18,13 @@ checksum=c4258b5789a8074a2dfdc33ed5f02415b62ff1ce0b7cba636402883933d6a643
|
|||
make_dirs="/var/lib/iwd 0600 root root
|
||||
/etc/iwd 755 root root"
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vsconf doc/main.conf
|
||||
vsv iwd
|
||||
|
||||
vinstall src/net.connman.iwd.service 644 usr/share/dbus-1/system-services
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue