package/dbus-triggerd: remove package

Analysis of https://rg42.org/gitweb/?p=dbustriggerd.git:
last commit: 2014

Musl libc 1.2.5 removed the definition of the basename() function from
string.h and only provides it in libgen.h as the POSIX standard
defines it.

Instead of fixing an unmaintainted package we remove it from buildroot,
no other package depends on it.

Fixes:
https://autobuild.buildroot.net/results/811/81170fe89e1f5b70c63657684de43175e621f762/

dbus-triggerd.c:150:27: error: implicit declaration of function 'basename' [-Wimplicit-function-declaration]
  150 |     argv[argc++] = strdup(basename(handler_cmd));

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Bernd Kuhls
2026-01-06 21:01:11 +01:00
committed by Thomas Petazzoni
parent 700726db4b
commit 12b6fbf40f
5 changed files with 7 additions and 40 deletions

View File

@@ -146,6 +146,13 @@ endif
comment "Legacy options removed in 2026.02"
config BR2_PACKAGE_DBUS_TRIGGERD
bool "dbus-triggerd removed"
select BR2_LEGACY
help
dbus-triggerd was no longer maintained upstream, so it has
been dropped.
config BR2_PACKAGE_CVS
bool "cvs has been removed"
select BR2_LEGACY

View File

@@ -486,7 +486,6 @@ endmenu
source "package/dbus-cxx/Config.in"
source "package/dbus-glib/Config.in"
source "package/dbus-python/Config.in"
source "package/dbus-triggerd/Config.in"
source "package/dfu-programmer/Config.in"
source "package/dfu-util/Config.in"
source "package/dmidecode/Config.in"

View File

@@ -1,15 +0,0 @@
config BR2_PACKAGE_DBUS_TRIGGERD
bool "dbus-triggerd"
depends on BR2_USE_MMU # fork(), dbus
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
depends on BR2_PACKAGE_DBUS
help
dbus-triggerd is a tool to trigger shell-commands upon
receiving a given dbus-signal.
http://gareus.org/oss/dbustriggerd/start
comment "dbus-triggerd needs a toolchain w/ threads"
depends on BR2_USE_MMU
depends on BR2_PACKAGE_DBUS
depends on !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -1,3 +0,0 @@
# Locally computed
sha256 73dbd92e89eee223928b5cbf414affb5913f70c1ca7e3f8ab733a4696436dae3 dbus-triggerd-ba3dbec805cb707c94c54de21666bf18b79bcc09-git4.tar.gz
sha256 30d135650639af9019633690fc1aecbfc150aeeef9446347d4286a58338d10b0 dbus-triggerd.c

View File

@@ -1,21 +0,0 @@
################################################################################
#
# dbus-triggerd
#
################################################################################
DBUS_TRIGGERD_VERSION = ba3dbec805cb707c94c54de21666bf18b79bcc09
DBUS_TRIGGERD_SITE = git://rg42.org/dbustriggerd.git
DBUS_TRIGGERD_LICENSE = GPL-2.0+
DBUS_TRIGGERD_LICENSE_FILES = dbus-triggerd.c
DBUS_TRIGGERD_DEPENDENCIES = host-pkgconf dbus
define DBUS_TRIGGERD_BUILD_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) all
endef
define DBUS_TRIGGERD_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install
endef
$(eval $(generic-package))