Bug#1087704: svxlink-server: improvement; include /etc/svxlink/event.d/ as tcl file directory
Package: svxlink-server
Version: 24.02-3+b2
Severity: wishlist
Dear Maintainer,
When using svxlink in standard configuration, below config is used:
EVENT_HANDLER=/usr/share/svxlink/events.tcl
it would be very helpfull if this tcl script included the following code:
foreach {file} [glob -directory /etc/svxlink/events.d *.tcl] {
sourceTcl $file
}
below the code:
# Source all tcl files in the events.d directory.
# This directory contains the main event handlers.
foreach {file} [glob -directory $basedir/events.d *.tcl] {
sourceTcl $file
}
This modification allows the continued use of updated events.tcl from maintainer,
at the same time allowing specialized event scripts for custom sections, be placed in
/etc/svxlink/events.d .
It may be needed to add an empty /etc/svxlink/events.d directory in the package.
Thanks,
Simon
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: arm64 (aarch64)
Foreign Architectures: armhf
Kernel: Linux 6.6.51+rpt-rpi-v8 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CRAP
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages svxlink-server depends on:
ii adduser 3.137
ii init-system-helpers 1.67
ii libasyncaudio1.6t64 24.02-3+b2
ii libasynccore1.6t64 24.02-3+b2
ii libasynccpp1.6t64 24.02-3+b2
ii libc6 2.40-3
ii libcurl3t64-gnutls 8.11.0-1
ii libecholib1.3t64 24.02-3+b2
ii libgcc-s1 14.2.0-8
ii libgcrypt20 1.11.0-6
ii libgsm1 1.0.22-1+b2
ii libjsoncpp26 1.9.6-2
ii libpopt0 1.19+dfsg-2
ii librtlsdr0 2.0.2-2+b1
ii libsigc++-2.0-0v5 2.12.1-2+b1
ii libstdc++6 14.2.0-8
ii libtcl8.6 8.6.15+dfsg-2
ii svxlink-gpio 24.02-3
Versions of packages svxlink-server recommends:
ii remotetrx 24.02-3+b2
ii svxlink-calibration-tools 24.02-3+b2
svxlink-server suggests no packages.
-- Configuration Files:
/etc/svxlink/TclVoiceMail.conf [file not found]
/etc/svxlink/svxlink.conf changed [not included]
-- no debconf information
Reply to: