summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Villemoes <ravi@prevas.dk>2025-02-17 12:39:45 +0100
committerKhem Raj <raj.khem@gmail.com>2025-02-17 07:40:59 -0800
commit42a4a8bd795083933dc4e4644d1e55f877faed6d (patch)
treeff32c491b814c5c5a4874dc53a1856f0415114dd
parente933824566811cbb075125fc015ace7a79709dbd (diff)
downloadmeta-openembedded-42a4a8bd795083933dc4e4644d1e55f877faed6d.tar.gz
systemd-netlogd: new recipe
In some deployments, the log aggregator collects log messages in the syslog format, so systemd-journal-upload and friends can not be used. systemd-netlogd is a daemon for filling that gap. Signed-off-by: Rasmus Villemoes <ravi@prevas.dk> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/systemd-netlogd/systemd-netlogd_1.4.4.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/systemd-netlogd/systemd-netlogd_1.4.4.bb b/meta-oe/recipes-support/systemd-netlogd/systemd-netlogd_1.4.4.bb
new file mode 100644
index 0000000000..d88cad75cd
--- /dev/null
+++ b/meta-oe/recipes-support/systemd-netlogd/systemd-netlogd_1.4.4.bb
@@ -0,0 +1,28 @@
1SUMMARY = "Forwards messages from the journal to other hosts over the network using the Syslog Protocol"
2
3LICENSE = "LGPL-2.1-or-later"
4LIC_FILES_CHKSUM = "file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c"
5
6SRC_URI = "git://github.com/systemd/systemd-netlogd.git;protocol=https;branch=main"
7SRCREV = "b03cc3b1a75048c7cf19467d8918a4b7320767e6"
8
9inherit meson systemd pkgconfig useradd features_check
10
11REQUIRED_DISTRO_FEATURES = "systemd"
12COMPATIBLE_HOST:libc-musl = "null"
13
14S = "${WORKDIR}/git"
15
16DEPENDS += "systemd"
17DEPENDS += "openssl"
18DEPENDS += "gperf-native"
19DEPENDS += "python3-sphinx-native"
20
21# systemd-netlogd uses prefix and sysconfdir in a weird way.
22EXTRA_OEMESON += "--prefix ${libdir}/systemd --sysconfdir ${sysconfdir}/systemd"
23
24FILES:${PN} += "${libdir}"
25
26USERADD_PACKAGES = "${PN}"
27GROUPADD_PARAM:${PN} = "-r systemd-journal"
28USERADD_PARAM:${PN} = "--system -d / -M --shell /sbin/nologin -g systemd-journal systemd-journal-netlog"