summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorDavid VaĊĦek <david.vasek@nic.cz>2023-02-07 17:49:39 +0100
committerDaniel Salzman <daniel.salzman@nic.cz>2023-02-15 16:11:00 +0100
commitb608f26890c7dd20c900d586712d4d12f25dd856 (patch)
tree950f94fcb5c27b5845f75bb9b3d395cc1a1d5376 /samples
parentsamples: dbus_client.pl -- follow the same output style as .sh and .py samples (diff)
downloadknot-b608f26890c7dd20c900d586712d4d12f25dd856.tar.xz
knot-b608f26890c7dd20c900d586712d4d12f25dd856.zip
samples: note required Debian packages for sample DBus scripts
Diffstat (limited to 'samples')
-rwxr-xr-xsamples/dbus_client.pl2
-rwxr-xr-xsamples/dbus_client.py2
-rwxr-xr-xsamples/dbus_client.sh2
3 files changed, 6 insertions, 0 deletions
diff --git a/samples/dbus_client.pl b/samples/dbus_client.pl
index f650575d2..450dc40f2 100755
--- a/samples/dbus_client.pl
+++ b/samples/dbus_client.pl
@@ -1,5 +1,7 @@
#!/usr/bin/env perl
+# This package is needed on Debian derived ditributions: libnet-dbus-perl
+
use Net::DBus;
use Net::DBus::Reactor;
use Time::HiRes;
diff --git a/samples/dbus_client.py b/samples/dbus_client.py
index 3318967f8..bbca1e4dd 100755
--- a/samples/dbus_client.py
+++ b/samples/dbus_client.py
@@ -1,5 +1,7 @@
#!/usr/bin/env python3
+# This package is needed on Debian derived ditributions: python3-dbus
+
import dbus
import dbus.mainloop.glib
import signal
diff --git a/samples/dbus_client.sh b/samples/dbus_client.sh
index d713332ac..352b36884 100755
--- a/samples/dbus_client.sh
+++ b/samples/dbus_client.sh
@@ -1,5 +1,7 @@
#!/usr/bin/env bash
+# This package is needed on Debian derived ditributions: libglib2.0-bin
+
cb() {
case "$1" in
zone_ksk_submission)