Dear Maintainer,

Attached to this email is a small patch adding a new "ead" sub-package.

It adds --enable-wired when building iwd.

This will then build 'ead', including a man page, a systemd service, and
D-Bus config files to be able to enable this service via D-Bus.

All these new files are now part of a new 'ead' package.

Note that no SysV init file is provided here for ead as this is no
longer mandatory, and this tool is designed for Linux only.

Cheers,
Matt
-- 
Sponsored by the NGI0 Core fund.
From 66fe9df2a962553acd7badbf987352b793b701f7 Mon Sep 17 00:00:00 2001
From: "Matthieu Baerts (NGI0)" <matt...@kernel.org>
Date: Wed, 29 Jan 2025 12:09:13 +0100
Subject: [PATCH] enable wired authentication service; closes: bug#956457

This patch adds --enable-wired when building iwd.

This will then build 'ead', including a man page, a systemd service, and
D-Bus config files to be able to enable this service via D-Bus.

All these new files are now part of a new 'ead' package.

Note that no SysV init file is provided here for ead as this is no
longer mandatory, and this tool is designed for Linux only.

Signed-off-by: Matthieu Baerts (NGI0) <matt...@kernel.org>
---
 debian/control     | 18 ++++++++++++++++++
 debian/ead.install |  5 +++++
 debian/rules       |  2 +-
 3 files changed, 24 insertions(+), 1 deletion(-)
 create mode 100644 debian/ead.install

diff --git a/debian/control b/debian/control
index 4b2635ec..ead6fc2d 100644
--- a/debian/control
+++ b/debian/control
@@ -16,6 +16,24 @@ Vcs-Git: https://salsa.debian.org/debian/iwd.git
 Vcs-Browser: https://salsa.debian.org/debian/iwd
 Rules-Requires-Root: no
 
+Package: ead
+Architecture: linux-any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+Recommends:
+ dbus | dbus-system-bus,
+Description: Ethernet authentication daemon for Linux
+ Ethernet authentication daemon (ead) is a minimalistic Ethernet
+ authentication daemon that uses modern Linux interfaces like
+ cfg80211 and nl80211 (netlink).
+ The daemon provides a D-Bus API.
+ .
+ Note that the package defaults
+ to relying on dbus activation to start.
+ If you want to use ead standalone without any manager,
+ then you'll need to manually enable the system service.
+
 Package: iwd
 Architecture: linux-any
 Depends:
diff --git a/debian/ead.install b/debian/ead.install
new file mode 100644
index 00000000..7db25269
--- /dev/null
+++ b/debian/ead.install
@@ -0,0 +1,5 @@
+usr/lib/systemd/system/ead.service
+usr/libexec/ead
+usr/share/dbus-1/system-services/net.connman.ead.service
+usr/share/dbus-1/system.d/ead-dbus.conf
+usr/share/man/man*/ead.*
diff --git a/debian/rules b/debian/rules
index d5963549..fb2a4131 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ TESTS = $(basename $(wildcard unit/*.c))
 TESTS_FLAKY = unit/test-wsc unit/test-eap-sim unit/test-dpp
 
 override_dh_auto_configure:
-	dh_auto_configure -- --enable-external-ell
+	dh_auto_configure -- --enable-external-ell --enable-wired
 
 override_dh_auto_test:
 	make -j2 check VERBOSE=1 TESTS='$(filter-out $(TESTS_FLAKY),$(TESTS))'
-- 
2.47.1

Reply via email to